OLD | NEW |
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 testrunner_test; | 5 library testrunner_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
10 | 10 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 }); | 505 }); |
506 }); | 506 }); |
507 | 507 |
508 group("embedded server", () { | 508 group("embedded server", () { |
509 test("get test", () { | 509 test("get test", () { |
510 return runTest( | 510 return runTest( |
511 [ testrunner, | 511 [ testrunner, |
512 '--recurse', | 512 '--recurse', |
513 '--server', | 513 '--server', |
514 '--port=3456', | 514 '--port=3456', |
515 '--root=${new Directory.current().path}', | 515 '--root=${Directory.current.path}', |
516 'http_client_tests' ], | 516 'http_client_tests' ], |
517 [ '?PASS .*/http_client_tests/http_client_test.dart test1', | 517 [ '?PASS .*/http_client_tests/http_client_test.dart test1', |
518 '?PASS .*/http_client_tests/http_client_test.dart test2' ]); | 518 '?PASS .*/http_client_tests/http_client_test.dart test2' ]); |
519 }); | 519 }); |
520 }); | 520 }); |
521 } | 521 } |
522 | 522 |
OLD | NEW |