Index: tests/compiler/dart2js_native/runtimetype_test.dart |
diff --git a/tests/compiler/dart2js_native/runtimetype_test.dart b/tests/compiler/dart2js_native/runtimetype_test.dart |
index babdc1168d21092f7fb8b2b78f06f5e249be43cc..4667eca8d8808d984ee3f5faa516c30ea0e2914e 100644 |
--- a/tests/compiler/dart2js_native/runtimetype_test.dart |
+++ b/tests/compiler/dart2js_native/runtimetype_test.dart |
@@ -2,7 +2,9 @@ |
// 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. |
-import 'native_testing.dart'; |
+import "package:expect/expect.dart"; |
+import "dart:_js_helper"; |
+import 'dart:_foreign_helper' show JS; |
// Test to see runtimeType works on native classes and does not use the native |
// constructor name. |
@@ -31,9 +33,6 @@ inherits(TAGY, TAGX); |
makeA = function(){return new TAGX}; |
makeB = function(){return new TAGY}; |
- |
-self.nativeConstructor(TAGX); |
-self.nativeConstructor(TAGY); |
"""; |
testDynamicContext() { |
@@ -59,7 +58,6 @@ testStaticContext() { |
} |
main() { |
- nativeTesting(); |
setup(); |
testDynamicContext(); |