Chromium Code Reviews| Index: tests/standalone/package/sibling_isolate.dart |
| diff --git a/tests/compiler/dart2js_extra/regress/4434_test.dart b/tests/standalone/package/sibling_isolate.dart |
| similarity index 51% |
| copy from tests/compiler/dart2js_extra/regress/4434_test.dart |
| copy to tests/standalone/package/sibling_isolate.dart |
| index 0fe32948358ee12488e69ae9ebea30bd43ddd597..0ad26c2262c1b454dce25377f24fb35ca29aa516 100644 |
| --- a/tests/compiler/dart2js_extra/regress/4434_test.dart |
| +++ b/tests/standalone/package/sibling_isolate.dart |
| @@ -1,14 +1,17 @@ |
| + |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // 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. |
| -#library("lib_b"); |
| - |
| -#import("4434_lib.dart"); |
| +library sibling_isolate; |
| -class B extends A { } |
| +import 'package:shared.dart'; |
|
siva
2012/10/17 17:26:23
I think you should import this with a prefix and t
justinfagnani
2012/10/17 18:11:56
Done.
|
| +import 'dart:isolate'; |
| +// This file is spawned from package_isolate_test.dart |
| main() { |
| - B b = new B(); |
| - b.x(b); |
| + output = 'success'; |
| + port.receive((msg, replyTo) { |
| + replyTo.send(output); |
| + }); |
| } |