tests

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHoldingsWorkerTests added in v1.35.0

func RunHoldingsWorkerTests(t *testing.T, s chat.Store, teardown func())

RunHoldingsWorkerTests runs the shared chat.HoldingsWorker test suite against s; teardown resets it between tests.

func RunServerTests

func RunServerTests(t *testing.T, s chat.Store, teardown func())

RunServerTests runs the shared chat.Server test suite against s. teardown is called between tests to reset the store.

func RunStoreTests

func RunStoreTests(t *testing.T, s chat.Store, newStore func(excludedFromFeed []*commonpb.UserId) chat.Store, teardown func())

RunStoreTests runs the shared chat.Store test suite against s, a store excluding no one from the feed, and stores newStore builds excluding the users given (see chat.FeedExclusions). teardown is called between tests to reset the store; the stores newStore builds may share s's storage, and every test using them names chats and users of its own.

Types

This section is empty.

Jump to

Keyboard shortcuts

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