#define TTS_THROW | ( | EXPR, | |
EXCEPTION, | |||
... | |||
) | TTS_THROW_ ## __VA_ARGS__ ( EXPR, EXCEPTION ) |
Checks if a given expression throws an exception of a given type.
EXPR | Expression to evaluate. |
EXCEPTION | Expected exception type to be thrown. |
... | Optional tag. If equals to REQUIRED , this test will stop the program if it fails. |