* Report the status of each specific test case (there could be multiple * in one test file). * @param {WPTTestSpec} spec * @param {Test} test The Test object returned by WPT harness * @param {ReportResult} reportResult The report result object
(spec, test, reportResult)
| 878 | * @param {ReportResult} reportResult The report result object |
| 879 | */ |
| 880 | resultCallback(spec, test, reportResult) { |
| 881 | const status = this.getTestStatus(test.status); |
| 882 | if (status !== kPass) { |
| 883 | this.fail(spec, test, status, reportResult); |
| 884 | } else { |
| 885 | this.succeed(spec, test, status, reportResult); |
| 886 | } |
| 887 | } |
| 888 | |
| 889 | /** |
| 890 | * Report the status of each WPT test (one per file) |
no test coverage detected