Documentation
¶
Index ¶
- type Command
- func (_m *Command) PrintableCommandArgs() string
- func (_m *Command) Run() error
- func (_m *Command) RunAndReturnExitCode() (int, error)
- func (_m *Command) RunAndReturnTrimmedCombinedOutput() (string, error)
- func (_m *Command) RunAndReturnTrimmedOutput() (string, error)
- func (_m *Command) Start() error
- func (_m *Command) Wait() error
- type DeviceFinder
- type Factory
- type Logger
- func (_m *Logger) Debugf(format string, v ...interface{})
- func (_m *Logger) Donef(format string, v ...interface{})
- func (_m *Logger) EnableDebugLog(enable bool)
- func (_m *Logger) Errorf(format string, v ...interface{})
- func (_m *Logger) Infof(format string, v ...interface{})
- func (_m *Logger) Printf(format string, v ...interface{})
- func (_m *Logger) Println()
- func (_m *Logger) TDebugf(format string, v ...interface{})
- func (_m *Logger) TDonef(format string, v ...interface{})
- func (_m *Logger) TErrorf(format string, v ...interface{})
- func (_m *Logger) TInfof(format string, v ...interface{})
- func (_m *Logger) TPrintf(format string, v ...interface{})
- func (_m *Logger) TWarnf(format string, v ...interface{})
- func (_m *Logger) Warnf(format string, v ...interface{})
- type OutputExporter
- type PathProvider
- type Repository
- type Xcodebuild
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command is an autogenerated mock type for the Command type
func NewCommand ¶
NewCommand creates a new instance of Command. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Command) PrintableCommandArgs ¶
PrintableCommandArgs provides a mock function with given fields:
func (*Command) RunAndReturnExitCode ¶
RunAndReturnExitCode provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedCombinedOutput ¶
RunAndReturnTrimmedCombinedOutput provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedOutput ¶
RunAndReturnTrimmedOutput provides a mock function with given fields:
type DeviceFinder ¶
DeviceFinder is an autogenerated mock type for the DeviceFinder type
func NewDeviceFinder ¶
func NewDeviceFinder(t mockConstructorTestingTNewDeviceFinder) *DeviceFinder
NewDeviceFinder creates a new instance of DeviceFinder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeviceFinder) FindDevice ¶
func (_m *DeviceFinder) FindDevice(_a0 destination.Simulator) (destination.Device, error)
FindDevice provides a mock function with given fields: _a0
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func (*Logger) EnableDebugLog ¶
EnableDebugLog provides a mock function with given fields: enable
func (*Logger) Println ¶
func (_m *Logger) Println()
Println provides a mock function with given fields:
type OutputExporter ¶
OutputExporter is an autogenerated mock type for the OutputExporter type
func (*OutputExporter) CopyAndSaveTestData ¶
func (_m *OutputExporter) CopyAndSaveTestData(sourceTestOutputDir string, targetAddonPath string, targetAddonBundleName string) error
CopyAndSaveTestData provides a mock function with given fields: sourceTestOutputDir, targetAddonPath, targetAddonBundleName
func (*OutputExporter) ZipAndExportOutput ¶
func (_m *OutputExporter) ZipAndExportOutput(artifact string, destinationZipPth string, envKey string) error
ZipAndExportOutput provides a mock function with given fields: artifact, destinationZipPth, envKey
type PathProvider ¶
PathProvider is an autogenerated mock type for the PathProvider type
func NewPathProvider ¶
func NewPathProvider(t interface { mock.TestingT Cleanup(func()) }) *PathProvider
NewPathProvider creates a new instance of PathProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PathProvider) CreateTempDir ¶
func (_m *PathProvider) CreateTempDir(prefix string) (string, error)
CreateTempDir provides a mock function with given fields: prefix
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Get ¶
func (_m *Repository) Get(key string) string
Get provides a mock function with given fields: key
func (*Repository) List ¶
func (_m *Repository) List() []string
List provides a mock function with given fields:
func (*Repository) Set ¶
func (_m *Repository) Set(key string, value string) error
Set provides a mock function with given fields: key, value
func (*Repository) Unset ¶
func (_m *Repository) Unset(key string) error
Unset provides a mock function with given fields: key
type Xcodebuild ¶
Xcodebuild is an autogenerated mock type for the Xcodebuild type
func NewXcodebuild ¶
func NewXcodebuild(t interface { mock.TestingT Cleanup(func()) }) *Xcodebuild
NewXcodebuild creates a new instance of Xcodebuild. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Xcodebuild) TestWithoutBuilding ¶
func (_m *Xcodebuild) TestWithoutBuilding(xctestrun string, onlyTesting []string, skipTesting []string, _a3 destination.Device, testRepetitionMode string, maximumTestRepetitions int, relaunchTestsForEachRepetition bool, options ...string) (string, error)
TestWithoutBuilding provides a mock function with given fields: xctestrun, onlyTesting, skipTesting, _a3, testRepetitionMode, maximumTestRepetitions, relaunchTestsForEachRepetition, options