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

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

Issue 1349393004: Unused import cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | no next file » | 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 test.src.task.strong_mode_test; 5 library test.src.task.strong_mode_test;
6 6
7 import 'package:analyzer/src/generated/ast.dart'; 7 import 'package:analyzer/src/generated/ast.dart';
8 import 'package:analyzer/src/generated/element.dart'; 8 import 'package:analyzer/src/generated/element.dart';
9 import 'package:analyzer/src/generated/source.dart'; 9 import 'package:analyzer/src/generated/source.dart';
10 import 'package:analyzer/src/task/dart.dart';
11 import 'package:analyzer/src/task/strong_mode.dart'; 10 import 'package:analyzer/src/task/strong_mode.dart';
12 import 'package:analyzer/task/dart.dart';
13 import 'package:unittest/unittest.dart'; 11 import 'package:unittest/unittest.dart';
14 12
15 import '../../reflective_tests.dart'; 13 import '../../reflective_tests.dart';
16 import '../../utils.dart'; 14 import '../../utils.dart';
17 import '../context/abstract_context.dart'; 15 import '../context/abstract_context.dart';
18 16
19 main() { 17 main() {
20 initializeTestEnvironment(); 18 initializeTestEnvironment();
21 runReflectiveTests(InstanceMemberInferrerTest); 19 runReflectiveTests(InstanceMemberInferrerTest);
22 runReflectiveTests(VariableGathererTest); 20 runReflectiveTests(VariableGathererTest);
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 } 900 }
903 } 901 }
904 } 902 }
905 '''); 903 ''');
906 CompilationUnit unit = context.resolveCompilationUnit2(source, source); 904 CompilationUnit unit = context.resolveCompilationUnit2(source, source);
907 VariableGatherer gatherer = new VariableGatherer(filter); 905 VariableGatherer gatherer = new VariableGatherer(filter);
908 unit.accept(gatherer); 906 unit.accept(gatherer);
909 return gatherer.results; 907 return gatherer.results;
910 } 908 }
911 } 909 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698