github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/integration/helpers/version_v7.go (about)

     1  // +build V7
     2  
     3  package helpers
     4  
     5  import (
     6  	"fmt"
     7  
     8  	. "github.com/onsi/ginkgo"
     9  )
    10  
    11  const V7 = true
    12  
    13  // SkipIfV7AndVersionLessThan is used to skip tests if the target build is V7 and API version < the specified version
    14  // If minVersion contains the prefix 3 then the v3 version is checked, otherwise the v2 version is used.
    15  func SkipIfV7AndVersionLessThan(minVersion string) {
    16  	SkipIfVersionLessThan(minVersion)
    17  }
    18  
    19  // SkipIfV7 is used to skip tests if the target build is V7.
    20  func SkipIfV7() {
    21  	Skip(fmt.Sprintf("Not implemented for V7 yet"))
    22  }