Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocPathSegment ¶
func AllocPathSegment(t *testing.T, ctrl *gomock.Controller, ifs []uint64, expiration uint32) (*seg.PathSegment, []byte)
func TestPathDB ¶
func TestPathDB(t *testing.T, db TestablePathDB)
TestPathDB should be used to test any implementation of the PathDB interface. An implementation of the PathDB interface should at least have one test method that calls this test-suite.
Types ¶
Click to show internal directories.
Click to hide internal directories.