Lines Matching refs:testOutput
59 // testOutput is a representation of Chromium's JSON test result format. See
61 type testOutput struct {
97 func newTestOutput() *testOutput {
98 return &testOutput{
107 func (t *testOutput) addResult(name, result string) {
119 func (t *testOutput) writeTo(name string) error {
347 testOutput := newTestOutput()
358 testOutput.addResult(name, "CRASHED")
362 testOutput.addResult(name, "FAIL")
364 testOutput.addResult(name, "PASS")
369 if err := testOutput.writeTo(*jsonOutput); err != nil {