1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:07:57 -07:00
go/src/testing
Ian Lance Taylor b0b1d42db3 all: change from sort functions to slices functions where feasible
Doing this because the slices functions are slightly faster and
slightly easier to use. It also removes one dependency layer.

This CL does not change packages that are used during bootstrap,
as the bootstrap compiler does not have the required slices functions.
It does not change the go/scanner package because the ErrorList
Len, Swap, and Less methods are part of the Go 1 API.

Change-Id: If52899be791c829198e11d2408727720b91ebe8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/587655
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-05-23 01:00:11 +00:00
..
fstest all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
internal/testdeps runtime/coverage: remove uses of //go:linkname 2024-05-21 19:41:02 +00:00
iotest testing: add available godoc link 2023-11-08 17:55:47 +00:00
quick testing: add available godoc link 2023-11-08 17:55:47 +00:00
slogtest testing: add available godoc link 2023-11-08 17:55:47 +00:00
allocs_test.go
allocs.go
benchmark_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
benchmark.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
cover.go cmd/go,testing: re-implement testing.Coverage 2023-05-23 11:37:31 +00:00
example.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
export_test.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
flag_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
fuzz.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
helper_test.go testing: use subprocesses in TestTBHelper and TestTBHelperParallel 2023-11-21 17:24:47 +00:00
helperfuncs_test.go testing: use subprocesses in TestTBHelper and TestTBHelperParallel 2023-11-21 17:24:47 +00:00
match_test.go
match.go all: use built-in clear to clear maps 2023-07-27 22:07:13 +00:00
newcover.go internal/coverage/cfile: remove //go:linkname into testing 2024-05-22 09:58:07 +00:00
panic_test.go Revert "testing: simplify concurrency and cleanup logic" 2023-11-27 16:49:24 +00:00
run_example_wasm.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
run_example.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
sub_test.go testing: add regression tests for reentrant calls to T.Run 2023-12-01 21:27:08 +00:00
testing_other.go testing: use time.Since in highPrecisionTime 2024-04-27 19:42:36 +00:00
testing_test.go runtime: properly frame panic values in tracebacks 2024-05-08 19:10:41 +00:00
testing_windows_test.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
testing_windows.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
testing.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00