Index: tests/standalone/io/test_runner_test.dart |
diff --git a/tests/standalone/src/io/TestRunnerTest.dart b/tests/standalone/io/test_runner_test.dart |
similarity index 79% |
rename from tests/standalone/src/io/TestRunnerTest.dart |
rename to tests/standalone/io/test_runner_test.dart |
index a6812bde8b54b44efa27873de60d52b4295f88cb..f47da9b866ac1ad2569f71b0df0ef897a20772f8 100644 |
--- a/tests/standalone/src/io/TestRunnerTest.dart |
+++ b/tests/standalone/io/test_runner_test.dart |
@@ -3,10 +3,10 @@ |
// BSD-style license that can be found in the LICENSE file. |
#import("dart:io"); |
-#import("../../../../tools/testing/dart/test_runner.dart"); |
-#import("../../../../tools/testing/dart/status_file_parser.dart"); |
-#import("../../../../tools/testing/dart/test_options.dart"); |
-#source("ProcessTestUtil.dart"); |
+#import("../../../tools/testing/dart/test_runner.dart"); |
+#import("../../../tools/testing/dart/status_file_parser.dart"); |
+#import("../../../tools/testing/dart/test_options.dart"); |
+#source("process_test_util.dart"); |
class TestController { |
static final int numTests = 4; |
@@ -30,17 +30,17 @@ class TestController { |
++numCompletedTests; |
print("$numCompletedTests/$numTests"); |
if (numCompletedTests == numTests) { |
- print("TestRunnerTest.dart PASSED"); |
+ print("test_runner_test.dart PASSED"); |
} |
} |
} |
TestCase MakeTestCase(String testName, List<String> expectations) { |
- String test_path = "tests/standalone/src/${testName}.dart"; |
+ String test_path = "tests/standalone/${testName}.dart"; |
// Working directory may be dart/runtime rather than dart. |
if (!new File(test_path).existsSync()) { |
- test_path = "../tests/standalone/src/${testName}.dart"; |
+ test_path = "../tests/standalone/${testName}.dart"; |
} |
var configuration = new TestOptionsParser().parse(['--timeout', '2'])[0]; |
@@ -56,9 +56,9 @@ TestCase MakeTestCase(String testName, List<String> expectations) { |
void main() { |
- new RunningProcess(MakeTestCase("PassTest", [PASS])).start(); |
- new RunningProcess(MakeTestCase("FailTest", [FAIL])).start(); |
- new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT])).start(); |
+ new RunningProcess(MakeTestCase("pass_test", [PASS])).start(); |
+ new RunningProcess(MakeTestCase("fail_test", [FAIL])).start(); |
+ new RunningProcess(MakeTestCase("timeout_test", [TIMEOUT])).start(); |
// The crash test sometimes times out. Run it with a large timeout to help |
// diagnose the delay. |
@@ -73,5 +73,5 @@ void main() { |
new Set<String>.from([CRASH]))).start(); |
Expect.equals(4, TestController.numTests); |
// Throw must be from body of start() function for this test to work. |
- Expect.throws(new RunningProcess(MakeTestCase("PassTest", [SKIP])).start); |
+ Expect.throws(new RunningProcess(MakeTestCase("pass_test", [SKIP])).start); |
} |