cachetest

package
v1.11.12-oidc-test Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const IntSize = ids.IDLen + 8

Variables

View Source
var Tests = []struct {
	Size int
	Func func(t *testing.T, c cache.Cacher[ids.ID, int64])
}{
	{Size: 1, Func: TestBasic},
	{Size: 2, Func: TestEviction},
}

Tests is a list of all Cacher tests

Functions

func IntSizeFunc

func IntSizeFunc(ids.ID, int64) int

func TestBasic

func TestBasic(t *testing.T, cache cache.Cacher[ids.ID, int64])

func TestEviction

func TestEviction(t *testing.T, cache cache.Cacher[ids.ID, int64])

Types

This section is empty.

Jump to

Keyboard shortcuts

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