| Index: pkg/analysis_services/test/index/local_file_index_test.dart
|
| diff --git a/pkg/analysis_services/test/index/local_file_index_test.dart b/pkg/analysis_services/test/index/local_file_index_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8ac5fefcfe6512942769b98f4ce95e0328518bf9
|
| --- /dev/null
|
| +++ b/pkg/analysis_services/test/index/local_file_index_test.dart
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library test.services.src.index.local_file_index;
|
| +
|
| +import 'dart:io';
|
| +
|
| +import 'package:analysis_services/index/index.dart';
|
| +import 'package:analysis_services/index/local_file_index.dart';
|
| +import 'package:unittest/unittest.dart';
|
| +
|
| +
|
| +main() {
|
| + groupSep = ' | ';
|
| + test('createLocalFileIndex', () {
|
| + Directory indexDirectory = Directory.systemTemp.createTempSync(
|
| + 'AnalysisServer_index');
|
| + try {
|
| + Index index = createLocalFileIndex(indexDirectory);
|
| + expect(index, isNotNull);
|
| + } finally {
|
| + indexDirectory.delete(recursive: true);
|
| + }
|
| + });
|
| +}
|
|
|