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.all_the_rest_test; | 5 library analyzer.test.generated.all_the_rest_test; |
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/token.dart'; | 10 import 'package:analyzer/dart/ast/token.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/error/error.dart'; | 13 import 'package:analyzer/error/error.dart'; |
14 import 'package:analyzer/error/listener.dart'; | 14 import 'package:analyzer/error/listener.dart'; |
15 import 'package:analyzer/file_system/file_system.dart'; | 15 import 'package:analyzer/file_system/file_system.dart'; |
16 import 'package:analyzer/file_system/memory_file_system.dart'; | 16 import 'package:analyzer/file_system/memory_file_system.dart'; |
17 import 'package:analyzer/file_system/physical_file_system.dart'; | 17 import 'package:analyzer/file_system/physical_file_system.dart'; |
18 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; | 18 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; |
19 import 'package:analyzer/src/dart/element/builder.dart'; | 19 import 'package:analyzer/src/dart/element/builder.dart'; |
20 import 'package:analyzer/src/dart/element/element.dart'; | 20 import 'package:analyzer/src/dart/element/element.dart'; |
21 import 'package:analyzer/src/dart/sdk/sdk.dart' hide SdkLibrariesReader; | 21 import 'package:analyzer/src/dart/sdk/sdk.dart' hide SdkLibrariesReader; |
22 import 'package:analyzer/src/error/codes.dart'; | 22 import 'package:analyzer/src/error/codes.dart'; |
23 import 'package:analyzer/src/generated/engine.dart'; | 23 import 'package:analyzer/src/generated/engine.dart'; |
24 import 'package:analyzer/src/generated/java_engine_io.dart'; | 24 import 'package:analyzer/src/generated/java_engine_io.dart'; |
25 import 'package:analyzer/src/generated/java_io.dart'; | 25 import 'package:analyzer/src/generated/java_io.dart'; |
26 import 'package:analyzer/src/generated/resolver.dart'; | 26 import 'package:analyzer/src/generated/resolver.dart'; |
27 import 'package:analyzer/src/generated/sdk.dart'; | 27 import 'package:analyzer/src/generated/sdk.dart'; |
28 import 'package:analyzer/src/generated/sdk_io.dart'; | 28 import 'package:analyzer/src/generated/sdk_io.dart'; // ignore: deprecated_membe
r_use |
29 import 'package:analyzer/src/generated/source.dart'; | 29 import 'package:analyzer/src/generated/source.dart'; |
30 import 'package:analyzer/src/generated/source_io.dart'; | 30 import 'package:analyzer/src/generated/source_io.dart'; |
31 import 'package:analyzer/src/generated/testing/ast_test_factory.dart'; | 31 import 'package:analyzer/src/generated/testing/ast_test_factory.dart'; |
32 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 32 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
33 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 33 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
34 import 'package:analyzer/src/generated/testing/token_factory.dart'; | 34 import 'package:analyzer/src/generated/testing/token_factory.dart'; |
35 import 'package:analyzer/src/generated/utilities_dart.dart'; | 35 import 'package:analyzer/src/generated/utilities_dart.dart'; |
36 import 'package:analyzer/src/source/source_resource.dart'; | 36 import 'package:analyzer/src/source/source_resource.dart'; |
37 import 'package:path/path.dart' as path; | 37 import 'package:path/path.dart' as path; |
38 import 'package:source_span/source_span.dart'; | 38 import 'package:source_span/source_span.dart'; |
(...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2304 resourceProvider.newFile( | 2304 resourceProvider.newFile( |
2305 coreIntPath, | 2305 coreIntPath, |
2306 ''' | 2306 ''' |
2307 part of dart.core; | 2307 part of dart.core; |
2308 '''); | 2308 '''); |
2309 sdk = new FolderBasedDartSdk(resourceProvider, sdkFolder); | 2309 sdk = new FolderBasedDartSdk(resourceProvider, sdkFolder); |
2310 } | 2310 } |
2311 } | 2311 } |
2312 | 2312 |
2313 class _SourceMock extends TypedMock implements Source {} | 2313 class _SourceMock extends TypedMock implements Source {} |
OLD | NEW |