| 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 --verbose_debug --trac
e_service | 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug |
| 5 | 5 |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:developer'; | 7 import 'dart:developer'; |
| 8 | 8 |
| 9 import 'test_helper.dart'; | 9 import 'test_helper.dart'; |
| 10 import 'service_test_common.dart'; | 10 import 'service_test_common.dart'; |
| 11 | 11 |
| 12 import 'package:observatory/models.dart' as M; | 12 import 'package:observatory/models.dart' as M; |
| 13 import 'package:observatory/service_io.dart'; | 13 import 'package:observatory/service_io.dart'; |
| 14 import 'package:unittest/unittest.dart'; | 14 import 'package:unittest/unittest.dart'; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 37 // Check that we are at the async statement | 37 // Check that we are at the async statement |
| 38 (Isolate isolate) async { | 38 (Isolate isolate) async { |
| 39 expect(M.isAtAsyncSuspension(isolate.pauseEvent), isTrue); | 39 expect(M.isAtAsyncSuspension(isolate.pauseEvent), isTrue); |
| 40 }, | 40 }, |
| 41 asyncStepOver, | 41 asyncStepOver, |
| 42 stoppedAtLine(LINE_B), | 42 stoppedAtLine(LINE_B), |
| 43 resumeIsolate, | 43 resumeIsolate, |
| 44 ]; | 44 ]; |
| 45 | 45 |
| 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); | 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); |
| OLD | NEW |