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 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:convert'; | 7 import 'dart:convert'; |
8 import 'dart:developer'; | 8 import 'dart:developer'; |
9 import 'package:observatory/service_io.dart'; | 9 import 'package:observatory/service_io.dart'; |
10 import 'package:observatory/cpu_profile.dart'; | 10 import 'package:observatory/cpu_profile.dart'; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 } on ServerRpcException catch (e, st) { | 145 } on ServerRpcException catch (e, st) { |
146 expect(e.code, equals(ServiceExtensionResponse.extensionError)); | 146 expect(e.code, equals(ServiceExtensionResponse.extensionError)); |
147 expect(e.message, stringContainsInOrder([ | 147 expect(e.message, stringContainsInOrder([ |
148 'Error in extension `ext..languageError`:', | 148 'Error in extension `ext..languageError`:', |
149 'developer_extension_test.dart', | 149 'developer_extension_test.dart', |
150 'semicolon expected'])); | 150 'semicolon expected'])); |
151 } | 151 } |
152 }, | 152 }, |
153 ]; | 153 ]; |
154 | 154 |
155 main(args) async => runIsolateTests(args, tests, testeeConcurrent:test, | 155 main(args) async => runIsolateTests(args, tests, testeeConcurrent:test); |
156 trace_compiler: true); | |
OLD | NEW |