Documentation ¶
Index ¶
- type BaseStorageSuite
- func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
- func (s *BaseStorageSuite) TestIterReferences(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxGetObjectNotFound(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndCommit(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback(c *C)
- func (s *BaseStorageSuite) TestSetConfigAndConfig(c *C)
- func (s *BaseStorageSuite) TestSetConfigInvalid(c *C)
- func (s *BaseStorageSuite) TestSetObjectAndGetObject(c *C)
- func (s *BaseStorageSuite) TestSetObjectInvalid(c *C)
- func (s *BaseStorageSuite) TestSetReferenceAndGetReference(c *C)
- func (s *BaseStorageSuite) TestStorerIter(c *C)
- type Storer
- type TestObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseStorageSuite ¶
type BaseStorageSuite struct { Storer Storer // contains filtered or unexported fields }
func NewBaseStorageSuite ¶
func NewBaseStorageSuite(s Storer) BaseStorageSuite
func (*BaseStorageSuite) TestGetReferenceNotFound ¶
func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
func (*BaseStorageSuite) TestIterReferences ¶
func (s *BaseStorageSuite) TestIterReferences(c *C)
func (*BaseStorageSuite) TestObjectStorerTxGetObjectNotFound ¶
func (s *BaseStorageSuite) TestObjectStorerTxGetObjectNotFound(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetObjectAndCommit ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndCommit(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback(c *C)
func (*BaseStorageSuite) TestSetConfigAndConfig ¶
func (s *BaseStorageSuite) TestSetConfigAndConfig(c *C)
func (*BaseStorageSuite) TestSetConfigInvalid ¶
func (s *BaseStorageSuite) TestSetConfigInvalid(c *C)
func (*BaseStorageSuite) TestSetObjectAndGetObject ¶
func (s *BaseStorageSuite) TestSetObjectAndGetObject(c *C)
func (*BaseStorageSuite) TestSetObjectInvalid ¶
func (s *BaseStorageSuite) TestSetObjectInvalid(c *C)
func (*BaseStorageSuite) TestSetReferenceAndGetReference ¶
func (s *BaseStorageSuite) TestSetReferenceAndGetReference(c *C)
func (*BaseStorageSuite) TestStorerIter ¶
func (s *BaseStorageSuite) TestStorerIter(c *C)
type Storer ¶
type Storer interface { storer.ObjectStorer storer.ReferenceStorer config.ConfigStorer }
type TestObject ¶
type TestObject struct { Object plumbing.Object Hash string Type plumbing.ObjectType }
Click to show internal directories.
Click to hide internal directories.