OLD | NEW |
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.integration.analysis; | 5 library test.integration.analysis; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 import 'dart:convert'; | 9 import 'dart:convert'; |
10 import 'dart:io'; | 10 import 'dart:io'; |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 } else { | 629 } else { |
630 arguments.add('--observe=$servicesPort'); | 630 arguments.add('--observe=$servicesPort'); |
631 } | 631 } |
632 arguments.add('--pause-isolates-on-exit'); | 632 arguments.add('--pause-isolates-on-exit'); |
633 } else if (servicesPort != null) { | 633 } else if (servicesPort != null) { |
634 arguments.add('--enable-vm-service=$servicesPort'); | 634 arguments.add('--enable-vm-service=$servicesPort'); |
635 } | 635 } |
636 if (Platform.packageRoot != null) { | 636 if (Platform.packageRoot != null) { |
637 arguments.add('--package-root=${Platform.packageRoot}'); | 637 arguments.add('--package-root=${Platform.packageRoot}'); |
638 } | 638 } |
| 639 if (Platform.packageConfig != null) { |
| 640 arguments.add('--packages=${Platform.packageConfig}'); |
| 641 } |
639 if (checked) { | 642 if (checked) { |
640 arguments.add('--checked'); | 643 arguments.add('--checked'); |
641 } | 644 } |
642 // | 645 // |
643 // Add the server executable. | 646 // Add the server executable. |
644 // | 647 // |
645 arguments.add(serverPath); | 648 arguments.add(serverPath); |
646 // | 649 // |
647 // Add server arguments. | 650 // Add server arguments. |
648 // | 651 // |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 void populateMismatches(item, List<MismatchDescriber> mismatches); | 920 void populateMismatches(item, List<MismatchDescriber> mismatches); |
918 | 921 |
919 /** | 922 /** |
920 * Create a [MismatchDescriber] describing a mismatch with a simple string. | 923 * Create a [MismatchDescriber] describing a mismatch with a simple string. |
921 */ | 924 */ |
922 MismatchDescriber simpleDescription(String description) => | 925 MismatchDescriber simpleDescription(String description) => |
923 (Description mismatchDescription) { | 926 (Description mismatchDescription) { |
924 mismatchDescription.add(description); | 927 mismatchDescription.add(description); |
925 }; | 928 }; |
926 } | 929 } |
OLD | NEW |