store_testsuite

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTestsuite

func RunTestsuite(t *testing.T, impl store.Store, suite Testsuite)

func TestFilterLIST

func TestFilterLIST(t *testing.T, s store.Store)

Test uses entries from the previous List test

func TestNilStore

func TestNilStore(t *testing.T, s store.Store)

func TestSimpleCRUD

func TestSimpleCRUD(t *testing.T, s store.Store)

func TestSortCreatedAscLIST

func TestSortCreatedAscLIST(t *testing.T, s store.Store)

Test uses entries from the previous List test

func TestSortCreatedDscLIST

func TestSortCreatedDscLIST(t *testing.T, s store.Store)

Test uses entries from the previous List test

func TestSortNaturalLIST

func TestSortNaturalLIST(t *testing.T, s store.Store)

func TestSortUpdatedAscLIST

func TestSortUpdatedAscLIST(t *testing.T, s store.Store)

Test uses entries from the previous List test

func TestSortUpdatedDscLIST

func TestSortUpdatedDscLIST(t *testing.T, s store.Store)

Test uses entries from the previous List test

Types

type Testsuite

type Testsuite int
const (
	Basic Testsuite = iota
	Advanced
)

Jump to

Keyboard shortcuts

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