factory

package
v0.0.0-...-4b4b54c Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	JustBeforeEachFunc func()
	BeforeEachFunc     func()
	ItFuncs            map[string]func()
	Map                *map[string]interface{}
}

func NewTestFactory

func NewTestFactory() *Factory

func (*Factory) BeforeEach

func (fa *Factory) BeforeEach(f func())

func (*Factory) Int

func (fa *Factory) Int(key string) int

func (*Factory) Int64

func (fa *Factory) Int64(key string) int64

func (*Factory) It

func (fa *Factory) It(id string, description string, f func())

func (*Factory) JustBeforeEach

func (fa *Factory) JustBeforeEach(f func())

func (*Factory) Matcher

func (fa *Factory) Matcher(key string) GomegaMatcher

func (*Factory) NewMap

func (f *Factory) NewMap() map[string]interface{}

func (*Factory) RunAll

func (f *Factory) RunAll(m map[string]interface{})

func (*Factory) String

func (fa *Factory) String(key string) string

func (*Factory) Val

func (fa *Factory) Val(key string) interface{}

Jump to

Keyboard shortcuts

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