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

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

Issue 395623006: Add hierarchy utils and use them in search. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweaks 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
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 services.src.search.search_engine_test; 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/mocks.dart'; 16 import 'package:analysis_testing/mocks.dart';
17 import 'package:analysis_testing/reflective_tests.dart'; 17 import 'package:analysis_testing/reflective_tests.dart';
18 import 'package:analyzer/src/generated/element.dart'; 18 import 'package:analyzer/src/generated/element.dart';
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 pattern).then((List<SearchMatch> matches) { 649 pattern).then((List<SearchMatch> matches) {
650 _assertMatches(matches, expectedMatches); 650 _assertMatches(matches, expectedMatches);
651 }); 651 });
652 } 652 }
653 653
654 static void _assertMatches(List<SearchMatch> matches, 654 static void _assertMatches(List<SearchMatch> matches,
655 List<ExpectedMatch> expectedMatches) { 655 List<ExpectedMatch> expectedMatches) {
656 expect(matches, unorderedEquals(expectedMatches)); 656 expect(matches, unorderedEquals(expectedMatches));
657 } 657 }
658 } 658 }
OLDNEW
« no previous file with comments | « pkg/analysis_services/test/search/hierarchy_test.dart ('k') | pkg/analysis_services/test/search/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698