MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / TestGenericErrorFn

Function TestGenericErrorFn

backend/pkg/httpserver/server_test.go:1703–1735  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1701// nolint: ireturn // WONTFIX - generated method signature
1702func (m *mockServerInterface) UpdateSubscription(ctx context.Context,
1703 _ backend.UpdateSubscriptionRequestObject) (
1704 backend.UpdateSubscriptionResponseObject, error) {
1705 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1706 m.callCount++
1707 panic("unimplemented")
1708}
1709
1710// ListSubscriptions implements backend.StrictServerInterface.
1711// nolint: ireturn // WONTFIX - generated method signature
1712func (m *mockServerInterface) ListSubscriptions(ctx context.Context,
1713 _ backend.ListSubscriptionsRequestObject) (
1714 backend.ListSubscriptionsResponseObject, error) {
1715 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1716 m.callCount++
1717 panic("unimplemented")
1718}
1719
1720// GetSubscription implements backend.StrictServerInterface.
1721// nolint: ireturn // WONTFIX - generated method signature
1722func (m *mockServerInterface) GetSubscription(ctx context.Context,
1723 _ backend.GetSubscriptionRequestObject) (
1724 backend.GetSubscriptionResponseObject, error) {
1725 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1726 m.callCount++
1727 panic("unimplemented")
1728}
1729
1730// GetSubscriptionRSS implements backend.StrictServerInterface.
1731// nolint: ireturn // WONTFIX - generated method signature
1732func (m *mockServerInterface) GetSubscriptionRSS(ctx context.Context, _ backend.GetSubscriptionRSSRequestObject) (
1733 backend.GetSubscriptionRSSResponseObject, error) {
1734 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1735 m.callCount++
1736 panic("unimplemented")
1737}
1738

Callers

nothing calls this directly

Calls 2

GenericErrorFnFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected