testsrc

package
v0.47.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package testsrc holds testing constants (in addition to pkg sakila).

Index

Constants

View Source
const (
	CSVPerson         = "@csv_person"
	CSVPersonBig      = "@csv_person_big"
	CSVPersonNoHeader = "@csv_person_noheader"

	// PplUD is the handle of a user-defined "people" source.
	PplUD = "@ud_ppl"

	// RSSNYTLocalUD is the handle of a user-defined RSS source.
	RSSNYTLocalUD = "@ud_rss_nytimes_local"

	// MiscDB is the handle of a SQLite DB with misc testing data.
	MiscDB = "@miscdb"

	// EmptyDB is the handle of an empty SQLite DB.
	EmptyDB = "@emptydb"

	// BlobDB is the handle of a SQLite DB containing blobs. For example,
	// it contains the gopher gif in the "blobs" table.
	BlobDB = "@blobdb"
)

Handles for various test data sources.

View Source
const (
	// PathSrcsConfig is the path of the yml file containing
	// the test sources template config file.
	PathSrcsConfig = "/testh/testdata/sources.sq.yml"

	PathDriverDefPpl = "drivers/userdriver/xmlud/testdata/ppl.sq.yml"
	PathDriverDefRSS = "drivers/userdriver/xmlud/testdata/rss.sq.yml"

	PathXLSXTestHeader = "drivers/xlsx/testdata/test_header.xlsx"
)

Paths for various testdata.

View Source
const (
	// TblTypes is a table in MiscDB.
	TblTypes = "tbl_types"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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