This class is an implementation detail of the bsls fuzz testing framework and should not be used directly in user code. It implements an immutable mechanism to communicate to a test-case handler information about the context of a precondition that fails.
Declared in <bsls_fuzztestpreconditionexception.h>
class FuzzTestPreconditionException;
| Name | Description |
|---|---|
FuzzTestPreconditionException [constructor] | Constructors |
~FuzzTestPreconditionException [destructor] | Destroy this object. Note that this trivial destructor's definition is compiler generated. |
expression | Return a string containing the program source of the assertion that has failed. |
filename | Return a string containing the filename of the source file containing the assertion that has failed. |
isReview | Return a flag indicating if the failure is a review. |
level | Return a string containing a representation of the level of assertion or review macro that failed. |
lineNumber | Return the number of the line within the file filename containing the assertion that failed. |