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'."; |
} |