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

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

Issue 2746333008: Run dartfmt on dart2js codebase. (Closed)
Patch Set: Format all analyzer packages Created 3 years, 9 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 * True if the teardown process should skip sending a "server.shutdown" 118 * True if the teardown process should skip sending a "server.shutdown"
119 * request (e.g. because the server is known to have already shutdown). 119 * request (e.g. because the server is known to have already shutdown).
120 */ 120 */
121 bool skipShutdown = false; 121 bool skipShutdown = false;
122 122
123 /** 123 /**
124 * True if we are currently subscribed to [SERVER_STATUS] updates. 124 * True if we are currently subscribed to [SERVER_STATUS] updates.
125 */ 125 */
126 bool _subscribedToServerStatus = false; 126 bool _subscribedToServerStatus = false;
127 127
128 List<AnalysisError> getErrors(String pathname) => currentAnalysisErrors[pathna me]; 128 List<AnalysisError> getErrors(String pathname) =>
129 currentAnalysisErrors[pathname];
129 130
130 AbstractAnalysisServerIntegrationTest() { 131 AbstractAnalysisServerIntegrationTest() {
131 initializeInttestMixin(); 132 initializeInttestMixin();
132 } 133 }
133 134
134 /** 135 /**
135 * Return a future which will complete when a 'server.status' notification is 136 * Return a future which will complete when a 'server.status' notification is
136 * received from the server with 'analyzing' set to false. 137 * received from the server with 'analyzing' set to false.
137 * 138 *
138 * The future will only be completed by 'server.status' notifications that are 139 * The future will only be completed by 'server.status' notifications that are
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 void populateMismatches(item, List<MismatchDescriber> mismatches); 980 void populateMismatches(item, List<MismatchDescriber> mismatches);
980 981
981 /** 982 /**
982 * Create a [MismatchDescriber] describing a mismatch with a simple string. 983 * Create a [MismatchDescriber] describing a mismatch with a simple string.
983 */ 984 */
984 MismatchDescriber simpleDescription(String description) => 985 MismatchDescriber simpleDescription(String description) =>
985 (Description mismatchDescription) { 986 (Description mismatchDescription) {
986 mismatchDescription.add(description); 987 mismatchDescription.add(description);
987 }; 988 };
988 } 989 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698