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

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

Issue 604333002: Specify when 'sortMembers' will return an error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Specify the specific error codes Created 6 years, 2 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 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 if (checkTypes) { 1197 if (checkTypes) {
1198 expect(result, isEditGetRefactoringResult); 1198 expect(result, isEditGetRefactoringResult);
1199 } 1199 }
1200 return result; 1200 return result;
1201 }); 1201 });
1202 } 1202 }
1203 1203
1204 /** 1204 /**
1205 * Sort all of the directives, unit and class members of the given Dart file. 1205 * Sort all of the directives, unit and class members of the given Dart file.
1206 * 1206 *
1207 * If a request is made for a file that does not exist, does not belong to an
1208 * analysis root or is not a Dart file, SORT_MEMBERS_INVALID_FILE will be
1209 * generated.
1210 *
1211 * If the Dart file has scan or parse errors, SORT_MEMBERS_PARSE_ERRORS will
1212 * be generated.
1213 *
1207 * Parameters 1214 * Parameters
1208 * 1215 *
1209 * file ( FilePath ) 1216 * file ( FilePath )
1210 * 1217 *
1211 * The Dart file to sort. 1218 * The Dart file to sort.
1212 * 1219 *
1213 * Returns 1220 * Returns
1214 * 1221 *
1215 * edit ( SourceFileEdit ) 1222 * edit ( SourceFileEdit )
1216 * 1223 *
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 case "execution.launchData": 1508 case "execution.launchData":
1502 expect(params, isExecutionLaunchDataParams); 1509 expect(params, isExecutionLaunchDataParams);
1503 _onExecutionLaunchData.add(params); 1510 _onExecutionLaunchData.add(params);
1504 break; 1511 break;
1505 default: 1512 default:
1506 fail('Unexpected notification: $event'); 1513 fail('Unexpected notification: $event');
1507 break; 1514 break;
1508 } 1515 }
1509 } 1516 }
1510 } 1517 }
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