TextProtocol Class Reference

#include <Pt/Unit/TextProtocol.h>

Implements a simple text protocol. More...

Inherits TestProtocol.

Public Member Functions

 TextProtocol (const std::string &path)
 Construct with test protocol file name.
 
virtual void run (Pt::Unit::TestSuite &suite)
 Runs the test. More...
 

Detailed Description

The TextProtocol is used for running tests defined in text protocol files.

Member Function Documentation

virtual void run ( Pt::Unit::TestSuite suite)
virtual

Loads and parses the component test protocol file, then runs the tests in the TestSuite suite.

Reimplemented from TestProtocol.