| OLD | NEW |
| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 "type": {"enum": ["error"]}, | 158 "type": {"enum": ["error"]}, |
| 159 "testID": {"type": "integer", "minimum": 0}, | 159 "testID": {"type": "integer", "minimum": 0}, |
| 160 "error": {"type": "string"}, | 160 "error": {"type": "string"}, |
| 161 "stackTrace": {"type": "string"}, | 161 "stackTrace": {"type": "string"}, |
| 162 "isFailure": {"type": "boolean"} | 162 "isFailure": {"type": "boolean"} |
| 163 } | 163 } |
| 164 }, | 164 }, |
| 165 | 165 |
| 166 { | 166 { |
| 167 "title": "TestDoneEvent", | 167 "title": "TestDoneEvent", |
| 168 "required": ["testID", "result", "hidden"], | 168 "required": ["testID", "result", "hidden", "skipped"], |
| 169 "properties": { | 169 "properties": { |
| 170 "type": {"enum": ["testDone"]}, | 170 "type": {"enum": ["testDone"]}, |
| 171 "testID": {"type": "integer", "minimum": 0}, | 171 "testID": {"type": "integer", "minimum": 0}, |
| 172 "result": {"type": "string", "enum": ["success", "failure", "error"]}, | 172 "result": {"type": "string", "enum": ["success", "failure", "error"]}, |
| 173 "hidden": {"type": "boolean"} | 173 "hidden": {"type": "boolean"}, |
| 174 "skipped": {"type": "boolean"} |
| 174 } | 175 } |
| 175 }, | 176 }, |
| 176 | 177 |
| 177 { | 178 { |
| 178 "title": "DoneEvent", | 179 "title": "DoneEvent", |
| 179 "required": ["success"], | 180 "required": ["success"], |
| 180 "properties": { | 181 "properties": { |
| 181 "type": {"enum": ["done"]}, | 182 "type": {"enum": ["done"]}, |
| 182 "success": {"type": "boolean"} | 183 "success": {"type": "boolean"} |
| 183 } | 184 } |
| 184 }, | 185 }, |
| 185 | 186 |
| 186 { | 187 { |
| 187 "title": "FutureEvent", | 188 "title": "FutureEvent", |
| 188 "description": | 189 "description": |
| 189 "A placeholder event to allow new events to be added in the future.", | 190 "A placeholder event to allow new events to be added in the future.", |
| 190 "properties": { | 191 "properties": { |
| 191 "type": { | 192 "type": { |
| 192 "not": { | 193 "not": { |
| 193 "enum": [ | 194 "enum": [ |
| 194 "start", "testStart", "allSuites", "suite", "group", "print", | 195 "start", "testStart", "allSuites", "suite", "group", "print", |
| 195 "error", "testDone", "done" | 196 "error", "testDone", "done" |
| 196 ] | 197 ] |
| 197 } | 198 } |
| 198 } | 199 } |
| 199 } | 200 } |
| 200 } | 201 } |
| 201 ] | 202 ] |
| 202 } | 203 } |
| OLD | NEW |