Index: frog/tests/frog/src/node_config.dart |
diff --git a/frog/tests/frog/src/unittest_node.dart b/frog/tests/frog/src/node_config.dart |
similarity index 56% |
rename from frog/tests/frog/src/unittest_node.dart |
rename to frog/tests/frog/src/node_config.dart |
index c089a737665b3493af5f8e2a4e17dcd284da68f4..6610a76c4cb4d5031d8275b86c960a2900e1c077 100644 |
--- a/frog/tests/frog/src/unittest_node.dart |
+++ b/frog/tests/frog/src/node_config.dart |
@@ -2,18 +2,13 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// TODO(nweiz): move this to the same place as unittest_html.dart and |
-// unittest_vm.dart. Currently, that leads to import conflicts relating to the |
-// node library. |
-#library("unittest"); |
+#library("node_config"); |
-#import('dart:isolate'); |
+#import('../../../../lib/unittest/unittest.dart'); |
#import('../../../lib/node/node.dart'); |
-#source('../../../../lib/unittest/config.dart'); |
-#source('../../../../lib/unittest/shared.dart'); |
-class PlatformConfiguration extends Configuration { |
+class NodeConfiguration extends Configuration { |
void onDone(int passed, int failed, int errors, List<TestCase> results) { |
try { |
super.onDone(passed, failed, errors, results); |
@@ -22,3 +17,7 @@ class PlatformConfiguration extends Configuration { |
} |
} |
} |
+ |
+void useNodeConfiguration() { |
+ configure(new NodeConfiguration()); |
+} |