Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLConnTestSuite ¶
type SQLConnTestSuite struct { test.DBTestBase // contains filtered or unexported fields }
SQLConnTestSuite defines a test suite
func NewSQLConnTestSuite ¶
func NewSQLConnTestSuite( host string, port string, pluginName string, sqlQuery string, ) *SQLConnTestSuite
NewSQLConnTestSuite returns the test suite
func (*SQLConnTestSuite) SetupSuite ¶
func (s *SQLConnTestSuite) SetupSuite()
SetupSuite setups test suite
func (*SQLConnTestSuite) TearDownSuite ¶
func (s *SQLConnTestSuite) TearDownSuite()
TearDownSuite tear down test suite
func (*SQLConnTestSuite) TestParseCQLFile ¶
func (s *SQLConnTestSuite) TestParseCQLFile()
TestParseCQLFile test
type SetupSchemaTestSuite ¶
type SetupSchemaTestSuite struct { test.SetupSchemaTestBase // contains filtered or unexported fields }
SetupSchemaTestSuite defines a test suite
func NewSetupSchemaTestSuite ¶
func NewSetupSchemaTestSuite( host string, port string, pluginName string, sqlQuery string, ) *SetupSchemaTestSuite
NewSetupSchemaTestSuite returns a test suite
func (*SetupSchemaTestSuite) SetupSuite ¶
func (s *SetupSchemaTestSuite) SetupSuite()
SetupSuite setup test suite
func (*SetupSchemaTestSuite) TearDownSuite ¶
func (s *SetupSchemaTestSuite) TearDownSuite()
TearDownSuite tear down test suite
func (*SetupSchemaTestSuite) TestCreateDatabase ¶
func (s *SetupSchemaTestSuite) TestCreateDatabase()
TestCreateDatabase test
func (*SetupSchemaTestSuite) TestCreateDatabaseIdempotent ¶ added in v1.14.0
func (s *SetupSchemaTestSuite) TestCreateDatabaseIdempotent()
func (*SetupSchemaTestSuite) TestSetupSchema ¶
func (s *SetupSchemaTestSuite) TestSetupSchema()
TestSetupSchema test
type UpdateSchemaTestSuite ¶
type UpdateSchemaTestSuite struct { test.UpdateSchemaTestBase // contains filtered or unexported fields }
UpdateSchemaTestSuite defines a test suite
func NewUpdateSchemaTestSuite ¶
func NewUpdateSchemaTestSuite( host string, port string, pluginName string, sqlQuery string, executionSchemaVersionDir string, executionVersion string, visibilitySchemaVersionDir string, visibilityVersion string, ) *UpdateSchemaTestSuite
NewUpdateSchemaTestSuite returns a test suite
func (*UpdateSchemaTestSuite) SetupSuite ¶
func (s *UpdateSchemaTestSuite) SetupSuite()
SetupSuite setups test suite
func (*UpdateSchemaTestSuite) TearDownSuite ¶
func (s *UpdateSchemaTestSuite) TearDownSuite()
TearDownSuite tear down test suite
func (*UpdateSchemaTestSuite) TestDryrun ¶
func (s *UpdateSchemaTestSuite) TestDryrun()
TestDryrun test
func (*UpdateSchemaTestSuite) TestUpdateSchema ¶
func (s *UpdateSchemaTestSuite) TestUpdateSchema()
TestUpdateSchema test
func (*UpdateSchemaTestSuite) TestVisibilityDryrun ¶
func (s *UpdateSchemaTestSuite) TestVisibilityDryrun()
TestVisibilityDryrun test
type VersionTestSuite ¶
type VersionTestSuite struct { *require.Assertions // override suite.Suite.Assertions with require.Assertions; this means that s.NotNil(nil) will stop the test, not merely log an error suite.Suite // contains filtered or unexported fields }
VersionTestSuite defines a test suite
func NewVersionTestSuite ¶
func NewVersionTestSuite( host string, port string, pluginName string, executionSchemaFileLocation string, visibilitySchemaFileLocation string, ) *VersionTestSuite
NewVersionTestSuite returns a test suite
func (*VersionTestSuite) SetupTest ¶
func (s *VersionTestSuite) SetupTest()
SetupTest setups test suite
func (*VersionTestSuite) TestVerifyCompatibleVersion ¶
func (s *VersionTestSuite) TestVerifyCompatibleVersion()
TestVerifyCompatibleVersion test