Documentation ¶
Index ¶
- func TestInvalidLogin[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsiSrc *api_common.TGenericDataSourceInstance, ...)
- func TestInvalidPassword[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsiSrc *api_common.TGenericDataSourceInstance, ...)
- func TestMissingDataSource[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsi *api_common.TGenericDataSourceInstance)
- func TestPositiveStats[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dataSource *datasource.DataSource, ...)
- func TestUnsupportedPushdownFilteringMandatory[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsi *api_common.TGenericDataSourceInstance, ...)
- type Base
- func (b *Base[_, _]) BeforeSuite(_ string)
- func (b *Base[_, _]) BeforeTest(_, testName string)
- func (b *Base[_, _]) SetupSuite()
- func (b *Base[_, _]) TearDownSuite()
- func (b *Base[_, _]) TearDownTest()
- func (b *Base[ID, IDBUILDER]) ValidateTable(ds *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], ...)
- type BaseOption
- type State
- type ValidateTableOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestInvalidLogin ¶ added in v0.2.14
func TestInvalidLogin[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dsiSrc *api_common.TGenericDataSourceInstance, table *test_utils.Table[ID, IDBUILDER], )
func TestInvalidPassword ¶ added in v0.2.14
func TestInvalidPassword[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dsiSrc *api_common.TGenericDataSourceInstance, table *test_utils.Table[ID, IDBUILDER], )
func TestMissingDataSource ¶ added in v0.2.13
func TestMissingDataSource[ ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID], ](s *Base[ID, IDBUILDER], dsi *api_common.TGenericDataSourceInstance)
func TestPositiveStats ¶ added in v0.2.13
func TestPositiveStats[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dataSource *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], )
func TestUnsupportedPushdownFilteringMandatory ¶ added in v0.5.11
func TestUnsupportedPushdownFilteringMandatory[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dsi *api_common.TGenericDataSourceInstance, table *test_utils.Table[ID, IDBUILDER], predicate *api_service_protos.TPredicate, )
Types ¶
type Base ¶
type Base[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]] struct { testify_suite.Suite *State Connector common.TestingServer // contains filtered or unexported fields }
func NewBase ¶
func NewBase[ ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID], ](t *testing.T, state *State, name string, suiteOptions ...BaseOption) *Base[ID, IDBUILDER]
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[ID, IDBUILDER]) ValidateTable ¶
func (b *Base[ID, IDBUILDER]) ValidateTable( ds *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], customOptions ...ValidateTableOption, )
type BaseOption ¶ added in v0.5.11
type BaseOption interface {
// contains filtered or unexported methods
}
func WithEmbeddedOptions ¶ added in v0.5.11
func WithEmbeddedOptions(options ...server.EmbeddedOption) BaseOption
type State ¶
type State struct { EndpointDeterminer *docker_compose.EndpointDeterminer // contains filtered or unexported fields }
Global-scope services and objects that will be accessible from every test suite during the testing lifecycle
func (*State) SkipSuiteIfNotEnabled ¶ added in v0.5.12
type ValidateTableOption ¶
type ValidateTableOption interface {
// contains filtered or unexported methods
}
func WithDateTimeFormat ¶
func WithDateTimeFormat(val api_service_protos.EDateTimeFormat) ValidateTableOption
func WithFiltering ¶ added in v0.5.11
func WithFiltering(val api_service_protos.TReadSplitsRequest_EFiltering) ValidateTableOption
func WithPredicate ¶
func WithPredicate(val *api_service_protos.TPredicate) ValidateTableOption
Click to show internal directories.
Click to hide internal directories.