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

Unified Diff: tests/standalone/io/test_runner_test.dart

Issue 21001003: test.py: First step towards support of caching dart2js compilations across runtimes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/test_runner_test.dart
diff --git a/tests/standalone/io/test_runner_test.dart b/tests/standalone/io/test_runner_test.dart
index d07558aaec936a88ad422bce429c2989a63c30ef..6887f4b0dec3075725d5314149b8107d478336f6 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -22,13 +22,12 @@ class TestController {
// Used as TestCase.completedCallback.
static processCompletedTest(TestCase testCase) {
numCompletedTests++;
- CommandOutput output = testCase.lastCommandOutput;
if (testCase.displayName == "fail-unexpected") {
- if (!output.unexpectedOutput) {
+ if (!testCase.unexpectedOutput) {
throw "Expected fail-unexpected";
}
} else {
- if (output.unexpectedOutput) {
+ if (testCase.unexpectedOutput) {
throw "Unexpected fail";
}
}

Powered by Google App Engine
This is Rietveld 408576698