Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
e2bf8ceb
Commit
e2bf8ceb
authored
Sep 18, 2016
by
Eric Chiang
Committed by
Eric Chiang
Oct 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage: rename "storagetest" package to "conformance"
parent
87a7d093
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
conformance.go
storage/conformance/conformance.go
+2
-2
storage_test.go
storage/kubernetes/storage_test.go
+2
-2
memory_test.go
storage/memory/memory_test.go
+2
-2
No files found.
storage/
storagetest/storagetest
.go
→
storage/
conformance/conformance
.go
View file @
e2bf8ceb
// +build go1.7
// Package
storagetest
provides conformance tests for storage implementations.
package
storagetest
// Package
conformance
provides conformance tests for storage implementations.
package
conformance
import
(
"reflect"
...
...
storage/kubernetes/storage_test.go
View file @
e2bf8ceb
...
...
@@ -4,7 +4,7 @@ import (
"os"
"testing"
"github.com/coreos/dex/storage/
storagetest
"
"github.com/coreos/dex/storage/
conformance
"
)
func
TestLoadClient
(
t
*
testing
.
T
)
{
...
...
@@ -73,5 +73,5 @@ func TestURLFor(t *testing.T) {
func
TestStorage
(
t
*
testing
.
T
)
{
client
:=
loadClient
(
t
)
storagetest
.
RunTestSuite
(
t
,
client
)
conformance
.
RunTestSuite
(
t
,
client
)
}
storage/memory/memory_test.go
View file @
e2bf8ceb
...
...
@@ -3,10 +3,10 @@ package memory
import
(
"testing"
"github.com/coreos/dex/storage/
storagetest
"
"github.com/coreos/dex/storage/
conformance
"
)
func
TestStorage
(
t
*
testing
.
T
)
{
s
:=
New
()
storagetest
.
RunTestSuite
(
t
,
s
)
conformance
.
RunTestSuite
(
t
,
s
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment