Documentation ¶
Overview ¶
Package test contains a backend acceptance test suite that is backend implementation independant each backend will use the suite to test itself
Index ¶
- func TestBackend(t *testing.T)
- type BackendSuite
- func (s *BackendSuite) BasicCRUD(c *C)
- func (s *BackendSuite) CompareAndSwap(c *C)
- func (s *BackendSuite) Create(c *C)
- func (s *BackendSuite) DuplicatedKeysInBuckets(c *C)
- func (s *BackendSuite) Expiration(c *C)
- func (s *BackendSuite) Locking(c *C)
- func (s *BackendSuite) Renewal(c *C)
- func (s *BackendSuite) ValueAndTTl(c *C)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBackend ¶
Types ¶
type BackendSuite ¶
func (*BackendSuite) BasicCRUD ¶
func (s *BackendSuite) BasicCRUD(c *C)
func (*BackendSuite) CompareAndSwap ¶
func (s *BackendSuite) CompareAndSwap(c *C)
func (*BackendSuite) Create ¶
func (s *BackendSuite) Create(c *C)
func (*BackendSuite) DuplicatedKeysInBuckets ¶
func (s *BackendSuite) DuplicatedKeysInBuckets(c *C)
func (*BackendSuite) Expiration ¶
func (s *BackendSuite) Expiration(c *C)
func (*BackendSuite) Locking ¶
func (s *BackendSuite) Locking(c *C)
func (*BackendSuite) Renewal ¶
func (s *BackendSuite) Renewal(c *C)
func (*BackendSuite) ValueAndTTl ¶
func (s *BackendSuite) ValueAndTTl(c *C)
Click to show internal directories.
Click to hide internal directories.