registry/storage/cache/memory/memory_test.go
raw| 1 | package memory |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/docker/distribution/registry/storage/cache/cachecheck" |
| 7 | ) |
| 8 | |
| 9 | // TestInMemoryBlobInfoCache checks the in memory implementation is working |
| 10 | // correctly. |
| 11 | func TestInMemoryBlobInfoCache(t *testing.T) { |
| 12 | cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider()) |
| 13 | } |