querycachetest

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package querycachetest is the conformance suite of the query cache's store (engine/querycache's Store): what each of its methods must do, whatever a store's tables. Every store runs it, anfra's and a platform's alike:

func TestStore(t *testing.T) {
	querycachetest.Run(t, func(t *testing.T) querycache.Store { return openEmptyStore(t) })
}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, open func(t *testing.T) querycache.Store)

Run runs the suite, each test on a store open gives it empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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