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

Side by Side Diff: runtime/bin/vmservice/client/test/allocations_script.dart

Issue 445023003: Move service library test into observatory package. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 allocations_script; 5 library allocations_script;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 class Foo { 9 class Foo {
10 } 10 }
11 List<Foo> foos; 11 List<Foo> foos;
12 12
13 main() { 13 main() {
14 foos = [new Foo(), new Foo(), new Foo()]; 14 foos = [new Foo(), new Foo(), new Foo()];
15 15
16 print(''); // Print blank line to signal that we are ready. 16 print(''); // Print blank line to signal that we are ready.
17 // Wait until signaled from spawning test. 17 // Wait until signaled from spawning test.
18 stdin.first.then((_) => exit(0)); 18 stdin.first.then((_) => exit(0));
19 } 19 }
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/pubspec.yaml ('k') | runtime/bin/vmservice/client/test/allocations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698