fixture

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package fixture provides test suites to test implementations of the interfaces in the huedb package.

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL