2021-12-07 17:45:15 +01:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestMemCache_Messages(t *testing.T) {
|
|
|
|
testCacheMessages(t, newMemCache())
|
|
|
|
}
|
2021-12-09 04:57:31 +01:00
|
|
|
|
|
|
|
func TestMemCache_Topics(t *testing.T) {
|
|
|
|
testCacheTopics(t, newMemCache())
|
|
|
|
}
|
|
|
|
|
2021-12-07 17:45:15 +01:00
|
|
|
func TestMemCache_MessagesTagsPrioAndTitle(t *testing.T) {
|
|
|
|
testCacheMessagesTagsPrioAndTitle(t, newMemCache())
|
|
|
|
}
|
2021-12-09 04:57:31 +01:00
|
|
|
|
|
|
|
func TestMemCache_Prune(t *testing.T) {
|
|
|
|
testCachePrune(t, newMemCache())
|
|
|
|
}
|