import "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
Package test implements common test suite for different transport implementations.
Package test implements common test suite for different transport implementations.
receive_pack.go upload_pack.go
type ReceivePackSuite struct { Endpoint *transport.Endpoint EmptyEndpoint *transport.Endpoint NonExistentEndpoint *transport.Endpoint EmptyAuth transport.AuthMethod Client transport.Transport }
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 struct { Endpoint *transport.Endpoint EmptyEndpoint *transport.Endpoint NonExistentEndpoint *transport.Endpoint EmptyAuth transport.AuthMethod Client transport.Transport }
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)
Package test imports 15 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.