clitest

package
v1.2.12-prerelease5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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