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

Side by Side Diff: pkg/analysis_services/test/index/store/split_store_test.dart

Issue 375693002: Move index/search to services. (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
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 test.engine.src.index.split_store; 5 library test.services.src.index.store.split_store;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_services/index/index.dart';
10 import 'package:analysis_services/src/index/store/codec.dart';
11 import 'package:analysis_services/src/index/store/memory_node_manager.dart';
12 import 'package:analysis_services/src/index/store/split_store.dart';
9 import 'package:analysis_testing/mocks.dart'; 13 import 'package:analysis_testing/mocks.dart';
10 import 'package:analysis_testing/reflective_tests.dart'; 14 import 'package:analysis_testing/reflective_tests.dart';
11 import 'package:analyzer/index/index.dart';
12 import 'package:analyzer/src/generated/element.dart'; 15 import 'package:analyzer/src/generated/element.dart';
13 import 'package:analyzer/src/generated/engine.dart'; 16 import 'package:analyzer/src/generated/engine.dart';
14 import 'package:analyzer/src/generated/source.dart'; 17 import 'package:analyzer/src/generated/source.dart';
15 import 'package:analyzer/src/index/store/codec.dart';
16 import 'package:analyzer/src/index/store/memory_node_manager.dart';
17 import 'package:analyzer/src/index/store/split_store.dart';
18 import 'package:typed_mock/typed_mock.dart'; 18 import 'package:typed_mock/typed_mock.dart';
19 import 'package:unittest/unittest.dart'; 19 import 'package:unittest/unittest.dart';
20 20
21 import 'mocks.dart'; 21 import 'mocks.dart';
22 import 'single_source_container.dart'; 22 import 'single_source_container.dart';
23 23
24 24
25 main() { 25 main() {
26 groupSep = ' | '; 26 groupSep = ' | ';
27 group('FileNodeManager', () { 27 group('FileNodeManager', () {
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 * Wraps the given locations into [LocationEqualsWrapper]. 1061 * Wraps the given locations into [LocationEqualsWrapper].
1062 */ 1062 */
1063 static List<_LocationEqualsWrapper> wrapLocations(List<Location> locations) { 1063 static List<_LocationEqualsWrapper> wrapLocations(List<Location> locations) {
1064 List<_LocationEqualsWrapper> wrappers = <_LocationEqualsWrapper>[]; 1064 List<_LocationEqualsWrapper> wrappers = <_LocationEqualsWrapper>[];
1065 for (Location location in locations) { 1065 for (Location location in locations) {
1066 wrappers.add(new _LocationEqualsWrapper(location)); 1066 wrappers.add(new _LocationEqualsWrapper(location));
1067 } 1067 }
1068 return wrappers; 1068 return wrappers;
1069 } 1069 }
1070 } 1070 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698