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/element/element.dart'; | 8 import 'package:analyzer/dart/element/element.dart'; |
8 import 'package:analyzer/dart/element/type.dart'; | 9 import 'package:analyzer/dart/element/type.dart'; |
9 import 'package:analyzer/file_system/physical_file_system.dart'; | 10 import 'package:analyzer/file_system/physical_file_system.dart'; |
| 11 import 'package:analyzer/src/dart/ast/utilities.dart' hide ConstantEvaluator; |
10 import 'package:analyzer/src/dart/element/element.dart'; | 12 import 'package:analyzer/src/dart/element/element.dart'; |
11 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; | |
12 import 'package:analyzer/src/generated/constant.dart'; | 13 import 'package:analyzer/src/generated/constant.dart'; |
13 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
14 import 'package:analyzer/src/generated/error.dart'; | 15 import 'package:analyzer/src/generated/error.dart'; |
15 import 'package:analyzer/src/generated/java_core.dart'; | 16 import 'package:analyzer/src/generated/java_core.dart'; |
16 import 'package:analyzer/src/generated/java_engine_io.dart'; | 17 import 'package:analyzer/src/generated/java_engine_io.dart'; |
17 import 'package:analyzer/src/generated/java_io.dart'; | 18 import 'package:analyzer/src/generated/java_io.dart'; |
18 import 'package:analyzer/src/generated/resolver.dart'; | 19 import 'package:analyzer/src/generated/resolver.dart'; |
19 import 'package:analyzer/src/generated/scanner.dart'; | 20 import 'package:analyzer/src/generated/scanner.dart'; |
20 import 'package:analyzer/src/generated/sdk.dart'; | 21 import 'package:analyzer/src/generated/sdk.dart'; |
21 import 'package:analyzer/src/generated/sdk_io.dart'; | 22 import 'package:analyzer/src/generated/sdk_io.dart'; |
(...skipping 8258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8280 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); | 8281 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); |
8281 expect(UriKind.fromEncoding(0x58), same(null)); | 8282 expect(UriKind.fromEncoding(0x58), same(null)); |
8282 } | 8283 } |
8283 | 8284 |
8284 void test_getEncoding() { | 8285 void test_getEncoding() { |
8285 expect(UriKind.DART_URI.encoding, 0x64); | 8286 expect(UriKind.DART_URI.encoding, 0x64); |
8286 expect(UriKind.FILE_URI.encoding, 0x66); | 8287 expect(UriKind.FILE_URI.encoding, 0x66); |
8287 expect(UriKind.PACKAGE_URI.encoding, 0x70); | 8288 expect(UriKind.PACKAGE_URI.encoding, 0x70); |
8288 } | 8289 } |
8289 } | 8290 } |
OLD | NEW |