Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ testFailureWith
Function
testFailureWith
tests/CppUTestExt/GTest1Test.cpp:169–175 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
167
}
168
169
void testFailureWith(void(*method)())
170
{
171
fixture->setTestFunction(method);
172
fixture->runAllTests();
173
LONGS_EQUAL(1, fixture->getFailureCount());
174
CHECK(!afterCheck);
175
}
176
177
};
178
Callers
1
TEST
Function · 0.85
Calls
3
setTestFunction
Method · 0.80
runAllTests
Method · 0.45
getFailureCount
Method · 0.45
Tested by
no test coverage detected