Documentation ¶
Overview ¶
Package test implements common test suite for different transport implementations.
Package test implements common test suite for different transport implementations.
Index ¶
- type FetchPackSuite
- func (s *FetchPackSuite) TestAdvertisedReferencesFilterUnsupported(c *C)
- func (s *FetchPackSuite) TestCallAdvertisedReferenceTwice(c *C)
- func (s *FetchPackSuite) TestCapabilities(c *C)
- func (s *FetchPackSuite) TestDefaultBranch(c *C)
- func (s *FetchPackSuite) TestFetchError(c *C)
- func (s *FetchPackSuite) TestFetchPack(c *C)
- func (s *FetchPackSuite) TestFetchPackInvalidReq(c *C)
- func (s *FetchPackSuite) TestFetchPackMulti(c *C)
- func (s *FetchPackSuite) TestFetchPackNoChanges(c *C)
- func (s *FetchPackSuite) TestFullFetchPack(c *C)
- func (s *FetchPackSuite) TestInfoEmpty(c *C)
- func (s *FetchPackSuite) TestInfoNotExists(c *C)
- type SendPackSuite
- func (s *SendPackSuite) TestCallAdvertisedReferenceTwice(c *C)
- func (s *SendPackSuite) TestCapabilities(c *C)
- func (s *SendPackSuite) TestDefaultBranch(c *C)
- func (s *SendPackSuite) TestFullSendPackOnEmpty(c *C)
- func (s *SendPackSuite) TestFullSendPackOnNonEmpty(c *C)
- func (s *SendPackSuite) TestInfoEmpty(c *C)
- func (s *SendPackSuite) TestInfoNotExists(c *C)
- func (s *SendPackSuite) TestSendPackAddDeleteReference(c *C)
- func (s *SendPackSuite) TestSendPackOnEmpty(c *C)
- func (s *SendPackSuite) TestSendPackOnEmptyWithReportStatus(c *C)
- func (s *SendPackSuite) TestSendPackOnNonEmpty(c *C)
- func (s *SendPackSuite) TestSendPackOnNonEmptyWithReportStatus(c *C)
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)
Click to show internal directories.
Click to hide internal directories.