mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 05:00:15 -05:00
parser/gotest: Add tests 28 and 29
This commit is contained in:
parent
1a0c32347c
commit
84801b696c
@ -411,8 +411,20 @@ var tests = []struct {
|
|||||||
{Type: "status", Result: "PASS"},
|
{Type: "status", Result: "PASS"},
|
||||||
{Type: "summary", Result: "ok", Name: "really/small", Duration: 4344 * time.Millisecond},
|
{Type: "summary", Result: "ok", Name: "really/small", Duration: 4344 * time.Millisecond},
|
||||||
}},
|
}},
|
||||||
{"28-bench-1cpu", []gtr.Event{}},
|
{"28-bench-1cpu",
|
||||||
{"29-bench-16cpu", []gtr.Event{}},
|
[]gtr.Event{
|
||||||
|
{Type: "output", Data: "pkg: single/cpu"},
|
||||||
|
{Type: "benchmark", Name: "BenchmarkRing", Iterations: 20000000, NsPerOp: 74.2},
|
||||||
|
{Type: "status", Result: "PASS"},
|
||||||
|
{Type: "summary", Result: "ok", Name: "single/cpu", Duration: 9467 * time.Millisecond},
|
||||||
|
}},
|
||||||
|
{"29-bench-16cpu",
|
||||||
|
[]gtr.Event{
|
||||||
|
{Type: "output", Data: "pkg: sixteen/cpu"},
|
||||||
|
{Type: "benchmark", Name: "BenchmarkRingaround", Iterations: 100000, NsPerOp: 13571},
|
||||||
|
{Type: "status", Result: "PASS"},
|
||||||
|
{Type: "summary", Result: "ok", Name: "sixteen/cpu", Duration: 1522 * time.Millisecond},
|
||||||
|
}},
|
||||||
{"30-stdout", []gtr.Event{}},
|
{"30-stdout", []gtr.Event{}},
|
||||||
{"31-syntax-error-test-binary", []gtr.Event{}},
|
{"31-syntax-error-test-binary", []gtr.Event{}},
|
||||||
{"32-failed-summary", []gtr.Event{}},
|
{"32-failed-summary", []gtr.Event{}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user