2014-10-22 00:02:20 +02:00
|
|
|
package inmemory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2014-12-24 01:01:38 +01:00
|
|
|
"github.com/docker/distribution/storagedriver"
|
|
|
|
"github.com/docker/distribution/storagedriver/testsuites"
|
2014-11-18 00:44:07 +01:00
|
|
|
|
|
|
|
"gopkg.in/check.v1"
|
2014-10-22 00:02:20 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// Hook up gocheck into the "go test" runner.
|
2014-11-18 00:44:07 +01:00
|
|
|
func Test(t *testing.T) { check.TestingT(t) }
|
2014-10-22 00:02:20 +02:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
inmemoryDriverConstructor := func() (storagedriver.StorageDriver, error) {
|
2014-10-29 02:15:40 +01:00
|
|
|
return New(), nil
|
2014-10-22 00:02:20 +02:00
|
|
|
}
|
2014-10-27 21:24:07 +01:00
|
|
|
testsuites.RegisterInProcessSuite(inmemoryDriverConstructor, testsuites.NeverSkip)
|
2014-12-05 05:14:41 +01:00
|
|
|
|
|
|
|
// BUG(stevvooe): Disable flaky IPC tests for now when we can troubleshoot
|
|
|
|
// the problems with libchan.
|
|
|
|
// testsuites.RegisterIPCSuite(driverName, nil, testsuites.NeverSkip)
|
2014-10-22 00:02:20 +02:00
|
|
|
}
|