summaryrefslogtreecommitdiff
path: root/src/lib/testing.go
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05document testing and incidentally gotestRob Pike1-0/+25
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 Cox1-1/+1
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-20delete exportRuss Cox1-3/+3
TBR=r OCL=23121 CL=23127
2009-01-16casify struct fields in entire tree.Russ Cox1-6/+6
TBR=r OCL=22997 CL=22997
2009-01-16casify, cleanup sysRuss Cox1-2/+2
R=r OCL=22978 CL=22984
2009-01-16casify a few moreRob Pike1-6/+6
R=rsc DELTA=72 (0 added, 9 deleted, 63 changed) OCL=22918 CL=22941
2009-01-15printf->Printf etc.Rob Pike1-2/+2
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 Pike1-6/+3
fixed everything except the tutorial. R=rsc DELTA=404 (94 added, 139 deleted, 171 changed) OCL=22414 CL=22422
2009-01-06new new & makeRuss Cox1-2/+2
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-2/+2
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-1/+1
R=r OCL=21563 CL=21571
2008-11-25gotest: change pattern to Test([^a-z].*)?Russ Cox1-1/+1
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 Cox1-0/+1
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 Pike1-2/+12
R=gri DELTA=12 (10 added, 0 deleted, 2 changed) OCL=19758 CL=19758
2008-11-19change naming convention for tests fromRob Pike1-0/+3
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 Pike1-12/+66
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 Pike1-0/+5
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 Cox1-5/+19
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 Pike1-0/+26
R=rsc OCL=19496 CL=19496