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

Unified Diff: tests/isolate/src/APIv2_spawnUriBrowserTest.dart

Issue 9478027: spawnUri: fixing test with recent support for multi-script tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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
Index: tests/isolate/src/APIv2_spawnUriBrowserTest.dart
diff --git a/tests/isolate/src/APIv2_spawnUriBrowserTest.dart b/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
index da0f1d5916e7722116921d35ed4ff36d59914578..7e68276a8f536e5fa28065adb3768eaca008b3da 100644
--- a/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
+++ b/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
@@ -2,7 +2,10 @@
// 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.
-// example of spawning an isolate from a URI
+// Example of spawning an isolate from a URI
+// Note: the following comment is used by test.dart to additionally compile the
+// other isolate's code.
+// OtherScripts=APIv2_spawnUriChildIsolate.dart
#library('spawn_tests');
#import("../../../client/testing/unittest/unittest.dart");
#import("dart:dom"); // import added so test.dart can treat this as a webtest.
@@ -18,7 +21,7 @@ main() {
});
// TODO(eub): make this work for non-JS targets.
- Isolate2 c = new Isolate2.fromUri("./APIv2_spawnUriChildIsolate.js");
+ Isolate2 c = new Isolate2.fromUri("APIv2_spawnUriChildIsolate.js");
c.sendPort.send("hi", port.toSendPort());
});
}
« lib/isolate/frog/isolateimpl.dart ('K') | « tests/isolate/src/APIv2_spawnUriBrowserNegativeTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698