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

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

Issue 596893002: Rework launch data (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated Java side 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/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index fc09adb6655d92f32748e3bec043e8e385f04b17..c7969f4ac0de93607ec16e3448be924a00c9a031 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -761,16 +761,17 @@ final Matcher isExecutionSetSubscriptionsResult = isNull;
* execution.launchData params
*
* {
- * "executables": List<ExecutableFile>
- * "dartToHtml": Map<FilePath, List<FilePath>>
- * "htmlToDart": Map<FilePath, List<FilePath>>
+ * "file": FilePath
+ * "kind": optional ExecutableKind
+ * "referencedFiles": optional List<FilePath>
* }
*/
final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJsonObject(
"execution.launchData params", {
- "executables": isListOf(isExecutableFile),
- "dartToHtml": isMapOf(isFilePath, isListOf(isFilePath)),
- "htmlToDart": isMapOf(isFilePath, isListOf(isFilePath))
+ "file": isFilePath
+ }, optionalFields: {
+ "kind": isExecutableKind,
+ "referencedFiles": isListOf(isFilePath)
}));
/**
@@ -1144,12 +1145,14 @@ final Matcher isExecutableFile = new LazyMatcher(() => new MatchesJsonObject(
* enum {
* CLIENT
* EITHER
+ * NOT_EXECUTABLE
* SERVER
* }
*/
final Matcher isExecutableKind = new MatchesEnum("ExecutableKind", [
"CLIENT",
"EITHER",
+ "NOT_EXECUTABLE",
"SERVER"
]);

Powered by Google App Engine
This is Rietveld 408576698