test

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestRandomChunk

func GenerateTestRandomChunk() chunk.Chunk

func Init

func Init()

func NewForkyStore

func NewForkyStore(t *testing.T, path string, metaStore forky.MetaStore) (s *forky.Store, clean func())

func StoreSuite

func StoreSuite(t *testing.T, newStoreFunc func(t *testing.T) (forky.Interface, func()))

func TestStore

func TestStore(t *testing.T, o *TestStoreOptions)

Types

type TestStoreOptions

type TestStoreOptions struct {
	ChunkCount   int
	DeleteSplit  int
	Cleaned      bool
	NewStoreFunc func(t *testing.T) (forky.Interface, func())
}

Jump to

Keyboard shortcuts

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