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

Unified Diff: tests/standalone/src/StatusExpressionTest.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 | « tests/corelib/test_config.dart ('k') | tests/standalone/src/TestRunnerTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/StatusExpressionTest.dart
diff --git a/tests/standalone/src/StatusExpressionTest.dart b/tests/standalone/src/StatusExpressionTest.dart
index 712edd55ca9c0ed00320b7eabcd1a8e3ee59046f..d33f989fd6a7f05d8ec0e984ac9b87b47e0022c2 100644
--- a/tests/standalone/src/StatusExpressionTest.dart
+++ b/tests/standalone/src/StatusExpressionTest.dart
@@ -96,7 +96,7 @@ class StatusExpressionTest {
// Test SetExpression.evaluate().
Map<String, String> environment = new Map<String, String>();
environment["arch"] = "ia32";
- environment["checked"] = "true";
+ environment["checked"] = true;
environment["mode"] = "debug";
Set<String> result = ast.evaluate(environment);
Expect.setEquals(["Skip"], result);
@@ -128,18 +128,18 @@ class StatusExpressionTest {
// Test BooleanExpression.evaluate().
Map<String, String> environment = new Map<String, String>();
environment["arch"] = "ia32";
- environment["checked"] = "true";
+ environment["checked"] = true;
environment["mode"] = "debug";
Expect.isTrue(ast.evaluate(environment));
environment["mode"] = "release";
Expect.isTrue(ast.evaluate(environment));
- environment["checked"] = "false";
+ environment["checked"] = false;
Expect.isTrue(ast.evaluate(environment));
environment["mode"] = "debug";
Expect.isFalse(ast.evaluate(environment));
environment["arch"] = "arm";
Expect.isFalse(ast.evaluate(environment));
- environment["checked"] = "true";
+ environment["checked"] = true;
Expect.isFalse(ast.evaluate(environment));
}
}
« no previous file with comments | « tests/corelib/test_config.dart ('k') | tests/standalone/src/TestRunnerTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698