Index: lib/unittest/vm_config.dart |
diff --git a/lib/unittest/unittest_vm.dart b/lib/unittest/vm_config.dart |
similarity index 81% |
rename from lib/unittest/unittest_vm.dart |
rename to lib/unittest/vm_config.dart |
index b5ee9254c481e6c99a83e287a6deada7eed4928e..dcf50007cd8151058c393f6f321d71569521a15d 100644 |
--- a/lib/unittest/unittest_vm.dart |
+++ b/lib/unittest/vm_config.dart |
@@ -8,12 +8,9 @@ |
#library('unittest'); |
#import('dart:io'); |
-#import('dart:isolate'); |
+#import('unittest.dart'); |
-#source('config.dart'); |
-#source('shared.dart'); |
- |
-class PlatformConfiguration extends Configuration { |
+class VmConfiguration extends Configuration { |
void onDone(int passed, int failed, int errors, List<TestCase> results) { |
try { |
super.onDone(passed, failed, errors, results); |
@@ -24,3 +21,7 @@ class PlatformConfiguration extends Configuration { |
} |
} |
} |
+ |
+void useVmConfiguration() { |
+ configure(new VmConfiguration()); |
+} |