test

package
v0.0.0-...-c0cc0bc Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0, MIT 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