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

Side by Side Diff: pkg/analysis_services/test/search/search_engine_test.dart

Issue 419563002: Remove any 'group' invocations enclosing 'runReflectiveTests'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_services/test/search/hierarchy_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library test.services.src.search.search_engine; 8 library test.services.src.search.search_engine;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 11
12 import 'package:analysis_services/index/index.dart'; 12 import 'package:analysis_services/index/index.dart';
13 import 'package:analysis_services/index/local_memory_index.dart'; 13 import 'package:analysis_services/index/local_memory_index.dart';
14 import 'package:analysis_services/search/search_engine.dart'; 14 import 'package:analysis_services/search/search_engine.dart';
15 import 'package:analysis_services/src/search/search_engine.dart'; 15 import 'package:analysis_services/src/search/search_engine.dart';
16 import 'package:analysis_testing/abstract_single_unit.dart'; 16 import 'package:analysis_testing/abstract_single_unit.dart';
17 import 'package:analysis_testing/mocks.dart'; 17 import 'package:analysis_testing/mocks.dart';
18 import 'package:analysis_testing/reflective_tests.dart'; 18 import 'package:analysis_testing/reflective_tests.dart';
19 import 'package:analyzer/src/generated/element.dart'; 19 import 'package:analyzer/src/generated/element.dart';
20 import 'package:analyzer/src/generated/source.dart'; 20 import 'package:analyzer/src/generated/source.dart';
21 import 'package:typed_mock/typed_mock.dart'; 21 import 'package:typed_mock/typed_mock.dart';
22 import 'package:unittest/unittest.dart'; 22 import 'package:unittest/unittest.dart';
23 23
24 24
25 main() { 25 main() {
26 groupSep = ' | '; 26 groupSep = ' | ';
27 group('SearchEngineImplTest', () { 27 runReflectiveTests(SearchEngineImplTest);
28 runReflectiveTests(SearchEngineImplTest);
29 });
30 } 28 }
31 29
32 class ExpectedMatch { 30 class ExpectedMatch {
33 final Element element; 31 final Element element;
34 final MatchKind kind; 32 final MatchKind kind;
35 SourceRange range; 33 SourceRange range;
36 final bool isResolved; 34 final bool isResolved;
37 final bool isQualified; 35 final bool isQualified;
38 36
39 ExpectedMatch(this.element, this.kind, int offset, int length, 37 ExpectedMatch(this.element, this.kind, int offset, int length,
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 pattern).then((List<SearchMatch> matches) { 646 pattern).then((List<SearchMatch> matches) {
649 _assertMatches(matches, expectedMatches); 647 _assertMatches(matches, expectedMatches);
650 }); 648 });
651 } 649 }
652 650
653 static void _assertMatches(List<SearchMatch> matches, 651 static void _assertMatches(List<SearchMatch> matches,
654 List<ExpectedMatch> expectedMatches) { 652 List<ExpectedMatch> expectedMatches) {
655 expect(matches, unorderedEquals(expectedMatches)); 653 expect(matches, unorderedEquals(expectedMatches));
656 } 654 }
657 } 655 }
OLDNEW
« no previous file with comments | « pkg/analysis_services/test/search/hierarchy_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698