OLD | NEW |
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.services.src.index.local_file_index; | 5 library test.services.src.index.local_file_index; |
6 | 6 |
7 import 'package:analysis_server/src/services/index/index.dart'; | 7 import 'package:analysis_server/src/services/index/index.dart'; |
8 import 'package:analysis_server/src/services/index/local_file_index.dart'; | 8 import 'package:analysis_server/src/services/index/local_file_index.dart'; |
9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
10 | 10 |
| 11 import '../../utils.dart'; |
| 12 |
11 main() { | 13 main() { |
12 groupSep = ' | '; | 14 initializeTestEnvironment(); |
13 test('createLocalFileIndex', () { | 15 test('createLocalFileIndex', () { |
14 Index index = createLocalFileIndex(); | 16 Index index = createLocalFileIndex(); |
15 expect(index, isNotNull); | 17 expect(index, isNotNull); |
16 index.clear(); | 18 index.clear(); |
17 }); | 19 }); |
18 } | 20 } |
OLD | NEW |