#include <Pt/Unit/TestProtocol.h>

Public Member Functions | |
| virtual | ~TestProtocol () |
| Destructor. | |
| virtual void | run (TestSuite &test) |
| Executes the protocol. | |
| virtual void run | ( | TestSuite & | test | ) | [virtual] |
This method can be overriden to specify a custom protocol for a test suite. The default implementation will simply call each registered method of the test suite. Implementors will most likely call TestSuite::runTest to resolve a test method by name and pass it required arguments.
| test | The test suite to apply the protocol |
Reimplemented in TextProtocol.