test_impl

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestCreateTable added in v0.1.0

func TestCreateTable(t *testing.T, prepareStore PrepareStoreFn, destroyStore DestroyStoreFn)

func TestGetExisted

func TestGetExisted(t *testing.T, prepareStore PrepareStoreFn, destroyStore DestroyStoreFn)

func TestGetNoRevision added in v0.1.0

func TestGetNoRevision(t *testing.T, prepareStore PrepareStoreFn, destroyStore DestroyStoreFn)

func TestGetNotExistedEntityKey

func TestGetNotExistedEntityKey(t *testing.T, prepareStore PrepareStoreFn, destroystore DestroyStoreFn)

func TestMultiGet

func TestMultiGet(t *testing.T, prepareStore PrepareStoreFn, destroystore DestroyStoreFn)

func TestOpen

func TestOpen(t *testing.T, prepareStore PrepareStoreFn, destroystore DestroyStoreFn)

func TestPing added in v0.0.4

func TestPing(t *testing.T, prepareStore PrepareStoreFn, destroyStore DestroyStoreFn)

func TestPurgeNotRemovesOtherRevisions

func TestPurgeNotRemovesOtherRevisions(t *testing.T, prepareStore PrepareStoreFn, destroystore DestroyStoreFn)

func TestPurgeRemovesSpecifiedRevision

func TestPurgeRemovesSpecifiedRevision(t *testing.T, prepareStore PrepareStoreFn, destroystore DestroyStoreFn)

func TestPush added in v0.0.4

func TestPush(t *testing.T, prepareStore PrepareStoreFn, destoryStore DestroyStoreFn)

Types

type DestroyStoreFn added in v0.0.4

type DestroyStoreFn func()

type PrepareStoreFn added in v0.0.4

type PrepareStoreFn func(*testing.T) (context.Context, online.Store)

type Sample

type Sample struct {
	Entity   types.Entity
	Group    types.Group
	Features types.FeatureList
	Revision types.Revision
	Data     []types.ExportRecord
}
var SampleMedium Sample
var SampleSmall Sample
var SampleStream Sample

Jump to

Keyboard shortcuts

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