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

Side by Side Diff: utils/tests/pub/pub_tests.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « utils/tests/import_mapper/src/import_mapper_tests.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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('pub_tests'); 5 #library('pub_tests');
6 6
7 #import('dart:io'); 7 #import('dart:io');
8 8
9 #import('test_pub.dart'); 9 #import('test_pub.dart');
10 #import('../../../lib/unittest/unittest_vm.dart'); 10 #import('../../../lib/unittest/unittest.dart');
11 11
12 main() { 12 main() {
13 group('running pub with no command', () { 13 group('running pub with no command', () {
14 testOutput('displays usage', 14 testOutput('displays usage',
15 [], 15 [],
16 ''' 16 '''
17 Pub is a package manager for Dart. 17 Pub is a package manager for Dart.
18 18
19 Usage: 19 Usage:
20 20
(...skipping 13 matching lines...) Expand all
34 34
35 group('an unknown command', () { 35 group('an unknown command', () {
36 testOutput('displays an error message', 36 testOutput('displays an error message',
37 ['quylthulg'], 37 ['quylthulg'],
38 ''' 38 '''
39 Unknown command "quylthulg". 39 Unknown command "quylthulg".
40 Run "pub help" to see available commands.''', 40 Run "pub help" to see available commands.''',
41 exitCode: 64); 41 exitCode: 64);
42 }); 42 });
43 } 43 }
OLDNEW
« no previous file with comments | « utils/tests/import_mapper/src/import_mapper_tests.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698