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

Side by Side Diff: tests/isolate/browser/issue_12474_test.dart

Issue 943503004: Added a test for issue 12474. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // Note: the following comment is used by test.dart to additionally compile the
6 // other isolate's code.
7 // OtherScripts=issue_12474_child.dart
8 // OtherScripts=package/issue_12474_lib.dart
9
10 import 'dart:isolate';
11
12 final SPAWN_PACKAGE_ROOT = Uri.parse(".");
13
14 void main([args, port]) {
15 var p = new ReceivePort();
16 Isolate.spawnUri(Uri.parse("issue_12474_child.dart"),
17 [p.sendPort],
18 {},
19 packageRoot: SPAWN_PACKAGE_ROOT);
20 p.listen((msg) {
21 print("Received message");
22 p.close();
23 });
24 }
OLDNEW
« no previous file with comments | « tests/isolate/browser/issue_12474_child.dart ('k') | tests/isolate/browser/package/issue_12474_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698