37 if (!(*it)->accept(*
this))
Represents a test case, which is usually created through a macro that defines a subclass.
Represents a collection of tests, be they individual tests or yet other collections of tests.
TestIterator begin()
Returns an iterator to the beginning of the range of added tests.
vector< Test * >::iterator TestIterator
An iterator for the added tests.
TestIterator end()
Returns an iterator just past the end of the range of added tests.
virtual bool visit(TestCase &testCase)
Visits a testCase and returns true if visiting of any other objects should continue after the testSui...
virtual bool visitLeave(TestSuite &)
Returns true if visiting of any other objects should continue after the testSuite has been visited.
virtual bool visitEnter(TestSuite &testSuite)
Returns true if the testSuite should be iterated through.