OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 analyzer.test.embedder_tests; | 5 library analyzer.test.embedder_tests; |
6 | 6 |
7 import 'dart:core' hide Resource; | 7 import 'dart:core'; |
8 | 8 |
9 import 'package:analyzer/file_system/file_system.dart'; | 9 import 'package:analyzer/file_system/file_system.dart'; |
10 import 'package:analyzer/file_system/memory_file_system.dart'; | 10 import 'package:analyzer/file_system/memory_file_system.dart'; |
11 import 'package:path/path.dart' as path; | 11 import 'package:path/path.dart' as path; |
12 | 12 |
13 import 'resource_utils.dart'; | 13 import 'resource_utils.dart'; |
14 import 'utils.dart'; | 14 import 'utils.dart'; |
15 | 15 |
16 abstract class EmbedderRelatedTest { | 16 abstract class EmbedderRelatedTest { |
17 final String emptyPath = '/home/.pub-cache/empty'; | 17 final String emptyPath = '/home/.pub-cache/empty'; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void setUp() { | 49 void setUp() { |
50 initializeTestEnvironment(path.context); | 50 initializeTestEnvironment(path.context); |
51 buildResourceProvider(); | 51 buildResourceProvider(); |
52 } | 52 } |
53 | 53 |
54 void tearDown() { | 54 void tearDown() { |
55 initializeTestEnvironment(); | 55 initializeTestEnvironment(); |
56 clearResourceProvider(); | 56 clearResourceProvider(); |
57 } | 57 } |
58 } | 58 } |
OLD | NEW |