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

Unified Diff: tests/compiler/dart2js_native/native_method_inlining_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/native_method_inlining_test.dart
diff --git a/tests/compiler/dart2js_native/native_method_inlining_test.dart b/tests/compiler/dart2js_native/native_method_inlining_test.dart
index 07a0620d07b21e9a7d6af39a8a8f1f9b48594db3..dce81ec48ecfb713012fa6193a67898265122ce0 100644
--- a/tests/compiler/dart2js_native/native_method_inlining_test.dart
+++ b/tests/compiler/dart2js_native/native_method_inlining_test.dart
@@ -5,7 +5,8 @@
// Test that native methods with unnamed optional arguments are called with the
// number of arguments in the call site AND the call site is inlined.
-import 'native_testing.dart';
+import "package:expect/expect.dart";
+import 'dart:_js_helper' show Native, NoInline;
typedef int Int2Int(int x);
@@ -70,8 +71,6 @@ findMethodTextContaining = function (instance, string) {
if (s.indexOf(string)>0) return s;
}
};
-
-self.nativeConstructor(A);
""";
bool get isCheckedMode {
@@ -149,7 +148,6 @@ test2() {
}
main() {
- nativeTesting();
setup();
test1();
test2();

Powered by Google App Engine
This is Rietveld 408576698