github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/cf/commands/application/application_suite_test.go (about)

     1  package application_test
     2  
     3  import (
     4  	"github.com/cloudfoundry/cli/cf/i18n"
     5  	"github.com/cloudfoundry/cli/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  }