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

Unified Diff: tests/isolate/isolate_create_error_helper_echo.dart

Issue 297413002: Ensure that failure to start an isolate all end up in the future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't need to pretend imports. Created 6 years, 7 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/isolate_create_error_helper_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/isolate_create_error_helper_echo.dart
diff --git a/pkg/docgen/test/multi_library_code/lib/root_lib.dart b/tests/isolate/isolate_create_error_helper_echo.dart
similarity index 52%
copy from pkg/docgen/test/multi_library_code/lib/root_lib.dart
copy to tests/isolate/isolate_create_error_helper_echo.dart
index 74423abfeba22b68b7561d308758df0fdd7d9e60..b0231083c60a6d908a7e9b4ce92abbae3ff22347 100644
--- a/pkg/docgen/test/multi_library_code/lib/root_lib.dart
+++ b/tests/isolate/isolate_create_error_helper_echo.dart
@@ -2,12 +2,11 @@
// 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 root_lib;
+/// Echo library reports its successful creation as an echo response.
+library isolate.create.error.helper.echo;
-export 'test_lib.dart';
-export 'test_lib_foo.dart';
-export 'test_lib_bar.dart';
+import "dart:isolate";
-class RootClass {
- RootClass(int a, int b);
+void main(args, port) {
+ for (String s in args) port.send(s);
}
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/isolate/isolate_create_error_helper_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698