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

Unified Diff: tests/corelib/test_config.dart

Issue 8540002: Use the configuration for determining the binary to use for testing. (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 | tests/standalone/src/StatusExpressionTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/test_config.dart
diff --git a/tests/corelib/test_config.dart b/tests/corelib/test_config.dart
index 46455f5222820b7d005b6d26ebdfbca14b002551..0d650c1d5f119bcf3cad836287495be3390df69d 100644
--- a/tests/corelib/test_config.dart
+++ b/tests/corelib/test_config.dart
@@ -14,17 +14,12 @@ class CorelibTestSuite {
Function doDone;
String shellPath;
String pathSeparator;
- Map<String, String> configuration;
+ Map configuration;
TestExpectationsMap testExpectationsMap;
- CorelibTestSuite() {
- shellPath = getDartShellFileName() ;
+ CorelibTestSuite(Map this.configuration) {
+ shellPath = getDartShellFileName(configuration) ;
pathSeparator = new Platform().pathSeparator();
- configuration = {"mode": "debug",
- "arch": "ia32",
- "checked": "true",
- "component": "vm",
- "system": new Platform().operatingSystem()};
}
void forEachTest(Function onTest, [Function onDone = null]) {
« no previous file with comments | « no previous file | tests/standalone/src/StatusExpressionTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698