Home | History | Annotate | Download | only in util

Lines Matching refs:json

19 	"encoding/json"
37 jsonOutput = flag.String("json-output", "", "The file to output JSON results to.")
44 // testOutput is a representation of Chromium's JSON test result format. See
45 // https://www.chromium.org/developers/the-json-test-results-format
47 Version int `json:"version"`
48 Interrupted bool `json:"interrupted"`
49 PathDelimiter string `json:"path_delimiter"`
50 SecondsSinceEpoch float64 `json:"seconds_since_epoch"`
51 NumFailuresByType map[string]int `json:"num_failures_by_type"`
52 Tests map[string]testResult `json:"tests"`
56 Actual string `json:"actual"`
57 Expected string `json:"expected"`
58 IsUnexpected bool `json:"is_unexpected"`
89 out, err := json.MarshalIndent(t, "", " ")
220 decoder := json.NewDecoder(in)
232 tests, err := parseTestConfig("util/all_tests.json")