test

package
v4.0.0-rc6+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package test implements common test suite for different transport implementations.

Package test implements common test suite for different transport implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchPackSuite

type FetchPackSuite struct {
	Endpoint            transport.Endpoint
	EmptyEndpoint       transport.Endpoint
	NonExistentEndpoint transport.Endpoint
	Client              transport.Client
}

func (*FetchPackSuite) TestAdvertisedReferencesFilterUnsupported

func (s *FetchPackSuite) TestAdvertisedReferencesFilterUnsupported(c *C)

func (*FetchPackSuite) TestCallAdvertisedReferenceTwice

func (s *FetchPackSuite) TestCallAdvertisedReferenceTwice(c *C)

func (*FetchPackSuite) TestCapabilities

func (s *FetchPackSuite) TestCapabilities(c *C)

func (*FetchPackSuite) TestDefaultBranch

func (s *FetchPackSuite) TestDefaultBranch(c *C)

func (*FetchPackSuite) TestFetchError

func (s *FetchPackSuite) TestFetchError(c *C)

func (*FetchPackSuite) TestFetchPack

func (s *FetchPackSuite) TestFetchPack(c *C)

func (*FetchPackSuite) TestFetchPackInvalidReq

func (s *FetchPackSuite) TestFetchPackInvalidReq(c *C)

func (*FetchPackSuite) TestFetchPackMulti

func (s *FetchPackSuite) TestFetchPackMulti(c *C)

func (*FetchPackSuite) TestFetchPackNoChanges

func (s *FetchPackSuite) TestFetchPackNoChanges(c *C)

func (*FetchPackSuite) TestFullFetchPack

func (s *FetchPackSuite) TestFullFetchPack(c *C)

func (*FetchPackSuite) TestInfoEmpty

func (s *FetchPackSuite) TestInfoEmpty(c *C)

func (*FetchPackSuite) TestInfoNotExists

func (s *FetchPackSuite) TestInfoNotExists(c *C)

type SendPackSuite

type SendPackSuite struct {
	Endpoint            transport.Endpoint
	EmptyEndpoint       transport.Endpoint
	NonExistentEndpoint transport.Endpoint
	Client              transport.Client
}

func (*SendPackSuite) TestCallAdvertisedReferenceTwice

func (s *SendPackSuite) TestCallAdvertisedReferenceTwice(c *C)

func (*SendPackSuite) TestCapabilities

func (s *SendPackSuite) TestCapabilities(c *C)

func (*SendPackSuite) TestDefaultBranch

func (s *SendPackSuite) TestDefaultBranch(c *C)

func (*SendPackSuite) TestFullSendPackOnEmpty

func (s *SendPackSuite) TestFullSendPackOnEmpty(c *C)

func (*SendPackSuite) TestFullSendPackOnNonEmpty

func (s *SendPackSuite) TestFullSendPackOnNonEmpty(c *C)

func (*SendPackSuite) TestInfoEmpty

func (s *SendPackSuite) TestInfoEmpty(c *C)

func (*SendPackSuite) TestInfoNotExists

func (s *SendPackSuite) TestInfoNotExists(c *C)

func (*SendPackSuite) TestSendPackAddDeleteReference

func (s *SendPackSuite) TestSendPackAddDeleteReference(c *C)

func (*SendPackSuite) TestSendPackOnEmpty

func (s *SendPackSuite) TestSendPackOnEmpty(c *C)

func (*SendPackSuite) TestSendPackOnEmptyWithReportStatus

func (s *SendPackSuite) TestSendPackOnEmptyWithReportStatus(c *C)

func (*SendPackSuite) TestSendPackOnNonEmpty

func (s *SendPackSuite) TestSendPackOnNonEmpty(c *C)

func (*SendPackSuite) TestSendPackOnNonEmptyWithReportStatus

func (s *SendPackSuite) TestSendPackOnNonEmptyWithReportStatus(c *C)

Jump to

Keyboard shortcuts

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