mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Adding initial test suites
This commit is contained in:
24
pkg/storage/inmemory/inmemory_test.go
Normal file
24
pkg/storage/inmemory/inmemory_test.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package inmemory
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
mstorage "github.com/minio-io/minio/pkg/storage"
|
||||
|
||||
. "gopkg.in/check.v1"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
type MySuite struct{}
|
||||
|
||||
var _ = Suite(&MySuite{})
|
||||
|
||||
func (s *MySuite) TestAPISuite(c *C) {
|
||||
create := func() mstorage.Storage {
|
||||
_, _, store := Start()
|
||||
return store
|
||||
}
|
||||
|
||||
mstorage.APITestSuite(c, create)
|
||||
}
|
||||
Reference in New Issue
Block a user