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

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

Issue 3006693002: Add an integration test for kythe support with bug fixes (Closed)
Patch Set: Created 3 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 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 "TYPE_PARAMETER", 503 "TYPE_PARAMETER",
504 "UNRESOLVED_INSTANCE_MEMBER_REFERENCE", 504 "UNRESOLVED_INSTANCE_MEMBER_REFERENCE",
505 "VALID_STRING_ESCAPE" 505 "VALID_STRING_ESCAPE"
506 ]); 506 ]);
507 507
508 /** 508 /**
509 * KytheEntry 509 * KytheEntry
510 * 510 *
511 * { 511 * {
512 * "source": KytheVName 512 * "source": KytheVName
513 * "kind": String 513 * "kind": optional String
514 * "target": KytheVName 514 * "target": optional KytheVName
515 * "fact": String 515 * "fact": String
516 * "value": List<int> 516 * "value": optional List<int>
517 * } 517 * }
518 */ 518 */
519 final Matcher isKytheEntry = 519 final Matcher isKytheEntry = new LazyMatcher(() => new MatchesJsonObject(
520 new LazyMatcher(() => new MatchesJsonObject("KytheEntry", { 520 "KytheEntry", {
521 "source": isKytheVName, 521 "source": isKytheVName,
522 "kind": isString, 522 "fact": isString
523 "target": isKytheVName, 523 }, optionalFields: {
524 "fact": isString, 524 "kind": isString,
525 "value": isListOf(isInt) 525 "target": isKytheVName,
526 })); 526 "value": isListOf(isInt)
527 }));
527 528
528 /** 529 /**
529 * KytheVName 530 * KytheVName
530 * 531 *
531 * { 532 * {
532 * "signature": String 533 * "signature": String
533 * "corpus": String 534 * "corpus": String
534 * "root": String 535 * "root": String
535 * "path": String 536 * "path": String
536 * "language": String 537 * "language": String
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 1505
1505 /** 1506 /**
1506 * rename options 1507 * rename options
1507 * 1508 *
1508 * { 1509 * {
1509 * "newName": String 1510 * "newName": String
1510 * } 1511 * }
1511 */ 1512 */
1512 final Matcher isRenameOptions = new LazyMatcher( 1513 final Matcher isRenameOptions = new LazyMatcher(
1513 () => new MatchesJsonObject("rename options", {"newName": isString})); 1514 () => new MatchesJsonObject("rename options", {"newName": isString}));
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/lib/protocol/protocol_common.dart ('k') | pkg/analyzer_plugin/test/plugin/kythe_mixin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698