OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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'; | |
6 import 'dart:developer'; | 5 import 'dart:developer'; |
7 import 'package:observatory/service_io.dart'; | 6 import 'package:observatory/service_io.dart'; |
8 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
9 import 'service_test_common.dart'; | 8 import 'service_test_common.dart'; |
10 import 'test_helper.dart'; | 9 import 'test_helper.dart'; |
11 | 10 |
12 generator() sync* { | 11 generator() sync* { |
13 var x = 3; | 12 var x = 3; |
14 var y = 4; | 13 var y = 4; |
15 debugger(); | 14 debugger(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 var result = await isolate.evalFrame(topFrame, "z"); | 52 var result = await isolate.evalFrame(topFrame, "z"); |
54 print(result); | 53 print(result); |
55 expect(result.valueAsString, equals("7")); | 54 expect(result.valueAsString, equals("7")); |
56 }, | 55 }, |
57 | 56 |
58 resumeIsolate, | 57 resumeIsolate, |
59 | 58 |
60 ]; | 59 ]; |
61 | 60 |
62 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); | 61 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); |
OLD | NEW |