aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing.go
AgeCommit message (Collapse)Author
2009-05-05directory-per-package step 1: move files from lib/X.go to lib/X/X.goRob Pike
no substantive changes except: - new Makefiles, all auto-generated - go/src/lib/Makefile has been extensively edited R=rsc OCL=28310 CL=28310
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-03-05document testing and incidentally gotestRob Pike
R=rsc DELTA=25 (25 added, 0 deleted, 0 changed) OCL=25798 CL=25802
2009-01-30update go code tree to new func rules.Russ Cox
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16casify struct fields in entire tree.Russ Cox
TBR=r OCL=22997 CL=22997
2009-01-16casify, cleanup sysRuss Cox
R=r OCL=22978 CL=22984
2009-01-16casify a few moreRob Pike
R=rsc DELTA=72 (0 added, 9 deleted, 63 changed) OCL=22918 CL=22941
2009-01-15printf->Printf etc.Rob Pike
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-09simplify flag interface. no more BVal etc. you just get a pointer.Rob Pike
fixed everything except the tutorial. R=rsc DELTA=404 (94 added, 139 deleted, 171 changed) OCL=22414 CL=22422
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox
R=r OCL=21563 CL=21571
2008-11-25gotest: change pattern to Test([^a-z].*)?Russ Cox
warn about files with no tests be clear about where testing warnings come from R=r DELTA=18 (12 added, 3 deleted, 3 changed) OCL=19988 CL=19993
2008-11-21utf8 routines in go; a start.Russ Cox
also: * parse flags in testing.Main. * add make test in src/lib. R=r DELTA=323 (323 added, 0 deleted, 0 changed) OCL=19831 CL=19850
2008-11-20automatically add tabs after newlinesRob Pike
R=gri DELTA=12 (10 added, 0 deleted, 2 changed) OCL=19758 CL=19758
2008-11-19change naming convention for tests fromRob Pike
test*.go to *test.go R=rsc DELTA=1747 (864 added, 855 deleted, 28 changed) OCL=19666 CL=19666
2008-11-19add a type testing.T and use it in tests.Rob Pike
update uses of gotest. minor tweak to testing structure for protobuf. R=rsc DELTA=276 (71 added, 75 deleted, 130 changed) OCL=19614 CL=19621
2008-11-19gotest, via testing.go, should warn you if you failed to create any tests.Rob Pike
when chatty, it should tell you how many there are. R=rsc DELTA=5 (5 added, 0 deleted, 0 changed) OCL=19590 CL=19590
2008-11-18add -chatty flag to test.Russ Cox
was supposed to be in some other cl but got dropped. R=r DELTA=21 (16 added, 2 deleted, 3 changed) OCL=19531 CL=19539
2008-11-18testing support libraryRob Pike
R=rsc OCL=19496 CL=19496