#include <TestMessageHandler.h>
Rise a gtest failure during the object destruction when the expected message have not been received. Better use the macro: EXPECT_MSG_EMIT(Error) as a more 'good looking' version of
sofa::helper::logging::ExpectMessage failure(sofa::helper::logging::Message::Error, FILE, LINE);
Public Member Functions | |
ExpectMessage (helper::logging::Message::Type t, const char *filename="unknown", int lineno=0) | |
virtual | ~ExpectMessage () |
sofa::testing::ExpectMessage::ExpectMessage | ( | helper::logging::Message::Type | t, |
const char * | filename = "unknown" , |
||
int | lineno = 0 |
||
) |
|
virtual |