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

Side by Side Diff: test/codegen/expect/language/issue21079_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 unified diff | Download patch
OLDNEW
(Empty)
1 dart_library.library('language/issue21079_test', null, /* Imports */[
2 'dart_sdk',
3 'expect'
4 ], function load__issue21079_test(exports, dart_sdk, expect) {
5 'use strict';
6 const core = dart_sdk.core;
7 const mirrors = dart_sdk.mirrors;
8 const isolate = dart_sdk.isolate;
9 const dart = dart_sdk.dart;
10 const dartx = dart_sdk.dartx;
11 const expect$ = expect.expect;
12 const issue21079_test = Object.create(null);
13 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da rt.void, [])))();
14 issue21079_test.main = function() {
15 expect$.Expect.isTrue(dart.equals(mirrors.reflectClass(dart.wrapType(issue21 079_test.MyException)).superclass.reflectedType, dart.wrapType(isolate.IsolateSp awnException)));
16 expect$.Expect.isTrue(dart.equals(mirrors.reflectClass(dart.wrapType(isolate .IsolateSpawnException)).reflectedType, dart.wrapType(isolate.IsolateSpawnExcept ion)));
17 };
18 dart.fn(issue21079_test.main, VoidTovoid());
19 issue21079_test.MyException = class MyException extends isolate.IsolateSpawnEx ception {
20 new() {
21 super.new("Test");
22 }
23 };
24 dart.setSignature(issue21079_test.MyException, {
25 constructors: () => ({new: dart.definiteFunctionType(issue21079_test.MyExcep tion, [])})
26 });
27 // Exports:
28 exports.issue21079_test = issue21079_test;
29 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/issue20476_test.js ('k') | test/codegen/expect/language/issue21159_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698