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

Unified Diff: tests/compiler/dart2js_native/runtimetype_test.dart

Issue 2383273002: Revert "Add native_testing library to mock @Native classes" (Closed)
Patch Set: Created 4 years, 3 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
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();
« no previous file with comments | « tests/compiler/dart2js_native/oddly_named_fields_test.dart ('k') | tests/compiler/dart2js_native/static_methods_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698