mocks

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. 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 (*IClient) CreateTestCase

func (_m *IClient) CreateTestCase(ctx context.Context, params *apptest.CreateTestCaseInput, optFns ...func(*apptest.Options)) (*apptest.CreateTestCaseOutput, error)

CreateTestCase provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateTestConfiguration

func (_m *IClient) CreateTestConfiguration(ctx context.Context, params *apptest.CreateTestConfigurationInput, optFns ...func(*apptest.Options)) (*apptest.CreateTestConfigurationOutput, error)

CreateTestConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateTestSuite

func (_m *IClient) CreateTestSuite(ctx context.Context, params *apptest.CreateTestSuiteInput, optFns ...func(*apptest.Options)) (*apptest.CreateTestSuiteOutput, error)

CreateTestSuite provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteTestCase

func (_m *IClient) DeleteTestCase(ctx context.Context, params *apptest.DeleteTestCaseInput, optFns ...func(*apptest.Options)) (*apptest.DeleteTestCaseOutput, error)

DeleteTestCase provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteTestConfiguration

func (_m *IClient) DeleteTestConfiguration(ctx context.Context, params *apptest.DeleteTestConfigurationInput, optFns ...func(*apptest.Options)) (*apptest.DeleteTestConfigurationOutput, error)

DeleteTestConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteTestRun

func (_m *IClient) DeleteTestRun(ctx context.Context, params *apptest.DeleteTestRunInput, optFns ...func(*apptest.Options)) (*apptest.DeleteTestRunOutput, error)

DeleteTestRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteTestSuite

func (_m *IClient) DeleteTestSuite(ctx context.Context, params *apptest.DeleteTestSuiteInput, optFns ...func(*apptest.Options)) (*apptest.DeleteTestSuiteOutput, error)

DeleteTestSuite provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTestCase

func (_m *IClient) GetTestCase(ctx context.Context, params *apptest.GetTestCaseInput, optFns ...func(*apptest.Options)) (*apptest.GetTestCaseOutput, error)

GetTestCase provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTestConfiguration

func (_m *IClient) GetTestConfiguration(ctx context.Context, params *apptest.GetTestConfigurationInput, optFns ...func(*apptest.Options)) (*apptest.GetTestConfigurationOutput, error)

GetTestConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTestRunStep

func (_m *IClient) GetTestRunStep(ctx context.Context, params *apptest.GetTestRunStepInput, optFns ...func(*apptest.Options)) (*apptest.GetTestRunStepOutput, error)

GetTestRunStep provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTestSuite

func (_m *IClient) GetTestSuite(ctx context.Context, params *apptest.GetTestSuiteInput, optFns ...func(*apptest.Options)) (*apptest.GetTestSuiteOutput, error)

GetTestSuite provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *apptest.ListTagsForResourceInput, optFns ...func(*apptest.Options)) (*apptest.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestCases

func (_m *IClient) ListTestCases(ctx context.Context, params *apptest.ListTestCasesInput, optFns ...func(*apptest.Options)) (*apptest.ListTestCasesOutput, error)

ListTestCases provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestConfigurations

func (_m *IClient) ListTestConfigurations(ctx context.Context, params *apptest.ListTestConfigurationsInput, optFns ...func(*apptest.Options)) (*apptest.ListTestConfigurationsOutput, error)

ListTestConfigurations provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestRunSteps

func (_m *IClient) ListTestRunSteps(ctx context.Context, params *apptest.ListTestRunStepsInput, optFns ...func(*apptest.Options)) (*apptest.ListTestRunStepsOutput, error)

ListTestRunSteps provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestRunTestCases

func (_m *IClient) ListTestRunTestCases(ctx context.Context, params *apptest.ListTestRunTestCasesInput, optFns ...func(*apptest.Options)) (*apptest.ListTestRunTestCasesOutput, error)

ListTestRunTestCases provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestRuns

func (_m *IClient) ListTestRuns(ctx context.Context, params *apptest.ListTestRunsInput, optFns ...func(*apptest.Options)) (*apptest.ListTestRunsOutput, error)

ListTestRuns provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTestSuites

func (_m *IClient) ListTestSuites(ctx context.Context, params *apptest.ListTestSuitesInput, optFns ...func(*apptest.Options)) (*apptest.ListTestSuitesOutput, error)

ListTestSuites provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() apptest.Options

Options provides a mock function with given fields:

func (*IClient) StartTestRun

func (_m *IClient) StartTestRun(ctx context.Context, params *apptest.StartTestRunInput, optFns ...func(*apptest.Options)) (*apptest.StartTestRunOutput, error)

StartTestRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *apptest.TagResourceInput, optFns ...func(*apptest.Options)) (*apptest.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *apptest.UntagResourceInput, optFns ...func(*apptest.Options)) (*apptest.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateTestCase

func (_m *IClient) UpdateTestCase(ctx context.Context, params *apptest.UpdateTestCaseInput, optFns ...func(*apptest.Options)) (*apptest.UpdateTestCaseOutput, error)

UpdateTestCase provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateTestConfiguration

func (_m *IClient) UpdateTestConfiguration(ctx context.Context, params *apptest.UpdateTestConfigurationInput, optFns ...func(*apptest.Options)) (*apptest.UpdateTestConfigurationOutput, error)

UpdateTestConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateTestSuite

func (_m *IClient) UpdateTestSuite(ctx context.Context, params *apptest.UpdateTestSuiteInput, optFns ...func(*apptest.Options)) (*apptest.UpdateTestSuiteOutput, error)

UpdateTestSuite provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL