| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 @TestOn("vm") | 5 @TestOn("vm") |
| 6 @Tags(const ["pub"]) |
| 6 | 7 |
| 7 import 'dart:async'; | 8 import 'dart:async'; |
| 8 import 'dart:io'; | 9 import 'dart:io'; |
| 9 | 10 |
| 10 import 'package:path/path.dart' as p; | 11 import 'package:path/path.dart' as p; |
| 11 import 'package:scheduled_test/descriptor.dart' as d; | 12 import 'package:scheduled_test/descriptor.dart' as d; |
| 12 import 'package:scheduled_test/scheduled_stream.dart'; | 13 import 'package:scheduled_test/scheduled_stream.dart'; |
| 13 import 'package:scheduled_test/scheduled_test.dart'; | 14 import 'package:scheduled_test/scheduled_test.dart'; |
| 14 import 'package:test/src/util/exit_codes.dart' as exit_codes; | 15 import 'package:test/src/util/exit_codes.dart' as exit_codes; |
| 15 | 16 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 305 |
| 305 var test = runTest(['--pub-serve=54321', 'my_test.dart']); | 306 var test = runTest(['--pub-serve=54321', 'my_test.dart']); |
| 306 test.stdout.expect(containsInOrder([ | 307 test.stdout.expect(containsInOrder([ |
| 307 '-1: loading my_test.dart', | 308 '-1: loading my_test.dart', |
| 308 'Failed to load "my_test.dart": When using "pub serve", all test files ' | 309 'Failed to load "my_test.dart": When using "pub serve", all test files ' |
| 309 'must be in test/.' | 310 'must be in test/.' |
| 310 ])); | 311 ])); |
| 311 test.shouldExit(1); | 312 test.shouldExit(1); |
| 312 }); | 313 }); |
| 313 } | 314 } |
| OLD | NEW |