test

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, f func(t *testing.T) storage.StateStorer)

func RunPersist

func RunPersist(t *testing.T, f func(t *testing.T, dir string) storage.StateStorer)

RunPersist is a specific test case for the persistent state store. It tests that values persist across sessions.

Types

type Serializing

type Serializing struct {
	// contains filtered or unexported fields
}

func (*Serializing) MarshalBinary

func (st *Serializing) MarshalBinary() (data []byte, err error)

func (*Serializing) UnmarshalBinary

func (st *Serializing) UnmarshalBinary(data []byte) (err error)

Jump to

Keyboard shortcuts

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