Return whether a raw pass-probe specification is valid.
Declared in <bsls_asserttest.h>
static
bool
tryProbeRaw(
char expectedResult,
char expectedLevel);
Return true if the specified expectedResult is P (for Pass) and the specified expectedLevel is a valid level; otherwise, return false. If expectedResult is anything other than P or F (for Fail), this function reports the invalid expectedResult value to stdout before returning false. If expectedlevel is anything other than S, A, O, or I, this function reports the invalid expectedLevel value to stdout before returning false.
true if the raw pass-probe is valid, else false
| Name | Description |
|---|---|
| expectedResult | expected outcome (P for pass, F for fail) |
| expectedLevel | expected assertion level (S, A, O, or I) |