mirror of
https://github.com/golang/go.git
synced 2025-11-01 17:20:56 +00:00
testing: add TB.Setenv
For #41260 and #46688. Change-Id: I6f42742cc3234a90003136ae8798a6b0e1291788 Reviewed-on: https://go-review.googlesource.com/c/go/+/326790 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
ef8ae82b37
commit
877688c838
2 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ pkg syscall (windows-amd64), type SysProcAttr struct, AdditionalInheritedHandles
|
||||||
pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle
|
pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle
|
||||||
pkg testing, method (*B) Setenv(string, string)
|
pkg testing, method (*B) Setenv(string, string)
|
||||||
pkg testing, method (*T) Setenv(string, string)
|
pkg testing, method (*T) Setenv(string, string)
|
||||||
|
pkg testing, type TB interface, Setenv(string, string)
|
||||||
pkg text/template/parse, const SkipFuncCheck = 2
|
pkg text/template/parse, const SkipFuncCheck = 2
|
||||||
pkg text/template/parse, const SkipFuncCheck Mode
|
pkg text/template/parse, const SkipFuncCheck Mode
|
||||||
pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
|
pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
|
||||||
|
|
|
||||||
|
|
@ -644,6 +644,7 @@ type TB interface {
|
||||||
Log(args ...interface{})
|
Log(args ...interface{})
|
||||||
Logf(format string, args ...interface{})
|
Logf(format string, args ...interface{})
|
||||||
Name() string
|
Name() string
|
||||||
|
Setenv(key, value string)
|
||||||
Skip(args ...interface{})
|
Skip(args ...interface{})
|
||||||
SkipNow()
|
SkipNow()
|
||||||
Skipf(format string, args ...interface{})
|
Skipf(format string, args ...interface{})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue