| 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.src.context.context_builder_test; | 5 library analyzer.test.src.command_line.arguments_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/command_line/arguments.dart'; | 8 import 'package:analyzer/src/command_line/arguments.dart'; |
| 9 import 'package:analyzer/src/context/builder.dart'; | 9 import 'package:analyzer/src/context/builder.dart'; |
| 10 import 'package:analyzer/src/dart/sdk/sdk.dart'; | 10 import 'package:analyzer/src/dart/sdk/sdk.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/sdk.dart'; | 12 import 'package:analyzer/src/generated/sdk.dart'; |
| 13 import 'package:args/args.dart'; | 13 import 'package:args/args.dart'; |
| 14 import 'package:test/test.dart'; | 14 import 'package:test/test.dart'; |
| 15 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 15 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 } | 215 } |
| 216 | 216 |
| 217 void test_preprocessArgs_replacement_notLast() { | 217 void test_preprocessArgs_replacement_notLast() { |
| 218 MemoryResourceProvider provider = new MemoryResourceProvider(); | 218 MemoryResourceProvider provider = new MemoryResourceProvider(); |
| 219 String filePath = provider.convertPath('/args.txt'); | 219 String filePath = provider.convertPath('/args.txt'); |
| 220 List<String> args = ['a', '@$filePath', 'b']; | 220 List<String> args = ['a', '@$filePath', 'b']; |
| 221 List<String> result = preprocessArgs(provider, args); | 221 List<String> result = preprocessArgs(provider, args); |
| 222 expect(result, orderedEquals(args)); | 222 expect(result, orderedEquals(args)); |
| 223 } | 223 } |
| 224 } | 224 } |
| OLD | NEW |