Mechanism that tests protocol‐class concerns via test* methods and operator‐>.
Synopsis
Declared in <bsls_protocoltest.h>
template<class BSLS_TESTIMP>
class ProtocolTest;
Description
This mechanism class template provides the implementation of protocol testing concerns via test* methods (for non‐method concerns), and via operator‐> (for method concerns). The BSLS_TESTIMP template parameter is required to be a class derived from ProtocolTestImp that provides test implementations of all protocol methods.
Member Functions
Name |
Description |
|
Construct a |
Return the number of failures encountered during testing of a protocol class. The returned value is 0 if all tests succeeded, or no tests ran. |
|
Return |
|
Return a |
|
Return whether the protocol class being tested is abstract. |
|
Return whether the protocol class being tested contains no data fields. |
|
Return whether the protocol class being tested has a virtual destructor. |
Created with MrDocs