| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |