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 '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/dart/element/type.dart'; | 10 import 'package:analyzer/dart/element/type.dart'; |
| 11 import 'package:analyzer/error/error.dart'; |
| 12 import 'package:analyzer/error/listener.dart'; |
11 import 'package:analyzer/file_system/file_system.dart'; | 13 import 'package:analyzer/file_system/file_system.dart'; |
12 import 'package:analyzer/file_system/memory_file_system.dart'; | 14 import 'package:analyzer/file_system/memory_file_system.dart'; |
13 import 'package:analyzer/file_system/physical_file_system.dart'; | 15 import 'package:analyzer/file_system/physical_file_system.dart'; |
14 import 'package:analyzer/src/dart/ast/ast.dart'; | 16 import 'package:analyzer/src/dart/ast/ast.dart'; |
15 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; | 17 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; |
16 import 'package:analyzer/src/dart/element/builder.dart'; | 18 import 'package:analyzer/src/dart/element/builder.dart'; |
17 import 'package:analyzer/src/dart/element/element.dart'; | 19 import 'package:analyzer/src/dart/element/element.dart'; |
18 import 'package:analyzer/src/dart/sdk/sdk.dart' hide SdkLibrariesReader; | 20 import 'package:analyzer/src/dart/sdk/sdk.dart' hide SdkLibrariesReader; |
| 21 import 'package:analyzer/src/error/codes.dart'; |
19 import 'package:analyzer/src/generated/engine.dart'; | 22 import 'package:analyzer/src/generated/engine.dart'; |
20 import 'package:analyzer/src/generated/error.dart'; | |
21 import 'package:analyzer/src/generated/java_engine_io.dart'; | 23 import 'package:analyzer/src/generated/java_engine_io.dart'; |
22 import 'package:analyzer/src/generated/java_io.dart'; | 24 import 'package:analyzer/src/generated/java_io.dart'; |
23 import 'package:analyzer/src/generated/resolver.dart'; | 25 import 'package:analyzer/src/generated/resolver.dart'; |
24 import 'package:analyzer/src/generated/sdk.dart'; | 26 import 'package:analyzer/src/generated/sdk.dart'; |
25 import 'package:analyzer/src/generated/sdk_io.dart'; | 27 import 'package:analyzer/src/generated/sdk_io.dart'; |
26 import 'package:analyzer/src/generated/source.dart'; | 28 import 'package:analyzer/src/generated/source.dart'; |
27 import 'package:analyzer/src/generated/source_io.dart'; | 29 import 'package:analyzer/src/generated/source_io.dart'; |
28 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 30 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
29 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 31 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
30 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 32 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
(...skipping 4492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4523 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); | 4525 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); |
4524 expect(UriKind.fromEncoding(0x58), same(null)); | 4526 expect(UriKind.fromEncoding(0x58), same(null)); |
4525 } | 4527 } |
4526 | 4528 |
4527 void test_getEncoding() { | 4529 void test_getEncoding() { |
4528 expect(UriKind.DART_URI.encoding, 0x64); | 4530 expect(UriKind.DART_URI.encoding, 0x64); |
4529 expect(UriKind.FILE_URI.encoding, 0x66); | 4531 expect(UriKind.FILE_URI.encoding, 0x66); |
4530 expect(UriKind.PACKAGE_URI.encoding, 0x70); | 4532 expect(UriKind.PACKAGE_URI.encoding, 0x70); |
4531 } | 4533 } |
4532 } | 4534 } |
OLD | NEW |