Documentation ¶
Index ¶
- func TestInvalidLogin(s *Base, dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table)
- func TestInvalidPassword(s *Base, dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table)
- func TestMissingDataSource(s *Base, dsi *api_common.TDataSourceInstance)
- func TestPositiveStats(s *Base, dataSource *datasource.DataSource, table *test_utils.Table)
- type Base
- type State
- type ValidateTableOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestInvalidLogin ¶ added in v0.2.14
func TestInvalidLogin(s *Base, dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table)
func TestInvalidPassword ¶ added in v0.2.14
func TestInvalidPassword(s *Base, dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table)
func TestMissingDataSource ¶ added in v0.2.13
func TestMissingDataSource(s *Base, dsi *api_common.TDataSourceInstance)
func TestPositiveStats ¶ added in v0.2.13
func TestPositiveStats(s *Base, dataSource *datasource.DataSource, table *test_utils.Table)
Types ¶
type Base ¶
type Base struct { testify_suite.Suite *State Connector common.TestingServer // contains filtered or unexported fields }
func (*Base) BeforeSuite ¶
func (*Base) BeforeTest ¶
func (*Base) SetupSuite ¶
func (b *Base) SetupSuite()
func (*Base) TearDownSuite ¶
func (b *Base) TearDownSuite()
func (*Base) TearDownTest ¶
func (b *Base) TearDownTest()
func (*Base) ValidateTable ¶
func (b *Base) ValidateTable(ds *datasource.DataSource, table *test_utils.Table, customOptions ...ValidateTableOption)
type State ¶
type State struct {
EndpointDeterminer *docker_compose.EndpointDeterminer
}
Global-scope services and objects that will be accessible from every test suite during the testing lifecycle
type ValidateTableOption ¶
type ValidateTableOption interface {
// contains filtered or unexported methods
}
func WithDateTimeFormat ¶
func WithDateTimeFormat(val api_service_protos.EDateTimeFormat) ValidateTableOption
func WithPredicate ¶
func WithPredicate(val *api_service_protos.TPredicate) ValidateTableOption
Click to show internal directories.
Click to hide internal directories.