MCPcopy Create free account
hub / github.com/apache/trafficserver / prepCallTest

Function prepCallTest

src/proxy/http/remap/unit-tests/test_RemapPlugin.cc:217–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void
218prepCallTest(bool toFail, PluginDebugObject *debugObject)
219{
220 debugObject->clear();
221 debugObject->fail = toFail; // Tell the mock init to succeed or succeed.
222}
223
224void
225checkCallTest(bool shouldHaveFailed, bool result, const std::string &error, std::string &expectedError, int &called)

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected