Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: runtime/observatory/tests/service/debugger_location_test.dart

Issue 1590353002: Only show breakpoints at possible breakpoint positions in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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);
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698