Container for details of a test failure. More...
Public Member Functions | |
TestCaseFailure (std::string _cond, std::string _actual, std::string _limit, std::string _message, std::string _file, int32_t _line) | |
Constructor. More... | |
Public Attributes | |
std::string | actual |
The actual value returned by the test. More... | |
std::string | cond |
The name of the condition being tested. More... | |
std::string | file |
The source file. More... | |
std::string | limit |
The expected value. More... | |
int32_t | line |
The source line. More... | |
std::string | message |
The associated message. More... | |
ns3::TestCaseFailure::TestCaseFailure | ( | std::string | _cond, |
std::string | _actual, | ||
std::string | _limit, | ||
std::string | _message, | ||
std::string | _file, | ||
int32_t | _line | ||
) |
Constructor.
[in] | _cond | The name of the condition being tested. |
[in] | _actual | The actual value returned by the test. |
[in] | _limit | The expected value. |
[in] | _message | The associated message. |
[in] | _file | The source file. |
[in] | _line | The source line. |
Definition at line 254 of file test.cc.
References NS_LOG_FUNCTION.
std::string ns3::TestCaseFailure::actual |
The actual value returned by the test.
Definition at line 92 of file test.cc.
Referenced by ns3::operator<<().
std::string ns3::TestCaseFailure::cond |
The name of the condition being tested.
Definition at line 91 of file test.cc.
Referenced by ns3::operator<<().
std::string ns3::TestCaseFailure::file |
std::string ns3::TestCaseFailure::limit |
int32_t ns3::TestCaseFailure::line |
std::string ns3::TestCaseFailure::message |