Documentation
¶
Overview ¶
Package castest provides common test cases for testing the behaviour of storage drivers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestCreate ¶
TestCreate tests that the methods Create and Open respect the invariants for the Storage interface.
func TestIndex ¶
TestIndex tests that the method Index respects the invariants for the Indexer interface. Obviously, the storage passed must also respect the Indexer interface.
func TestIndexCancel ¶
TestIndexCancel tests that the method Index respects the invariants for the Indexer interface. This tests cancels the indexing operation after half of the IDs have been processed. Obviously, the storage passed must also respect the Indexer interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.