Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunServerTests ¶
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.
Click to show internal directories.
Click to hide internal directories.