| 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.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 Loading... |
| 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>(); |
| OLD | NEW |