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

Unified Diff: pkg/analysis_server/test/integration/integration_test_methods.dart

Issue 896513002: Specify mapUri for directories (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address more cases 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 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 3e1e07ff6026f3edb8bff1e66bbb28953827d3ce..f84e221820d5fcbc79337eb7e9caabba7b8261cf 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -1360,6 +1360,21 @@ abstract class IntegrationTestMixin {
*
* Exactly one of the file and uri fields must be provided.
*
+ * If the file field is provided and the value is not the path of a file
+ * (either the file does not exist or the path references something other
+ * than a file), then an error of type MAP_URI_INVALID_FILE will be
+ * generated.
+ *
+ * If the uri field is provided and the value is not a valid URI or if the
+ * URI references something that is not a file (either a file that does not
+ * exist or something other than a file), then an error of type
+ * MAP_URI_INVALID_URI will be generated.
+ *
+ * If the contextRoot used to create the execution context is not a file
+ * (either the file does not exist or the path references something other
+ * than a file), then an error of type INVALID_EXECUTION_CONTEXT will be
+ * generated.
+ *
* Parameters
*
* id ( ExecutionContextId )

Powered by Google App Engine
This is Rietveld 408576698