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

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

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

Powered by Google App Engine
This is Rietveld 408576698