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

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

Issue 841193003: cleanup to tools/testing/dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one last bit Created 5 years, 11 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 | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/co19_test.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
deleted file mode 100644
index 63d8de05e7a80f3dcc18f89690ddfa502fb584bd..0000000000000000000000000000000000000000
--- a/tools/testing/dart/browser_test.dart
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-library browser_test;
-
-import 'path.dart';
-
-String getHtmlContents(String title,
- String scriptType,
- Path sourceScript) {
- return """
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="dart.unittest" content="full-stack-traces">
- <title> Test $title </title>
- <style>
- .unittest-table { font-family:monospace; border:1px; }
- .unittest-pass { background: #6b3;}
- .unittest-fail { background: #d55;}
- .unittest-error { background: #a11;}
- </style>
-</head>
-<body>
- <h1> Running $title </h1>
- <script type="text/javascript"
- src="/root_dart/tools/testing/dart/test_controller.js">
- </script>
- <script type="$scriptType" src="$sourceScript"
- onerror="scriptTagOnErrorCallback(null)"
- defer>
- </script>
- <script type="text/javascript"
- src="/root_dart/pkg/browser/lib/dart.js"></script>
-</body>
-</html>""";
-}
-
-String dartTestWrapper(String libraryPathComponent) {
- return """
-import '$libraryPathComponent' as test;
-
-main() {
- print("dart-calling-main");
- test.main();
- print("dart-main-done");
-}
-""";
-}
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/co19_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698