MCPcopy
hub / github.com/Velocidex/velociraptor / Errorf

Method Errorf

vtesting/assert/retry.go:74–77  ·  view source on GitHub ↗

Errorf is equivalent to Logf followed by Fail.

(s string, v ...interface{})

Source from the content-addressed store, hash-verified

72
73// Errorf is equivalent to Logf followed by Fail.
74func (r *R) Errorf(s string, v ...interface{}) {
75 r.logf(s, v...)
76 r.Fail()
77}
78
79func (r *R) Fatalf(s string, v ...interface{}) {
80 r.logf(s, v...)

Callers 15

RunMethod · 0.45
GetContainerFormatFunction · 0.45
newBaseTemplateEngineFunction · 0.45
newFnFunction · 0.45
DLLVarMethod · 0.45
ParseJsonToMapWithSchemaFunction · 0.45
rejectURLFunction · 0.45
DecorateErrorFunction · 0.45
StoreServerConfigFunction · 0.45
checkFileFunction · 0.45
GenerateNewKeysFunction · 0.45
compileFrontendMethod · 0.45

Calls 2

logfMethod · 0.95
FailMethod · 0.95

Tested by 15

TestInitialStateFunction · 0.36
TestSetInsertsValueFunction · 0.36
TestSetIfAbsentFunction · 0.36
TestSetUpdatesSizeFunction · 0.36
TestPeekFunction · 0.36
TestDeleteFunction · 0.36
TestClearFunction · 0.36
TestCapacityIsObeyedFunction · 0.36
TestLRUIsEvictedFunction · 0.36