tests

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServerTests

func RunServerTests(t *testing.T, accounts account.Store, s blocklist.Store, teardown func())

RunServerTests runs the shared blocklist.Server test suite against s, using accounts to authorize callers and to resolve whether a user being blocked exists. teardown is called between tests to reset the blocklist store.

func RunStoreTests

func RunStoreTests(t *testing.T, s blocklist.Store, teardown func())

RunStoreTests runs the shared blocklist.Store test suite against s. teardown is called between tests to reset the store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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