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

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

Issue 1133733005: Use words please. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: also rename service rpc Created 5 years, 7 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 | Annotate | Revision Log
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=--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';
(...skipping 16 matching lines...) Expand all
27 print(event); 27 print(event);
28 if (event.eventType == ServiceEvent.kInspect) { 28 if (event.eventType == ServiceEvent.kInspect) {
29 expect((event.inspectee as Instance).clazz.name, equals('Point')); 29 expect((event.inspectee as Instance).clazz.name, equals('Point'));
30 30
31 subscription.cancel(); 31 subscription.cancel();
32 completer.complete(); 32 completer.complete();
33 } 33 }
34 }); 34 });
35 35
36 // Start listening for events first. 36 // Start listening for events first.
37 await isolate.eval(isolate.rootLib, 'testeeDo();'); 37 await isolate.rootLibrary.evaluate('testeeDo();');
38 return completer.future; 38 return completer.future;
39 }, 39 },
40 40
41 ]; 41 ];
42 42
43 main(args) => runIsolateTests(args, tests); 43 main(args) => runIsolateTests(args, tests);
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/coverage_test.dart ('k') | runtime/observatory/tests/service/debugging_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698