Documentation ¶
Overview ¶
Package test include external test apps, helper functions, and test data.
Index ¶
- func NewSchemar(t *testing.T) (schemar schemar.Schemar, cleanup func())
- func TestQualifiedDatabaseWithID(t *testing.T, orgID dax.OrganizationID, id dax.DatabaseID, ...) *dax.QualifiedDatabase
- func TestQualifiedTable(t *testing.T, qdbid dax.QualifiedDatabaseID, name dax.TableName, ...) *dax.QualifiedTable
- func TestQualifiedTableWithID(t *testing.T, qdbid dax.QualifiedDatabaseID, id string, name dax.TableName, ...) *dax.QualifiedTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestQualifiedDatabaseWithID ¶ added in v3.29.0
func TestQualifiedDatabaseWithID(t *testing.T, orgID dax.OrganizationID, id dax.DatabaseID, name dax.DatabaseName, opts dax.DatabaseOptions) *dax.QualifiedDatabase
TestQualifiedDatabaseWithID is a test helper function for creating a database based on a general configuration, and having the specified DatabaseID.
func TestQualifiedTable ¶
func TestQualifiedTable(t *testing.T, qdbid dax.QualifiedDatabaseID, name dax.TableName, partitionN int, keyed bool) *dax.QualifiedTable
TestQualifiedTable is a test helper function for creating a table based on a general configuration. This function creates a Table with a random TableID. If you need to specify the TableID yourself, use the TestQualifiedTableWithID function.
func TestQualifiedTableWithID ¶
func TestQualifiedTableWithID(t *testing.T, qdbid dax.QualifiedDatabaseID, id string, name dax.TableName, partitionN int, keyed bool) *dax.QualifiedTable
TestQualifiedTableWithID is a test helper function for creating a table based on a general configuration, and having the specified TableID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.