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. | |
Public Attributes | |
std::string | actual |
The actual value returned by the test. | |
std::string | cond |
The name of the condition being tested. | |
std::string | file |
The source file. | |
std::string | limit |
The expected value. | |
int32_t | line |
The source line. | |
std::string | message |
The associated message. | |
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 245 of file test.cc.
References NS_LOG_FUNCTION.
std::string ns3::TestCaseFailure::actual |
The actual value returned by the test.
Definition at line 83 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().
std::string ns3::TestCaseFailure::cond |
The name of the condition being tested.
Definition at line 82 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().
std::string ns3::TestCaseFailure::file |
The source file.
Definition at line 86 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().
std::string ns3::TestCaseFailure::limit |
The expected value.
Definition at line 84 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().
int32_t ns3::TestCaseFailure::line |
The source line.
Definition at line 87 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().
std::string ns3::TestCaseFailure::message |
The associated message.
Definition at line 85 of file test.cc.
Referenced by ns3::operator<<(), and ns3::TestRunnerImpl::PrintReport().