github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/cf/commands/application/application_suite_test.go (about) 1 package application_test 2 3 import ( 4 "code.cloudfoundry.org/cli/cf/i18n" 5 "code.cloudfoundry.org/cli/util/testhelpers/configuration" 6 7 . "github.com/onsi/ginkgo" 8 . "github.com/onsi/gomega" 9 10 "testing" 11 ) 12 13 func TestApplication(t *testing.T) { 14 config := configuration.NewRepositoryWithDefaults() 15 i18n.T = i18n.Init(config) 16 17 RegisterFailHandler(Fail) 18 RunSpecs(t, "Application Suite") 19 } 20 21 type passingRequirement struct { 22 Name string 23 } 24 25 func (r passingRequirement) Execute() error { 26 return nil 27 }