tests

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSimpleThing

func DeleteSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThing

func DeleteThing(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithDateRange

func DeleteThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithUnderscores added in v1.7.1

func DeleteThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

func GetSimpleThing

func GetSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func GetThing

func GetThing(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingByID added in v1.8.0

func GetThingByID(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateRange

func GetThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateRangesByNameAndDate added in v1.8.0

func GetThingWithDateRangesByNameAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithUnderscores added in v1.7.1

func GetThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingsByNameAndCreatedAt added in v1.8.0

func GetThingsByNameAndCreatedAt(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingsByNameAndVersion added in v1.8.0

func GetThingsByNameAndVersion(d db.Interface, t *testing.T) func(t *testing.T)

func RunDBTests

func RunDBTests(t *testing.T, dbFactory func() db.Interface)

func SaveSimpleThing

func SaveSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThing

func SaveThing(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithDateRange

func SaveThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithUnderscores added in v1.7.1

func SaveThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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