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

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

Issue 419563002: Remove any 'group' invocations enclosing 'runReflectiveTests'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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.services.src.index.store.separate_file_mananer; 5 library test.services.src.index.store.separate_file_mananer;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:analysis_services/src/index/store/separate_file_manager.dart'; 9 import 'package:analysis_services/src/index/store/separate_file_manager.dart';
10 import 'package:analysis_testing/reflective_tests.dart'; 10 import 'package:analysis_testing/reflective_tests.dart';
11 import 'package:path/path.dart'; 11 import 'package:path/path.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 14
15 main() { 15 main() {
16 groupSep = ' | '; 16 groupSep = ' | ';
17 group('SeparateFileManager', () { 17 runReflectiveTests(_SeparateFileManagerTest);
18 runReflectiveTests(_SeparateFileManagerTest);
19 });
20 } 18 }
21 19
22 20
23 @ReflectiveTestCase() 21 @ReflectiveTestCase()
24 class _SeparateFileManagerTest { 22 class _SeparateFileManagerTest {
25 Directory tempDir; 23 Directory tempDir;
26 SeparateFileManager fileManager; 24 SeparateFileManager fileManager;
27 25
28 void setUp() { 26 void setUp() {
29 tempDir = Directory.systemTemp.createTempSync('AnalysisServer_index'); 27 tempDir = Directory.systemTemp.createTempSync('AnalysisServer_index');
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 expect(bytes, isNull); 65 expect(bytes, isNull);
68 }); 66 });
69 }); 67 });
70 }); 68 });
71 } 69 }
72 70
73 bool _existsSync(String name) { 71 bool _existsSync(String name) {
74 return new File(join(tempDir.path, name)).existsSync(); 72 return new File(join(tempDir.path, name)).existsSync();
75 } 73 }
76 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698