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

Side by Side Diff: tests/try/poi/apply_updates_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/lib/analyzer/analyze_library.status ('k') | tests/try/poi/compiler_test_case.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 'dart:convert' show 9 import 'dart:convert' show
10 UTF8; 10 UTF8;
11 11
12 import 'package:dart2js_incremental/library_updater.dart' show 12 import 'package:dart2js_incremental/library_updater.dart' show
13 LibraryUpdater, 13 LibraryUpdater,
14 Update; 14 Update;
15 15
16 import 'package:compiler/implementation/scanner/scannerlib.dart' show 16 import 'package:compiler/src/scanner/scannerlib.dart' show
17 PartialFunctionElement; 17 PartialFunctionElement;
18 18
19 import 'compiler_test_case.dart'; 19 import 'compiler_test_case.dart';
20 20
21 import 'library_updater_test.dart' show 21 import 'library_updater_test.dart' show
22 LibraryUpdaterTestCase, 22 LibraryUpdaterTestCase,
23 nolog; 23 nolog;
24 24
25 class ApplyUpdateTestCase extends LibraryUpdaterTestCase { 25 class ApplyUpdateTestCase extends LibraryUpdaterTestCase {
26 final String expectedUpdate; 26 final String expectedUpdate;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 new ApplyUpdateTestCase( 90 new ApplyUpdateTestCase(
91 before: 'main(){}', 91 before: 'main(){}',
92 after: 'main()=>null;', 92 after: 'main()=>null;',
93 update: 'main'), 93 update: 'main'),
94 94
95 // TODO(ahe): When supporting class members, test abstract methods. 95 // TODO(ahe): When supporting class members, test abstract methods.
96 ] 96 ]
97 ); 97 );
98 } 98 }
OLDNEW
« no previous file with comments | « tests/lib/analyzer/analyze_library.status ('k') | tests/try/poi/compiler_test_case.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698