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

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

Issue 1088933006: Add IE support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: 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/internet_explorer_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 22 matching lines...) Expand all
33 33
34 void main() { 34 void main() {
35 test("failure", () => throw new TestFailure("oh no")); 35 test("failure", () => throw new TestFailure("oh no"));
36 } 36 }
37 """; 37 """;
38 38
39 final _defaultConcurrency = math.max(1, Platform.numberOfProcessors ~/ 2); 39 final _defaultConcurrency = math.max(1, Platform.numberOfProcessors ~/ 2);
40 40
41 final _browsers = 41 final _browsers =
42 "[vm (default), dartium, content-shell, chrome, phantomjs, firefox" + 42 "[vm (default), dartium, content-shell, chrome, phantomjs, firefox" +
43 (Platform.isMacOS ? ", safari" : "") + "]"; 43 (Platform.isMacOS ? ", safari" : "") +
44 (Platform.Windows ? ", ie" : "") + "]";
kevmoo 2015/04/23 00:17:41 Platform.isWindows
44 45
45 final _usage = """ 46 final _usage = """
46 Usage: pub run test:test [files or directories...] 47 Usage: pub run test:test [files or directories...]
47 48
48 -h, --help Shows this usage information. 49 -h, --help Shows this usage information.
49 --version Shows the package's version. 50 --version Shows the package's version.
50 -n, --name A substring of the name of the test to run. 51 -n, --name A substring of the name of the test to run.
51 Regular expression syntax is supported. 52 Regular expression syntax is supported.
52 53
53 -N, --plain-name A plain-text substring of the name of the test to run. 54 -N, --plain-name A plain-text substring of the name of the test to run.
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 }); 660 });
660 }); 661 });
661 }); 662 });
662 } 663 }
663 664
664 ProcessResult _runTest(List<String> args) => 665 ProcessResult _runTest(List<String> args) =>
665 runTest(args, workingDirectory: _sandbox); 666 runTest(args, workingDirectory: _sandbox);
666 667
667 ProcessResult _runDart(List<String> args) => 668 ProcessResult _runDart(List<String> args) =>
668 runDart(args, workingDirectory: _sandbox); 669 runDart(args, workingDirectory: _sandbox);
OLDNEW
« no previous file with comments | « test/runner/browser/internet_explorer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698