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 unittest.simple_configuration; | 5 library unittest.simple_configuration; |
6 | 6 |
7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
8 | 8 |
9 import 'matcher.dart' | 9 import 'matcher.dart' |
10 show DefaultFailureHandler, configureExpectFailureHandler, TestFailure; | 10 show DefaultFailureHandler, configureExpectFailureHandler, TestFailure; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 } | 198 } |
199 } | 199 } |
200 } | 200 } |
201 | 201 |
202 void _postMessage(String message) { | 202 void _postMessage(String message) { |
203 // In dart2js browser tests, the JavaScript-based test controller | 203 // In dart2js browser tests, the JavaScript-based test controller |
204 // intercepts calls to print and listens for "secret" messages. | 204 // intercepts calls to print and listens for "secret" messages. |
205 print(message); | 205 print(message); |
206 } | 206 } |
207 } | 207 } |
OLD | NEW |