storetests

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoCleanup = os.Getenv("STORETESTS_NO_CLEANUP") == "true"

Functions

func TestAll

func TestAll(t *testing.T, factory StoreFactory)

func TestFileExists

func TestFileExists(t *testing.T, factory StoreFactory)

func TestListFiles

func TestListFiles(t *testing.T, factory StoreFactory)

func TestOpenObject_ErrNotFound

func TestOpenObject_ErrNotFound(t *testing.T, factory StoreFactory)

func TestOpenObject_ReadFileOnce

func TestOpenObject_ReadFileOnce(t *testing.T, factory StoreFactory)

func TestOpenObject_ReadSameFileMultipleTimes

func TestOpenObject_ReadSameFileMultipleTimes(t *testing.T, factory StoreFactory)

func TestWalkFrom

func TestWalkFrom(t *testing.T, factory StoreFactory)

func TestWalkFromTo

func TestWalkFromTo(t *testing.T, factory StoreFactory)

func TestWalkFrom_SingleLetterStartingPoint

func TestWalkFrom_SingleLetterStartingPoint(t *testing.T, factory StoreFactory)

func TestWalkFrom_StartingPointHasWrongPrefix

func TestWalkFrom_StartingPointHasWrongPrefix(t *testing.T, factory StoreFactory)

func TestWalkFrom_WithPrefix

func TestWalkFrom_WithPrefix(t *testing.T, factory StoreFactory)

func TestWalk_FilePrefix

func TestWalk_FilePrefix(t *testing.T, factory StoreFactory)

func TestWalk_IgnoreNotFound

func TestWalk_IgnoreNotFound(t *testing.T, factory StoreFactory)

func TestWalk_PathPrefix

func TestWalk_PathPrefix(t *testing.T, factory StoreFactory)

func TestWriteObject_Basic

func TestWriteObject_Basic(t *testing.T, factory StoreFactory)

func TestWriteObject_ConcurrentNoOverwrite

func TestWriteObject_ConcurrentNoOverwrite(t *testing.T, factory StoreFactory)

func TestWriteObject_ConcurrentOverwrite

func TestWriteObject_ConcurrentOverwrite(t *testing.T, factory StoreFactory)

Types

type StoreCleanup

type StoreCleanup func()

type StoreDescriptor

type StoreDescriptor struct {
	Compression string
}

type StoreFactory

type StoreFactory func() (dstore.Store, StoreDescriptor, StoreCleanup)

type StoreTestFunc

type StoreTestFunc func(t *testing.T, factory StoreFactory)

Jump to

Keyboard shortcuts

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