Documentation ¶
Index ¶
- Constants
- func TestSearchChannelStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
- func TestSearchPostStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
- func TestSearchUserStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
- type ByChannelDisplayName
- type SearchTestEngine
- type SearchTestHelper
Constants ¶
View Source
const ( ENGINE_ALL = "all" ENGINE_MYSQL = "mysql" ENGINE_POSTGRES = "postgres" ENGINE_ELASTICSEARCH = "elasticsearch" ENGINE_BLEVE = "bleve" )
Variables ¶
This section is empty.
Functions ¶
func TestSearchChannelStore ¶
func TestSearchChannelStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
func TestSearchPostStore ¶
func TestSearchPostStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
func TestSearchUserStore ¶
func TestSearchUserStore(t *testing.T, s store.Store, testEngine *SearchTestEngine)
Types ¶
type ByChannelDisplayName ¶
type ByChannelDisplayName model.ChannelList
func (ByChannelDisplayName) Len ¶
func (s ByChannelDisplayName) Len() int
func (ByChannelDisplayName) Less ¶
func (s ByChannelDisplayName) Less(i, j int) bool
func (ByChannelDisplayName) Swap ¶
func (s ByChannelDisplayName) Swap(i, j int)
type SearchTestEngine ¶
type SearchTestHelper ¶
type SearchTestHelper struct { Store store.Store Team *model.Team AnotherTeam *model.Team User *model.User User2 *model.User UserAnotherTeam *model.User ChannelBasic *model.Channel ChannelPrivate *model.Channel ChannelAnotherTeam *model.Channel ChannelDeleted *model.Channel }
func (*SearchTestHelper) CleanFixtures ¶
func (th *SearchTestHelper) CleanFixtures() error
func (*SearchTestHelper) SetupBasicFixtures ¶
func (th *SearchTestHelper) SetupBasicFixtures() error
Click to show internal directories.
Click to hide internal directories.