| 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 // VMOptions=--error_on_bad_type --error_on_bad_override | 4 // VMOptions=--error_on_bad_type --error_on_bad_override |
| 5 | 5 |
| 6 import 'package:observatory/service_io.dart'; | |
| 7 import 'package:unittest/unittest.dart'; | |
| 8 import 'test_helper.dart'; | 6 import 'test_helper.dart'; |
| 9 import 'dart:developer'; | 7 import 'dart:developer'; |
| 10 import 'service_test_common.dart'; | 8 import 'service_test_common.dart'; |
| 11 | 9 |
| 12 testMain() { | 10 testMain() { |
| 13 debugger(); // Stop here. | 11 debugger(); // Stop here. |
| 14 print('1'); | 12 print('1'); |
| 15 while (true) { | 13 while (true) { |
| 16 } | 14 } |
| 17 } | 15 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 resumeIsolate, | 33 resumeIsolate, |
| 36 // Verify that it is running. | 34 // Verify that it is running. |
| 37 isolateIsRunning, | 35 isolateIsRunning, |
| 38 // Reload sources and do not request to pause post reload. | 36 // Reload sources and do not request to pause post reload. |
| 39 reloadSources(false), | 37 reloadSources(false), |
| 40 // Verify that it is running. | 38 // Verify that it is running. |
| 41 isolateIsRunning, | 39 isolateIsRunning, |
| 42 ]; | 40 ]; |
| 43 | 41 |
| 44 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); | 42 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); |
| OLD | NEW |