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

Unified Diff: test/codegen_expected/language/no_such_method_subtype_test.js

Issue 2158173003: fix #603, support mock objects (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: add test Created 4 years, 5 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: test/codegen_expected/language/no_such_method_subtype_test.js
diff --git a/test/codegen_expected/language/no_such_method_subtype_test.js b/test/codegen_expected/language/no_such_method_subtype_test.js
index b4e33db5d2329053a1e02e36713cd2a7bc54fec7..7d2c5cf41a15788e6e170b92ca70bc1c5cb2528f 100644
--- a/test/codegen_expected/language/no_such_method_subtype_test.js
+++ b/test/codegen_expected/language/no_such_method_subtype_test.js
@@ -23,6 +23,9 @@ dart_library.library('language/no_such_method_subtype_test', null, /* Imports */
noSuchMethod(im) {
return 84;
}
+ foo() {
+ return this.noSuchMethod(new dart.InvocationImpl('foo', [], {isMethod: true}));
+ }
};
no_such_method_subtype_test.B[dart.implements] = () => [no_such_method_subtype_test.A];
no_such_method_subtype_test.main = function() {

Powered by Google App Engine
This is Rietveld 408576698