ProtocolTestImp [constructor] | Create an object of the ProtocolTestImp class. |
~ProtocolTestImp [destructor] | Destroy this object and check the status of the test execution (success or failure). On test failure, report it to ProtocolTest_Status. |
markDone | Return a proxy object convertible to any value or pointer type. Derived classed should call this method from their implementations of protocol virtual methods to indicate that virtual methods were overridden correctly. |
markDoneRef | Return a proxy object convertible to any reference type. Derived classed should call this method from their implementations of protocol virtual methods to indicate that virtual methods were overridden correctly. |
markDoneVal | Return the specified value. Derived classes should call this method from their implementations of protocol virtual methods to indicate that virtual methods were overridden correctly. |
markEnter | Mark this object as entered for the purpose of calling a protocol method. The entered property is tested in the destructor to check for test failures (i.e., if entered == false then the test cannot fail since it never ran). Note that markEnter and markDone calls have to be paired for a protocol-method-call test to succeed. |
operator-> | Dereference this object as if it were a pointer to BSLS_PROTOCOL in order to call a method on BSLS_PROTOCOL. Also mark this object as entered for the purpose of calling a protocol method. |
operator-> | Dereference this object as if it were a const BSLS_PROTOCOL *s in order to call a const method on BSLS_PROTOCOL. Also mark this object as entered for the purpose of calling a protocol method. |
setTestStatus | Connect this protocol test object with the specified testStatus object, which will be used for test failure reporting. |