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'; | 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 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 expect(pausetime2.millisecondsSinceEpoch, | 76 expect(pausetime2.millisecondsSinceEpoch, |
77 equals(isolate.pauseEvent.timestamp.millisecondsSinceEpoch)); | 77 equals(isolate.pauseEvent.timestamp.millisecondsSinceEpoch)); |
78 expect(pausetime2.millisecondsSinceEpoch, | 78 expect(pausetime2.millisecondsSinceEpoch, |
79 greaterThan(pausetime1.millisecondsSinceEpoch)); | 79 greaterThan(pausetime1.millisecondsSinceEpoch)); |
80 }, | 80 }, |
81 | 81 |
82 ]; | 82 ]; |
83 | 83 |
84 main(args) => runIsolateTests(args, tests, | 84 main(args) => runIsolateTests(args, tests, |
85 testeeConcurrent: testMain, | 85 testeeConcurrent: testMain, |
86 pause_on_start: true, pause_on_exit: true); | 86 pause_on_start: true, |
| 87 pause_on_exit: true, |
| 88 trace_service: true); |
OLD | NEW |