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 && windows") | |
6 @Tags(const ["ie"]) | 5 @Tags(const ["ie"]) |
7 | 6 |
8 import 'package:scheduled_test/descriptor.dart' as d; | 7 import 'package:scheduled_test/descriptor.dart' as d; |
9 import 'package:scheduled_test/scheduled_stream.dart'; | 8 import 'package:scheduled_test/scheduled_stream.dart'; |
10 import 'package:scheduled_test/scheduled_test.dart'; | 9 import 'package:scheduled_test/scheduled_test.dart'; |
11 import 'package:test/src/runner/browser/internet_explorer.dart'; | 10 import 'package:test/src/runner/browser/internet_explorer.dart'; |
12 | 11 |
13 import '../../io.dart'; | 12 import '../../io.dart'; |
14 import '../../utils.dart'; | 13 import '../../utils.dart'; |
15 import 'code_server.dart'; | 14 import 'code_server.dart'; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void main() { | 75 void main() { |
77 test("failure", () => throw new TestFailure("oh no")); | 76 test("failure", () => throw new TestFailure("oh no")); |
78 } | 77 } |
79 """).create(); | 78 """).create(); |
80 | 79 |
81 var test = runTest(["-p", "ie", "test.dart"]); | 80 var test = runTest(["-p", "ie", "test.dart"]); |
82 test.stdout.expect(consumeThrough(contains("-1: Some tests failed."))); | 81 test.stdout.expect(consumeThrough(contains("-1: Some tests failed."))); |
83 test.shouldExit(1); | 82 test.shouldExit(1); |
84 }); | 83 }); |
85 } | 84 } |
OLD | NEW |