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

Side by Side Diff: pkg/analysis_server/test/physical_resource_provider_test.dart

Issue 308703005: Extract constants into separate libarary. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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.physical.resource.provider; 5 library test.physical.resource.provider;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io' as io; 8 import 'dart:io' as io;
9 9
10 import 'mocks.dart';
11
12 import 'package:analysis_server/src/resource.dart'; 10 import 'package:analysis_server/src/resource.dart';
13 import 'package:analyzer/src/generated/engine.dart' show TimestampedData;
14 import 'package:analyzer/src/generated/source_io.dart'; 11 import 'package:analyzer/src/generated/source_io.dart';
15 import 'package:path/path.dart'; 12 import 'package:path/path.dart';
16 import 'package:unittest/unittest.dart'; 13 import 'package:unittest/unittest.dart';
17 import 'package:watcher/watcher.dart'; 14 import 'package:watcher/watcher.dart';
18 15
19 main() { 16 main() {
20 groupSep = ' | '; 17 groupSep = ' | ';
21 18
22 group('PhysicalResourceProvider', () { 19 group('PhysicalResourceProvider', () {
23 io.Directory tempDirectory; 20 io.Directory tempDirectory;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 expect(children[1], _isFolder); 214 expect(children[1], _isFolder);
218 expect(children[2], _isFile); 215 expect(children[2], _isFile);
219 }); 216 });
220 }); 217 });
221 }); 218 });
222 } 219 }
223 220
224 var _isFile = new isInstanceOf<File>(); 221 var _isFile = new isInstanceOf<File>();
225 var _isFolder = new isInstanceOf<Folder>(); 222 var _isFolder = new isInstanceOf<Folder>();
226 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>(); 223 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>();
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_server_test.dart ('k') | pkg/analysis_server/test/resource_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698