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

Side by Side Diff: webrtc/base/virtualsocket_unittest.cc

Issue 2909073002: Enable webrtc_nonparallel_tests on iOS simulator (Closed)
Patch Set: Updated comment agaiin Created 3 years, 6 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 | « tools_webrtc/ios/tests/common_tests.json ('k') | 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 2006 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2006 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 10
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 } 905 }
906 906
907 TEST_F(VirtualSocketServerTest, bandwidth_v4) { 907 TEST_F(VirtualSocketServerTest, bandwidth_v4) {
908 BandwidthTest(kIPv4AnyAddress); 908 BandwidthTest(kIPv4AnyAddress);
909 } 909 }
910 910
911 TEST_F(VirtualSocketServerTest, bandwidth_v6) { 911 TEST_F(VirtualSocketServerTest, bandwidth_v6) {
912 BandwidthTest(kIPv6AnyAddress); 912 BandwidthTest(kIPv6AnyAddress);
913 } 913 }
914 914
915 TEST_F(VirtualSocketServerTest, delay_v4) { 915 // Disabled on iOS simulator since it's a test that relies on being able to
916 // process packets fast enough in real time, which isn't the case in the
917 // simulator.
918 #if defined(TARGET_IPHONE_SIMULATOR)
919 #define MAYBE_delay_v4 DISABLED_delay_v4
920 #else
921 #define MAYBE_delay_v4 delay_v4
922 #endif
923 TEST_F(VirtualSocketServerTest, MAYBE_delay_v4) {
916 DelayTest(kIPv4AnyAddress); 924 DelayTest(kIPv4AnyAddress);
917 } 925 }
918 926
919 // See: https://code.google.com/p/webrtc/issues/detail?id=2409 927 // See: https://code.google.com/p/webrtc/issues/detail?id=2409
920 TEST_F(VirtualSocketServerTest, DISABLED_delay_v6) { 928 TEST_F(VirtualSocketServerTest, DISABLED_delay_v6) {
921 DelayTest(kIPv6AnyAddress); 929 DelayTest(kIPv6AnyAddress);
922 } 930 }
923 931
924 // Works, receiving socket sees 127.0.0.2. 932 // Works, receiving socket sees 127.0.0.2.
925 TEST_F(VirtualSocketServerTest, CanConnectFromMappedIPv6ToIPv4Any) { 933 TEST_F(VirtualSocketServerTest, CanConnectFromMappedIPv6ToIPv4Any) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 << " N=" << kTestSamples[sidx]; 1130 << " N=" << kTestSamples[sidx];
1123 EXPECT_NEAR(kStdDev, stddev, 0.1 * kStdDev) 1131 EXPECT_NEAR(kStdDev, stddev, 0.1 * kStdDev)
1124 << "M=" << kTestMean[midx] 1132 << "M=" << kTestMean[midx]
1125 << " SD=" << kStdDev 1133 << " SD=" << kStdDev
1126 << " N=" << kTestSamples[sidx]; 1134 << " N=" << kTestSamples[sidx];
1127 delete f; 1135 delete f;
1128 } 1136 }
1129 } 1137 }
1130 } 1138 }
1131 } 1139 }
OLDNEW
« no previous file with comments | « tools_webrtc/ios/tests/common_tests.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698