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

Unified Diff: test/codegen/expect/language/export_cyclic_test.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/export_cyclic_test.js
diff --git a/test/codegen/expect/language/export_cyclic_test.js b/test/codegen/expect/language/export_cyclic_test.js
new file mode 100644
index 0000000000000000000000000000000000000000..c2f237769f5fe1a37c1648c6d07a240667056572
--- /dev/null
+++ b/test/codegen/expect/language/export_cyclic_test.js
@@ -0,0 +1,55 @@
+dart_library.library('language/export_cyclic_test', null, /* Imports */[
+ 'dart_sdk'
+], function load__export_cyclic_test(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const export_cyclic_test = Object.create(null);
+ const export_cyclic_helper1 = Object.create(null);
+ const export_cyclic_helper2 = Object.create(null);
+ const export_cyclic_helper3 = Object.create(null);
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
+ export_cyclic_test.A = class A extends core.Object {};
+ export_cyclic_test.main = function() {
+ core.print(new export_cyclic_test.A());
+ core.print(new export_cyclic_helper1.B());
+ core.print(new export_cyclic_helper2.C());
+ core.print(new export_cyclic_helper3.D());
+ };
+ dart.fn(export_cyclic_test.main, VoidTovoid());
+ export_cyclic_helper3.D = class D extends core.Object {};
+ export_cyclic_test.D = export_cyclic_helper3.D;
+ export_cyclic_helper2.C = class C extends core.Object {
+ new() {
+ this.a = null;
+ this.b = null;
+ this.c = null;
+ this.d = null;
+ }
+ };
+ export_cyclic_test.C = export_cyclic_helper2.C;
+ export_cyclic_helper1.B = class B extends core.Object {
+ new() {
+ this.a = null;
+ this.b = null;
+ this.c = null;
+ this.d = null;
+ }
+ };
+ export_cyclic_test.B = export_cyclic_helper1.B;
+ export_cyclic_helper1.A = export_cyclic_test.A;
+ export_cyclic_helper1.C = export_cyclic_helper2.C;
+ export_cyclic_helper1.D = export_cyclic_helper3.D;
+ export_cyclic_helper1.main = export_cyclic_test.main;
+ export_cyclic_helper2.A = export_cyclic_test.A;
+ export_cyclic_helper2.D = export_cyclic_helper3.D;
+ export_cyclic_helper2.B = export_cyclic_helper1.B;
+ export_cyclic_helper2.main = export_cyclic_test.main;
+ export_cyclic_helper2.D = export_cyclic_helper3.D;
+ // Exports:
+ exports.export_cyclic_test = export_cyclic_test;
+ exports.export_cyclic_helper1 = export_cyclic_helper1;
+ exports.export_cyclic_helper2 = export_cyclic_helper2;
+ exports.export_cyclic_helper3 = export_cyclic_helper3;
+});

Powered by Google App Engine
This is Rietveld 408576698