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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 test.src.serialization.elements_test; 5 library test.src.serialization.elements_test;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/element/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
11 import 'package:analyzer/dart/element/type.dart'; 11 import 'package:analyzer/dart/element/type.dart';
12 import 'package:analyzer/src/dart/ast/ast.dart'; 12 import 'package:analyzer/src/dart/ast/ast.dart';
13 import 'package:analyzer/src/dart/element/element.dart'; 13 import 'package:analyzer/src/dart/element/element.dart';
14 import 'package:analyzer/src/dart/element/member.dart'; 14 import 'package:analyzer/src/dart/element/member.dart';
15 import 'package:analyzer/src/dart/element/type.dart'; 15 import 'package:analyzer/src/dart/element/type.dart';
16 import 'package:analyzer/src/generated/constant.dart' show DartObject; 16 import 'package:analyzer/src/generated/constant.dart' show DartObject;
17 import 'package:analyzer/src/generated/element_handle.dart'; 17 import 'package:analyzer/src/generated/element_handle.dart';
18 import 'package:analyzer/src/generated/engine.dart'; 18 import 'package:analyzer/src/generated/engine.dart';
19 import 'package:analyzer/src/generated/resolver.dart' 19 import 'package:analyzer/src/generated/resolver.dart'
20 show Namespace, TypeProvider; 20 show Namespace, TypeProvider;
21 import 'package:analyzer/src/generated/source.dart'; 21 import 'package:analyzer/src/generated/source.dart';
22 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 22 import 'package:analyzer/src/generated/testing/ast_factory.dart';
23 import 'package:analyzer/src/summary/idl.dart'; 23 import 'package:analyzer/src/summary/idl.dart';
24 import 'package:analyzer/src/summary/resynthesize.dart'; 24 import 'package:analyzer/src/summary/resynthesize.dart';
25 import 'package:analyzer/src/summary/summarize_elements.dart'; 25 import 'package:analyzer/src/summary/summarize_elements.dart';
26 import 'package:unittest/unittest.dart'; 26 import 'package:unittest/unittest.dart';
27 27
28 import '../../generated/resolver_test.dart'; 28 import '../../generated/resolver_test_case.dart';
29 import '../../reflective_tests.dart'; 29 import '../../reflective_tests.dart';
30 import 'summary_common.dart' show canonicalize; 30 import 'summary_common.dart' show canonicalize;
31 31
32 main() { 32 main() {
33 groupSep = ' | '; 33 groupSep = ' | ';
34 runReflectiveTests(ResynthTest); 34 runReflectiveTests(ResynthTest);
35 } 35 }
36 36
37 @reflectiveTest 37 @reflectiveTest
38 class ResynthTest extends ResolverTestCase { 38 class ResynthTest extends ResolverTestCase {
(...skipping 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after
4111 fail('Unexpectedly tried to get unlinked summary for $uri'); 4111 fail('Unexpectedly tried to get unlinked summary for $uri');
4112 } 4112 }
4113 return serializedUnit; 4113 return serializedUnit;
4114 } 4114 }
4115 4115
4116 @override 4116 @override
4117 bool hasLibrarySummary(String uri) { 4117 bool hasLibrarySummary(String uri) {
4118 return true; 4118 return true;
4119 } 4119 }
4120 } 4120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698