Documentation
¶
Index ¶
- Variables
- func TestAll(t *testing.T, factory StoreFactory)
- func TestFileExists(t *testing.T, factory StoreFactory)
- func TestListFiles(t *testing.T, factory StoreFactory)
- func TestOpenObject_ErrNotFound(t *testing.T, factory StoreFactory)
- func TestOpenObject_ReadFileOnce(t *testing.T, factory StoreFactory)
- func TestOpenObject_ReadSameFileMultipleTimes(t *testing.T, factory StoreFactory)
- func TestWalkFrom(t *testing.T, factory StoreFactory)
- func TestWalkFromTo(t *testing.T, factory StoreFactory)
- func TestWalkFrom_SingleLetterStartingPoint(t *testing.T, factory StoreFactory)
- func TestWalkFrom_StartingPointHasWrongPrefix(t *testing.T, factory StoreFactory)
- func TestWalkFrom_WithPrefix(t *testing.T, factory StoreFactory)
- func TestWalk_FilePrefix(t *testing.T, factory StoreFactory)
- func TestWalk_IgnoreNotFound(t *testing.T, factory StoreFactory)
- func TestWalk_PathPrefix(t *testing.T, factory StoreFactory)
- func TestWriteObject_Basic(t *testing.T, factory StoreFactory)
- func TestWriteObject_ConcurrentNoOverwrite(t *testing.T, factory StoreFactory)
- func TestWriteObject_ConcurrentOverwrite(t *testing.T, factory StoreFactory)
- type StoreCleanup
- type StoreDescriptor
- type StoreFactory
- type StoreTestFunc
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)
Click to show internal directories.
Click to hide internal directories.