summaryrefslogtreecommitdiff
path: root/src/pkg/testing
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi12-2237/+0
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg3-14/+188
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg8-75/+412
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg3-7/+14
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg4-104/+313
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý14-633/+440
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý13-0/+1703
2011-09-13Imported Upstream version 60Ondřej Surý13-1704/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý3-39/+108
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý2-7/+25
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý5-33/+32
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý3-71/+158
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý2-7/+11
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-2/+6
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý2-11/+12
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý9-1179/+67
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-31/+34
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-06-14remove uses of ... from tree, add one testRuss Cox1-3/+7
R=r CC=golang-dev http://codereview.appspot.com/1662041
2010-04-11testing: update documentation to match current coding styleChristopher Wedgwood3-10/+10
R=rsc, r CC=golang-dev http://codereview.appspot.com/823045 Committer: Rob Pike <r@golang.org>
2010-03-31testing/regexp: use recover.Rob Pike1-58/+31
R=rsc CC=golang-dev http://codereview.appspot.com/816042 Committer: Rob Pike <r@golang.org>
2010-03-26fix buildRobert Griesemer1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/790041
2010-03-26regexp: don't return non-nil *Regexp if there is an error.Rob Pike1-0/+3
R=gri CC=golang-dev http://codereview.appspot.com/787041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-1/+1
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2010-03-16gofmt: more consistent formatting of const/var declsRobert Griesemer1-11/+11
- gofmt -w src misc - only manually modified file: src/pkg/go/printer/nodes.go R=rsc CC=golang-dev, r http://codereview.appspot.com/606041
2010-02-26testing/benchmark: paranoia - make sure n always growsRuss Cox1-1/+9
R=wcn CC=golang-dev http://codereview.appspot.com/223075
2010-02-25strings: delete Runes, BytesRuss Cox1-7/+3
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-07testing: Fix comment typoEvan Shaw1-1/+1
R=iant, rsc CC=golang-dev http://codereview.appspot.com/204068 Committer: Ian Lance Taylor <iant@golang.org>
2010-02-02Change type of Printf's args to ... interface{}Rob Pike1-6/+6
R=rsc CC=golang-dev http://codereview.appspot.com/197043
2009-12-151) Change default gofmt default settings forRobert Griesemer11-795/+795
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-11Various cleanups:Robert Griesemer1-2/+1
- no need to replace comments for stand-alone blocks - always print string concatenations with interspersed "+" (remove option) - minor cleanups R=rsc http://codereview.appspot.com/174076
2009-12-04testing: compute MB/s in benchmarksRuss Cox1-1/+11
R=r http://codereview.appspot.com/166060
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia4-8/+8
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-23Fix doc striing for NewReadLogger.Rob Pike1-2/+2
Fixes issue 315. R=rsc http://codereview.appspot.com/157140
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox2-2/+2
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-19Adds benchmark support to gotest.Trevor Strohman4-0/+208
No benchmarks are run unless the --benchmarks=<regexp> flag is specified on the gotest command line. This change includes sample benchmarks for regexp. % gotest --benchmarks=.* (standard test output redacted) testing.BenchmarkSimpleMatch 200000 7799 ns/op testing.BenchmarkUngroupedMatch 20000 76898 ns/op testing.BenchmarkGroupedMatch 50000 38148 ns/op R=r, rsc http://codereview.appspot.com/154173 Committer: Russ Cox <rsc@golang.org>
2009-11-18remove bytes.CopyRob Pike1-2/+1
replace all calls with calls to copy use copy in regexp and bytes.Buffer R=rsc CC=golang-dev http://codereview.appspot.com/157073
2009-11-10make regexp comment not a package commentRuss Cox1-0/+1
R=r http://go/go-review/1025036
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer4-16/+16
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer10-161/+161
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer6-231/+77
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt'ed more stragglersRobert Griesemer2-11/+11
R=rsc http://go/go-review/1019004
2009-11-03Add testing/script.Adam Langley3-0/+475
R=rsc, r CC=go-dev http://go/go-review/1016001
2009-11-02eliminate goroutine from testing/regexp too.Rob Pike1-75/+77
R=rsc CC=go-dev http://go/go-review/1018021
2009-10-28Add a quickcheck package which is a little like the Haskell one of the sameAdam Langley3-0/+564
name. R=rsc APPROVED=rsc DELTA=566 (566 added, 0 deleted, 0 changed) OCL=35974 CL=36111
2009-10-08more lgtm files from gofmtRuss Cox4-183/+238
R=gri OCL=35485 CL=35488
2009-10-07apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync ↵Russ Cox4-23/+22
syscall testing time unicode unsafe utf8 R=gri DELTA=1409 (79 added, 24 deleted, 1306 changed) OCL=35415 CL=35437
2009-10-05Add write support for the GNU tar binary numeric field extension.David Symonds2-0/+39
R=rsc APPROVED=rsc DELTA=102 (89 added, 1 deleted, 12 changed) OCL=35321 CL=35327
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-1/+0
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-01Don't crash for regexps > 19 characters.Austin Clements1-1/+1
R=r APPROVED=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=34216 CL=34220
2009-08-28Run the tests for the testing package. Fix them so that theyIan Lance Taylor1-15/+14
work. R=rsc DELTA=16 (1 added, 1 deleted, 14 changed) OCL=34012 CL=34038