MCPcopy Create free account
hub / github.com/pace/bricks / Context

Method Context

test/livetest/test_proxy.go:49–51  ·  view source on GitHub ↗

Context returns the livetest context. Useful for passing timeout and/or logging constraints from the test executor to the individual case

()

Source from the content-addressed store, hash-verified

47// for passing timeout and/or logging constraints from
48// the test executor to the individual case
49func (t *T) Context() context.Context {
50 return t.ctx
51}
52
53// Error logs an error message with the test
54func (t *T) Error(args ...interface{}) {

Callers 15

mainFunction · 0.80
fetchSunsetandSunriseFunction · 0.80
GetTestHandlerFunction · 0.80
handlerWithSinkFunction · 0.80
handler.goFile · 0.80
ProxyAwareRemoteFunction · 0.80
RequestIDHandlerFunction · 0.80
Test_SinkFunction · 0.80
FromRequestFunction · 0.80
NewHandlerFunction · 0.80
URLHandlerFunction · 0.80
MethodHandlerFunction · 0.80

Calls

no outgoing calls

Tested by 15

Test_SinkFunction · 0.64
TestHandlerWithLogSinkFunction · 0.64
ProcessPaymentHandlerFunction · 0.64
GetPumpHandlerFunction · 0.64
AuthorizeDeviceIDMethod · 0.64
AuthorizeOAuth2Method · 0.64
AuthorizeOIDCMethod · 0.64
DeduplicatePoiHandlerFunction · 0.64
MovePoiAtPositionHandlerFunction · 0.64
GetAppsHandlerFunction · 0.64