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

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

Issue 484313002: Make search.findElementReferences.result.element field optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/spec/generate_files". 7 // "pkg/analysis_server/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 * includePotential ( bool ) 761 * includePotential ( bool )
762 * 762 *
763 * True if potential matches are to be included in the results. 763 * True if potential matches are to be included in the results.
764 * 764 *
765 * Returns 765 * Returns
766 * 766 *
767 * id ( SearchId ) 767 * id ( SearchId )
768 * 768 *
769 * The identifier used to associate results with this search request. 769 * The identifier used to associate results with this search request.
770 * 770 *
771 * element ( Element ) 771 * element ( optional Element )
772 * 772 *
773 * The element referenced or defined at the given offset and whose 773 * The element referenced or defined at the given offset and whose
774 * references will be returned in the search results. 774 * references will be returned in the search results.
775 *
776 * If no element was found at the given location, this field will be
777 * absent.
775 */ 778 */
776 Future sendSearchFindElementReferences(String file, int offset, bool includePo tential, {bool checkTypes: true}) { 779 Future sendSearchFindElementReferences(String file, int offset, bool includePo tential, {bool checkTypes: true}) {
777 Map<String, dynamic> params = {}; 780 Map<String, dynamic> params = {};
778 params["file"] = file; 781 params["file"] = file;
779 params["offset"] = offset; 782 params["offset"] = offset;
780 params["includePotential"] = includePotential; 783 params["includePotential"] = includePotential;
781 if (checkTypes) { 784 if (checkTypes) {
782 expect(params, isSearchFindElementReferencesParams); 785 expect(params, isSearchFindElementReferencesParams);
783 } 786 }
784 return server.send("search.findElementReferences", params) 787 return server.send("search.findElementReferences", params)
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 case "debug.launchData": 1454 case "debug.launchData":
1452 expect(params, isDebugLaunchDataParams); 1455 expect(params, isDebugLaunchDataParams);
1453 _onDebugLaunchData.add(params); 1456 _onDebugLaunchData.add(params);
1454 break; 1457 break;
1455 default: 1458 default:
1456 fail('Unexpected notification: $event'); 1459 fail('Unexpected notification: $event');
1457 break; 1460 break;
1458 } 1461 }
1459 } 1462 }
1460 } 1463 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.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