| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.resolver_test_case; | 5 library analyzer.test.generated.resolver_test_case; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 10 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 import 'package:analyzer/src/dart/element/type.dart'; | 21 import 'package:analyzer/src/dart/element/type.dart'; |
| 22 import 'package:analyzer/src/error/codes.dart'; | 22 import 'package:analyzer/src/error/codes.dart'; |
| 23 import 'package:analyzer/src/generated/engine.dart' hide AnalysisResult; | 23 import 'package:analyzer/src/generated/engine.dart' hide AnalysisResult; |
| 24 import 'package:analyzer/src/generated/java_engine.dart'; | 24 import 'package:analyzer/src/generated/java_engine.dart'; |
| 25 import 'package:analyzer/src/generated/resolver.dart'; | 25 import 'package:analyzer/src/generated/resolver.dart'; |
| 26 import 'package:analyzer/src/generated/sdk.dart'; | 26 import 'package:analyzer/src/generated/sdk.dart'; |
| 27 import 'package:analyzer/src/generated/source_io.dart'; | 27 import 'package:analyzer/src/generated/source_io.dart'; |
| 28 import 'package:analyzer/src/generated/testing/ast_test_factory.dart'; | 28 import 'package:analyzer/src/generated/testing/ast_test_factory.dart'; |
| 29 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 29 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
| 30 import 'package:front_end/src/base/performace_logger.dart'; | 30 import 'package:front_end/src/base/performace_logger.dart'; |
| 31 import 'package:front_end/src/incremental/byte_store.dart'; | 31 import 'package:front_end/src/byte_store/byte_store.dart'; |
| 32 import 'package:test/test.dart'; | 32 import 'package:test/test.dart'; |
| 33 | 33 |
| 34 import '../src/context/mock_sdk.dart'; | 34 import '../src/context/mock_sdk.dart'; |
| 35 import 'analysis_context_factory.dart'; | 35 import 'analysis_context_factory.dart'; |
| 36 import 'test_support.dart'; | 36 import 'test_support.dart'; |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * An AST visitor used to verify that all of the nodes in an AST structure that | 39 * An AST visitor used to verify that all of the nodes in an AST structure that |
| 40 * should have been resolved were resolved. | 40 * should have been resolved were resolved. |
| 41 */ | 41 */ |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 } | 930 } |
| 931 } | 931 } |
| 932 } | 932 } |
| 933 | 933 |
| 934 class TestAnalysisResult { | 934 class TestAnalysisResult { |
| 935 final Source source; | 935 final Source source; |
| 936 final CompilationUnit unit; | 936 final CompilationUnit unit; |
| 937 final List<AnalysisError> errors; | 937 final List<AnalysisError> errors; |
| 938 TestAnalysisResult(this.source, this.unit, this.errors); | 938 TestAnalysisResult(this.source, this.unit, this.errors); |
| 939 } | 939 } |
| OLD | NEW |