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

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

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 years, 8 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 --checked 4 // VMOptions=--compile-all --error_on_bad_type --error_on_bad_override
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 7
8 import 'package:observatory/cli.dart'; 8 import 'package:observatory/cli.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 10
11 class TestCommand extends Command { 11 class TestCommand extends Command {
12 TestCommand(this.out, name, children) : super(name, children); 12 TestCommand(this.out, name, children) : super(name, children);
13 StringBuffer out; 13 StringBuffer out;
14 14
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 main() { 220 main() {
221 test('command completion test suite', testCommandComplete); 221 test('command completion test suite', testCommandComplete);
222 test('run a simple command', testCommandRunSimple); 222 test('run a simple command', testCommandRunSimple);
223 test('run a subcommand', testCommandRunSubcommand); 223 test('run a subcommand', testCommandRunSubcommand);
224 test('run a command which is not found', testCommandRunNotFound); 224 test('run a command which is not found', testCommandRunNotFound);
225 test('run a command which is ambiguous', testCommandRunAmbiguous); 225 test('run a command which is ambiguous', testCommandRunAmbiguous);
226 test('run a command using an alias', testCommandRunAlias); 226 test('run a command using an alias', testCommandRunAlias);
227 } 227 }
228 228
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/code_test.dart ('k') | runtime/observatory/tests/service/contexts_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698