BloombergLP::bsls::AssertTest::failTestDriver

Throw an AssertTestException having the pointer values text and file and the integer line from the specified violation as its salient attributes, provided that BDE_BUILD_TARGET_EXC is defined; otherwise, log an appropriate message and abort the program (similar to Assert::failAbort). Note that this function is intended to have a signature compatible with a registered assertion-failure handler function in bsls_assert.

Synopsis

Declared in <bsls_asserttest.h>

[[noreturn]]
static
void
failTestDriver(AssertViolation const& violation);

Return Value

NOTE

This function does not return.