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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 10153005: unittest step 3 and 4: remove TestFramework.dart, make test.dart use (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: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index cf9c46783f3ba210e94a0cb3e14e1efce4dabf1c..f3fafed4bd84d589c8e7f4a5079be0ae24e92415 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -520,7 +520,6 @@ class StandardTestSuite implements TestSuite {
String dartWrapperFilename = '${tempDir.path}/test.dart';
String compiledDartWrapperFilename = '${tempDir.path}/test.js';
- String domLibraryImport = 'dart:dom';
String htmlPath = '${tempDir.path}/test.html';
if (!isWebTest) {
@@ -539,10 +538,8 @@ class StandardTestSuite implements TestSuite {
File file = new File(dartWrapperFilename);
RandomAccessFile dartWrapper = file.openSync(FileMode.WRITE);
- dartWrapper.writeStringSync(DartTestWrapper(
- domLibraryImport,
- '$dartDir/tests/isolate/src/TestFramework.dart',
- dartLibraryFilename));
+ dartWrapper.writeStringSync(
+ DartTestWrapper('$dartDir', dartLibraryFilename));
dartWrapper.closeSync();
} else {
dartWrapperFilename = testPath;
« tools/testing/dart/browser_test.dart ('K') | « tools/testing/dart/browser_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698