...

Package testing

Overview ▾

func GetDevfileData

func GetDevfileData(t *testing.T, inlined []InlinedComponent, uriComp []URIComponent) data.DevfileData

GetDevfileData can be used to build a devfile structure for tests

func SetupTestFolder

func SetupTestFolder(testFolderName string, fs devfileFileSystem.Filesystem) (devfileFileSystem.File, error)

SetupTestFolder for testing

type InlinedComponent

type InlinedComponent struct {
    Name    string
    Inlined string
}

type URIComponent

type URIComponent struct {
    Name string
    URI  string
}