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=--compile-all --error_on_bad_type --error_on_bad_override | 4 // VMOptions=--compile_all --error_on_bad_type --error_on_bad_override |
5 | 5 |
6 import 'package:observatory/service_io.dart'; | 6 import 'package:observatory/service_io.dart'; |
7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
8 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'dart:developer'; | 10 import 'dart:developer'; |
11 | 11 |
12 class Point { | 12 class Point { |
13 int x, y; | 13 int x, y; |
14 Point(this.x, this.y); | 14 Point(this.x, this.y); |
(...skipping 18 matching lines...) Expand all Loading... |
33 }); | 33 }); |
34 | 34 |
35 // Start listening for events first. | 35 // Start listening for events first. |
36 await isolate.rootLibrary.evaluate('testeeDo();'); | 36 await isolate.rootLibrary.evaluate('testeeDo();'); |
37 return completer.future; | 37 return completer.future; |
38 }, | 38 }, |
39 | 39 |
40 ]; | 40 ]; |
41 | 41 |
42 main(args) => runIsolateTests(args, tests); | 42 main(args) => runIsolateTests(args, tests); |
OLD | NEW |