test

package
v4.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 15 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 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)

Jump to

Keyboard shortcuts

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