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

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

Issue 1392253002: Restructure the public API for server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 if (diagnosticPort != null) { 623 if (diagnosticPort != null) {
624 arguments.add('--port'); 624 arguments.add('--port');
625 arguments.add(diagnosticPort.toString()); 625 arguments.add(diagnosticPort.toString());
626 } 626 }
627 if (useAnalysisHighlight2) { 627 if (useAnalysisHighlight2) {
628 arguments.add('--useAnalysisHighlight2'); 628 arguments.add('--useAnalysisHighlight2');
629 } 629 }
630 if (!newTaskModel) { 630 if (!newTaskModel) {
631 arguments.add('--${analysisServer.Driver.DISABLE_NEW_TASK_MODEL}'); 631 arguments.add('--${analysisServer.Driver.DISABLE_NEW_TASK_MODEL}');
632 } 632 }
633 print('Launching $serverPath'); 633 // print('Launching $serverPath');
Paul Berry 2015/10/08 17:32:24 This is an unrelated change. Let's do it in a sep
Brian Wilkerson 2015/10/09 14:56:44 Done
634 print('$dartBinary ${arguments.join(' ')}'); 634 // print('$dartBinary ${arguments.join(' ')}');
635 return Process.start(dartBinary, arguments).then((Process process) { 635 return Process.start(dartBinary, arguments).then((Process process) {
636 _process = process; 636 _process = process;
637 process.exitCode.then((int code) { 637 process.exitCode.then((int code) {
638 _recordStdio('TERMINATED WITH EXIT CODE $code'); 638 _recordStdio('TERMINATED WITH EXIT CODE $code');
639 if (code != 0) { 639 if (code != 0) {
640 _badDataFromServer(); 640 _badDataFromServer();
641 } 641 }
642 }); 642 });
643 }); 643 });
644 } 644 }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 void populateMismatches(item, List<MismatchDescriber> mismatches); 888 void populateMismatches(item, List<MismatchDescriber> mismatches);
889 889
890 /** 890 /**
891 * Create a [MismatchDescriber] describing a mismatch with a simple string. 891 * Create a [MismatchDescriber] describing a mismatch with a simple string.
892 */ 892 */
893 MismatchDescriber simpleDescription(String description) => 893 MismatchDescriber simpleDescription(String description) =>
894 (Description mismatchDescription) { 894 (Description mismatchDescription) {
895 mismatchDescription.add(description); 895 mismatchDescription.add(description);
896 }; 896 };
897 } 897 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698