88795e0a14
Changes some names to match go conventions Comments all exported methods Removes dot imports
21 lines
537 B
Go
21 lines
537 B
Go
package inmemory
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/docker/docker-registry/storagedriver"
|
|
"github.com/docker/docker-registry/storagedriver/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
|
|
}
|
|
testsuites.RegisterInProcessSuite(inmemoryDriverConstructor, testsuites.NeverSkip)
|
|
testsuites.RegisterIPCSuite(driverName, nil, testsuites.NeverSkip)
|
|
}
|