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 CommandFactory
- type XcodeCommandRunner
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 (*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 CommandFactory ¶
CommandFactory is an autogenerated mock type for the Factory type
type XcodeCommandRunner ¶
XcodeCommandRunner is an autogenerated mock type for the Runner type
func NewXcodeCommandRunner ¶
func NewXcodeCommandRunner(t interface { mock.TestingT Cleanup(func()) }) *XcodeCommandRunner
NewXcodeCommandRunner creates a new instance of XcodeCommandRunner. 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 (*XcodeCommandRunner) CheckInstall ¶
func (_m *XcodeCommandRunner) CheckInstall() (*version.Version, error)
CheckInstall provides a mock function with given fields:
func (*XcodeCommandRunner) Run ¶
func (_m *XcodeCommandRunner) Run(workDir string, xcodebuildOpts []string, logFormatterOpts []string) (xcodecommand.Output, error)
Run provides a mock function with given fields: workDir, xcodebuildOpts, logFormatterOpts