Documentation ¶
Index ¶
- Variables
- func MultiLogTest(f NewLogFunc) func(*testing.T)
- func MultiLogTestSimple(f NewLogFunc) func(*testing.T)
- func MultilogLiveQueryCheck(f NewLogFunc) func(*testing.T)
- func MultilogTestAddLogAndListed(f NewLogFunc) func(*testing.T)
- func MultilogTestGetFreshLogCloseThenOpenAgain(f NewLogFunc) func(*testing.T)
- func Register(name string, f NewLogFunc)
- func RunMultiLogTests(t *testing.T)
- func RunSinkTests(t *testing.T)
- func RunSubLogTests(t *testing.T)
- func SinkTest(f NewLogFunc) func(*testing.T)
- func SinkTestSimple(f NewLogFunc) func(*testing.T)
- func SubLogTest(f NewLogFunc) func(*testing.T)
- func SubLogTestGet(f NewLogFunc) func(*testing.T)
- type NewLogFunc
- Bugs
Constants ¶
This section is empty.
Variables ¶
View Source
var NewLogFuncs map[string]NewLogFunc
Functions ¶
func MultiLogTest ¶
func MultiLogTest(f NewLogFunc) func(*testing.T)
func MultiLogTestSimple ¶
func MultiLogTestSimple(f NewLogFunc) func(*testing.T)
func MultilogLiveQueryCheck ¶ added in v0.1.2
func MultilogLiveQueryCheck(f NewLogFunc) func(*testing.T)
func MultilogTestAddLogAndListed ¶
func MultilogTestAddLogAndListed(f NewLogFunc) func(*testing.T)
func MultilogTestGetFreshLogCloseThenOpenAgain ¶ added in v0.4.3
func MultilogTestGetFreshLogCloseThenOpenAgain(f NewLogFunc) func(*testing.T)
cblgh: tests to make sure the local fork reproduction that was found when testing against peachcloud doesn't reappear
the scenario that detected it:
Start a fresh go-sbot (multilog) Post some messages (entries in a sublog) Stop it Some time later: start it again Post more messages (entries in a sublog) Uh-oh the first new message seems to fork, using the previous-to-last message (instead of the last message) as it's previous reference, and with a seqno that is one less than it should be
func Register ¶
func Register(name string, f NewLogFunc)
func RunMultiLogTests ¶
func RunSinkTests ¶
func RunSubLogTests ¶
func SinkTest ¶
func SinkTest(f NewLogFunc) func(*testing.T)
func SinkTestSimple ¶
func SinkTestSimple(f NewLogFunc) func(*testing.T)
func SubLogTest ¶
func SubLogTest(f NewLogFunc) func(*testing.T)
func SubLogTestGet ¶
func SubLogTestGet(f NewLogFunc) func(*testing.T)
Types ¶
Notes ¶
Bugs ¶
roaring does not implement reverse right now and just throws an error (https://github.com/cryptoscope/margaret/issues/7)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.