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

Unified Diff: tests/isolate/isolate2_negative_test.dart

Issue 27215002: Very simple version of Isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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/isolate/isolate.status ('k') | tests/isolate/isolate3_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/isolate2_negative_test.dart
diff --git a/tests/isolate/isolate2_negative_test.dart b/tests/isolate/isolate2_negative_test.dart
index 49ccb2e6d4d8f161cdc89776d8c3481d13193cc6..03fdb3c82ac53a1802a6dab9138023093d4aa570 100644
--- a/tests/isolate/isolate2_negative_test.dart
+++ b/tests/isolate/isolate2_negative_test.dart
@@ -9,7 +9,7 @@ library isolate2_negative_test;
import 'dart:isolate';
import "package:async_helper/async_helper.dart";
-void entry() {
+void entry(msg) {
throw "foo";
}
@@ -18,5 +18,5 @@ main() {
// anything back except an exception there is no asyncEnd().
// If the exception is not thrown this test will timeout.
asyncStart();
- SendPort port = spawnFunction(entry);
+ Isolate.spawn(entry);
}
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/isolate/isolate3_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698