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

Unified Diff: test/codegen/expect/language/deferred_inheritance_constraints_test_none_multi.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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/expect/language/deferred_inheritance_constraints_test_none_multi.js
diff --git a/test/codegen/expect/language/deferred_inheritance_constraints_test_none_multi.js b/test/codegen/expect/language/deferred_inheritance_constraints_test_none_multi.js
new file mode 100644
index 0000000000000000000000000000000000000000..1eda8de137c70d030b2aa1b4cfbd93243b2c34d7
--- /dev/null
+++ b/test/codegen/expect/language/deferred_inheritance_constraints_test_none_multi.js
@@ -0,0 +1,51 @@
+dart_library.library('language/deferred_inheritance_constraints_test_none_multi', null, /* Imports */[
+ 'dart_sdk'
+], function load__deferred_inheritance_constraints_test_none_multi(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const deferred_inheritance_constraints_test_none_multi = Object.create(null);
+ const deferred_inheritance_constraints_lib = Object.create(null);
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
+ deferred_inheritance_constraints_test_none_multi.Foo = class Foo extends core.Object {};
+ deferred_inheritance_constraints_test_none_multi.D = class D extends core.Object {
+ new() {
+ }
+ static factory() {
+ return new deferred_inheritance_constraints_test_none_multi.Foo2();
+ }
+ };
+ dart.setSignature(deferred_inheritance_constraints_test_none_multi.D, {
+ constructors: () => ({
+ new: dart.definiteFunctionType(deferred_inheritance_constraints_test_none_multi.D, []),
+ factory: dart.definiteFunctionType(deferred_inheritance_constraints_test_none_multi.D, [])
+ })
+ });
+ deferred_inheritance_constraints_test_none_multi.Foo2 = class Foo2 extends deferred_inheritance_constraints_test_none_multi.D {
+ new() {
+ super.new();
+ }
+ };
+ deferred_inheritance_constraints_test_none_multi.A = class A extends deferred_inheritance_constraints_test_none_multi.Foo {};
+ deferred_inheritance_constraints_test_none_multi.B = class B extends core.Object {};
+ deferred_inheritance_constraints_test_none_multi.B[dart.implements] = () => [deferred_inheritance_constraints_test_none_multi.Foo];
+ deferred_inheritance_constraints_test_none_multi.C1 = class C1 extends core.Object {};
+ deferred_inheritance_constraints_test_none_multi.C = class C extends dart.mixin(deferred_inheritance_constraints_test_none_multi.C1, deferred_inheritance_constraints_test_none_multi.Foo) {
+ new() {
+ super.new();
+ }
+ };
+ deferred_inheritance_constraints_test_none_multi.main = function() {
+ new deferred_inheritance_constraints_test_none_multi.A();
+ new deferred_inheritance_constraints_test_none_multi.B();
+ new deferred_inheritance_constraints_test_none_multi.C();
+ deferred_inheritance_constraints_test_none_multi.D.factory();
+ };
+ dart.fn(deferred_inheritance_constraints_test_none_multi.main, VoidTovoid());
+ deferred_inheritance_constraints_lib.Foo = class Foo extends core.Object {};
+ deferred_inheritance_constraints_lib.Foo2 = class Foo2 extends core.Object {};
+ // Exports:
+ exports.deferred_inheritance_constraints_test_none_multi = deferred_inheritance_constraints_test_none_multi;
+ exports.deferred_inheritance_constraints_lib = deferred_inheritance_constraints_lib;
+});

Powered by Google App Engine
This is Rietveld 408576698