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

Unified Diff: pkg/testing/lib/src/suite.dart

Issue 2693893002: Add a new kind of suite to ease test.dart integration. (Closed)
Patch Set: Fix Linux and Windows paths. Created 3 years, 10 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
« no previous file with comments | « pkg/testing/lib/src/stdio_process.dart ('k') | pkg/testing/lib/src/test_dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/suite.dart
diff --git a/pkg/testing/lib/src/suite.dart b/pkg/testing/lib/src/suite.dart
index 8cbcc85cc48187b48bfeaae97187cb8ada27712a..e8007b2d889e4ab7d3aafb8c3b35ed0d36973629 100644
--- a/pkg/testing/lib/src/suite.dart
+++ b/pkg/testing/lib/src/suite.dart
@@ -7,6 +7,9 @@ library testing.suite;
import 'chain.dart' show
Chain;
+import 'test_dart.dart' show
+ TestDart;
+
/// Records the properties of a test suite.
abstract class Suite {
final String name;
@@ -27,6 +30,9 @@ abstract class Suite {
case "chain":
return new Chain.fromJsonMap(base, json, name, kind);
+ case "test_dart":
+ return new TestDart.fromJsonMap(base, json, name, kind);
+
default:
throw "Suite '$name' has unknown kind '$kind'.";
}
« no previous file with comments | « pkg/testing/lib/src/stdio_process.dart ('k') | pkg/testing/lib/src/test_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698