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

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

Issue 833903005: Analysis server format service wiring (and protocol doc update). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 */ 1011 */
1012 StreamController<SearchResultsParams> _onSearchResults; 1012 StreamController<SearchResultsParams> _onSearchResults;
1013 1013
1014 /** 1014 /**
1015 * Format the contents of a single file. The currently selected region of 1015 * Format the contents of a single file. The currently selected region of
1016 * text is passed in so that the selection can be preserved across the 1016 * text is passed in so that the selection can be preserved across the
1017 * formatting operation. The updated selection will be as close to matching 1017 * formatting operation. The updated selection will be as close to matching
1018 * the original as possible, but whitespace at the beginning or end of the 1018 * the original as possible, but whitespace at the beginning or end of the
1019 * selected region will be ignored. 1019 * selected region will be ignored.
1020 * 1020 *
1021 * If a request is made for a file which does not exist, or which is not
1022 * currently subject to analysis (e.g. because it is not associated with any
1023 * analysis root specified to analysis.setAnalysisRoots), an error of type
1024 * FORMAT_INVALID_FILE will be generated.
1025 *
1021 * Parameters 1026 * Parameters
1022 * 1027 *
1023 * file ( FilePath ) 1028 * file ( FilePath )
1024 * 1029 *
1025 * The file containing the code to be formatted. 1030 * The file containing the code to be formatted.
1026 * 1031 *
1027 * selectionOffset ( int ) 1032 * selectionOffset ( int )
1028 * 1033 *
1029 * The offset of the current selection in the file. 1034 * The offset of the current selection in the file.
1030 * 1035 *
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 case "execution.launchData": 1523 case "execution.launchData":
1519 expect(params, isExecutionLaunchDataParams); 1524 expect(params, isExecutionLaunchDataParams);
1520 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params)); 1525 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params));
1521 break; 1526 break;
1522 default: 1527 default:
1523 fail('Unexpected notification: $event'); 1528 fail('Unexpected notification: $event');
1524 break; 1529 break;
1525 } 1530 }
1526 } 1531 }
1527 } 1532 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/edit/test_all.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698