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

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

Issue 26162007: Remove unittest-based wrapping from our testing scripts (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « tests/lib/lib.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/browser_test.dart
diff --git a/tools/testing/dart/browser_test.dart b/tools/testing/dart/browser_test.dart
index e37d029a3ce0b970ad7a5cb64d4cfe0a657c2cfc..c7172c6e7d9773f17f65534b446e91966b9ce242 100644
--- a/tools/testing/dart/browser_test.dart
+++ b/tools/testing/dart/browser_test.dart
@@ -55,29 +55,6 @@ String getHtmlLayoutContents(String scriptType,
</html>
""";
-String dartUnittestWrapper(bool usePackageImport, String libraryPathComponent) {
- // Tests inside "pkg" import unittest using "package:". All others use a
- // relative path. The imports need to agree, so use a matching form here.
- var unitTest;
- if (usePackageImport) {
- unitTest = 'package:unittest';
- } else {
- unitTest = '/root_dart/pkg/unittest/lib';
- }
- return """
-library test;
-
-import '$unitTest/unittest.dart' as unittest;
-import '$unitTest/html_config.dart' as config;
-import '$libraryPathComponent' as Test;
-
-main() {
- config.useHtmlConfiguration();
- unittest.group('', Test.main);
-}
-""";
-}
-
String dartTestWrapper(String libraryPathComponent) {
return """
import '$libraryPathComponent' as test;
« no previous file with comments | « tests/lib/lib.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698