Documentation ¶
Index ¶
- type BaseStorageSuite
- func (s *BaseStorageSuite) SetUpTest(c *C)
- func (s *BaseStorageSuite) TearDownTest(c *C)
- func (s *BaseStorageSuite) TestCheckAndSetReference(c *C)
- func (s *BaseStorageSuite) TestCheckAndSetReferenceError(c *C)
- func (s *BaseStorageSuite) TestCheckAndSetReferenceNil(c *C)
- func (s *BaseStorageSuite) TestDeltaObjectStorer(c *C)
- func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
- func (s *BaseStorageSuite) TestIndex(c *C)
- func (s *BaseStorageSuite) TestIterEncodedObjects(c *C)
- func (s *BaseStorageSuite) TestIterReferences(c *C)
- func (s *BaseStorageSuite) TestModule(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxGetObjectNotFound(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetEncodedObjectAndCommit(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject(c *C)
- func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback(c *C)
- func (s *BaseStorageSuite) TestPackfileWriter(c *C)
- func (s *BaseStorageSuite) TestRemoveReference(c *C)
- func (s *BaseStorageSuite) TestRemoveReferenceNonExistent(c *C)
- func (s *BaseStorageSuite) TestSetConfigAndConfig(c *C)
- func (s *BaseStorageSuite) TestSetConfigInvalid(c *C)
- func (s *BaseStorageSuite) TestSetEncodedObjectAndEncodedObject(c *C)
- func (s *BaseStorageSuite) TestSetEncodedObjectInvalid(c *C)
- func (s *BaseStorageSuite) TestSetIndexAndIndex(c *C)
- func (s *BaseStorageSuite) TestSetReferenceAndGetReference(c *C)
- func (s *BaseStorageSuite) TestSetShallowAndShallow(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) SetUpTest ¶
func (s *BaseStorageSuite) SetUpTest(c *C)
func (*BaseStorageSuite) TearDownTest ¶
func (s *BaseStorageSuite) TearDownTest(c *C)
func (*BaseStorageSuite) TestCheckAndSetReference ¶ added in v4.10.0
func (s *BaseStorageSuite) TestCheckAndSetReference(c *C)
func (*BaseStorageSuite) TestCheckAndSetReferenceError ¶ added in v4.10.0
func (s *BaseStorageSuite) TestCheckAndSetReferenceError(c *C)
func (*BaseStorageSuite) TestCheckAndSetReferenceNil ¶ added in v4.10.0
func (s *BaseStorageSuite) TestCheckAndSetReferenceNil(c *C)
func (*BaseStorageSuite) TestDeltaObjectStorer ¶
func (s *BaseStorageSuite) TestDeltaObjectStorer(c *C)
func (*BaseStorageSuite) TestGetReferenceNotFound ¶
func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
func (*BaseStorageSuite) TestIndex ¶
func (s *BaseStorageSuite) TestIndex(c *C)
func (*BaseStorageSuite) TestIterEncodedObjects ¶
func (s *BaseStorageSuite) TestIterEncodedObjects(c *C)
func (*BaseStorageSuite) TestIterReferences ¶
func (s *BaseStorageSuite) TestIterReferences(c *C)
func (*BaseStorageSuite) TestModule ¶
func (s *BaseStorageSuite) TestModule(c *C)
func (*BaseStorageSuite) TestObjectStorerTxGetObjectNotFound ¶
func (s *BaseStorageSuite) TestObjectStorerTxGetObjectNotFound(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetEncodedObjectAndCommit ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetEncodedObjectAndCommit(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndGetObject(c *C)
func (*BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback ¶
func (s *BaseStorageSuite) TestObjectStorerTxSetObjectAndRollback(c *C)
func (*BaseStorageSuite) TestPackfileWriter ¶
func (s *BaseStorageSuite) TestPackfileWriter(c *C)
func (*BaseStorageSuite) TestRemoveReference ¶
func (s *BaseStorageSuite) TestRemoveReference(c *C)
func (*BaseStorageSuite) TestRemoveReferenceNonExistent ¶
func (s *BaseStorageSuite) TestRemoveReferenceNonExistent(c *C)
func (*BaseStorageSuite) TestSetConfigAndConfig ¶
func (s *BaseStorageSuite) TestSetConfigAndConfig(c *C)
func (*BaseStorageSuite) TestSetConfigInvalid ¶
func (s *BaseStorageSuite) TestSetConfigInvalid(c *C)
func (*BaseStorageSuite) TestSetEncodedObjectAndEncodedObject ¶
func (s *BaseStorageSuite) TestSetEncodedObjectAndEncodedObject(c *C)
func (*BaseStorageSuite) TestSetEncodedObjectInvalid ¶
func (s *BaseStorageSuite) TestSetEncodedObjectInvalid(c *C)
func (*BaseStorageSuite) TestSetIndexAndIndex ¶
func (s *BaseStorageSuite) TestSetIndexAndIndex(c *C)
func (*BaseStorageSuite) TestSetReferenceAndGetReference ¶
func (s *BaseStorageSuite) TestSetReferenceAndGetReference(c *C)
func (*BaseStorageSuite) TestSetShallowAndShallow ¶
func (s *BaseStorageSuite) TestSetShallowAndShallow(c *C)
type Storer ¶
type Storer interface { storer.EncodedObjectStorer storer.ReferenceStorer storer.ShallowStorer storer.IndexStorer config.ConfigStorer storage.ModuleStorer }
type TestObject ¶
type TestObject struct { Object plumbing.EncodedObject Hash string Type plumbing.ObjectType }
Click to show internal directories.
Click to hide internal directories.