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

Unified Diff: lib/unittest/vm_config.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (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
« no previous file with comments | « lib/unittest/unittest_vm.dart ('k') | samples/belay/tests/bcap_tests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
+}
« no previous file with comments | « lib/unittest/unittest_vm.dart ('k') | samples/belay/tests/bcap_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698