test

package
v3.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package test include external test apps, helper functions, and test data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSchemar

func NewSchemar(t *testing.T) (schemar schemar.Schemar, cleanup func())

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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