| OLD | NEW |
| 1 JSON Reporter Protocol | 1 JSON Reporter Protocol |
| 2 ====================== | 2 ====================== |
| 3 | 3 |
| 4 The test runner supports a JSON reporter which provides a machine-readable | 4 The test runner supports a JSON reporter which provides a machine-readable |
| 5 representation of the test runner's progress. This reporter is intended for use | 5 representation of the test runner's progress. This reporter is intended for use |
| 6 by IDEs and other tools to present a custom view of the test runner's operation | 6 by IDEs and other tools to present a custom view of the test runner's operation |
| 7 without needing to parse output intended for humans. | 7 without needing to parse output intended for humans. |
| 8 | 8 |
| 9 Note that the test runner is highly asynchronous, and users of this protocol | 9 Note that the test runner is highly asynchronous, and users of this protocol |
| 10 shouldn't make assumptions about the ordering of events beyond what's explicitly | 10 shouldn't make assumptions about the ordering of events beyond what's explicitly |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 class Metadata { | 364 class Metadata { |
| 365 // Whether the test case will be skipped by the test runner. | 365 // Whether the test case will be skipped by the test runner. |
| 366 bool skip; | 366 bool skip; |
| 367 | 367 |
| 368 // The reason the test case is skipped, if the user provided it. | 368 // The reason the test case is skipped, if the user provided it. |
| 369 String? skipReason; | 369 String? skipReason; |
| 370 } | 370 } |
| 371 ``` | 371 ``` |
| 372 | 372 |
| 373 The metadata attached to a test by a user. | 373 The metadata attached to a test by a user. |
| OLD | NEW |