Index: tests/compiler/dart2js/dart_backend_test.dart |
=================================================================== |
--- tests/compiler/dart2js/dart_backend_test.dart (revision 16156) |
+++ tests/compiler/dart2js/dart_backend_test.dart (working copy) |
@@ -61,6 +61,11 @@ |
var JS; |
'''; |
+const isolateHelperLib = r''' |
+class _WorkerStub { |
+} |
+'''; |
+ |
testDart2Dart(String src, {void continuation(String s), bool minify: false, |
bool stripTypes: false}) { |
// If continuation is not provided, check that source string remains the same. |
@@ -94,6 +99,7 @@ |
// TODO(smok): The file should change to html_dartium at some point. |
if (uri.path.endsWith('/html_dart2js.dart')) return new Future.immediate(htmlLib); |
if (uri.path.endsWith('/foreign_helper.dart')) return new Future.immediate(foreignLib); |
+ if (uri.path.endsWith('/isolate_helper.dart')) return new Future.immediate(isolateHelperLib); |
ahe
2012/12/14 10:13:52
Long line.
|
return new Future.immediate(''); |
} |