Documentation ¶
Overview ¶
Package graphsshortcuttest has common code for tests of implementations of graphsshortcut.Store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SubTests = map[string]SubTestFunction{ "GraphsShortcut_InsertGet": InsertGet, "GraphsShortcut_GetNonExistent": GetNonExistent, }
SubTests are all the subtests we have for graphsshortcut.Store.
Functions ¶
func GetNonExistent ¶
func GetNonExistent(t *testing.T, store graphsshortcut.Store)
GraphsShortcut_GetNonExistent tests that we fail when retrieving an unknown shortcut.
Types ¶
type SubTestFunction ¶
type SubTestFunction func(t *testing.T, store graphsshortcut.Store)
SubTestFunction is a func we will call to test one aspect of an implementation of graphsshortcut.Store.
Click to show internal directories.
Click to hide internal directories.