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

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

Issue 104963003: Remove unused parameter from test infrastructure: use_unittest_controller. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | « no previous file | no next file » | 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 fa3c48b8ce809bb5afea2f743096302da81156b1..42aa8216eb88ccc6853bb1ccda3d86df2f6d0d51 100644
--- a/tools/testing/dart/browser_test.dart
+++ b/tools/testing/dart/browser_test.dart
@@ -6,12 +6,7 @@ part of test_suite;
String getHtmlContents(String title,
String scriptType,
- Path sourceScript,
- {bool use_unittest_controller: false}) {
- var testControllerJs = '/root_dart/tools/testing/dart/test_controller.js';
- if (use_unittest_controller) {
- testControllerJs = '/root_dart/pkg/unittest/lib/test_controller.js';
- }
+ Path sourceScript) {
return """
<!DOCTYPE html>
<html>
@@ -29,7 +24,7 @@ String getHtmlContents(String title,
<body>
<h1> Running $title </h1>
<script type="text/javascript"
- src="$testControllerJs">
+ src="/root_dart/tools/testing/dart/test_controller.js">
</script>
<script type="$scriptType" src="$sourceScript"
onerror="scriptTagOnErrorCallback(null)"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698