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

Side by Side Diff: pkg/analysis_services/test/index/local_file_index_test.dart

Issue 377053002: Tests for LocalIndex and Dart index contributor. (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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library test.services.src.index.local_file_index;
6
7 import 'dart:io';
8
9 import 'package:analysis_services/index/index.dart';
10 import 'package:analysis_services/index/local_file_index.dart';
11 import 'package:unittest/unittest.dart';
12
13
14 main() {
15 groupSep = ' | ';
16 test('createLocalFileIndex', () {
17 Directory indexDirectory = Directory.systemTemp.createTempSync(
18 'AnalysisServer_index');
19 try {
20 Index index = createLocalFileIndex(indexDirectory);
21 expect(index, isNotNull);
22 } finally {
23 indexDirectory.delete(recursive: true);
24 }
25 });
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698