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

Side by Side Diff: pkg/analyzer/test/src/task/strong_mode_test.dart

Issue 1602803002: Clean-up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « pkg/analyzer/test/src/task/strong/strong_test_helper.dart ('k') | pkg/analyzer/test/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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library analyzer.test.src.task.strong_mode_test; 5 library analyzer.test.src.task.strong_mode_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart';
7 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/dart/element/type.dart'; 9 import 'package:analyzer/dart/element/type.dart';
9 import 'package:analyzer/src/generated/ast.dart';
10 import 'package:analyzer/src/generated/source.dart'; 10 import 'package:analyzer/src/generated/source.dart';
11 import 'package:analyzer/src/task/strong_mode.dart'; 11 import 'package:analyzer/src/task/strong_mode.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import '../../reflective_tests.dart'; 14 import '../../reflective_tests.dart';
15 import '../../utils.dart'; 15 import '../../utils.dart';
16 import '../context/abstract_context.dart'; 16 import '../context/abstract_context.dart';
17 17
18 main() { 18 main() {
19 initializeTestEnvironment(); 19 initializeTestEnvironment();
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 } 1042 }
1043 } 1043 }
1044 } 1044 }
1045 '''); 1045 ''');
1046 CompilationUnit unit = context.resolveCompilationUnit2(source, source); 1046 CompilationUnit unit = context.resolveCompilationUnit2(source, source);
1047 VariableGatherer gatherer = new VariableGatherer(filter); 1047 VariableGatherer gatherer = new VariableGatherer(filter);
1048 unit.accept(gatherer); 1048 unit.accept(gatherer);
1049 return gatherer.results; 1049 return gatherer.results;
1050 } 1050 }
1051 } 1051 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/task/strong/strong_test_helper.dart ('k') | pkg/analyzer/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698