]> Cypherpunks repositories - gostls13.git/commit
testing: prepare for the introduction of Run methods
authorMarcel van Lohuizen <mpvl@golang.org>
Tue, 19 Jan 2016 21:43:52 +0000 (22:43 +0100)
committerMarcel van Lohuizen <mpvl@golang.org>
Fri, 18 Mar 2016 11:25:54 +0000 (11:25 +0000)
commit5c83e651adfa78d73634557cfaf2fbc9bde599f0
tree3be8dd27e5d265a62fc58d62f8d0fd1285d89812
parent248c3a3c7b376e128c14fcb13eebf28733553d03
testing: prepare for the introduction of Run methods

The biggest change is that each test is now responsible for managing
the starting and stopping of its parallel subtests.

The "Main" test could be run as a tRunner as well. This shows that
the introduction of subtests is merely a generalization of and
consistent with the current semantics.

Change-Id: Ibf8388c08f85d4b2c0df69c069326762ed36a72e
Reviewed-on: https://go-review.googlesource.com/18893
Reviewed-by: Russ Cox <rsc@golang.org>
src/testing/benchmark.go
src/testing/sub_test.go [new file with mode: 0644]
src/testing/testing.go
test/fixedbugs/bug229.go