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

Side by Side Diff: pkg/analysis_server/test/integration/support/protocol_matchers.dart

Issue 2922603002: Add an analytics domain to the analysis server. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 * Matchers for data types defined in the analysis server API 10 * Matchers for data types defined in the analysis server API
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 final Matcher isAnalysisUpdateOptionsParams = new LazyMatcher(() => 1555 final Matcher isAnalysisUpdateOptionsParams = new LazyMatcher(() =>
1556 new MatchesJsonObject( 1556 new MatchesJsonObject(
1557 "analysis.updateOptions params", {"options": isAnalysisOptions})); 1557 "analysis.updateOptions params", {"options": isAnalysisOptions}));
1558 1558
1559 /** 1559 /**
1560 * analysis.updateOptions result 1560 * analysis.updateOptions result
1561 */ 1561 */
1562 final Matcher isAnalysisUpdateOptionsResult = isNull; 1562 final Matcher isAnalysisUpdateOptionsResult = isNull;
1563 1563
1564 /** 1564 /**
1565 * analytics.enable params
1566 *
1567 * {
1568 * "value": bool
1569 * }
1570 */
1571 final Matcher isAnalyticsEnableParams = new LazyMatcher(
1572 () => new MatchesJsonObject("analytics.enable params", {"value": isBool}));
1573
1574 /**
1575 * analytics.enable result
1576 */
1577 final Matcher isAnalyticsEnableResult = isNull;
1578
1579 /**
1580 * analytics.isEnabled params
1581 */
1582 final Matcher isAnalyticsIsEnabledParams = isNull;
1583
1584 /**
1585 * analytics.isEnabled result
1586 *
1587 * {
1588 * "enabled": bool
1589 * }
1590 */
1591 final Matcher isAnalyticsIsEnabledResult = new LazyMatcher(() =>
1592 new MatchesJsonObject("analytics.isEnabled result", {"enabled": isBool}));
1593
1594 /**
1595 * analytics.sendEvent params
1596 *
1597 * {
1598 * "action": String
1599 * }
1600 */
1601 final Matcher isAnalyticsSendEventParams = new LazyMatcher(() =>
1602 new MatchesJsonObject("analytics.sendEvent params", {"action": isString}));
1603
1604 /**
1605 * analytics.sendEvent result
1606 */
1607 final Matcher isAnalyticsSendEventResult = isNull;
1608
1609 /**
1610 * analytics.sendTiming params
1611 *
1612 * {
1613 * "variable": String
1614 * "millis": int
1615 * }
1616 */
1617 final Matcher isAnalyticsSendTimingParams = new LazyMatcher(() =>
1618 new MatchesJsonObject("analytics.sendTiming params",
1619 {"variable": isString, "millis": isInt}));
1620
1621 /**
1622 * analytics.sendTiming result
1623 */
1624 final Matcher isAnalyticsSendTimingResult = isNull;
1625
1626 /**
1565 * completion.getSuggestions params 1627 * completion.getSuggestions params
1566 * 1628 *
1567 * { 1629 * {
1568 * "file": FilePath 1630 * "file": FilePath
1569 * "offset": int 1631 * "offset": int
1570 * } 1632 * }
1571 */ 1633 */
1572 final Matcher isCompletionGetSuggestionsParams = new LazyMatcher(() => 1634 final Matcher isCompletionGetSuggestionsParams = new LazyMatcher(() =>
1573 new MatchesJsonObject("completion.getSuggestions params", 1635 new MatchesJsonObject("completion.getSuggestions params",
1574 {"file": isFilePath, "offset": isInt})); 1636 {"file": isFilePath, "offset": isInt}));
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 * server.status params 2398 * server.status params
2337 * 2399 *
2338 * { 2400 * {
2339 * "analysis": optional AnalysisStatus 2401 * "analysis": optional AnalysisStatus
2340 * "pub": optional PubStatus 2402 * "pub": optional PubStatus
2341 * } 2403 * }
2342 */ 2404 */
2343 final Matcher isServerStatusParams = new LazyMatcher(() => 2405 final Matcher isServerStatusParams = new LazyMatcher(() =>
2344 new MatchesJsonObject("server.status params", null, 2406 new MatchesJsonObject("server.status params", null,
2345 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); 2407 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus}));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698