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

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

Issue 2713513007: Deprecate execution.setSubscriptions. (Closed)
Patch Set: Merge branch 'master' into deprecate_set_subscriptions Created 3 years, 10 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 // 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 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 * validateOnly (bool) 1338 * validateOnly (bool)
1339 * 1339 *
1340 * True if the client is only requesting that the values of the options be 1340 * True if the client is only requesting that the values of the options be
1341 * validated and no change be generated. 1341 * validated and no change be generated.
1342 * 1342 *
1343 * options (optional RefactoringOptions) 1343 * options (optional RefactoringOptions)
1344 * 1344 *
1345 * Data used to provide values provided by the user. The structure of the 1345 * Data used to provide values provided by the user. The structure of the
1346 * data is dependent on the kind of refactoring being performed. The data 1346 * data is dependent on the kind of refactoring being performed. The data
1347 * that is expected is documented in the section titled Refactorings, 1347 * that is expected is documented in the section titled Refactorings,
1348 * labeled as Options. This field can be omitted if the refactoring does 1348 * labeled as "Options". This field can be omitted if the refactoring does
1349 * not require any options or if the values of those options are not known. 1349 * not require any options or if the values of those options are not known.
1350 * 1350 *
1351 * Returns 1351 * Returns
1352 * 1352 *
1353 * initialProblems (List<RefactoringProblem>) 1353 * initialProblems (List<RefactoringProblem>)
1354 * 1354 *
1355 * The initial status of the refactoring, i.e. problems related to the 1355 * The initial status of the refactoring, i.e. problems related to the
1356 * context in which the refactoring is requested. The array will be empty 1356 * context in which the refactoring is requested. The array will be empty
1357 * if there are no known problems. 1357 * if there are no known problems.
1358 * 1358 *
1359 * optionsProblems (List<RefactoringProblem>) 1359 * optionsProblems (List<RefactoringProblem>)
1360 * 1360 *
1361 * The options validation status, i.e. problems in the given options, such 1361 * The options validation status, i.e. problems in the given options, such
1362 * as light-weight validation of a new name, flags compatibility, etc. The 1362 * as light-weight validation of a new name, flags compatibility, etc. The
1363 * array will be empty if there are no known problems. 1363 * array will be empty if there are no known problems.
1364 * 1364 *
1365 * finalProblems (List<RefactoringProblem>) 1365 * finalProblems (List<RefactoringProblem>)
1366 * 1366 *
1367 * The final status of the refactoring, i.e. problems identified in the 1367 * The final status of the refactoring, i.e. problems identified in the
1368 * result of a full, potentially expensive validation and / or change 1368 * result of a full, potentially expensive validation and / or change
1369 * creation. The array will be empty if there are no known problems. 1369 * creation. The array will be empty if there are no known problems.
1370 * 1370 *
1371 * feedback (optional RefactoringFeedback) 1371 * feedback (optional RefactoringFeedback)
1372 * 1372 *
1373 * Data used to provide feedback to the user. The structure of the data is 1373 * Data used to provide feedback to the user. The structure of the data is
1374 * dependent on the kind of refactoring being created. The data that is 1374 * dependent on the kind of refactoring being created. The data that is
1375 * returned is documented in the section titled Refactorings, labeled as 1375 * returned is documented in the section titled Refactorings, labeled as
1376 * Feedback. 1376 * "Feedback".
1377 * 1377 *
1378 * change (optional SourceChange) 1378 * change (optional SourceChange)
1379 * 1379 *
1380 * The changes that are to be applied to affect the refactoring. This field 1380 * The changes that are to be applied to affect the refactoring. This field
1381 * will be omitted if there are problems that prevent a set of changes from 1381 * will be omitted if there are problems that prevent a set of changes from
1382 * being computed, such as having no options specified for a refactoring 1382 * being computed, such as having no options specified for a refactoring
1383 * that requires them, or if only validation was requested. 1383 * that requires them, or if only validation was requested.
1384 * 1384 *
1385 * potentialEdits (optional List<String>) 1385 * potentialEdits (optional List<String>)
1386 * 1386 *
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 * file field was not given in the request. 1553 * file field was not given in the request.
1554 */ 1554 */
1555 Future<ExecutionMapUriResult> sendExecutionMapUri(String id, {String file, Str ing uri}) async { 1555 Future<ExecutionMapUriResult> sendExecutionMapUri(String id, {String file, Str ing uri}) async {
1556 var params = new ExecutionMapUriParams(id, file: file, uri: uri).toJson(); 1556 var params = new ExecutionMapUriParams(id, file: file, uri: uri).toJson();
1557 var result = await server.send("execution.mapUri", params); 1557 var result = await server.send("execution.mapUri", params);
1558 ResponseDecoder decoder = new ResponseDecoder(null); 1558 ResponseDecoder decoder = new ResponseDecoder(null);
1559 return new ExecutionMapUriResult.fromJson(decoder, 'result', result); 1559 return new ExecutionMapUriResult.fromJson(decoder, 'result', result);
1560 } 1560 }
1561 1561
1562 /** 1562 /**
1563 * Deprecated: the analysis server no longer fires LAUNCH_DATA events.
1564 *
1563 * Subscribe for services. All previous subscriptions are replaced by the 1565 * Subscribe for services. All previous subscriptions are replaced by the
1564 * given set of services. 1566 * given set of services.
1565 * 1567 *
1566 * It is an error if any of the elements in the list are not valid services. 1568 * It is an error if any of the elements in the list are not valid services.
1567 * If there is an error, then the current subscriptions will remain 1569 * If there is an error, then the current subscriptions will remain
1568 * unchanged. 1570 * unchanged.
1569 * 1571 *
1570 * Parameters 1572 * Parameters
1571 * 1573 *
1572 * subscriptions (List<ExecutionService>) 1574 * subscriptions (List<ExecutionService>)
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1758 case "execution.launchData": 1760 case "execution.launchData":
1759 outOfTestExpect(params, isExecutionLaunchDataParams); 1761 outOfTestExpect(params, isExecutionLaunchDataParams);
1760 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params)); 1762 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params));
1761 break; 1763 break;
1762 default: 1764 default:
1763 fail('Unexpected notification: $event'); 1765 fail('Unexpected notification: $event');
1764 break; 1766 break;
1765 } 1767 }
1766 } 1768 }
1767 } 1769 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698