testutils

package
v0.16.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertInCatalogStore

func AssertInCatalogStore(t *testing.T, s *catalog.Service, name string, path string) *drivers.CatalogEntry

func AssertMigration

func AssertMigration(
	t *testing.T,
	result *catalog.ReconcileResult,
	errCount int,
	addCount int,
	updateCount int,
	dropCount int,
	affectedPaths []string,
)

func AssertTable

func AssertTable(t *testing.T, s *catalog.Service, name string, path string)

func AssertTableAbsence

func AssertTableAbsence(t *testing.T, s *catalog.Service, name string)

func CreateMetricsView

func CreateMetricsView(t *testing.T, s *catalog.Service, metricsView *runtimev1.MetricsView, path string) string

func CreateModel

func CreateModel(t *testing.T, s *catalog.Service, name string, sql string, path string) string

func CreateSource

func CreateSource(t *testing.T, s *catalog.Service, name string, file string, path string) string

func RenameFile

func RenameFile(t *testing.T, dir string, from string, to string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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