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

Side by Side Diff: tests/standalone/io/raw_datagram_socket_test.dart

Issue 1382993005: Don't run larger datagram tests on Mac OS (Closed) Base URL: https://github.com/dart-lang/sdk.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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "dart:async"; 5 import "dart:async";
6 import "dart:io"; 6 import "dart:io";
7 import "dart:typed_data"; 7 import "dart:typed_data";
8 8
9 import "package:async_helper/async_helper.dart"; 9 import "package:async_helper/async_helper.dart";
10 import "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 main() { 315 main() {
316 testDatagramBroadcastOptions(); 316 testDatagramBroadcastOptions();
317 testDatagramMulticastOptions(); 317 testDatagramMulticastOptions();
318 if (!Platform.isMacOS) { 318 if (!Platform.isMacOS) {
319 testDatagramSocketReuseAddress(); 319 testDatagramSocketReuseAddress();
320 } 320 }
321 testBroadcast(); 321 testBroadcast();
322 testLoopbackMulticast(); 322 testLoopbackMulticast();
323 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 1000); 323 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 1000);
324 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 1000); 324 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 1000);
325 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 32 * 1024); 325 if (!Platform.isMacOS) {
kustermann 2015/10/06 08:21:29 Maybe add a comment about why they fail (I assume
326 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 32 * 1024); 326 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 32 * 1024);
327 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 64 * 1024 - 32); 327 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 32 * 1024);
328 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 64 * 1024 - 32); 328 testSendReceive(InternetAddress.LOOPBACK_IP_V4, 64 * 1024 - 32);
329 testSendReceive(InternetAddress.LOOPBACK_IP_V6, 64 * 1024 - 32);
330 }
329 } 331 }
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