OLD | NEW |
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.generated.incremental_resolver_test; | 5 library analyzer.test.generated.incremental_resolver_test; |
6 | 6 |
7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
8 import 'package:analyzer/dart/ast/token.dart'; | 8 import 'package:analyzer/dart/ast/token.dart'; |
9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
10 import 'package:analyzer/src/context/cache.dart'; | 10 import 'package:analyzer/src/context/cache.dart'; |
(...skipping 13 matching lines...) Expand all Loading... |
24 import 'package:analyzer/src/generated/source_io.dart'; | 24 import 'package:analyzer/src/generated/source_io.dart'; |
25 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 25 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
26 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 26 import 'package:analyzer/src/generated/testing/element_factory.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/task/dart.dart'; | 29 import 'package:analyzer/task/dart.dart'; |
30 import 'package:analyzer/task/model.dart'; | 30 import 'package:analyzer/task/model.dart'; |
31 import 'package:unittest/unittest.dart'; | 31 import 'package:unittest/unittest.dart'; |
32 | 32 |
33 import '../reflective_tests.dart'; | 33 import '../reflective_tests.dart'; |
34 import 'resolver_test.dart'; | 34 import 'analysis_context_factory.dart'; |
| 35 import 'resolver_test_case.dart'; |
35 import 'test_support.dart'; | 36 import 'test_support.dart'; |
36 | 37 |
37 main() { | 38 main() { |
38 initializeTestEnvironment(); | 39 initializeTestEnvironment(); |
39 runReflectiveTests(DeclarationMatcherTest); | 40 runReflectiveTests(DeclarationMatcherTest); |
40 runReflectiveTests(IncrementalResolverTest); | 41 runReflectiveTests(IncrementalResolverTest); |
41 runReflectiveTests(PoorMansIncrementalResolutionTest); | 42 runReflectiveTests(PoorMansIncrementalResolutionTest); |
42 runReflectiveTests(ResolutionContextBuilderTest); | 43 runReflectiveTests(ResolutionContextBuilderTest); |
43 } | 44 } |
44 | 45 |
(...skipping 5263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5308 void logException(Object exception, [Object stackTrace]) { | 5309 void logException(Object exception, [Object stackTrace]) { |
5309 lastException = exception; | 5310 lastException = exception; |
5310 lastStackTrace = stackTrace; | 5311 lastStackTrace = stackTrace; |
5311 } | 5312 } |
5312 | 5313 |
5313 @override | 5314 @override |
5314 logging.LoggingTimer startTimer() { | 5315 logging.LoggingTimer startTimer() { |
5315 return new logging.LoggingTimer(this); | 5316 return new logging.LoggingTimer(this); |
5316 } | 5317 } |
5317 } | 5318 } |
OLD | NEW |