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

Side by Side Diff: runtime/bin/vmservice/observatory/test/test_helper.dart

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | 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 test_helper; 5 library test_helper;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 process.launch().then((port) { 95 process.launch().then((port) {
96 String addr = 'ws://localhost:$port/ws'; 96 String addr = 'ws://localhost:$port/ws';
97 new WebSocketVM(new WebSocketVMTarget(addr)).get('vm') 97 new WebSocketVM(new WebSocketVMTarget(addr)).get('vm')
98 .then((VM vm) => vm.isolates.first.load()) 98 .then((VM vm) => vm.isolates.first.load())
99 .then((Isolate isolate) => 99 .then((Isolate isolate) =>
100 Future.forEach(tests, (test) => test(isolate))) 100 Future.forEach(tests, (test) => test(isolate)))
101 .then((_) => exit(0)); 101 .then((_) => exit(0));
102 }); 102 });
103 } 103 }
104 } 104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698