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

Side by Side Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 2361813003: Fix test.py and tests to use an explicit --packages flag. (Closed)
Patch Set: Handle case where only observatory_ui tests are run. Created 4 years, 3 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
« no previous file with comments | « no previous file | pkg/analyzer/tool/task_dependency_graph/generate.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/tool/task_dependency_graph/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698