2015-02-11 02:14:23 +00:00
|
|
|
package inmemory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
storagedriver "github.com/docker/distribution/registry/storage/driver"
|
|
|
|
"github.com/docker/distribution/registry/storage/driver/testsuites"
|
|
|
|
"gopkg.in/check.v1"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Hook up gocheck into the "go test" runner.
|
|
|
|
func Test(t *testing.T) { check.TestingT(t) }
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
inmemoryDriverConstructor := func() (storagedriver.StorageDriver, error) {
|
|
|
|
return New(), nil
|
|
|
|
}
|
2015-06-29 23:39:45 +00:00
|
|
|
testsuites.RegisterSuite(inmemoryDriverConstructor, testsuites.NeverSkip)
|
2015-02-11 02:14:23 +00:00
|
|
|
}
|