Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpannerSessionTestSuiteConfig ¶ added in v0.17.0
type SpannerSessionTestSuiteConfig 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 // CreateResource should create a Session 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, parent string) (*Session, 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 SpannerTestSuite ¶
func (SpannerTestSuite) TestSession ¶
func (fx SpannerTestSuite) TestSession(ctx context.Context, options SpannerSessionTestSuiteConfig)
Click to show internal directories.
Click to hide internal directories.