test

package
v3.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 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 TestQualifiedTable

func TestQualifiedTable(t *testing.T, qual dax.TableQualifier, 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, qual dax.TableQualifier, 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