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

Side by Side Diff: pkg/analyzer/test/src/summary/summarize_ast_test.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (Closed)
Patch Set: Created 4 years, 2 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.summary.summarize_ast_test; 5 library analyzer.test.src.summary.summarize_ast_test;
6 6
7 import 'package:analyzer/analyzer.dart'; 7 import 'package:analyzer/analyzer.dart';
8 import 'package:analyzer/dart/ast/ast.dart'; 8 import 'package:analyzer/dart/ast/ast.dart';
9 import 'package:analyzer/dart/ast/token.dart'; 9 import 'package:analyzer/dart/ast/token.dart';
10 import 'package:analyzer/error/listener.dart'; 10 import 'package:analyzer/error/listener.dart';
11 import 'package:analyzer/src/dart/scanner/reader.dart'; 11 import 'package:analyzer/src/dart/scanner/reader.dart';
12 import 'package:analyzer/src/dart/scanner/scanner.dart'; 12 import 'package:analyzer/src/dart/scanner/scanner.dart';
13 import 'package:analyzer/src/generated/parser.dart'; 13 import 'package:analyzer/src/generated/parser.dart';
14 import 'package:analyzer/src/generated/source.dart'; 14 import 'package:analyzer/src/generated/source.dart';
15 import 'package:analyzer/src/summary/format.dart'; 15 import 'package:analyzer/src/summary/format.dart';
16 import 'package:analyzer/src/summary/idl.dart'; 16 import 'package:analyzer/src/summary/idl.dart';
17 import 'package:analyzer/src/summary/link.dart'; 17 import 'package:analyzer/src/summary/link.dart';
18 import 'package:analyzer/src/summary/package_bundle_reader.dart'; 18 import 'package:analyzer/src/summary/package_bundle_reader.dart';
19 import 'package:analyzer/src/summary/summarize_ast.dart'; 19 import 'package:analyzer/src/summary/summarize_ast.dart';
20 import 'package:analyzer/src/summary/summarize_elements.dart'; 20 import 'package:analyzer/src/summary/summarize_elements.dart';
21 import 'package:test/test.dart';
21 import 'package:test_reflective_loader/test_reflective_loader.dart'; 22 import 'package:test_reflective_loader/test_reflective_loader.dart';
22 import 'package:unittest/unittest.dart';
23 23
24 import 'summary_common.dart'; 24 import 'summary_common.dart';
25 25
26 main() { 26 main() {
27 groupSep = ' | '; 27 defineReflectiveSuite(() {
28 defineReflectiveTests(LinkedSummarizeAstSpecTest); 28 defineReflectiveTests(LinkedSummarizeAstSpecTest);
29 });
29 } 30 }
30 31
31 @reflectiveTest 32 @reflectiveTest
32 class LinkedSummarizeAstSpecTest extends LinkedSummarizeAstTest { 33 class LinkedSummarizeAstSpecTest extends LinkedSummarizeAstTest {
33 @override 34 @override
34 bool get strongMode => false; 35 bool get strongMode => false;
35 36
36 @override 37 @override
37 @failingTest 38 @failingTest
38 test_bottom_reference_shared() { 39 test_bottom_reference_shared() {
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 * passed to [addNamedSource]. 333 * passed to [addNamedSource].
333 */ 334 */
334 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{}; 335 Map<String, UnlinkedUnitBuilder> uriToUnit = <String, UnlinkedUnitBuilder>{};
335 336
336 /** 337 /**
337 * Information about summaries to be included in the link process. 338 * Information about summaries to be included in the link process.
338 */ 339 */
339 SummaryDataStore summaryDataStore = 340 SummaryDataStore summaryDataStore =
340 new SummaryDataStore([], recordDependencyInfo: true); 341 new SummaryDataStore([], recordDependencyInfo: true);
341 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698