Documentation
¶
Overview ¶
Package backgroundtest holds contract tests shared by every implementation of the background-work interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunActivityRegistryContract ¶
func RunActivityRegistryContract( t *testing.T, newRegistry func(t *testing.T) (interfaces.ActivityRegistry, Advance), )
RunActivityRegistryContract runs the shared ActivityRegistry cases. newRegistry must return an empty registry and a function that advances its clock.
func RunNoticeInboxContract ¶
func RunNoticeInboxContract( t *testing.T, newInbox func(t *testing.T) (interfaces.NoticeInbox, Advance), )
RunNoticeInboxContract runs the shared NoticeInbox cases. newInbox must return an empty inbox whose clock starts at 2026-10-14T10:00:00Z, and a function that advances that clock.
Types ¶
Click to show internal directories.
Click to hide internal directories.