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

Side by Side Diff: tests/try/poi/apply_updates_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
« no previous file with comments | « tests/compiler/dart2js/type_test_helper.dart ('k') | tests/try/poi/diff_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 FunctionUpdate by pretty printing the updated element before and 5 // Test of FunctionUpdate by pretty printing the updated element before and
6 // after. 6 // after.
7 library trydart.library_updater_test; 7 library trydart.library_updater_test;
8 8
9 import 'package:dart2js_incremental/library_updater.dart' show 9 import 'package:dart2js_incremental/library_updater.dart' show
10 IncrementalCompilerContext, 10 IncrementalCompilerContext,
11 LibraryUpdater, 11 LibraryUpdater,
12 Update; 12 Update;
13 13
14 import 'package:compiler/src/scanner/scannerlib.dart' show 14 import 'package:compiler/src/scanner/scannerlib.dart' show
15 PartialFunctionElement; 15 PartialFunctionElement;
16 16
17 import 'package:compiler/src/dart2jslib.dart' show 17 import 'package:compiler/src/script.dart' show
18 Script; 18 Script;
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 'compiler_test_case.dart'; 23 import 'compiler_test_case.dart';
24 24
25 import 'library_updater_test.dart' show 25 import 'library_updater_test.dart' show
26 LibraryUpdaterTestCase, 26 LibraryUpdaterTestCase,
27 newScriptFrom, 27 newScriptFrom,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 new ApplyUpdateTestCase( 99 new ApplyUpdateTestCase(
100 before: 'main(){}', 100 before: 'main(){}',
101 after: 'main()=>null;', 101 after: 'main()=>null;',
102 update: 'main'), 102 update: 'main'),
103 103
104 // TODO(ahe): When supporting class members, test abstract methods. 104 // TODO(ahe): When supporting class members, test abstract methods.
105 ] 105 ]
106 ); 106 );
107 } 107 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/type_test_helper.dart ('k') | tests/try/poi/diff_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698