Home | History | Annotate | Download | only in testresult

Lines Matching refs:Result

15 // testresult is an implementation of Chromium's JSON test result format. See
32 Tests map[string]Result `json:"tests"`
41 Tests: make(map[string]Result),
45 func (t *Results) addResult(name, result, expected string) {
49 t.Tests[name] = Result{
50 Actual: result,
52 IsUnexpected: result != expected,
54 t.NumFailuresByType[result]++
57 // AddResult records a test result with the given result string. The test is a
58 // failure if the result is not "PASS".
59 func (t *Results) AddResult(name, result string) {
60 t.addResult(name, result, "PASS")
91 type Result struct {