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

Unified Diff: tests/compiler/dart2js_native/event_loop_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/event_loop_test.dart
diff --git a/tests/compiler/dart2js_native/event_loop_test.dart b/tests/compiler/dart2js_native/event_loop_test.dart
index 60dd77a57f685b31135cc936ca26ad1446aa8c30..18d206891d52046850005d1b435acfeca6816ff9 100644
--- a/tests/compiler/dart2js_native/event_loop_test.dart
+++ b/tests/compiler/dart2js_native/event_loop_test.dart
@@ -3,8 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:async";
+import "dart:_js_helper";
import "package:async_helper/async_helper.dart";
-import "native_testing.dart";
+import "package:expect/expect.dart";
typedef void Callback0();
@@ -19,11 +20,9 @@ void setup() native r"""
function A() {}
A.prototype.foo = function(f) { return f(); };
makeA = function() { return new A; };
-self.nativeConstructor(A);
""";
main() {
- nativeTesting();
setup();
// Makes sure that we don't run the event-loop when we have a reentrant
« no previous file with comments | « tests/compiler/dart2js_native/error_safeToString_test.dart ('k') | tests/compiler/dart2js_native/fake_thing_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698