test

package
v0.1.0-alpha.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestBackend

func TestBackend(t *testing.T)

Types

type BackendSuite

type BackendSuite struct {
	B        backend.Backend
	ChangesC chan interface{}
}

func (*BackendSuite) BasicCRUD

func (s *BackendSuite) BasicCRUD(c *C)

func (*BackendSuite) CompareAndSwap

func (s *BackendSuite) CompareAndSwap(c *C)

func (*BackendSuite) Create added in v1.0.0

func (s *BackendSuite) Create(c *C)

func (*BackendSuite) Expiration

func (s *BackendSuite) Expiration(c *C)

func (*BackendSuite) Locking

func (s *BackendSuite) Locking(c *C)

func (*BackendSuite) Renewal added in v1.0.0

func (s *BackendSuite) Renewal(c *C)

func (*BackendSuite) ValueAndTTl

func (s *BackendSuite) ValueAndTTl(c *C)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL