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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/integration/integration_test_methods.dart
diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
index 08e5feffc41654f632cf2d8645c4b12b2bbceb02..b274b2dfd3aa28d4d39de96cb087722d8f839ba2 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -1204,6 +1204,13 @@ abstract class IntegrationTestMixin {
/**
* Sort all of the directives, unit and class members of the given Dart file.
*
+ * If a request is made for a file that does not exist, does not belong to an
+ * analysis root or is not a Dart file, SORT_MEMBERS_INVALID_FILE will be
+ * generated.
+ *
+ * If the Dart file has scan or parse errors, SORT_MEMBERS_PARSE_ERRORS will
+ * be generated.
+ *
* Parameters
*
* file ( FilePath )
« 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