Documentation
¶
Overview ¶
Package fixture provides test suites to test implementations of the interfaces in the huedb package.
Index ¶
- func NamedColors(t *testing.T, store NamedColorsStore)
- func NamedColorsById(t *testing.T, store MinimalStore)
- func RemoveNamedColors(t *testing.T, store RemoveNamedColorsStore)
- func UpdateNamedColors(t *testing.T, store UpdateNamedColorsStore)
- type MinimalStore
- type NamedColorsStore
- type RemoveNamedColorsStore
- type UpdateNamedColorsStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NamedColors ¶
func NamedColors(t *testing.T, store NamedColorsStore)
func NamedColorsById ¶
func NamedColorsById(t *testing.T, store MinimalStore)
func RemoveNamedColors ¶
func RemoveNamedColors(t *testing.T, store RemoveNamedColorsStore)
func UpdateNamedColors ¶
func UpdateNamedColors(t *testing.T, store UpdateNamedColorsStore)
Types ¶
type MinimalStore ¶
type MinimalStore interface {
huedb.AddNamedColorsRunner
huedb.NamedColorsByIdRunner
}
type NamedColorsStore ¶
type NamedColorsStore interface {
MinimalStore
huedb.NamedColorsRunner
}
type RemoveNamedColorsStore ¶
type RemoveNamedColorsStore interface {
MinimalStore
huedb.RemoveNamedColorsRunner
}
type UpdateNamedColorsStore ¶
type UpdateNamedColorsStore interface {
MinimalStore
huedb.UpdateNamedColorsRunner
}
Click to show internal directories.
Click to hide internal directories.