Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: pkg/analyzer/test/src/dart/element/element_test.dart

Issue 1782463002: Split resolver_test.dart into smaller files. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.src.dart.element.element_test; 5 library analyzer.test.src.dart.element.element_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/dart/element/type.dart'; 9 import 'package:analyzer/dart/element/type.dart';
10 import 'package:analyzer/src/dart/element/element.dart'; 10 import 'package:analyzer/src/dart/element/element.dart';
11 import 'package:analyzer/src/dart/element/type.dart'; 11 import 'package:analyzer/src/dart/element/type.dart';
12 import 'package:analyzer/src/generated/engine.dart' 12 import 'package:analyzer/src/generated/engine.dart'
13 show AnalysisContext, AnalysisOptionsImpl; 13 show AnalysisContext, AnalysisOptionsImpl;
14 import 'package:analyzer/src/generated/java_core.dart'; 14 import 'package:analyzer/src/generated/java_core.dart';
15 import 'package:analyzer/src/generated/source_io.dart'; 15 import 'package:analyzer/src/generated/source_io.dart';
16 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 16 import 'package:analyzer/src/generated/testing/ast_factory.dart';
17 import 'package:analyzer/src/generated/testing/element_factory.dart'; 17 import 'package:analyzer/src/generated/testing/element_factory.dart';
18 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; 18 import 'package:analyzer/src/generated/testing/test_type_provider.dart';
19 import 'package:unittest/unittest.dart'; 19 import 'package:unittest/unittest.dart';
20 20
21 import '../../../generated/resolver_test.dart' 21 import '../../../generated/analysis_context_factory.dart'
22 show TestTypeProvider, AnalysisContextHelper; 22 show AnalysisContextHelper;
23 import '../../../generated/test_support.dart'; 23 import '../../../generated/test_support.dart';
24 import '../../../reflective_tests.dart'; 24 import '../../../reflective_tests.dart';
25 import '../../../utils.dart'; 25 import '../../../utils.dart';
26 26
27 main() { 27 main() {
28 initializeTestEnvironment(); 28 initializeTestEnvironment();
29 runReflectiveTests(FieldElementImplTest); 29 runReflectiveTests(FieldElementImplTest);
30 runReflectiveTests(FunctionTypeImplTest); 30 runReflectiveTests(FunctionTypeImplTest);
31 runReflectiveTests(InterfaceTypeImplTest); 31 runReflectiveTests(InterfaceTypeImplTest);
32 runReflectiveTests(TypeParameterTypeImplTest); 32 runReflectiveTests(TypeParameterTypeImplTest);
(...skipping 4016 matching lines...) Expand 10 before | Expand all | Expand 10 after
4049 } 4049 }
4050 4050
4051 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction 4051 class _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction
4052 extends InterfaceTypeImpl { 4052 extends InterfaceTypeImpl {
4053 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0) 4053 _FunctionTypeImplTest_isSubtypeOf_baseCase_classFunction(ClassElement arg0)
4054 : super(arg0); 4054 : super(arg0);
4055 4055
4056 @override 4056 @override
4057 bool get isDartCoreFunction => true; 4057 bool get isDartCoreFunction => true;
4058 } 4058 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698