MCPcopy
hub / github.com/cloudfoundry/cli / SkipIfUAAVersionLessThan

Function SkipIfUAAVersionLessThan

integration/helpers/version.go:75–79  ·  view source on GitHub ↗

SkipIfUAAVersionLessThan is used to skip tests if the UAA version is < the specified version

(version string)

Source from the content-addressed store, hash-verified

73
74// SkipIfUAAVersionLessThan is used to skip tests if the UAA version is < the specified version
75func SkipIfUAAVersionLessThan(version string) {
76 if !IsUAAVersionAtLeast(version) {
77 Skip(fmt.Sprintf("Test requires UAA version at least %s", version))
78 }
79}
80
81// SkipIfUAAVersionAtLeast is used to skip tests if the UAA version >= the specified version.
82func SkipIfUAAVersionAtLeast(version string) {

Callers 1

Calls 1

IsUAAVersionAtLeastFunction · 0.85

Tested by

no test coverage detected