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

Side by Side Diff: pkg/analyzer/test/file_system/memory_file_system_test.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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
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.memory_file_system; 5 library analyzer.test.file_system.memory_file_system_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:core' hide Resource; 8 import 'dart:core' hide Resource;
9 9
10 import 'package:analyzer/file_system/file_system.dart'; 10 import 'package:analyzer/file_system/file_system.dart';
11 import 'package:analyzer/file_system/memory_file_system.dart'; 11 import 'package:analyzer/file_system/memory_file_system.dart';
12 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; 12 import 'package:analyzer/src/generated/engine.dart' show TimestampedData;
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 import 'package:path/path.dart'; 14 import 'package:path/path.dart';
15 import 'package:unittest/unittest.dart'; 15 import 'package:unittest/unittest.dart';
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 return new Future.delayed(Duration.ZERO, computation); 561 return new Future.delayed(Duration.ZERO, computation);
562 } 562 }
563 563
564 _watchingFolder(String path, test(List<WatchEvent> changesReceived)) { 564 _watchingFolder(String path, test(List<WatchEvent> changesReceived)) {
565 Folder folder = provider.getResource(path); 565 Folder folder = provider.getResource(path);
566 var changesReceived = <WatchEvent>[]; 566 var changesReceived = <WatchEvent>[];
567 folder.changes.listen(changesReceived.add); 567 folder.changes.listen(changesReceived.add);
568 return test(changesReceived); 568 return test(changesReceived);
569 } 569 }
570 } 570 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/enum_test.dart ('k') | pkg/analyzer/test/file_system/physical_resource_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698