#include <bsls_protocoltest.h>
This class keeps track of the test status, which includes the status of the last test and the number of failures across all tests.
See bsls_protocoltest
◆ ProtocolTest_Status()
| bsls::ProtocolTest_Status::ProtocolTest_Status |
( |
| ) |
|
|
inline |
◆ fail()
| void bsls::ProtocolTest_Status::fail |
( |
| ) |
|
|
inline |
Record a test failure by increasing the number of failures and setting the status of the last test to false.
◆ failures()
| int bsls::ProtocolTest_Status::failures |
( |
| ) |
const |
|
inline |
Return the number of failures encountered during testing of a protocol class, which is 0 if all tests succeeded or if no tests ran.
◆ last()
| bool bsls::ProtocolTest_Status::last |
( |
| ) |
const |
|
inline |
Return true if the last test completed successfully (or no test has yet completed), and false if it failed.
◆ resetLast()
| void bsls::ProtocolTest_Status::resetLast |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: