Documentation ¶
Overview ¶
package testing provides tests for update and resolution of time-based feeds
Index ¶
- func TestFinderBasic(t *testing.T, finderf func(storage.Getter, *feeds.Feed) feeds.Lookup, ...)
- func TestFinderFixIntervals(t *testing.T, nextf func() (bool, int64), ...)
- func TestFinderIntervals(t *testing.T, nextf func() (bool, int64), ...)
- func TestFinderRandomIntervals(t *testing.T, finderf func(storage.Getter, *feeds.Feed) feeds.Lookup, ...)
- type Timeout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestFinderBasic ¶
func TestFinderBasic(t *testing.T, finderf func(storage.Getter, *feeds.Feed) feeds.Lookup, updaterf func(putter storage.Putter, signer crypto.Signer, topic []byte) (feeds.Updater, error))
nolint:tparallel
func TestFinderFixIntervals ¶
func TestFinderFixIntervals(t *testing.T, nextf func() (bool, int64), finderf func(storage.Getter, *feeds.Feed) feeds.Lookup, updaterf func(putter storage.Putter, signer crypto.Signer, topic []byte) (feeds.Updater, error))
nolint:tparallel
func TestFinderIntervals ¶ added in v0.5.1
Types ¶
Click to show internal directories.
Click to hide internal directories.