MCPcopy Create free account
hub / github.com/corestoreio/pkg / testBackendConfiguration

Function testBackendConfiguration

net/signed/backendsigned/integration_test.go:151–201  ·  view source on GitHub ↗

func TestConfiguration_GCRA_Not_Registered(t *testing.T) { testBackendConfiguration(t, "panic", cfgmock.PathValue{}, func(rec *httptest.ResponseRecorder) { assert.Exactly(t, http.StatusTeapot, rec.Code) }, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { panic("Should n

(
	t *testing.T, httpRequestURL string,
	pv cfgmock.PathValue,
	assertResponse func(*httptest.ResponseRecorder),
	nextH http.Handler,
	testLogger bool,
	opts ...signed.Option,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

ServeHTTPMethod · 0.95
WithResponseSignatureMethod · 0.80
StringMethod · 0.65
ErrorfMethod · 0.65
PrepareOptionFactoryMethod · 0.45
WriteHeaderMethod · 0.45
ContextMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected