clitest

package
v1.2.12-prerelease2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerTestSuite

type HandlerTestSuite 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
}

HandlerTestSuite defines a test suite

func NewHandlerTestSuite

func NewHandlerTestSuite(pluginName string) *HandlerTestSuite

NewHandlerTestSuite returns a test suite

func (*HandlerTestSuite) SetupTest

func (s *HandlerTestSuite) SetupTest()

SetupTest setups test

func (*HandlerTestSuite) TestValidateConnectConfig added in v0.12.0

func (s *HandlerTestSuite) TestValidateConnectConfig()

TestValidateConnectConfig test

type SQLConnTestSuite

type SQLConnTestSuite struct {
	test.DBTestBase
	// contains filtered or unexported fields
}

SQLConnTestSuite defines a test suite

func NewSQLConnTestSuite

func NewSQLConnTestSuite(pluginName string) *SQLConnTestSuite

NewSQLConnTestSuite returns the test suite

func (*SQLConnTestSuite) SetupSuite

func (s *SQLConnTestSuite) SetupSuite()

SetupSuite setups test suite

func (*SQLConnTestSuite) SetupTest

func (s *SQLConnTestSuite) SetupTest()

SetupTest setups test

func (*SQLConnTestSuite) TearDownSuite

func (s *SQLConnTestSuite) TearDownSuite()

TearDownSuite tear down test suite

func (*SQLConnTestSuite) TestParseCQLFile

func (s *SQLConnTestSuite) TestParseCQLFile()

TestParseCQLFile test

func (*SQLConnTestSuite) TestSQLConn

func (s *SQLConnTestSuite) TestSQLConn()

TestSQLConn test TODO refactor the whole package to support testing against Postgres https://github.com/uber/cadence/issues/2856

type SetupSchemaTestSuite

type SetupSchemaTestSuite struct {
	test.SetupSchemaTestBase
	// contains filtered or unexported fields
}

SetupSchemaTestSuite defines a test suite

func NewSetupSchemaTestSuite

func NewSetupSchemaTestSuite(pluginName 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) 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(pluginName 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(pluginName string) *VersionTestSuite

NewVersionTestSuite returns a test suite

func (*VersionTestSuite) SetupTest

func (s *VersionTestSuite) SetupTest()

SetupTest setups test suite

func (*VersionTestSuite) TestCheckCompatibleVersion

func (s *VersionTestSuite) TestCheckCompatibleVersion()

TestCheckCompatibleVersion test

func (*VersionTestSuite) TestMultipleDatabaseVersionAllLowerCompatible added in v0.24.0

func (s *VersionTestSuite) TestMultipleDatabaseVersionAllLowerCompatible()

func (*VersionTestSuite) TestMultipleDatabaseVersionExactlyMatchCompatible added in v0.24.0

func (s *VersionTestSuite) TestMultipleDatabaseVersionExactlyMatchCompatible()

func (*VersionTestSuite) TestMultipleDatabaseVersionInCompatible added in v0.24.0

func (s *VersionTestSuite) TestMultipleDatabaseVersionInCompatible()

func (*VersionTestSuite) TestMultipleDatabaseVersionPartialLowerCompatible added in v0.24.0

func (s *VersionTestSuite) TestMultipleDatabaseVersionPartialLowerCompatible()

func (*VersionTestSuite) TestVerifyCompatibleVersion

func (s *VersionTestSuite) TestVerifyCompatibleVersion()

TestVerifyCompatibleVersion test

Jump to

Keyboard shortcuts

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