fixtures

package
v4.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DataFolder = "data"

Variables

View Source
var RootFolder = ""

Functions

This section is empty.

Types

type Fixture

type Fixture struct {
	URL          string
	Tags         []string
	Head         core.Hash
	PackfileHash core.Hash
	DotGitHash   core.Hash
	ObjectsCount int32
}

func (*Fixture) DotGit

func (f *Fixture) DotGit() fs.Filesystem

func (*Fixture) Idx

func (f *Fixture) Idx() *os.File

func (*Fixture) Is

func (f *Fixture) Is(tag string) bool

func (*Fixture) Packfile

func (f *Fixture) Packfile() *os.File

type Fixtures

type Fixtures []*Fixture

func All

func All() Fixtures

func Basic

func Basic() Fixtures

func ByTag

func ByTag(tag string) Fixtures

func ByURL

func ByURL(url string) Fixtures

func (Fixtures) ByTag

func (g Fixtures) ByTag(tag string) Fixtures

func (Fixtures) ByURL

func (g Fixtures) ByURL(url string) Fixtures

func (Fixtures) Exclude

func (g Fixtures) Exclude(tag string) Fixtures

func (Fixtures) One

func (g Fixtures) One() *Fixture

func (Fixtures) Test

func (g Fixtures) Test(c *check.C, test func(*Fixture))

type Suite

type Suite struct{}

func (*Suite) SetUpSuite

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

func (*Suite) TearDownSuite

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

Jump to

Keyboard shortcuts

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