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

Side by Side Diff: tests/standalone/vmservice/multiple_isolate_list_test.dart

Issue 206213004: Add a VM page to the observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 4
5 library multiple_isolate_list_test; 5 library multiple_isolate_list_test;
6 6
7 import 'test_helper.dart'; 7 import 'test_helper.dart';
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 9
10 class MultipleIsolateListTest extends VmServiceRequestHelper { 10 class MultipleIsolateListTest extends VmServiceRequestHelper {
11 MultipleIsolateListTest(port) : super('http://127.0.0.1:$port/isolates'); 11 MultipleIsolateListTest(port) : super('http://127.0.0.1:$port/vm');
12 12
13 onRequestCompleted(Map reply) { 13 onRequestCompleted(Map reply) {
14 IsolateListTester tester = new IsolateListTester(reply); 14 VMTester tester = new VMTester(reply);
15 tester.checkIsolateCount(2); 15 tester.checkIsolateCount(2);
16 } 16 }
17 } 17 }
18 18
19 main() { 19 main() {
20 var process = new TestLauncher('multiple_isolate_list_script.dart'); 20 var process = new TestLauncher('multiple_isolate_list_script.dart');
21 process.launch().then((port) { 21 process.launch().then((port) {
22 var test = new MultipleIsolateListTest(port); 22 var test = new MultipleIsolateListTest(port);
23 test.makeRequest().then((_) { 23 test.makeRequest().then((_) {
24 process.requestExit(); 24 process.requestExit();
25 }); 25 });
26 }); 26 });
27 } 27 }
OLDNEW
« no previous file with comments | « tests/standalone/vmservice/isolate_stacktrace_command_test.dart ('k') | tests/standalone/vmservice/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698