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

Unified Diff: frog/tests/frog/src/EvaluatorTest.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
Index: frog/tests/frog/src/EvaluatorTest.dart
diff --git a/frog/tests/frog/src/EvaluatorTest.dart b/frog/tests/frog/src/EvaluatorTest.dart
index 095f1956639948c0a3e3b0c46eae865c483c8322..6f308e1f98041f058368cef2d68529c785f2f4a8 100644
--- a/frog/tests/frog/src/EvaluatorTest.dart
+++ b/frog/tests/frog/src/EvaluatorTest.dart
@@ -4,7 +4,8 @@
#library('EvaluatorTest');
-#import('unittest_node.dart');
+#import('node_config.dart');
+#import('../../../../lib/unittest/unittest.dart');
#import('../../../evaluator.dart');
// TODO(nweiz): don't depend on Node for these tests
#import('../../../lib/node/node.dart');
@@ -12,6 +13,7 @@
#import('../../../js_evaluator_node.dart');
main() {
+ useNodeConfiguration();
// TODO(nweiz): This won't work if we aren't running through frogsh.
var homedir = path.dirname(fs.realpathSync(process.argv[1]));
Evaluator.initWorld(homedir, [], new NodeFileSystem());
« no previous file with comments | « client/tests/client/samples/smoketest/dartWebBase_tests.dart ('k') | frog/tests/frog/src/InheritanceOrderingTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698