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

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

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://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) 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/src/dart2jslib.dart' show 17 import 'package:compiler/src/compiler.dart' show
18 Compiler; 18 Compiler;
19 19
20 import 'package:compiler/src/io/source_file.dart' show 20 import 'package:compiler/src/io/source_file.dart' show
21 StringSourceFile; 21 StringSourceFile;
22 22
23 import 'package:compiler/src/elements/elements.dart' show 23 import 'package:compiler/src/elements/elements.dart' show
24 Element, 24 Element,
25 LibraryElement; 25 LibraryElement;
26 26
27 import 'package:compiler/src/script.dart' show 27 import 'package:compiler/src/script.dart' show
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 expectedBeforeName, elementNameOrNull(difference.before)); 117 expectedBeforeName, elementNameOrNull(difference.before));
118 Expect.stringEquals(expectedAfterName, elementNameOrNull(difference.after)); 118 Expect.stringEquals(expectedAfterName, elementNameOrNull(difference.after));
119 print(difference); 119 print(difference);
120 } 120 }
121 Expect.isFalse(iterator.moveNext()); 121 Expect.isFalse(iterator.moveNext());
122 } 122 }
123 123
124 void main() { 124 void main() {
125 asyncTest(() => Future.forEach(TEST_DATA, testData)); 125 asyncTest(() => Future.forEach(TEST_DATA, testData));
126 } 126 }
OLDNEW
« no previous file with comments | « tests/try/poi/apply_updates_test.dart ('k') | tests/try/web/incremental_compilation_update_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698