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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
« frog/tests/await/test_config.dart ('K') | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index e712f7e6659a427d5a513601bfabcfde726da50b..2832652e811765860169fe7ff53aee1934b59b08 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -78,7 +78,10 @@ class TestCase {
[this.isNegative = false,
this.info = null]) {
if (!isNegative) {
- this.isNegative = displayName.contains("NegativeTest");
+ // TODO(sigmund): dissallow NegativeTest once the test rename overhaul is
+ // done.
+ this.isNegative = displayName.contains("NegativeTest")
+ || displayName.contains("negative_test");
}
// Special command handling. If a special command is specified
« frog/tests/await/test_config.dart ('K') | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698