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

Side by Side Diff: test/runner/runner_test.dart

Issue 1082943003: Support PhantomJS. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes 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
« no previous file with comments | « test/runner/browser/runner_test.dart ('k') | no next file » | 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) 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 4
5 @TestOn("vm") 5 @TestOn("vm")
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:path/path.dart' as p; 10 import 'package:path/path.dart' as p;
(...skipping 29 matching lines...) Expand all
40 40
41 final _usage = """ 41 final _usage = """
42 Usage: pub run test:test [files or directories...] 42 Usage: pub run test:test [files or directories...]
43 43
44 -h, --help Shows this usage information. 44 -h, --help Shows this usage information.
45 -n, --name A substring of the name of the test to run. 45 -n, --name A substring of the name of the test to run.
46 Regular expression syntax is supported. 46 Regular expression syntax is supported.
47 47
48 -N, --plain-name A plain-text substring of the name of the test to run. 48 -N, --plain-name A plain-text substring of the name of the test to run.
49 -p, --platform The platform(s) on which to run the tests. 49 -p, --platform The platform(s) on which to run the tests.
50 [vm (default), dartium, content-shell, chrome, fi refox] 50 [vm (default), dartium, content-shell, chrome, ph antomjs, firefox]
51 51
52 -j, --concurrency=<threads> The number of concurrent test suites run. 52 -j, --concurrency=<threads> The number of concurrent test suites run.
53 (defaults to $_defaultConcurrency) 53 (defaults to $_defaultConcurrency)
54 54
55 --pub-serve=<port> The port of a pub serve instance serving "test/". 55 --pub-serve=<port> The port of a pub serve instance serving "test/".
56 --[no-]color Whether to use terminal colors. 56 --[no-]color Whether to use terminal colors.
57 (auto-detected by default) 57 (auto-detected by default)
58 """; 58 """;
59 59
60 void main() { 60 void main() {
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 }); 439 });
440 }); 440 });
441 }); 441 });
442 } 442 }
443 443
444 ProcessResult _runUnittest(List<String> args) => 444 ProcessResult _runUnittest(List<String> args) =>
445 runUnittest(args, workingDirectory: _sandbox); 445 runUnittest(args, workingDirectory: _sandbox);
446 446
447 ProcessResult _runDart(List<String> args) => 447 ProcessResult _runDart(List<String> args) =>
448 runDart(args, workingDirectory: _sandbox); 448 runDart(args, workingDirectory: _sandbox);
OLDNEW
« no previous file with comments | « test/runner/browser/runner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698