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

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

Issue 1266923004: More fixes for failures on the Windows bot (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
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_file_system; 5 library test.physical_file_system;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:core' hide Resource; 8 import 'dart:core' hide Resource;
9 import 'dart:io' as io; 9 import 'dart:io' as io;
10 10
11 import 'package:analyzer/file_system/file_system.dart'; 11 import 'package:analyzer/file_system/file_system.dart';
12 import 'package:analyzer/file_system/physical_file_system.dart'; 12 import 'package:analyzer/file_system/physical_file_system.dart';
13 import 'package:analyzer/src/generated/source_io.dart'; 13 import 'package:analyzer/src/generated/source_io.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';
16 import 'package:watcher/watcher.dart'; 16 import 'package:watcher/watcher.dart';
17 17
18 import '../reflective_tests.dart'; 18 import '../reflective_tests.dart';
19 import '../utils.dart';
19 20
20 main() { 21 main() {
21 groupSep = ' | '; 22 initializeTestEnvironment();
22 runReflectiveTests(PhysicalResourceProviderTest); 23 runReflectiveTests(PhysicalResourceProviderTest);
23 runReflectiveTests(FileTest); 24 runReflectiveTests(FileTest);
24 runReflectiveTests(FolderTest); 25 runReflectiveTests(FolderTest);
25 } 26 }
26 27
27 var _isFile = new isInstanceOf<File>(); 28 var _isFile = new isInstanceOf<File>();
28 var _isFileSystemException = new isInstanceOf<FileSystemException>(); 29 var _isFileSystemException = new isInstanceOf<FileSystemException>();
29 var _isFolder = new isInstanceOf<Folder>(); 30 var _isFolder = new isInstanceOf<Folder>();
30 31
31 @reflectiveTest 32 @reflectiveTest
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 441
441 setUp() { 442 setUp() {
442 tempDirectory = io.Directory.systemTemp.createTempSync('test_resource'); 443 tempDirectory = io.Directory.systemTemp.createTempSync('test_resource');
443 tempPath = tempDirectory.absolute.path; 444 tempPath = tempDirectory.absolute.path;
444 } 445 }
445 446
446 tearDown() { 447 tearDown() {
447 tempDirectory.deleteSync(recursive: true); 448 tempDirectory.deleteSync(recursive: true);
448 } 449 }
449 } 450 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698