github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/cf/commands/route/route_suite_test.go (about) 1 package route_test 2 3 import ( 4 "code.cloudfoundry.org/cli/cf/i18n" 5 "code.cloudfoundry.org/cli/util/testhelpers/configuration" 6 . "github.com/onsi/ginkgo" 7 . "github.com/onsi/gomega" 8 9 "testing" 10 ) 11 12 func TestRoute(t *testing.T) { 13 config := configuration.NewRepositoryWithDefaults() 14 i18n.T = i18n.Init(config) 15 16 RegisterFailHandler(Fail) 17 RunSpecs(t, "Route Suite") 18 } 19 20 type passingRequirement struct { 21 Name string 22 } 23 24 func (r passingRequirement) Execute() error { 25 return nil 26 }