 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type BaseStorageSuite
- func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
- func (s *BaseStorageSuite) TestIterEncodedObjects(c *C)
- func (s *BaseStorageSuite) TestIterReferences(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) TestSetConfigAndConfig(c *C)
- func (s *BaseStorageSuite) TestSetConfigInvalid(c *C)
- func (s *BaseStorageSuite) TestSetEncodedObjectAndEncodedObject(c *C)
- func (s *BaseStorageSuite) TestSetEncodedObjectInvalid(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) TestGetReferenceNotFound ¶
func (s *BaseStorageSuite) TestGetReferenceNotFound(c *C)
func (*BaseStorageSuite) TestIterEncodedObjects ¶
func (s *BaseStorageSuite) TestIterEncodedObjects(c *C)
func (*BaseStorageSuite) TestIterReferences ¶
func (s *BaseStorageSuite) TestIterReferences(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) 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) 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
	config.ConfigStorer
}
    type TestObject ¶
type TestObject struct {
	Object plumbing.EncodedObject
	Hash   string
	Type   plumbing.ObjectType
}
     Click to show internal directories. 
   Click to hide internal directories.