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

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

Issue 16514010: Add NetworkAdaptor to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test file. Created 7 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 | Annotate | Revision Log
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 library private_selector_test; 5 import 'dart:io';
6
6 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
7 import 'private_selector_lib.dart';
8 8
9 class B extends A { 9
10 void testList() {
11 NetworkAdaptor.list(includeLoopback: false).then((list) => list.forEach(print) );
10 } 12 }
11 13
12 main() { 14
13 new A().public(); 15 void main() {
14 Expect.isTrue(executed); 16 testList();
15 } 17 }
OLDNEW
« sdk/lib/io/socket.dart ('K') | « tests/standalone/io/internet_address_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698