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

Side by Side Diff: pkg/analyzer/test/src/context/context_test.dart

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment 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
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 library analyzer.test.src.context.context_test; 5 library analyzer.test.src.context.context_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
11 import 'package:analyzer/dart/element/element.dart'; 11 import 'package:analyzer/dart/element/element.dart';
12 import 'package:analyzer/dart/element/type.dart'; 12 import 'package:analyzer/dart/element/type.dart';
13 import 'package:analyzer/dart/element/visitor.dart'; 13 import 'package:analyzer/dart/element/visitor.dart';
14 import 'package:analyzer/error/error.dart';
14 import 'package:analyzer/exception/exception.dart'; 15 import 'package:analyzer/exception/exception.dart';
15 import 'package:analyzer/file_system/file_system.dart'; 16 import 'package:analyzer/file_system/file_system.dart';
16 import 'package:analyzer/file_system/memory_file_system.dart'; 17 import 'package:analyzer/file_system/memory_file_system.dart';
17 import 'package:analyzer/source/package_map_resolver.dart'; 18 import 'package:analyzer/source/package_map_resolver.dart';
18 import 'package:analyzer/src/cancelable_future.dart'; 19 import 'package:analyzer/src/cancelable_future.dart';
19 import 'package:analyzer/src/context/cache.dart'; 20 import 'package:analyzer/src/context/cache.dart';
20 import 'package:analyzer/src/context/context.dart'; 21 import 'package:analyzer/src/context/context.dart';
21 import 'package:analyzer/src/dart/element/element.dart'; 22 import 'package:analyzer/src/dart/element/element.dart';
22 import 'package:analyzer/src/dart/scanner/scanner.dart'; 23 import 'package:analyzer/src/dart/scanner/scanner.dart';
23 import 'package:analyzer/src/generated/engine.dart'; 24 import 'package:analyzer/src/generated/engine.dart';
24 import 'package:analyzer/src/generated/error.dart';
25 import 'package:analyzer/src/generated/resolver.dart'; 25 import 'package:analyzer/src/generated/resolver.dart';
26 import 'package:analyzer/src/generated/source.dart'; 26 import 'package:analyzer/src/generated/source.dart';
27 import 'package:analyzer/src/generated/utilities_collection.dart'; 27 import 'package:analyzer/src/generated/utilities_collection.dart';
28 import 'package:analyzer/src/task/dart.dart'; 28 import 'package:analyzer/src/task/dart.dart';
29 import 'package:analyzer/src/task/html.dart'; 29 import 'package:analyzer/src/task/html.dart';
30 import 'package:analyzer/task/dart.dart'; 30 import 'package:analyzer/task/dart.dart';
31 import 'package:analyzer/task/general.dart'; 31 import 'package:analyzer/task/general.dart';
32 import 'package:analyzer/task/model.dart'; 32 import 'package:analyzer/task/model.dart';
33 import 'package:html/dom.dart' show Document; 33 import 'package:html/dom.dart' show Document;
34 import 'package:test_reflective_loader/test_reflective_loader.dart'; 34 import 'package:test_reflective_loader/test_reflective_loader.dart';
(...skipping 5234 matching lines...) Expand 10 before | Expand all | Expand 10 after
5269 * Initialize the visitor. 5269 * Initialize the visitor.
5270 */ 5270 */
5271 _ElementGatherer(); 5271 _ElementGatherer();
5272 5272
5273 @override 5273 @override
5274 void visitElement(Element element) { 5274 void visitElement(Element element) {
5275 elements[element] = element; 5275 elements[element] = element;
5276 super.visitElement(element); 5276 super.visitElement(element);
5277 } 5277 }
5278 } 5278 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/abstract_single_unit.dart ('k') | pkg/analyzer/test/src/dart/constant/evaluation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698