qpid::TestCase Class Reference

Interface to be implemented by test cases for use with the test runner. More...

#include <TestCase.h>

Inherited by qpid::SimpleTestCaseBase.

List of all members.

Public Member Functions

virtual void assign (const std::string &role, framing::FieldTable &params, client::ConnectionSettings &options)=0
 Directs the test case to act in a particular role.
virtual void start ()=0
 Each test will be started on its own thread, which should block until the test completes (this may or may not require an explicit stop() request).
virtual void stop ()=0
 Requests that the test be stopped if still running.
virtual void report (client::Message &report)=0
 Allows the test to fill in details on the final report message.


Detailed Description

Interface to be implemented by test cases for use with the test runner.

Member Function Documentation

virtual void qpid::TestCase::assign ( const std::string &  role,
framing::FieldTable params,
client::ConnectionSettings options 
) [pure virtual]

Directs the test case to act in a particular role.

Some roles may be 'activated' at this stage others may require an explicit start request.

virtual void qpid::TestCase::report ( client::Message report  )  [pure virtual]

Allows the test to fill in details on the final report message.

Will be called only after start has returned.


The documentation for this class was generated from the following file:

Generated on Thu May 15 22:22:36 2008 for Qpid by  doxygen 1.5.5