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 10247004: test rename overhaul: step 6 - isolate 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
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

Powered by Google App Engine
This is Rietveld 408576698