github.com/mika/distribution@v2.2.2-0.20160108133430-a75790e3d8e0+incompatible/registry/storage/cache/memory/memory_test.go (about)

     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  }