| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.generated.gn_test; | 5 library analyzer.test.generated.gn_test; |
| 6 | 6 |
| 7 import 'package:analyzer/file_system/memory_file_system.dart'; | 7 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 8 import 'package:analyzer/src/generated/gn.dart'; | 8 import 'package:analyzer/src/generated/gn.dart'; |
| 9 import 'package:analyzer/src/generated/source.dart'; | |
| 10 import 'package:test/test.dart'; | 9 import 'package:test/test.dart'; |
| 11 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 12 | 11 |
| 13 main() { | 12 main() { |
| 14 defineReflectiveSuite(() { | 13 defineReflectiveSuite(() { |
| 15 defineReflectiveTests(GnWorkspaceTest); | 14 defineReflectiveTests(GnWorkspaceTest); |
| 16 }); | 15 }); |
| 17 } | 16 } |
| 18 | 17 |
| 19 @reflectiveTest | 18 @reflectiveTest |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 } | 72 } |
| 74 | 73 |
| 75 class _BaseTest { | 74 class _BaseTest { |
| 76 final MemoryResourceProvider provider = new MemoryResourceProvider(); | 75 final MemoryResourceProvider provider = new MemoryResourceProvider(); |
| 77 | 76 |
| 78 /** | 77 /** |
| 79 * Return the [provider] specific path for the given Posix [path]. | 78 * Return the [provider] specific path for the given Posix [path]. |
| 80 */ | 79 */ |
| 81 String _p(String path) => provider.convertPath(path); | 80 String _p(String path) => provider.convertPath(path); |
| 82 } | 81 } |
| OLD | NEW |