]> Cypherpunks repositories - gostls13.git/commit
src: use internal tests if possible
authorRobin Eklind <r.eklind.87@gmail.com>
Tue, 19 Feb 2013 15:02:01 +0000 (10:02 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 19 Feb 2013 15:02:01 +0000 (10:02 -0500)
commitd137a2cb564c50ba104b5699c2a34ad393976564
tree1cc26ac242209532a929b0ef0026c2cdbd0144a3
parentd251fc39f2b3fc27a526a02dfc39cb750746ed7f
src: use internal tests if possible

If a test can be placed in the same package ("internal"), it is placed
there. This facilitates testing of package-private details. Because of
dependency cycles some packages cannot be tested by internal tests.

R=golang-dev, rsc, mikioh.mikioh
CC=golang-dev, r
https://golang.org/cl/7323044
13 files changed:
src/pkg/container/heap/heap_test.go
src/pkg/crypto/md5/md5_test.go
src/pkg/crypto/sha1/sha1_test.go
src/pkg/go/build/deps_test.go
src/pkg/io/ioutil/ioutil_test.go
src/pkg/io/ioutil/tempfile_test.go
src/pkg/net/conn_test.go
src/pkg/net/http/filetransport_test.go
src/pkg/net/packetconn_test.go
src/pkg/net/protoconn_test.go
src/pkg/path/filepath/match_test.go
src/pkg/runtime/debug/garbage_test.go
src/pkg/runtime/debug/stack_test.go