Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: webrtc/video/full_stack.cc

Issue 1389573004: Enabling screensharing tests for Android (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 {"foreman_cif"}, 111 {"foreman_cif"},
112 {}, 112 {},
113 {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0, 113 {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0,
114 kFullStackTestDurationSecs}}; 114 kFullStackTestDurationSecs}};
115 foreman_cif.pipe.queue_length_packets = 32; 115 foreman_cif.pipe.queue_length_packets = 32;
116 foreman_cif.pipe.queue_delay_ms = 100; 116 foreman_cif.pipe.queue_delay_ms = 100;
117 foreman_cif.pipe.link_capacity_kbps = 1000; 117 foreman_cif.pipe.link_capacity_kbps = 1000;
118 RunTest(foreman_cif); 118 RunTest(foreman_cif);
119 } 119 }
120 120
121 // Temporarily disabled on Android due to low test timeouts. 121 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) {
122 // https://code.google.com/p/chromium/issues/detail?id=513170
123 #include "webrtc/test/testsupport/gtest_disable.h"
124 TEST_F(FullStackTest, DISABLED_ON_ANDROID(ScreenshareSlidesVP8_2TL)) {
125 VideoQualityTest::Params screenshare = { 122 VideoQualityTest::Params screenshare = {
126 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000}, 123 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
127 {}, // Video-specific. 124 {}, // Video-specific.
128 {true, 10}, // Screenshare-specific. 125 {true, 10}, // Screenshare-specific.
129 {"screenshare_slides", 0.0, 0.0, kFullStackTestDurationSecs}}; 126 {"screenshare_slides", 0.0, 0.0, kFullStackTestDurationSecs}};
130 RunTest(screenshare); 127 RunTest(screenshare);
131 } 128 }
132 129
133 TEST_F(FullStackTest, DISABLED_ON_ANDROID(ScreenshareSlidesVP8_2TL_Scroll)) { 130 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
134 VideoQualityTest::Params config = { 131 VideoQualityTest::Params config = {
135 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 400000}, 132 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
136 {}, 133 {},
137 {true, 10, 2}, 134 {true, 10, 2},
138 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}}; 135 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}};
139 RunTest(config); 136 RunTest(config);
140 } 137 }
141 138
142 // Disabled on Android along with VP8 screenshare above. 139 TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) {
143 TEST_F(FullStackTest, DISABLED_ON_ANDROID(ScreenshareSlidesVP9_2TL)) {
144 VideoQualityTest::Params screenshare = { 140 VideoQualityTest::Params screenshare = {
145 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000}, 141 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000},
146 {}, 142 {},
147 {true, 10}, 143 {true, 10},
148 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}}; 144 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}};
149 RunTest(screenshare); 145 RunTest(screenshare);
150 } 146 }
151 } // namespace webrtc 147 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698