Documentation
¶
Overview ¶
Package keystoretest provides shared test suites for all KeyStore implementations. Each backend (inmem, gorm, fs, gae) calls these tests with its own factory function.
Index ¶
- func RunAll(t *testing.T, factory Factory)
- func TestDeleteKey(t *testing.T, factory Factory)
- func TestDeleteNonexistent(t *testing.T, factory Factory)
- func TestListKeys(t *testing.T, factory Factory)
- func TestListKeysEmpty(t *testing.T, factory Factory)
- func TestMultipleHosts(t *testing.T, factory Factory)
- func TestNotFound(t *testing.T, factory Factory)
- func TestOverwriteKey(t *testing.T, factory Factory)
- func TestPersistence(t *testing.T, factory Factory)
- func TestRegisterAndGet(t *testing.T, factory Factory)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestDeleteKey ¶
func TestDeleteNonexistent ¶
func TestListKeys ¶
func TestListKeysEmpty ¶
func TestMultipleHosts ¶
func TestNotFound ¶
func TestOverwriteKey ¶
func TestPersistence ¶
func TestRegisterAndGet ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.