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'; |
(...skipping 17 matching lines...) Expand all Loading... |
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'; |
32 import 'package:source_span/source_span.dart'; | 32 import 'package:source_span/source_span.dart'; |
33 import 'package:unittest/unittest.dart'; | 33 import 'package:unittest/unittest.dart'; |
34 | 34 |
35 import '../reflective_tests.dart'; | 35 import '../reflective_tests.dart'; |
36 import '../utils.dart'; | 36 import '../utils.dart'; |
37 import 'parser_test.dart'; | 37 import 'parser_test.dart'; |
38 import 'resolver_test.dart'; | 38 import 'resolver_test_case.dart'; |
39 import 'test_support.dart'; | 39 import 'test_support.dart'; |
40 | 40 |
41 main() { | 41 main() { |
42 initializeTestEnvironment(); | 42 initializeTestEnvironment(); |
43 runReflectiveTests(ContentCacheTest); | 43 runReflectiveTests(ContentCacheTest); |
44 runReflectiveTests(CustomUriResolverTest); | 44 runReflectiveTests(CustomUriResolverTest); |
45 runReflectiveTests(DartUriResolverTest); | 45 runReflectiveTests(DartUriResolverTest); |
46 runReflectiveTests(DirectoryBasedDartSdkTest); | 46 runReflectiveTests(DirectoryBasedDartSdkTest); |
47 runReflectiveTests(DirectoryBasedSourceContainerTest); | 47 runReflectiveTests(DirectoryBasedSourceContainerTest); |
48 runReflectiveTests(ElementBuilderTest); | 48 runReflectiveTests(ElementBuilderTest); |
(...skipping 4152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4201 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); | 4201 expect(UriKind.fromEncoding(0x70), same(UriKind.PACKAGE_URI)); |
4202 expect(UriKind.fromEncoding(0x58), same(null)); | 4202 expect(UriKind.fromEncoding(0x58), same(null)); |
4203 } | 4203 } |
4204 | 4204 |
4205 void test_getEncoding() { | 4205 void test_getEncoding() { |
4206 expect(UriKind.DART_URI.encoding, 0x64); | 4206 expect(UriKind.DART_URI.encoding, 0x64); |
4207 expect(UriKind.FILE_URI.encoding, 0x66); | 4207 expect(UriKind.FILE_URI.encoding, 0x66); |
4208 expect(UriKind.PACKAGE_URI.encoding, 0x70); | 4208 expect(UriKind.PACKAGE_URI.encoding, 0x70); |
4209 } | 4209 } |
4210 } | 4210 } |
OLD | NEW |