Index: tests/compiler/dart2js_native/subclassing_2_test.dart |
diff --git a/tests/compiler/dart2js_native/subclassing_2_test.dart b/tests/compiler/dart2js_native/subclassing_2_test.dart |
index 4b9785c4e9118a22cff9b6b3af9adddc52a3e426..a6b8bb30a0aa06b5e61cc54da56fea2cd96cf51c 100644 |
--- a/tests/compiler/dart2js_native/subclassing_2_test.dart |
+++ b/tests/compiler/dart2js_native/subclassing_2_test.dart |
@@ -2,8 +2,8 @@ |
// 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 "package:expect/expect.dart"; |
-import 'dart:_js_helper' show Native, Creates, setNativeSubclassDispatchRecord; |
+import 'native_testing.dart'; |
+import 'dart:_js_helper' show setNativeSubclassDispatchRecord; |
import 'dart:_interceptors' show findInterceptorForType; |
// Test calling convention of methods introduced on subclasses of native |
@@ -37,6 +37,7 @@ getBPrototype = function(){return B.prototype;}; |
"""; |
main() { |
+ nativeTesting(); |
setup(); |
setNativeSubclassDispatchRecord(getBPrototype(), findInterceptorForType(B)); |