2015-05-21 02:12:40 +02:00
|
|
|
package memory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2015-09-25 03:22:23 +02:00
|
|
|
"github.com/docker/distribution/registry/storage/cache/cachecheck"
|
2015-05-21 02:12:40 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// TestInMemoryBlobInfoCache checks the in memory implementation is working
|
|
|
|
// correctly.
|
|
|
|
func TestInMemoryBlobInfoCache(t *testing.T) {
|
2015-09-25 03:22:23 +02:00
|
|
|
cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider())
|
2015-05-21 02:12:40 +02:00
|
|
|
}
|