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

Side by Side Diff: test/codegen/expect/language/raw_string_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/raw_string_test', null, /* Imports */[
2 'dart_sdk',
3 'expect'
4 ], function load__raw_string_test(exports, dart_sdk, expect) {
5 'use strict';
6 const core = dart_sdk.core;
7 const dart = dart_sdk.dart;
8 const dartx = dart_sdk.dartx;
9 const expect$ = expect.expect;
10 const raw_string_test = Object.create(null);
11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
12 raw_string_test.RawStringTest = class RawStringTest extends core.Object {
13 static testMain() {
14 expect$.Expect.equals("abcd", "abcd");
15 expect$.Expect.equals("", "");
16 expect$.Expect.equals("", '');
17 expect$.Expect.equals("", "");
18 expect$.Expect.equals("", '');
19 expect$.Expect.equals("''''", "''''");
20 expect$.Expect.equals('""""', '""""');
21 expect$.Expect.equals("1\n2\n3", "1\n2\n3");
22 expect$.Expect.equals("1\n2\n3", '1\n2\n3');
23 expect$.Expect.equals("1", "1");
24 expect$.Expect.equals("1", '1');
25 expect$.Expect.equals("'", "'");
26 expect$.Expect.equals('"', '"');
27 expect$.Expect.equals("1", "1");
28 expect$.Expect.equals("1", "1");
29 expect$.Expect.equals("$", "$");
30 expect$.Expect.equals("\\", "\\");
31 expect$.Expect.equals("\\", '\\');
32 expect$.Expect.equals("${12}", "${12}");
33 expect$.Expect.equals("\\a\\b\\c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m", "\\a\\b\\ c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m");
34 expect$.Expect.equals("\\n\\o\\p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z", "\\n\\o\\ p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z");
35 }
36 };
37 dart.setSignature(raw_string_test.RawStringTest, {
38 statics: () => ({testMain: dart.definiteFunctionType(dart.dynamic, [])}),
39 names: ['testMain']
40 });
41 raw_string_test.main = function() {
42 raw_string_test.RawStringTest.testMain();
43 };
44 dart.fn(raw_string_test.main, VoidTodynamic());
45 // Exports:
46 exports.raw_string_test = raw_string_test;
47 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/range_analysis_test.js ('k') | test/codegen/expect/language/recursive_calls_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698