Frobby  0.9.5
Private Member Functions | List of all members
TestRunner Class Reference

Runs every test in forward order. More...

#include <TestRunner.h>

Inheritance diagram for TestRunner:
TestQualifier TestVisitor

Private Member Functions

virtual bool visit (TestCase &test)
 Visits a testCase and returns true if visiting of any other objects should continue after the testSuite has been visited. More...
 

Additional Inherited Members

- Public Member Functions inherited from TestQualifier
virtual bool visitEnter (TestSuite &suite)
 Returns true if the testSuite should be iterated through. More...
 
virtual bool visitLeave (TestSuite &suite)
 Returns true if visiting of any other objects should continue after the testSuite has been visited. More...
 
const string & getPath () const
 Returns the path taken from the root of the tree to the current node as a dot-separated string. More...
 
- Public Member Functions inherited from TestVisitor
virtual ~TestVisitor ()
 
virtual bool visit (TestSuite &testSuite)
 The default implementation calls visitEnter and visits the added objects in forward order if the return value is true. More...
 

Detailed Description

Runs every test in forward order.

Definition at line 25 of file TestRunner.h.

Member Function Documentation

◆ visit()

bool TestRunner::visit ( TestCase testCase)
privatevirtual

Visits a testCase and returns true if visiting of any other objects should continue after the testSuite has been visited.

The visiting process will stop if return value is false, according to the default implementation of visit(TestSuite&). The default implementation always returns true.

Reimplemented from TestVisitor.

Definition at line 23 of file TestRunner.cpp.


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