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

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

Issue 574573002: Add SourceFileEdit.time field. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use modification stamp of sources 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 "replacement": isString 1760 "replacement": isString
1761 }, optionalFields: { 1761 }, optionalFields: {
1762 "id": isString 1762 "id": isString
1763 })); 1763 }));
1764 1764
1765 /** 1765 /**
1766 * SourceFileEdit 1766 * SourceFileEdit
1767 * 1767 *
1768 * { 1768 * {
1769 * "file": FilePath 1769 * "file": FilePath
1770 * "fileStamp": long
1770 * "edits": List<SourceEdit> 1771 * "edits": List<SourceEdit>
1771 * } 1772 * }
1772 */ 1773 */
1773 final Matcher isSourceFileEdit = new LazyMatcher(() => new MatchesJsonObject( 1774 final Matcher isSourceFileEdit = new LazyMatcher(() => new MatchesJsonObject(
1774 "SourceFileEdit", { 1775 "SourceFileEdit", {
1775 "file": isFilePath, 1776 "file": isFilePath,
1777 "fileStamp": isInt,
1776 "edits": isListOf(isSourceEdit) 1778 "edits": isListOf(isSourceEdit)
1777 })); 1779 }));
1778 1780
1779 /** 1781 /**
1780 * TypeHierarchyItem 1782 * TypeHierarchyItem
1781 * 1783 *
1782 * { 1784 * {
1783 * "classElement": Element 1785 * "classElement": Element
1784 * "displayName": optional String 1786 * "displayName": optional String
1785 * "memberElement": optional Element 1787 * "memberElement": optional Element
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1970 * 1972 *
1971 * { 1973 * {
1972 * "newName": String 1974 * "newName": String
1973 * } 1975 * }
1974 */ 1976 */
1975 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 1977 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
1976 "rename options", { 1978 "rename options", {
1977 "newName": isString 1979 "newName": isString
1978 })); 1980 }));
1979 1981
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698