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

Side by Side Diff: tests/isolate/issue_21398_parent_isolate2_test.dart

Issue 947533003: Fix test to copy scripts into the generated directories. (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
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Note: the following comment is used by test.dart to additionally compile the
6 // other isolate's code.
7 // OtherScripts=deferred_loaded_lib.dart
8
5 import 'dart:isolate'; 9 import 'dart:isolate';
6 import 'dart:async'; 10 import 'dart:async';
7 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
8 12
9 import "deferred_loaded_lib.dart" deferred as lib; 13 import "deferred_loaded_lib.dart" deferred as lib;
10 14
11 // In this test case we send an object created from a deferred library 15 // In this test case we send an object created from a deferred library
12 // that is loaded in the child isolate but not the parent isolate. The 16 // that is loaded in the child isolate but not the parent isolate. The
13 // parent isolate does not know about the type of this object and throws 17 // parent isolate does not know about the type of this object and throws
14 // an unhandled exception. 18 // an unhandled exception.
(...skipping 25 matching lines...) Expand all
40 receivePort.close(); 44 receivePort.close();
41 } 45 }
42 ); 46 );
43 } 47 }
44 ); 48 );
45 } 49 }
46 50
47 main() { 51 main() {
48 helperFunction(); /// 01: runtime error 52 helperFunction(); /// 01: runtime error
49 } 53 }
OLDNEW
« no previous file with comments | « tests/isolate/issue_21398_parent_isolate1_test.dart ('k') | tests/isolate/issue_21398_parent_isolate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698