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

Unified Diff: frog/tests/frog/src/node_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 | « frog/tests/frog/src/PrototypePatchingTest.dart ('k') | frog/tests/frog/src/unittest_node.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
+}
« no previous file with comments | « frog/tests/frog/src/PrototypePatchingTest.dart ('k') | frog/tests/frog/src/unittest_node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698