MCPcopy Index your code
hub / github.com/perkeep/perkeep / TestHandler

Function TestHandler

pkg/search/handler_test.go:939–948  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

937}
938
939func TestHandler(t *testing.T) {
940 if testing.Short() {
941 t.Skip("skipping in short mode")
942 return
943 }
944 defer SetTestHookBug121(func() {})
945 for _, ht := range handlerTests {
946 ht.test(t)
947 }
948}
949
950// TestGetPermanodeLocationAllocs helps us making sure we keep
951// Handler.getPermanodeLocation (or equivalent), allocation-free.

Callers

nothing calls this directly

Calls 2

SetTestHookBug121Function · 0.85
testMethod · 0.45

Tested by

no test coverage detected