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

Side by Side Diff: pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart

Issue 2964113003: Remove an unused request and the associated type (Closed)
Patch Set: Created 3 years, 5 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 * be re-analyzed. 219 * be re-analyzed.
220 */ 220 */
221 Future sendAnalysisReanalyze({List<String> roots}) async { 221 Future sendAnalysisReanalyze({List<String> roots}) async {
222 var params = new AnalysisReanalyzeParams(roots: roots).toJson(); 222 var params = new AnalysisReanalyzeParams(roots: roots).toJson();
223 var result = await server.send("analysis.reanalyze", params); 223 var result = await server.send("analysis.reanalyze", params);
224 outOfTestExpect(result, isNull); 224 outOfTestExpect(result, isNull);
225 return null; 225 return null;
226 } 226 }
227 227
228 /** 228 /**
229 * Used to set the options used to build analysis contexts. This request will
230 * be sent exactly once before any context roots have been specified.
231 *
232 * Parameters
233 *
234 * options: ContextBuilderOptions
235 *
236 * The options used to build the analysis contexts.
237 */
238 Future sendAnalysisSetContextBuilderOptions(
239 ContextBuilderOptions options) async {
240 var params = new AnalysisSetContextBuilderOptionsParams(options).toJson();
241 var result = await server.send("analysis.setContextBuilderOptions", params);
242 outOfTestExpect(result, isNull);
243 return null;
244 }
245
246 /**
247 * Set the list of context roots that should be analyzed. 229 * Set the list of context roots that should be analyzed.
248 * 230 *
249 * Parameters 231 * Parameters
250 * 232 *
251 * roots: List<ContextRoot> 233 * roots: List<ContextRoot>
252 * 234 *
253 * A list of the context roots that should be analyzed. 235 * A list of the context roots that should be analyzed.
254 */ 236 */
255 Future sendAnalysisSetContextRoots(List<ContextRoot> roots) async { 237 Future sendAnalysisSetContextRoots(List<ContextRoot> roots) async {
256 var params = new AnalysisSetContextRootsParams(roots).toJson(); 238 var params = new AnalysisSetContextRootsParams(roots).toJson();
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 outOfTestExpect(params, isAnalysisOutlineParams); 796 outOfTestExpect(params, isAnalysisOutlineParams);
815 _onAnalysisOutline 797 _onAnalysisOutline
816 .add(new AnalysisOutlineParams.fromJson(decoder, 'params', params)); 798 .add(new AnalysisOutlineParams.fromJson(decoder, 'params', params));
817 break; 799 break;
818 default: 800 default:
819 fail('Unexpected notification: $event'); 801 fail('Unexpected notification: $event');
820 break; 802 break;
821 } 803 }
822 } 804 }
823 } 805 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698