Adding initial test suites

This commit is contained in:
Frederick F. Kautz IV
2015-01-25 11:22:38 -08:00
parent 4b586a51cf
commit 82a69d3ab9
4 changed files with 101 additions and 5 deletions

View 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)
}