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

Side by Side Diff: tests/try/poi/diff_test.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « tests/try/poi/compiler_test_case.dart ('k') | tests/try/poi/forget_element_test.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 /// Test of element diff. 5 /// Test of element diff.
6 library trydart.diff_test; 6 library trydart.diff_test;
7 7
8 import 'dart:async' show 8 import 'dart:async' show
9 Future; 9 Future;
10 10
11 import 'package:expect/expect.dart' show 11 import 'package:expect/expect.dart' show
12 Expect; 12 Expect;
13 13
14 import 'package:async_helper/async_helper.dart' show 14 import 'package:async_helper/async_helper.dart' show
15 asyncTest; 15 asyncTest;
16 16
17 import 'package:compiler/implementation/dart2jslib.dart' show 17 import 'package:compiler/src/dart2jslib.dart' show
18 Compiler, 18 Compiler,
19 Script; 19 Script;
20 20
21 import 'package:compiler/implementation/source_file.dart' show 21 import 'package:compiler/src/source_file.dart' show
22 StringSourceFile; 22 StringSourceFile;
23 23
24 import 'package:compiler/implementation/elements/elements.dart' show 24 import 'package:compiler/src/elements/elements.dart' show
25 Element, 25 Element,
26 LibraryElement; 26 LibraryElement;
27 27
28 import 'package:dart2js_incremental/diff.dart' show 28 import 'package:dart2js_incremental/diff.dart' show
29 Difference, 29 Difference,
30 computeDifference; 30 computeDifference;
31 31
32 import '../../compiler/dart2js/compiler_helper.dart' show 32 import '../../compiler/dart2js/compiler_helper.dart' show
33 MockCompiler, 33 MockCompiler,
34 compilerFor; 34 compilerFor;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 expectedBeforeName, elementNameOrNull(difference.before)); 114 expectedBeforeName, elementNameOrNull(difference.before));
115 Expect.stringEquals(expectedAfterName, elementNameOrNull(difference.after)); 115 Expect.stringEquals(expectedAfterName, elementNameOrNull(difference.after));
116 print(difference); 116 print(difference);
117 } 117 }
118 Expect.isFalse(iterator.moveNext()); 118 Expect.isFalse(iterator.moveNext());
119 } 119 }
120 120
121 void main() { 121 void main() {
122 asyncTest(() => Future.forEach(TEST_DATA, testData)); 122 asyncTest(() => Future.forEach(TEST_DATA, testData));
123 } 123 }
OLDNEW
« no previous file with comments | « tests/try/poi/compiler_test_case.dart ('k') | tests/try/poi/forget_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698