Documentation
¶
Index ¶
- type TablesServiceRowTestSuiteConfig
- type TablesServiceTableTestSuiteConfig
- type TablesServiceTestSuite
- func (fx TablesServiceTestSuite) TestRow(ctx context.Context, options TablesServiceRowTestSuiteConfig)
- func (fx TablesServiceTestSuite) TestTable(ctx context.Context, options TablesServiceTableTestSuiteConfig)
- func (fx TablesServiceTestSuite) TestWorkspace(ctx context.Context, options TablesServiceWorkspaceTestSuiteConfig)
- type TablesServiceWorkspaceTestSuiteConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TablesServiceRowTestSuiteConfig ¶ added in v0.17.0
type TablesServiceRowTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *Row // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Row // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type TablesServiceTableTestSuiteConfig ¶ added in v0.17.0
type TablesServiceTableTestSuiteConfig struct { // CreateResource should create a Table and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context) (*Table, error) // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type TablesServiceTestSuite ¶
func (TablesServiceTestSuite) TestRow ¶
func (fx TablesServiceTestSuite) TestRow(ctx context.Context, options TablesServiceRowTestSuiteConfig)
func (TablesServiceTestSuite) TestTable ¶
func (fx TablesServiceTestSuite) TestTable(ctx context.Context, options TablesServiceTableTestSuiteConfig)
func (TablesServiceTestSuite) TestWorkspace ¶
func (fx TablesServiceTestSuite) TestWorkspace(ctx context.Context, options TablesServiceWorkspaceTestSuiteConfig)
type TablesServiceWorkspaceTestSuiteConfig ¶ added in v0.17.0
type TablesServiceWorkspaceTestSuiteConfig struct { // CreateResource should create a Workspace and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context) (*Workspace, error) // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.