testing.common.output (field)
23 uses
testing (current package)
benchmark.go#L236: fmt.Fprintf(b.w, "--- FAIL: %s\n%s", b.name, b.output)
benchmark.go#L246: if b.chatty != nil && (len(b.output) > 0 || b.finished) {
benchmark.go#L248: fmt.Fprintf(b.w, "--- %s: %s\n%s", tag, b.name, b.output)
benchmark.go#L585: fmt.Fprintf(b.w, "--- FAIL: %s\n%s", benchName, b.output)
benchmark.go#L598: if len(b.output) > 0 {
benchmark.go#L600: fmt.Fprintf(b.w, "--- BENCH: %s\n%s", benchName, b.output)
benchmark.go#L702: for nlCount, j := 0, 0; j < len(b.output); j++ {
benchmark.go#L703: if b.output[j] == '\n' {
benchmark.go#L706: b.output = append(b.output[:j], "\n\t... [output truncated]\n"...)
testing.go#L387: output []byte // Output generated by test or benchmark.
testing.go#L576: if len(c.output) > 0 {
testing.go#L578: args = append(args[:len(args):len(args)], c.output)
testing.go#L579: c.output = c.output[:0] // but why?
testing.go#L616: w.c.output = append(w.c.output, indent...)
testing.go#L617: w.c.output = append(w.c.output, b[:end]...)
testing.go#L760: parent.output = append(parent.output, parent.decorate(s, depth+1)...)
testing.go#L777: c.output = append(c.output, c.decorate(s, depth+1)...)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |