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

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

Issue 23702055: test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError mark… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 5e01f11baa409032e19f802f21a4df37356a90e8..4e88e151f96a9d4811e9bcabcbdaaa6aaefd3abc 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -51,12 +51,12 @@ class CustomTestSuite extends TestSuite {
onTest(testCase);
}
- var testCaseCrash = _makeCrashTestCase("crash", [CRASH]);
- var testCasePass = _makeNormalTestCase("pass", [PASS]);
- var testCaseFail = _makeNormalTestCase("fail", [FAIL]);
- var testCaseTimeout = _makeNormalTestCase("timeout", [TIMEOUT]);
+ var testCaseCrash = _makeCrashTestCase("crash", [Expectation.CRASH]);
+ var testCasePass = _makeNormalTestCase("pass", [Expectation.PASS]);
+ var testCaseFail = _makeNormalTestCase("fail", [Expectation.FAIL]);
+ var testCaseTimeout = _makeNormalTestCase("timeout", [Expectation.TIMEOUT]);
var testCaseFailUnexpected =
- _makeNormalTestCase("fail-unexpected", [PASS]);
+ _makeNormalTestCase("fail-unexpected", [Expectation.PASS]);
enqueueTestCase(testCaseCrash);
enqueueTestCase(testCasePass);
@@ -94,7 +94,7 @@ class CustomTestSuite extends TestSuite {
return new TestCase(name,
[command],
configuration,
- new Set<String>.from(expectations));
+ new Set<Expectation>.from(expectations));
}
}
« no previous file with comments | « no previous file | tools/testing/dart/status_file_parser.dart » ('j') | tools/testing/dart/status_file_parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698