catalogtest

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package catalogtest is the conformance suite for core.CatalogStore implementations. Run it from each implementation's tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, newBackend NewBackend)

Run verifies the CatalogStore guarantees against fresh backing storage for every subtest, and the ConditionalCatalogStore guarantees too when the store implements them.

Types

type NewBackend

type NewBackend func(t *testing.T) Opener

NewBackend creates fresh backing storage for one subtest and returns its opener.

type Opener

type Opener func(t *testing.T) core.CatalogStore

Opener returns one handle on shared backing storage. Separate handles model separate processes: a file store opens the same path again.

Jump to

Keyboard shortcuts

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