OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 | 7 |
8 testAddressParse() async { | 8 testAddressParse() async { |
9 print(new InternetAddress("1.0.2.3").rawAddress); | 9 print(new InternetAddress("1.0.2.3").rawAddress); |
10 print(new InternetAddress("1.0.2.3").type); | 10 print(new InternetAddress("1.0.2.3").type); |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 print("testSimpleBind done"); | 390 print("testSimpleBind done"); |
391 | 391 |
392 print("testSimpleConnect"); | 392 print("testSimpleConnect"); |
393 await testSimpleConnect(); | 393 await testSimpleConnect(); |
394 print("testSimpleConnect done"); | 394 print("testSimpleConnect done"); |
395 | 395 |
396 print("testSimpleReadWriteClose"); | 396 print("testSimpleReadWriteClose"); |
397 await testSimpleReadWriteClose(); | 397 await testSimpleReadWriteClose(); |
398 print("testSimpleReadWriteClose done"); | 398 print("testSimpleReadWriteClose done"); |
399 | 399 |
400 // TODO(US-81): Enable. | 400 print("testSimpleReadWriteShutdown"); |
401 // print("testSimpleReadWriteShutdown"); | 401 await testSimpleReadWriteShutdown(dropReads: false); |
402 // await testSimpleReadWriteShutdown(dropReads: false); | 402 print("testSimpleReadWriteShutdown done"); |
403 // print("testSimpleReadWriteShutdown done"); | |
404 | 403 |
405 print("testGoogleHttp"); | 404 print("testGoogleHttp"); |
406 await testGoogleHttp(null, 'pass'); | 405 await testGoogleHttp(null, 'pass'); |
407 print("testGoogleHttp done"); | 406 print("testGoogleHttp done"); |
408 | 407 |
409 // TODO(US-96) | 408 print("testGoogleHttps"); |
410 // print("testGoogleHttps"); | 409 await testGoogleHttps(null, 'pass'); |
411 // await testGoogleHttps(null, 'pass'); | 410 print("testGoogleHttps done"); |
412 // print("testGoogleHttps done"); | |
413 | 411 |
414 print("Goodbyte, Fuchsia!"); | 412 print("Goodbyte, Fuchsia!"); |
415 } | 413 } |
OLD | NEW |