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

Unified Diff: tests/standalone/src/TestRunnerTest.dart

Issue 8501004: Fix TestRunnerTest to actually fail if one of the test tests has unexpected output. (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/TestRunnerTest.dart
diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
index ed8f90b24ff6681915d0bc1ed46c340862c19083..5892bda005dc2ff5a2cea90abe6a72aa0ee71806 100644
--- a/tests/standalone/src/TestRunnerTest.dart
+++ b/tests/standalone/src/TestRunnerTest.dart
@@ -19,7 +19,7 @@ class TestController {
TestOutput output = testCase.output;
print("Test: ${testCase.commandLine}");
if (output.unexpectedOutput) {
- print("Unexpected output: ${output.result}");
+ throw "Unexpected output: ${output.result}";
}
print("stdout: ");
for (var line in output.stdout) print(line);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698