| 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:observatory/debugger.dart'; | 7 import 'package:observatory/debugger.dart'; |
| 8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
| 9 import 'test_helper.dart'; | 9 import 'test_helper.dart'; |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 '[debugger_location_test.dart:]')); | 229 '[debugger_location_test.dart:]')); |
| 230 }, | 230 }, |
| 231 | 231 |
| 232 // Complete script:line | 232 // Complete script:line |
| 233 (Isolate isolate) async { | 233 (Isolate isolate) async { |
| 234 var debugger = await initDebugger(isolate); | 234 var debugger = await initDebugger(isolate); |
| 235 var completions = | 235 var completions = |
| 236 await DebuggerLocation.complete(debugger, | 236 await DebuggerLocation.complete(debugger, |
| 237 'debugger_location_test.dart:11'); | 237 'debugger_location_test.dart:11'); |
| 238 expect(completions.toString(), equals( | 238 expect(completions.toString(), equals( |
| 239 '[debugger_location_test.dart:11 ,' | 239 '[debugger_location_test.dart:110 ,' |
| 240 ' debugger_location_test.dart:11:,' | |
| 241 ' debugger_location_test.dart:110 ,' | |
| 242 ' debugger_location_test.dart:110:,' | 240 ' debugger_location_test.dart:110:,' |
| 243 ' debugger_location_test.dart:111 ,' | 241 ' debugger_location_test.dart:111 ,' |
| 244 ' debugger_location_test.dart:111:,' | 242 ' debugger_location_test.dart:111:,' |
| 245 ' debugger_location_test.dart:112 ,' | 243 ' debugger_location_test.dart:112 ,' |
| 246 ' debugger_location_test.dart:112:,' | 244 ' debugger_location_test.dart:112:,' |
| 247 ' debugger_location_test.dart:115 ,' | 245 ' debugger_location_test.dart:115 ,' |
| 248 ' debugger_location_test.dart:115:,' | 246 ' debugger_location_test.dart:115:,' |
| 249 ' debugger_location_test.dart:116 ,' | 247 ' debugger_location_test.dart:116 ,' |
| 250 ' debugger_location_test.dart:116:,' | 248 ' debugger_location_test.dart:116:,' |
| 251 ' debugger_location_test.dart:117 ,' | 249 ' debugger_location_test.dart:117 ,' |
| (...skipping 28 matching lines...) Expand all Loading... |
| 280 ' debugger_location_test.dart:11:20 ,' | 278 ' debugger_location_test.dart:11:20 ,' |
| 281 ' debugger_location_test.dart:11:21 ,' | 279 ' debugger_location_test.dart:11:21 ,' |
| 282 ' debugger_location_test.dart:11:22 ,' | 280 ' debugger_location_test.dart:11:22 ,' |
| 283 ' debugger_location_test.dart:11:23 ,' | 281 ' debugger_location_test.dart:11:23 ,' |
| 284 ' debugger_location_test.dart:11:24 ]')); | 282 ' debugger_location_test.dart:11:24 ]')); |
| 285 }, | 283 }, |
| 286 | 284 |
| 287 ]; | 285 ]; |
| 288 | 286 |
| 289 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); | 287 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); |
| OLD | NEW |