...
1 package inmemory
2
3 import (
4 "testing"
5
6 storagedriver "github.com/docker/distribution/registry/storage/driver"
7 "github.com/docker/distribution/registry/storage/driver/testsuites"
8 "gopkg.in/check.v1"
9 )
10
11
12 func Test(t *testing.T) { check.TestingT(t) }
13
14 func init() {
15 inmemoryDriverConstructor := func() (storagedriver.StorageDriver, error) {
16 return New(), nil
17 }
18 testsuites.RegisterSuite(inmemoryDriverConstructor, testsuites.NeverSkip)
19 }
20
View as plain text