Documentation ¶
Index ¶
- func MaybeClose(t *testing.T, db store.Store)
- func PerformSinking(t *testing.T, open store.Opener, o ...option.Option)
- func PerformTestBadBefore(t *testing.T, open store.Opener, o ...option.Option)
- func PerformTestBefore(t *testing.T, open store.Opener, o ...option.Option)
- func PerformTestPutNothing(t *testing.T, open store.Opener, o ...option.Option)
- func PerformTestStore(t *testing.T, open store.Opener, o ...option.Option)
- func PerformTestVersionInconsistency(t *testing.T, open store.Opener, o ...option.Option)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybeClose ¶
MaybeClose a Store if it implements io.Closer
func PerformSinking ¶
PerformSinking makes sure that Sinkers registered via SinkTo are invoked at the right times
func PerformTestBadBefore ¶
PerformTestBadBefore makes sure that calls to a Store's Before method properly handle Versions that are higher than what is currently persisted
func PerformTestBefore ¶
PerformTestBefore uses the Before method to get events up to a certain version and then verifies that a call to Rest retrieves the remainder
func PerformTestPutNothing ¶
PerformTestPutNothing makes sure that a Store interface properly deals with putting of empty Message Lists
func PerformTestStore ¶
PerformTestStore performs basic exercising of a Store interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.