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

Side by Side Diff: tests/compiler/dart2js/closure_tracer_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
« no previous file with comments | « tests/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import "package:async_helper/async_helper.dart"; 6 import "package:async_helper/async_helper.dart";
7 7
8 import 'compiler_helper.dart'; 8 import 'compiler_helper.dart';
9 import 'parser_helper.dart';
9 import 'type_mask_test_helper.dart'; 10 import 'type_mask_test_helper.dart';
10 11
11 const String TEST = ''' 12 const String TEST = '''
12 testFunctionStatement() { 13 testFunctionStatement() {
13 var res; 14 var res;
14 closure(a) => res = a; 15 closure(a) => res = a;
15 closure(42); 16 closure(42);
16 return res; 17 return res;
17 } 18 }
18 19
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 checkType('testStoredInListOfList', typesTask.uint31Type); 172 checkType('testStoredInListOfList', typesTask.uint31Type);
172 checkType('testStoredInListOfListUsingInsert', typesTask.uint31Type); 173 checkType('testStoredInListOfListUsingInsert', typesTask.uint31Type);
173 checkType('testStoredInListOfListUsingAdd', typesTask.uint31Type); 174 checkType('testStoredInListOfListUsingAdd', typesTask.uint31Type);
174 checkType('testPassedInParameter', typesTask.uint31Type); 175 checkType('testPassedInParameter', typesTask.uint31Type);
175 checkType('testStaticClosure1', typesTask.uint31Type); 176 checkType('testStaticClosure1', typesTask.uint31Type);
176 checkType('testStaticClosure2', typesTask.numType); 177 checkType('testStaticClosure2', typesTask.numType);
177 checkType('testStaticClosure3', typesTask.uint31Type); 178 checkType('testStaticClosure3', typesTask.uint31Type);
178 checkType('testStaticClosure4', typesTask.numType); 179 checkType('testStaticClosure4', typesTask.numType);
179 })); 180 }));
180 } 181 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698