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

Unified Diff: tests/standalone/test_config.dart

Issue 8539044: Enable co19 test suite on dart test scripts. (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
Index: tests/standalone/test_config.dart
diff --git a/tests/standalone/test_config.dart b/tests/standalone/test_config.dart
index 389efc86b930490c5b8d267828697f44ccf6d6df..9b6c68a6ed3eaf90c8caeedb7acfe22b8e9ab885 100644
--- a/tests/standalone/test_config.dart
+++ b/tests/standalone/test_config.dart
@@ -15,7 +15,7 @@ class StandaloneTestSuite {
String shellPath;
String pathSeparator;
Map configuration;
- TestExpectationsMap testExpectationsMap;
+ TestExpectations testExpectations;
StandaloneTestSuite(Map this.configuration) {
shellPath = getDartShellFileName(configuration) ;
@@ -27,7 +27,8 @@ class StandaloneTestSuite {
doDone = (ignore) => onDone();
// Read test expectations from status file.
- testExpectationsMap = ReadTestExpectations(statusFilePath, configuration);
+ testExpectations = new TestExpectations();
+ ReadTestExpectationsInto(testExpectations, statusFilePath, configuration);
processDirectory();
}
@@ -56,10 +57,8 @@ class StandaloneTestSuite {
int start = filename.lastIndexOf(pathSeparator);
String testName = filename.substring(start + 1, filename.length - 5);
- Set<String> expectations = testExpectationsMap.expectations(testName);
+ Set<String> expectations = testExpectations.expectations(testName);
- // TODO(whesse): Skip files with internal directives, and multipart files,
- // until they are handled correctly.
if (expectations.contains(SKIP)) return;
List args = ["--ignore-unrecognized-flags"];

Powered by Google App Engine
This is Rietveld 408576698