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

Side by Side Diff: json_reporter.schema.json

Issue 2091173002: Add metadata to messages emitted by live tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « doc/json_reporter.md ('k') | lib/src/backend/invoker.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "$schema": "http://json-schema.org/draft-04/schema#", 2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "description": "An event emitted by the test package's JSON reporter", 3 "description": "An event emitted by the test package's JSON reporter",
4 4
5 "definitions": { 5 "definitions": {
6 "GroupEntry": { 6 "GroupEntry": {
7 "required": [ 7 "required": [
8 "id", 8 "id",
9 "suiteID", 9 "suiteID",
10 "metadata", 10 "metadata",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 { 135 {
136 "title": "GroupEvent", 136 "title": "GroupEvent",
137 "required": ["group"], 137 "required": ["group"],
138 "properties": { 138 "properties": {
139 "type": {"enum": ["group"]}, 139 "type": {"enum": ["group"]},
140 "group": {"$ref": "#/definitions/Group"} 140 "group": {"$ref": "#/definitions/Group"}
141 } 141 }
142 }, 142 },
143 143
144 { 144 {
145 "title": "PrintEvent", 145 "title": "MessageEvent",
146 "required": ["testID", "message"], 146 "required": ["testID", "message", "type"],
147 "properties": { 147 "properties": {
148 "type": {"enum": ["print"]}, 148 "type": {"enum": ["print"]},
149 "testID": {"type": "integer", "minimum": 0}, 149 "testID": {"type": "integer", "minimum": 0},
150 "message": {"type": "string"} 150 "message": {"type": "string"},
151 "messageType": {"type": "string", "enum": ["print", "skip"]}
151 } 152 }
152 }, 153 },
153 154
154 { 155 {
155 "title": "ErrorEvent", 156 "title": "ErrorEvent",
156 "required": ["testID", "error", "stackTrace", "isFailure"], 157 "required": ["testID", "error", "stackTrace", "isFailure"],
157 "properties": { 158 "properties": {
158 "type": {"enum": ["error"]}, 159 "type": {"enum": ["error"]},
159 "testID": {"type": "integer", "minimum": 0}, 160 "testID": {"type": "integer", "minimum": 0},
160 "error": {"type": "string"}, 161 "error": {"type": "string"},
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 "enum": [ 195 "enum": [
195 "start", "testStart", "allSuites", "suite", "group", "print", 196 "start", "testStart", "allSuites", "suite", "group", "print",
196 "error", "testDone", "done" 197 "error", "testDone", "done"
197 ] 198 ]
198 } 199 }
199 } 200 }
200 } 201 }
201 } 202 }
202 ] 203 ]
203 } 204 }
OLDNEW
« no previous file with comments | « doc/json_reporter.md ('k') | lib/src/backend/invoker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698