OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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:convert'; | 6 import 'dart:convert'; |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
10 import 'package:async_helper/async_helper.dart'; | 10 import 'package:async_helper/async_helper.dart'; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 Expect.equals(4, ">>> EOF STDERR".allMatches(stderrOutput).length); | 79 Expect.equals(4, ">>> EOF STDERR".allMatches(stderrOutput).length); |
80 Expect.equals(4, ">>>".allMatches(stderrOutput).length); | 80 Expect.equals(4, ">>>".allMatches(stderrOutput).length); |
81 | 81 |
82 Expect.equals(2, ">>> TEST OK".allMatches(stdoutOutput).length); | 82 Expect.equals(2, ">>> TEST OK".allMatches(stdoutOutput).length); |
83 Expect.equals(2, ">>> TEST FAIL".allMatches(stdoutOutput).length); | 83 Expect.equals(2, ">>> TEST FAIL".allMatches(stdoutOutput).length); |
84 Expect.equals(4, ">>>".allMatches(stdoutOutput).length); | 84 Expect.equals(4, ">>>".allMatches(stdoutOutput).length); |
85 }); | 85 }); |
86 } | 86 } |
87 | 87 |
88 void main() { | 88 void main() { |
89 var tmpDir; | |
90 asyncTest(() { | 89 asyncTest(() { |
91 return setup().then(launchDart2Js).then(runTests).whenComplete(cleanUp); | 90 return setup().then(launchDart2Js).then(runTests).whenComplete(cleanUp); |
92 }); | 91 }); |
93 } | 92 } |
OLD | NEW |