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

Side by Side Diff: test/codegen/recorder_test.dart

Issue 2325683002: Clean up references to deprecated code (Closed)
Patch Set: Created 4 years, 3 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 | « test/codegen/end_to_end_test.dart ('k') | test/codegen/testing_resolver_utils.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 @TestOn('vm') 5 @TestOn('vm')
6 library smoke.test.codegen.recorder_test; 6 library smoke.test.codegen.recorder_test;
7 7
8 import 'package:analyzer/src/generated/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:smoke/codegen/generator.dart'; 9 import 'package:smoke/codegen/generator.dart';
10 import 'package:smoke/codegen/recorder.dart'; 10 import 'package:smoke/codegen/recorder.dart';
11 import 'package:test/test.dart'; 11 import 'package:test/test.dart';
12 12
13 import 'common.dart' show checkResults; 13 import 'common.dart' show checkResults;
14 import 'testing_resolver_utils.dart' show initAnalyzer; 14 import 'testing_resolver_utils.dart' show initAnalyzer;
15 15
16 main() { 16 main() {
17 var provider = initAnalyzer(_SOURCES); 17 var provider = initAnalyzer(_SOURCES);
18 var generator; 18 var generator;
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 772
773 class K { 773 class K {
774 @AnnotC(named: true) int k; 774 @AnnotC(named: true) int k;
775 @AnnotC() int k2; 775 @AnnotC() int k2;
776 } 776 }
777 ''' 777 '''
778 }; 778 };
779 779
780 String resolveImportUrl(LibraryElement lib) => 780 String resolveImportUrl(LibraryElement lib) =>
781 lib.isDartCore ? 'dart:core' : '/${lib.displayName}.dart'; 781 lib.isDartCore ? 'dart:core' : '/${lib.displayName}.dart';
OLDNEW
« no previous file with comments | « test/codegen/end_to_end_test.dart ('k') | test/codegen/testing_resolver_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698