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

Side by Side Diff: tests/standalone/src/TestRunnerTest.dart

Issue 8597016: - Remove uses of the dart_bin binary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 | « samples/chat/README ('k') | tools/make_bundle.py » ('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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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("TestRunnerTest"); 5 #library("TestRunnerTest");
6 6
7 #import("../../../tools/testing/dart/test_runner.dart"); 7 #import("../../../tools/testing/dart/test_runner.dart");
8 #import("../../../tools/testing/dart/status_file_parser.dart"); 8 #import("../../../tools/testing/dart/status_file_parser.dart");
9 9
10 // TODO(whesse) source("ProcessTestUtil.dart"); when it is committed. 10 // TODO(whesse) source("ProcessTestUtil.dart"); when it is committed.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 <String>["--ignore-unrecognized-flags", 49 <String>["--ignore-unrecognized-flags",
50 "--enable_type_checks", 50 "--enable_type_checks",
51 test_path], 51 test_path],
52 timeout, 52 timeout,
53 TestController.processCompletedTest, 53 TestController.processCompletedTest,
54 new Set<String>.from(expectations)); 54 new Set<String>.from(expectations));
55 } 55 }
56 56
57 57
58 String getDartBinName() { 58 String getDartBinName() {
59 var names = ["out/Debug_ia32/dart_bin", 59 var names = ["out/Debug_ia32/dart",
60 "out/Release_ia32/dart_bin", 60 "out/Release_ia32/dart",
61 "xcodebuild/Debug_ia32/dart_bin", 61 "xcodebuild/Debug_ia32/dart",
62 "xcodebuild/Release_ia32/dart_bin", 62 "xcodebuild/Release_ia32/dart",
63 "Debug_ia32/dart_bin.exe", 63 "Debug_ia32/dart.exe",
64 "Release_ia32/dart_bin.exe"]; 64 "Release_ia32/dart.exe"];
65 for (var name in names) { 65 for (var name in names) {
66 if (new File(name).existsSync()) { 66 if (new File(name).existsSync()) {
67 return name; 67 return name;
68 } 68 }
69 } 69 }
70 } 70 }
71 71
72 72
73 String getProcessTestFileName() { 73 String getProcessTestFileName() {
74 var names = ['out/Release_ia32/process_test', 74 var names = ['out/Release_ia32/process_test',
(...skipping 22 matching lines...) Expand all
97 timeout, 97 timeout,
98 TestController.processCompletedTest, 98 TestController.processCompletedTest,
99 new Set<String>.from([CRASH])), 99 new Set<String>.from([CRASH])),
100 timeout).start(); 100 timeout).start();
101 Expect.equals(4, TestController.numTests); 101 Expect.equals(4, TestController.numTests);
102 // Throw must be from body of start() function for this test to work. 102 // Throw must be from body of start() function for this test to work.
103 Expect.throws( 103 Expect.throws(
104 new RunningProcess(MakeTestCase("PassTest", [SKIP]), timeout).start); 104 new RunningProcess(MakeTestCase("PassTest", [SKIP]), timeout).start);
105 } 105 }
106 106
OLDNEW
« no previous file with comments | « samples/chat/README ('k') | tools/make_bundle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698