the Compartmented Robust Posix C++ Unit Test system |
|
---|
Clean out any remaining files after the test
Used in: The modifier list of a test definition. See
TEST(name, ...)
Post mortem action for
EXPECT_EXIT(num, action?)
and
EXPECT_SIGNAL_DEATH(signo, action?)
which
clears all files in the working directory of the test case process.
Tip | |
---|---|
This can be useful when doing negative tests for functions that create files, or use fixtures that set up a file structure. |
Note | |
---|---|
This action is disabled if running with the
-s / --single-shot command line
parameter.
|