| 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.resource; | 5 library test.resource; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io' as io; | |
| 9 | 8 |
| 10 import 'mocks.dart'; | 9 import 'mocks.dart'; |
| 11 | 10 |
| 12 import 'package:analysis_server/src/resource.dart'; | 11 import 'package:analysis_server/src/resource.dart'; |
| 13 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; | 12 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; |
| 14 import 'package:analyzer/src/generated/source_io.dart'; | 13 import 'package:analyzer/src/generated/source_io.dart'; |
| 15 import 'package:path/path.dart'; | 14 import 'package:path/path.dart'; |
| 16 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
| 17 import 'package:watcher/watcher.dart'; | 16 import 'package:watcher/watcher.dart'; |
| 18 | 17 |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 expect(relative.fullName, '/foo/bar/baz.dart'); | 421 expect(relative.fullName, '/foo/bar/baz.dart'); |
| 423 }); | 422 }); |
| 424 }); | 423 }); |
| 425 }); | 424 }); |
| 426 }); | 425 }); |
| 427 } | 426 } |
| 428 | 427 |
| 429 var _isFile = new isInstanceOf<File>(); | 428 var _isFile = new isInstanceOf<File>(); |
| 430 var _isFolder = new isInstanceOf<Folder>(); | 429 var _isFolder = new isInstanceOf<Folder>(); |
| 431 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>(); | 430 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>(); |
| OLD | NEW |