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 engine.all_the_rest_test; | 5 library analyzer.test.generated.all_the_rest_test; |
6 | 6 |
7 import 'package:analyzer/file_system/physical_file_system.dart'; | 7 import 'package:analyzer/file_system/physical_file_system.dart'; |
8 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; | 8 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; |
9 import 'package:analyzer/src/generated/constant.dart'; | 9 import 'package:analyzer/src/generated/constant.dart'; |
10 import 'package:analyzer/src/generated/element.dart'; | 10 import 'package:analyzer/src/generated/element.dart'; |
11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
12 import 'package:analyzer/src/generated/error.dart'; | 12 import 'package:analyzer/src/generated/error.dart'; |
13 import 'package:analyzer/src/generated/java_core.dart'; | 13 import 'package:analyzer/src/generated/java_core.dart'; |
14 import 'package:analyzer/src/generated/java_engine_io.dart'; | 14 import 'package:analyzer/src/generated/java_engine_io.dart'; |
15 import 'package:analyzer/src/generated/java_io.dart'; | 15 import 'package:analyzer/src/generated/java_io.dart'; |
(...skipping 8213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8229 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); | 8229 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); |
8230 expect(UriKind.fromEncoding(0x58), same(null)); | 8230 expect(UriKind.fromEncoding(0x58), same(null)); |
8231 } | 8231 } |
8232 | 8232 |
8233 void test_getEncoding() { | 8233 void test_getEncoding() { |
8234 expect(UriKind.DART_URI.encoding, 0x64); | 8234 expect(UriKind.DART_URI.encoding, 0x64); |
8235 expect(UriKind.FILE_URI.encoding, 0x66); | 8235 expect(UriKind.FILE_URI.encoding, 0x66); |
8236 expect(UriKind.PACKAGE_URI.encoding, 0x70); | 8236 expect(UriKind.PACKAGE_URI.encoding, 0x70); |
8237 } | 8237 } |
8238 } | 8238 } |
OLD | NEW |