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

Side by Side Diff: tests/compiler/dart2js/class_codegen_test.dart

Issue 1278503004: Revert "Move dart2jslib parts into separate libraries." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Test that parameters keep their names in the output. 4 // Test that parameters keep their names in the output.
5 5
6 import 'dart:async';
6 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
7 import "package:async_helper/async_helper.dart"; 8 import "package:async_helper/async_helper.dart";
8 import 'compiler_helper.dart'; 9 import 'compiler_helper.dart';
10 import 'parser_helper.dart';
9 11
10 const String TEST_ONE = r""" 12 const String TEST_ONE = r"""
11 class A { } 13 class A { }
12 class B { } 14 class B { }
13 15
14 main() { 16 main() {
15 new A(); 17 new A();
16 new B(); 18 new B();
17 } 19 }
18 """; 20 """;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);"))); 94 Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);")));
93 })); 95 }));
94 } 96 }
95 97
96 main() { 98 main() {
97 twoClasses(); 99 twoClasses();
98 subClass(); 100 subClass();
99 fieldTest(); 101 fieldTest();
100 constructor1(); 102 constructor1();
101 } 103 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/class_codegen2_test.dart ('k') | tests/compiler/dart2js/class_set_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698