Documentation ¶
Overview ¶
Package testing provides useful tools for testing Store implementations.
Index ¶
- func TestACLStore(c *qt.C, newStore func(c *qt.C) aclstore.ACLStore)
- func TestKeyValueStore(c *qt.C, newStore func(c *qt.C) store.ProviderDataStore)
- func TestMeetingStore(c *qt.C, newStore func(c *qt.C) meeting.Store, ...)
- func TestStore(c *qt.C, newStore func(c *qt.C) store.Store)
- func TestUnmarshal(c *qt.C, configYAML string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestACLStore ¶
TestACLStore runs tests on the given ACLStore implementation.
func TestKeyValueStore ¶
func TestMeetingStore ¶
func TestMeetingStore( c *qt.C, newStore func(c *qt.C) meeting.Store, putAtTime func(ctx context.Context, s meeting.Store, id, address string, now time.Time) error, )
TestMeetingStore tests the given store. The putAtTime function should put an item in the store as if it had been put there at the given time.
func TestUnmarshal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.