Documentation ¶
Index ¶
- type DeviceFinder
- type Exporter
- func (_m *Exporter) ExportSimulatorDiagnostics(deployDir string, pth string, name string) error
- func (_m *Exporter) ExportTestRunResult(failed bool)
- func (_m *Exporter) ExportXCResultBundle(deployDir string, xcResultPath string, scheme string)
- func (_m *Exporter) ExportXcodebuildBuildLog(deployDir string, xcodebuildBuildLog string) error
- func (_m *Exporter) ExportXcodebuildTestLog(deployDir string, xcodebuildTestLog string) error
- type PathModifier
- type PathProvider
- type Repository
- type SimulatorManager
- func (_m *SimulatorManager) Boot(device destination.Device) error
- func (_m *SimulatorManager) CollectDiagnostics() (string, error)
- func (_m *SimulatorManager) EnableVerboseLog(id string) error
- func (_m *SimulatorManager) Erase(id string) error
- func (_m *SimulatorManager) LaunchWithGUI(simulatorID string) error
- func (_m *SimulatorManager) ResetLaunchServices() error
- func (_m *SimulatorManager) Shutdown(id string) error
- func (_m *SimulatorManager) WaitForBootFinished(id string, timeout time.Duration) error
- type SwiftPackageCache
- type XcodeVersionProvider
- type Xcodebuild
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 Exporter ¶
Exporter is an autogenerated mock type for the Exporter type
func NewExporter ¶
func NewExporter(t mockConstructorTestingTNewExporter) *Exporter
NewExporter creates a new instance of Exporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Exporter) ExportSimulatorDiagnostics ¶
ExportSimulatorDiagnostics provides a mock function with given fields: deployDir, pth, name
func (*Exporter) ExportTestRunResult ¶
ExportTestRunResult provides a mock function with given fields: failed
func (*Exporter) ExportXCResultBundle ¶
ExportXCResultBundle provides a mock function with given fields: deployDir, xcResultPath, scheme
func (*Exporter) ExportXcodebuildBuildLog ¶
ExportXcodebuildBuildLog provides a mock function with given fields: deployDir, xcodebuildBuildLog
type PathModifier ¶
PathModifier is an autogenerated mock type for the PathModifier type
func NewPathModifier ¶
func NewPathModifier(t mockConstructorTestingTNewPathModifier) *PathModifier
NewPathModifier creates a new instance of PathModifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type PathProvider ¶
PathProvider is an autogenerated mock type for the PathProvider type
func NewPathProvider ¶
func NewPathProvider(t mockConstructorTestingTNewPathProvider) *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.
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 NewRepository ¶
func NewRepository(t mockConstructorTestingTNewRepository) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
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 SimulatorManager ¶
SimulatorManager is an autogenerated mock type for the Manager type
func NewSimulatorManager ¶
func NewSimulatorManager(t interface { mock.TestingT Cleanup(func()) }) *SimulatorManager
NewSimulatorManager creates a new instance of SimulatorManager. 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 (*SimulatorManager) Boot ¶
func (_m *SimulatorManager) Boot(device destination.Device) error
Boot provides a mock function with given fields: device
func (*SimulatorManager) CollectDiagnostics ¶
func (_m *SimulatorManager) CollectDiagnostics() (string, error)
CollectDiagnostics provides a mock function with given fields:
func (*SimulatorManager) EnableVerboseLog ¶
func (_m *SimulatorManager) EnableVerboseLog(id string) error
EnableVerboseLog provides a mock function with given fields: id
func (*SimulatorManager) Erase ¶
func (_m *SimulatorManager) Erase(id string) error
Erase provides a mock function with given fields: id
func (*SimulatorManager) LaunchWithGUI ¶
func (_m *SimulatorManager) LaunchWithGUI(simulatorID string) error
LaunchWithGUI provides a mock function with given fields: simulatorID
func (*SimulatorManager) ResetLaunchServices ¶
func (_m *SimulatorManager) ResetLaunchServices() error
ResetLaunchServices provides a mock function with given fields:
func (*SimulatorManager) Shutdown ¶
func (_m *SimulatorManager) Shutdown(id string) error
Shutdown provides a mock function with given fields: id
func (*SimulatorManager) WaitForBootFinished ¶
func (_m *SimulatorManager) WaitForBootFinished(id string, timeout time.Duration) error
WaitForBootFinished provides a mock function with given fields: id, timeout
type SwiftPackageCache ¶
SwiftPackageCache is an autogenerated mock type for the SwiftPackageCache type
func NewSwiftPackageCache ¶
func NewSwiftPackageCache(t mockConstructorTestingTNewSwiftPackageCache) *SwiftPackageCache
NewSwiftPackageCache creates a new instance of SwiftPackageCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SwiftPackageCache) CollectSwiftPackages ¶
func (_m *SwiftPackageCache) CollectSwiftPackages(projectPath string) error
CollectSwiftPackages provides a mock function with given fields: projectPath
func (*SwiftPackageCache) SwiftPackagesPath ¶
func (_m *SwiftPackageCache) SwiftPackagesPath(projectPth string) (string, error)
SwiftPackagesPath provides a mock function with given fields: projectPth
type XcodeVersionProvider ¶
XcodeVersionProvider is an autogenerated mock type for the Reader type
func NewXcodeVersionProvider ¶
func NewXcodeVersionProvider(t interface { mock.TestingT Cleanup(func()) }) *XcodeVersionProvider
NewXcodeVersionProvider creates a new instance of XcodeVersionProvider. 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 (*XcodeVersionProvider) GetVersion ¶
func (_m *XcodeVersionProvider) GetVersion() (xcodeversion.Version, error)
GetVersion provides a mock function with given fields:
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) GetXcodeCommadRunner ¶
func (_m *Xcodebuild) GetXcodeCommadRunner() xcodecommand.Runner
GetXcodeCommadRunner provides a mock function with given fields:
func (*Xcodebuild) RunTest ¶
func (_m *Xcodebuild) RunTest(params xcodebuild.TestRunParams) (string, int, error)
RunTest provides a mock function with given fields: params
func (*Xcodebuild) SetXcodeCommandRunner ¶
func (_m *Xcodebuild) SetXcodeCommandRunner(runner xcodecommand.Runner)
SetXcodeCommandRunner provides a mock function with given fields: runner