test

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 5 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