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

Unified Diff: tests/isolate/mandel_isolate_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 | « tests/isolate/isolate_complex_messages_test.dart ('k') | tests/isolate/message2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/mandel_isolate_test.dart
diff --git a/tests/isolate/mandel_isolate_test.dart b/tests/isolate/mandel_isolate_test.dart
index b1e3656f8b7c50ed18afab22ab21eeca7528f3e9..7099abebac396c91513df665912c43f9aabba77f 100644
--- a/tests/isolate/mandel_isolate_test.dart
+++ b/tests/isolate/mandel_isolate_test.dart
@@ -6,15 +6,17 @@ library MandelIsolateTest;
import 'dart:async';
import 'dart:isolate';
import 'dart:math';
-import '../../pkg/unittest/lib/unittest.dart';
+import 'package:unittest/unittest.dart';
+import "remote_unittest_helper.dart";
const TERMINATION_MESSAGE = -1;
const N = 100;
const ISOLATES = 20;
-main() {
+void main([args, port]) {
+ if (testRemote(main, port)) return;
// Test is really slow in debug builds of the VM.
- SimpleConfiguration configuration = unittestConfiguration;
+ var configuration = unittestConfiguration;
configuration.timeout = const Duration(seconds: 480);
test("Render Mandelbrot in parallel", () {
final state = new MandelbrotState();
« no previous file with comments | « tests/isolate/isolate_complex_messages_test.dart ('k') | tests/isolate/message2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698