storage: rename "storagetest" package to "conformance"
This commit is contained in:
parent
87a7d093b2
commit
e2bf8ceb63
@ -1,7 +1,7 @@
|
|||||||
// +build go1.7
|
// +build go1.7
|
||||||
|
|
||||||
// Package storagetest provides conformance tests for storage implementations.
|
// Package conformance provides conformance tests for storage implementations.
|
||||||
package storagetest
|
package conformance
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"reflect"
|
"reflect"
|
@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/coreos/dex/storage/storagetest"
|
"github.com/coreos/dex/storage/conformance"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLoadClient(t *testing.T) {
|
func TestLoadClient(t *testing.T) {
|
||||||
@ -73,5 +73,5 @@ func TestURLFor(t *testing.T) {
|
|||||||
|
|
||||||
func TestStorage(t *testing.T) {
|
func TestStorage(t *testing.T) {
|
||||||
client := loadClient(t)
|
client := loadClient(t)
|
||||||
storagetest.RunTestSuite(t, client)
|
conformance.RunTestSuite(t, client)
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ package memory
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/coreos/dex/storage/storagetest"
|
"github.com/coreos/dex/storage/conformance"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStorage(t *testing.T) {
|
func TestStorage(t *testing.T) {
|
||||||
s := New()
|
s := New()
|
||||||
storagetest.RunTestSuite(t, s)
|
conformance.RunTestSuite(t, s)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user