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/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
9 import 'package:analyzer/dart/element/type.dart'; | 10 import 'package:analyzer/dart/element/type.dart'; |
10 import 'package:analyzer/file_system/physical_file_system.dart'; | 11 import 'package:analyzer/file_system/physical_file_system.dart'; |
11 import 'package:analyzer/src/dart/ast/ast.dart'; | 12 import 'package:analyzer/src/dart/ast/ast.dart'; |
12 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; | 13 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; |
13 import 'package:analyzer/src/dart/element/builder.dart'; | 14 import 'package:analyzer/src/dart/element/builder.dart'; |
14 import 'package:analyzer/src/dart/element/element.dart'; | 15 import 'package:analyzer/src/dart/element/element.dart'; |
15 import 'package:analyzer/src/generated/engine.dart'; | 16 import 'package:analyzer/src/generated/engine.dart'; |
16 import 'package:analyzer/src/generated/error.dart'; | 17 import 'package:analyzer/src/generated/error.dart'; |
17 import 'package:analyzer/src/generated/java_core.dart'; | 18 import 'package:analyzer/src/generated/java_core.dart'; |
18 import 'package:analyzer/src/generated/java_engine_io.dart'; | 19 import 'package:analyzer/src/generated/java_engine_io.dart'; |
19 import 'package:analyzer/src/generated/java_io.dart'; | 20 import 'package:analyzer/src/generated/java_io.dart'; |
20 import 'package:analyzer/src/generated/resolver.dart'; | 21 import 'package:analyzer/src/generated/resolver.dart'; |
21 import 'package:analyzer/src/generated/scanner.dart'; | |
22 import 'package:analyzer/src/generated/sdk.dart'; | 22 import 'package:analyzer/src/generated/sdk.dart'; |
23 import 'package:analyzer/src/generated/sdk_io.dart'; | 23 import 'package:analyzer/src/generated/sdk_io.dart'; |
24 import 'package:analyzer/src/generated/source.dart'; | 24 import 'package:analyzer/src/generated/source.dart'; |
25 import 'package:analyzer/src/generated/source_io.dart'; | 25 import 'package:analyzer/src/generated/source_io.dart'; |
26 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 26 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
27 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 27 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
28 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 28 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
29 import 'package:analyzer/src/generated/testing/token_factory.dart'; | 29 import 'package:analyzer/src/generated/testing/token_factory.dart'; |
30 import 'package:analyzer/src/generated/utilities_dart.dart'; | 30 import 'package:analyzer/src/generated/utilities_dart.dart'; |
31 import 'package:path/path.dart'; | 31 import 'package:path/path.dart'; |
(...skipping 4022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4054 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); | 4054 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); |
4055 expect(UriKind.fromEncoding(0x58), same(null)); | 4055 expect(UriKind.fromEncoding(0x58), same(null)); |
4056 } | 4056 } |
4057 | 4057 |
4058 void test_getEncoding() { | 4058 void test_getEncoding() { |
4059 expect(UriKind.DART_URI.encoding, 0x64); | 4059 expect(UriKind.DART_URI.encoding, 0x64); |
4060 expect(UriKind.FILE_URI.encoding, 0x66); | 4060 expect(UriKind.FILE_URI.encoding, 0x66); |
4061 expect(UriKind.PACKAGE_URI.encoding, 0x70); | 4061 expect(UriKind.PACKAGE_URI.encoding, 0x70); |
4062 } | 4062 } |
4063 } | 4063 } |
OLD | NEW |