Documentation ¶
Index ¶
- func AssertEqualBlobRef(t *testing.T, expected, actual *blobref.BlobRef, msgAndArgs ...interface{})
- func AssertEqualBlobRefWithinDuration(t *testing.T, expected, actual *blobref.BlobRef, delta time.Duration, ...)
- func AssertEqualChunkRef(t *testing.T, expected, actual *chunkref.ChunkRef, msgAndArgs ...interface{})
- func AssertEqualChunkRefWithinDuration(t *testing.T, expected, actual *chunkref.ChunkRef, delta time.Duration, ...)
- func AssertEqualRecord(t *testing.T, expected, actual *record.Record, msgAndArgs ...interface{})
- func AssertEqualRecordWithinDuration(t *testing.T, expected, actual *record.Record, delta time.Duration, ...)
- func AssertEqualStore(t *testing.T, expected, actual *store.Store, msgAndArgs ...interface{})
- func AssertEqualStoreWithinDuration(t *testing.T, expected, actual *store.Store, delta time.Duration, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqualBlobRef ¶
AssertEqualBlobRef is equivalent to AssertEqualBlobRefWithinDuration(t, expected, actual, time.Duration(0), msgAndArgs...)
func AssertEqualBlobRefWithinDuration ¶
func AssertEqualBlobRefWithinDuration(t *testing.T, expected, actual *blobref.BlobRef, delta time.Duration, msgAndArgs ...interface{})
AssertEqualBlobRefWithinDuration compares each field in blobref.BlobRef and asserts the timestamps are within delta.
func AssertEqualChunkRef ¶
func AssertEqualChunkRef(t *testing.T, expected, actual *chunkref.ChunkRef, msgAndArgs ...interface{})
AssertEqualChunkRef is equivalent to AssertEqualChunkRefWithinDuration(t, expected, actual, time.Duration(0), msgAndArgs...)
func AssertEqualChunkRefWithinDuration ¶
func AssertEqualChunkRefWithinDuration(t *testing.T, expected, actual *chunkref.ChunkRef, delta time.Duration, msgAndArgs ...interface{})
AssertEqualChunkRefWithinDuration compares each field in chunkref.ChunkRef and asserts they are equal (timestamps are within delta).
func AssertEqualRecord ¶
AssertEqualRecord is equivalent to AssertEqualRecordWithinDuration(t, expected, actual, time.Duration(0), msgAndArgs...)
func AssertEqualRecordWithinDuration ¶
func AssertEqualRecordWithinDuration(t *testing.T, expected, actual *record.Record, delta time.Duration, msgAndArgs ...interface{})
AssertEqualRecordWithinDuration compares each field in record.Record and asserts the timestamps are within delta.
func AssertEqualStore ¶
AssertEqualStore is equivalent to AssertEqualStoreWithinDuration(t, expected, actual, time.Duration(0), msgAndArgs...)
Types ¶
This section is empty.