Versions in this module Expand all Collapse all v0 v0.1.1 Oct 26, 2017 v0.1.0 Oct 24, 2017 Changes in this version + func CheckOutput(t *testing.T, tt CommandTest, stdout string, stderr string, exitCode int) + type CommandTest struct + Command []string + EnvVars []unversioned.EnvVar + ExcludedError []string + ExcludedOutput []string + ExitCode int + ExpectedError []string + ExpectedOutput []string + Name string + Setup []unversioned.Command + func (ct CommandTest) LogName() string + type FileContentTest struct + ExcludedContents []string + ExpectedContents []string + Name string + Path string + func (ft FileContentTest) LogName() string + type FileExistenceTest struct + Name string + Path string + Permissions string + ShouldExist bool + func (ft FileExistenceTest) LogName() string + type LicenseTest struct + Debian bool + Files []string + func (lt LicenseTest) LogName(num int) string + type StructureTest struct + CommandTests []CommandTest + DriverImpl func(string) (drivers.Driver, error) + FileContentTests []FileContentTest + FileExistenceTests []FileExistenceTest + GlobalEnvVars []unversioned.EnvVar + Image string + LicenseTests []LicenseTest + func (st *StructureTest) NewDriver() (drivers.Driver, error) + func (st *StructureTest) RunAll(t *testing.T) int + func (st *StructureTest) RunCommandTests(t *testing.T) int + func (st *StructureTest) RunFileExistenceTests(t *testing.T) int + func (st *StructureTest) RunLicenseTests(t *testing.T) int + func (st *StructureTest) SetDriverImpl(f func(string) (drivers.Driver, error), image string) + func (st StructureTest) RunFileContentTests(t *testing.T) int