Documentation ¶
Overview ¶
Package test implements common test suite for different transport implementations.
Package test implements common test suite for different transport implementations.
Index ¶
- type ReceivePackSuite
- func (s *ReceivePackSuite) TestAdvertisedReferencesEmpty(c *C)
- func (s *ReceivePackSuite) TestAdvertisedReferencesNotExists(c *C)
- func (s *ReceivePackSuite) TestCallAdvertisedReferenceTwice(c *C)
- func (s *ReceivePackSuite) TestCapabilities(c *C)
- func (s *ReceivePackSuite) TestDefaultBranch(c *C)
- func (s *ReceivePackSuite) TestFullSendPackOnEmpty(c *C)
- func (s *ReceivePackSuite) TestFullSendPackOnNonEmpty(c *C)
- func (s *ReceivePackSuite) TestSendPackAddDeleteReference(c *C)
- func (s *ReceivePackSuite) TestSendPackOnEmpty(c *C)
- func (s *ReceivePackSuite) TestSendPackOnEmptyWithReportStatus(c *C)
- func (s *ReceivePackSuite) TestSendPackOnNonEmpty(c *C)
- func (s *ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatus(c *C)
- func (s *ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatusWithError(c *C)
- func (s *ReceivePackSuite) TestSendPackWithContext(c *C)
- type UploadPackSuite
- func (s *UploadPackSuite) TestAdvertisedReferencesEmpty(c *C)
- func (s *UploadPackSuite) TestAdvertisedReferencesFilterUnsupported(c *C)
- func (s *UploadPackSuite) TestAdvertisedReferencesNotExists(c *C)
- func (s *UploadPackSuite) TestCallAdvertisedReferenceTwice(c *C)
- func (s *UploadPackSuite) TestCapabilities(c *C)
- func (s *UploadPackSuite) TestDefaultBranch(c *C)
- func (s *UploadPackSuite) TestFetchError(c *C)
- func (s *UploadPackSuite) TestUploadPack(c *C)
- func (s *UploadPackSuite) TestUploadPackFull(c *C)
- func (s *UploadPackSuite) TestUploadPackInvalidReq(c *C)
- func (s *UploadPackSuite) TestUploadPackMulti(c *C)
- func (s *UploadPackSuite) TestUploadPackNoChanges(c *C)
- func (s *UploadPackSuite) TestUploadPackPartial(c *C)
- func (s *UploadPackSuite) TestUploadPackWithContext(c *C)
- func (s *UploadPackSuite) TestUploadPackWithContextOnRead(c *C)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReceivePackSuite ¶
type ReceivePackSuite struct { Endpoint *transport.Endpoint EmptyEndpoint *transport.Endpoint NonExistentEndpoint *transport.Endpoint EmptyAuth transport.AuthMethod Client transport.Transport }
func (*ReceivePackSuite) TestAdvertisedReferencesEmpty ¶
func (s *ReceivePackSuite) TestAdvertisedReferencesEmpty(c *C)
func (*ReceivePackSuite) TestAdvertisedReferencesNotExists ¶
func (s *ReceivePackSuite) TestAdvertisedReferencesNotExists(c *C)
func (*ReceivePackSuite) TestCallAdvertisedReferenceTwice ¶
func (s *ReceivePackSuite) TestCallAdvertisedReferenceTwice(c *C)
func (*ReceivePackSuite) TestCapabilities ¶
func (s *ReceivePackSuite) TestCapabilities(c *C)
func (*ReceivePackSuite) TestDefaultBranch ¶
func (s *ReceivePackSuite) TestDefaultBranch(c *C)
func (*ReceivePackSuite) TestFullSendPackOnEmpty ¶
func (s *ReceivePackSuite) TestFullSendPackOnEmpty(c *C)
func (*ReceivePackSuite) TestFullSendPackOnNonEmpty ¶
func (s *ReceivePackSuite) TestFullSendPackOnNonEmpty(c *C)
func (*ReceivePackSuite) TestSendPackAddDeleteReference ¶
func (s *ReceivePackSuite) TestSendPackAddDeleteReference(c *C)
func (*ReceivePackSuite) TestSendPackOnEmpty ¶
func (s *ReceivePackSuite) TestSendPackOnEmpty(c *C)
func (*ReceivePackSuite) TestSendPackOnEmptyWithReportStatus ¶
func (s *ReceivePackSuite) TestSendPackOnEmptyWithReportStatus(c *C)
func (*ReceivePackSuite) TestSendPackOnNonEmpty ¶
func (s *ReceivePackSuite) TestSendPackOnNonEmpty(c *C)
func (*ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatus ¶
func (s *ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatus(c *C)
func (*ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatusWithError ¶
func (s *ReceivePackSuite) TestSendPackOnNonEmptyWithReportStatusWithError(c *C)
func (*ReceivePackSuite) TestSendPackWithContext ¶
func (s *ReceivePackSuite) TestSendPackWithContext(c *C)
type UploadPackSuite ¶
type UploadPackSuite struct { Endpoint *transport.Endpoint EmptyEndpoint *transport.Endpoint NonExistentEndpoint *transport.Endpoint EmptyAuth transport.AuthMethod Client transport.Transport }
func (*UploadPackSuite) TestAdvertisedReferencesEmpty ¶
func (s *UploadPackSuite) TestAdvertisedReferencesEmpty(c *C)
func (*UploadPackSuite) TestAdvertisedReferencesFilterUnsupported ¶
func (s *UploadPackSuite) TestAdvertisedReferencesFilterUnsupported(c *C)
func (*UploadPackSuite) TestAdvertisedReferencesNotExists ¶
func (s *UploadPackSuite) TestAdvertisedReferencesNotExists(c *C)
func (*UploadPackSuite) TestCallAdvertisedReferenceTwice ¶
func (s *UploadPackSuite) TestCallAdvertisedReferenceTwice(c *C)
func (*UploadPackSuite) TestCapabilities ¶
func (s *UploadPackSuite) TestCapabilities(c *C)
func (*UploadPackSuite) TestDefaultBranch ¶
func (s *UploadPackSuite) TestDefaultBranch(c *C)
func (*UploadPackSuite) TestFetchError ¶
func (s *UploadPackSuite) TestFetchError(c *C)
func (*UploadPackSuite) TestUploadPack ¶
func (s *UploadPackSuite) TestUploadPack(c *C)
func (*UploadPackSuite) TestUploadPackFull ¶
func (s *UploadPackSuite) TestUploadPackFull(c *C)
func (*UploadPackSuite) TestUploadPackInvalidReq ¶
func (s *UploadPackSuite) TestUploadPackInvalidReq(c *C)
func (*UploadPackSuite) TestUploadPackMulti ¶
func (s *UploadPackSuite) TestUploadPackMulti(c *C)
func (*UploadPackSuite) TestUploadPackNoChanges ¶
func (s *UploadPackSuite) TestUploadPackNoChanges(c *C)
func (*UploadPackSuite) TestUploadPackPartial ¶
func (s *UploadPackSuite) TestUploadPackPartial(c *C)
func (*UploadPackSuite) TestUploadPackWithContext ¶
func (s *UploadPackSuite) TestUploadPackWithContext(c *C)
func (*UploadPackSuite) TestUploadPackWithContextOnRead ¶
func (s *UploadPackSuite) TestUploadPackWithContextOnRead(c *C)
Click to show internal directories.
Click to hide internal directories.