routertest

package
v0.0.0-...-0cf49f2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrForcedFailure = errors.New("Forced failure")
View Source
var FakeRouter = newFakeRouter()
View Source
var HCRouter = hcRouter{/* contains filtered or unexported fields */}

Functions

This section is empty.

Types

type RouterSuite

type RouterSuite struct {
	Router            router.Router
	SetUpSuiteFunc    func(c *check.C)
	SetUpTestFunc     func(c *check.C)
	TearDownSuiteFunc func(c *check.C)
	TearDownTestFunc  func(c *check.C)
}

func (*RouterSuite) SetUpSuite

func (s *RouterSuite) SetUpSuite(c *check.C)

func (*RouterSuite) SetUpTest

func (s *RouterSuite) SetUpTest(c *check.C)

func (*RouterSuite) TearDownSuite

func (s *RouterSuite) TearDownSuite(c *check.C)

func (*RouterSuite) TearDownTest

func (s *RouterSuite) TearDownTest(c *check.C)

func (*RouterSuite) TestRemoveBackendAfterSwap

func (s *RouterSuite) TestRemoveBackendAfterSwap(c *check.C)

func (*RouterSuite) TestRemoveBackendWithCName

func (s *RouterSuite) TestRemoveBackendWithCName(c *check.C)

func (*RouterSuite) TestRemoveBackendWithoutRemoveRoutes

func (s *RouterSuite) TestRemoveBackendWithoutRemoveRoutes(c *check.C)

func (*RouterSuite) TestRouteAddBackendAndRoute

func (s *RouterSuite) TestRouteAddBackendAndRoute(c *check.C)

func (*RouterSuite) TestRouteAddDupBackend

func (s *RouterSuite) TestRouteAddDupBackend(c *check.C)

func (*RouterSuite) TestRouteAddDupCName

func (s *RouterSuite) TestRouteAddDupCName(c *check.C)

func (*RouterSuite) TestRouteAddDupRoute

func (s *RouterSuite) TestRouteAddDupRoute(c *check.C)

func (*RouterSuite) TestRouteAddRouteInvalidBackend

func (s *RouterSuite) TestRouteAddRouteInvalidBackend(c *check.C)

func (*RouterSuite) TestRouteRemoveRouteAndBackend

func (s *RouterSuite) TestRouteRemoveRouteAndBackend(c *check.C)

func (*RouterSuite) TestRouteRemoveUnknownRoute

func (s *RouterSuite) TestRouteRemoveUnknownRoute(c *check.C)

func (*RouterSuite) TestSetCNameInvalidBackend

func (s *RouterSuite) TestSetCNameInvalidBackend(c *check.C)

func (*RouterSuite) TestSetCNameSubdomainError

func (s *RouterSuite) TestSetCNameSubdomainError(c *check.C)

func (*RouterSuite) TestSetUnsetCName

func (s *RouterSuite) TestSetUnsetCName(c *check.C)

func (*RouterSuite) TestSwap

func (s *RouterSuite) TestSwap(c *check.C)

func (*RouterSuite) TestSwapTwice

func (s *RouterSuite) TestSwapTwice(c *check.C)

Jump to

Keyboard shortcuts

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