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

Unified Diff: tests/isolate/browser/compute_this_script_browser_test.dart

Issue 70103014: Make isolate tests work on drt (and hopefully dartium). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Retain isolate_stress_test in status file Created 7 years, 1 month 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 | tests/isolate/browser/typed_data_message_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/browser/compute_this_script_browser_test.dart
diff --git a/tests/isolate/browser/compute_this_script_browser_test.dart b/tests/isolate/browser/compute_this_script_browser_test.dart
index 2b71451aeefbc1139acf582dfc392672b62e1819..63a886d35db64b4230968a3e9f956c91c3efd2e6 100644
--- a/tests/isolate/browser/compute_this_script_browser_test.dart
+++ b/tests/isolate/browser/compute_this_script_browser_test.dart
@@ -11,6 +11,7 @@ import 'dart:html';
import 'dart:isolate';
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
+import "../remote_unittest_helper.dart";
child(var message) {
var data = message[0];
@@ -18,7 +19,8 @@ child(var message) {
reply.send('re: $data');
}
-main() {
+void main([args, port]) {
+ if (testRemote(main, port)) return;
useHtmlConfiguration();
var script = new ScriptElement();
document.body.append(script);
« no previous file with comments | « no previous file | tests/isolate/browser/typed_data_message_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698