Documentation
¶
Index ¶
- func RunGetBoolTest(t *testing.T, name string, f TestBoolFunc, value string, err error, ...)
- func RunGetBoolpTest(t *testing.T, name string, f TestBoolpFunc, value string, err error, ...)
- func RunGetFloatTest(t *testing.T, name string, f TestFloatFunc, value string, err error, ...)
- func RunGetFloatpTest(t *testing.T, name string, f TestFloatpFunc, value string, err error, ...)
- func RunGetIntTest(t *testing.T, name string, f TestIntFunc, value string, err error, ...)
- func RunGetIntpTest(t *testing.T, name string, f TestIntpFunc, value string, err error, ...)
- func RunGetStringTest(t *testing.T, name string, f TestStringFunc, value string, err error, ...)
- func RunGetStringpTest(t *testing.T, name string, f TestStringpFunc, value string, err error, ...)
- func RunRequiredBoolTest(t *testing.T, name string, f TestBoolFunc, err error)
- func RunRequiredBoolpTest(t *testing.T, name string, f TestBoolFunc, err error)
- func RunRequiredFloatTest(t *testing.T, name string, f TestFloatFunc, err error)
- func RunRequiredFloatpTest(t *testing.T, name string, f TestFloatFunc, err error)
- func RunRequiredIntTest(t *testing.T, name string, f TestIntFunc, err error)
- func RunRequiredIntpTest(t *testing.T, name string, f TestIntpFunc, err error)
- func RunRequiredStringTest(t *testing.T, name string, f TestStringFunc, err error)
- func RunRequiredStringpTest(t *testing.T, name string, f TestStringpFunc, err error)
- func RunSanitizedFloatTest(t *testing.T, f TestFloatSanityFunc, name, value string, err error, ...)
- func RunSanitizedFloatpTest(t *testing.T, f TestFloatpSanityFunc, name, value string, err error, ...)
- func RunSanitizedIntTest(t *testing.T, f TestIntSanityFunc, name, value string, err error, ...)
- func RunSanitizedIntpTest(t *testing.T, f TestIntpSanityFunc, name, value string, err error, ...)
- func RunSanitizedStringTest(t *testing.T, f TestStringSanityFunc, err error, ...)
- func RunSanitizedStringpTest(t *testing.T, f TestStringpSanityFunc, err error, ...)
- func Setup(t *testing.T, n string, v string)
- func TearDown(t *testing.T, n string)
- type TestBoolFunc
- type TestBoolpFunc
- type TestFloatFunc
- type TestFloatSanityFunc
- type TestFloatpFunc
- type TestFloatpSanityFunc
- type TestIntFunc
- type TestIntSanityFunc
- type TestIntpFunc
- type TestIntpSanityFunc
- type TestStringFunc
- type TestStringSanityFunc
- type TestStringpFunc
- type TestStringpSanityFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGetBoolTest ¶
func RunGetBoolTest(t *testing.T, name string, f TestBoolFunc, value string, err error, expectedValue bool)
RunGetBoolTest - Run the boolean test
func RunGetBoolpTest ¶
func RunGetBoolpTest(t *testing.T, name string, f TestBoolpFunc, value string, err error, expectedValue bool)
RunGetBoolpTest - Run the boolean (pointer) test
func RunGetFloatTest ¶
func RunGetFloatTest(t *testing.T, name string, f TestFloatFunc, value string, err error, expectedValue float64)
RunGetFloatTest - Run the Float test
func RunGetFloatpTest ¶
func RunGetFloatpTest(t *testing.T, name string, f TestFloatpFunc, value string, err error, expectedValue float64)
RunGetFloatpTest - Run the Float (pointer) test
func RunGetIntTest ¶
func RunGetIntTest(t *testing.T, name string, f TestIntFunc, value string, err error, expectedValue int)
RunGetIntTest - Run the Int test
func RunGetIntpTest ¶
func RunGetIntpTest(t *testing.T, name string, f TestIntpFunc, value string, err error, expectedValue int)
RunGetIntpTest - Run the Int (pointer) test
func RunGetStringTest ¶
func RunGetStringTest(t *testing.T, name string, f TestStringFunc, value string, err error, expectedValue string)
RunGetStringTest - Run the boolean (pointer) test
func RunGetStringpTest ¶
func RunGetStringpTest(t *testing.T, name string, f TestStringpFunc, value string, err error, expectedValue string)
RunGetStringpTest - Run the boolean test
func RunRequiredBoolTest ¶
func RunRequiredBoolTest(t *testing.T, name string, f TestBoolFunc, err error)
func RunRequiredBoolpTest ¶
func RunRequiredBoolpTest(t *testing.T, name string, f TestBoolFunc, err error)
func RunRequiredFloatTest ¶
func RunRequiredFloatTest(t *testing.T, name string, f TestFloatFunc, err error)
func RunRequiredFloatpTest ¶
func RunRequiredFloatpTest(t *testing.T, name string, f TestFloatFunc, err error)
func RunRequiredIntTest ¶
func RunRequiredIntTest(t *testing.T, name string, f TestIntFunc, err error)
func RunRequiredIntpTest ¶
func RunRequiredIntpTest(t *testing.T, name string, f TestIntpFunc, err error)
func RunRequiredStringTest ¶
func RunRequiredStringTest(t *testing.T, name string, f TestStringFunc, err error)
func RunRequiredStringpTest ¶
func RunRequiredStringpTest(t *testing.T, name string, f TestStringpFunc, err error)
func RunSanitizedFloatTest ¶
func RunSanitizedFloatTest(t *testing.T, f TestFloatSanityFunc, name, value string, err error, expectedValue, min, max float64)
RunSanitizedFloatTest - Run the SanitizedFloat test
func RunSanitizedFloatpTest ¶
func RunSanitizedFloatpTest(t *testing.T, f TestFloatpSanityFunc, name, value string, err error, expectedValue, min, max float64)
RunSanitizedFloatpTest - Run the SanitizedFloat (pointer) test
func RunSanitizedIntTest ¶
func RunSanitizedIntTest(t *testing.T, f TestIntSanityFunc, name, value string, err error, expectedValue, min, max int)
RunSanitizedIntTest - Run the SanitizedInt test
func RunSanitizedIntpTest ¶
func RunSanitizedIntpTest(t *testing.T, f TestIntpSanityFunc, name, value string, err error, expectedValue, min, max int)
RunSanitizedIntpTest - Run the SanitizedInt (pointer) test
func RunSanitizedStringTest ¶
func RunSanitizedStringTest(t *testing.T, f TestStringSanityFunc, err error, name, value, pattern, expectedValue string)
RunSanitizedStringTest - Run the SanitizedString test
func RunSanitizedStringpTest ¶
func RunSanitizedStringpTest(t *testing.T, f TestStringpSanityFunc, err error, name, value, pattern, expectedValue string)
RunSanitizedStringpTest - Run the SanitizedStringp (pointer) test
Types ¶
type TestBoolFunc ¶
TestBoolFunc - function pointer for Bool
type TestBoolpFunc ¶
TestBoolpFunc - function pointer for Boolp
type TestFloatFunc ¶
TestFloatFunc - function pointer for Float
type TestFloatSanityFunc ¶
TestFloatSanityFunc - function pointer for Float
type TestFloatpFunc ¶
TestFloatpFunc - function pointer for Float
type TestFloatpSanityFunc ¶
TestFloatpSanityFunc - function pointer for Float
type TestIntFunc ¶
TestIntFunc - function pointer for Int
type TestIntSanityFunc ¶
TestIntSanityFunc - function pointer for int
type TestIntpFunc ¶
TestIntpFunc - function pointer for Int
type TestIntpSanityFunc ¶
TestIntpSanityFunc - function pointer for int
type TestStringFunc ¶
TestStringFunc - function pointer for strings
type TestStringSanityFunc ¶
TestStringSanityFunc - function pointer for string
type TestStringpFunc ¶
TestStringpFunc - function pointer for stringp
Source Files
¶
- test.RunGetBoolTest.go
- test.RunGetBoolpTest.go
- test.RunGetFloatTest.go
- test.RunGetFloatpTest.go
- test.RunGetIntTest.go
- test.RunGetIntpTest.go
- test.RunGetStringTest.go
- test.RunGetStringpTest.go
- test.RunRequiredBoolTest.go
- test.RunRequiredBoolpTest.go
- test.RunRequiredFloatTest.go
- test.RunRequiredFloatpTest.go
- test.RunRequiredIntTest.go
- test.RunRequiredIntpTest.go
- test.RunRequiredStringTest.go
- test.RunRequiredStringpTest.go
- test.RunSanitizedFloatTest.go
- test.RunSanitizedFloatpTest.go
- test.RunSanitizedIntTest.go
- test.RunSanitizedIntpTest.go
- test.RunSanitizedStringTest.go
- test.RunSanitizedStringpTest.go
- test.Setup.go
- test.Teardown.go
- test.Type.go
- test.errorCheck.go
- test.valueCheck.go