Index: tests/compiler/dart2js_native/dispatch_property_initialization_test.dart |
diff --git a/tests/compiler/dart2js_native/dispatch_property_initialization_test.dart b/tests/compiler/dart2js_native/dispatch_property_initialization_test.dart |
index 6da238e59455b596f63f0b3e66c465261094d958..174eaf872af3c32f171ca9e487a3d24649648b59 100644 |
--- a/tests/compiler/dart2js_native/dispatch_property_initialization_test.dart |
+++ b/tests/compiler/dart2js_native/dispatch_property_initialization_test.dart |
@@ -4,7 +4,9 @@ |
// Test for initialization of dispatchPropertyName. |
-import 'native_testing.dart'; |
+import "package:expect/expect.dart"; |
+import 'dart:_foreign_helper' show JS; |
+import 'dart:_js_helper' show Native; |
@Native("Foo") |
class Foo { |
@@ -18,13 +20,10 @@ function Foo() {} |
Foo.prototype.method = function(x) { return 'Foo ' + x; } |
self.makeFoo = function() { return new Foo(); } |
- |
-self.nativeConstructor(Foo); |
"""; |
main() { |
- nativeTesting(); |
setup(); |
// If the dispatchPropertyName is uninitialized, it will be `undefined` or |