SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::helper::logging::MessageAsTestFailure Class Reference

#include <TestMessageHandler.h>

Detailed Description

Rise a gtest failure when a message of type Message:type is emitted. Better use the macro: EXPECT_MSG_NOEMIT(Error) as a more 'good looking' version of

sofa::helper::logging::MessageAsTestFailure failure(sofa::helper::logging::Message::Error, FILE, LINE);

Public Member Functions

 MessageAsTestFailure (Message::Type t, const char *filename="unknown", int lineno=0)
virtual ~MessageAsTestFailure ()

Constructor details

sofa::helper::logging::MessageAsTestFailure::MessageAsTestFailure ( Message::Type  type,
const char *  filename = "unknown",
int  lineno = 0 

DEFINITION OF PUBLIC CLASSES ///////////////////////////////////

sofa::helper::logging::MessageAsTestFailure::~MessageAsTestFailure ( )