Visitor
IntroductionBase class for visitors. DiscussionThis script defines the interface for a Visitor object. Subclasses are supposed to override some handlers. To operate on a suite, you call the suite accept() with a visitor. ASUnit defines only one visitor, TestResult, which runs all the tests in a suite. You may create other visitors to do filtered testing, custom reporting and like. Your custom visitor should inherit from one of the framework visitors or from Visitor. Member FunctionsvisitTestCaseon visitTestCase( TestCase) See visitTestSuiteon visitTestSuite( aTestSuite) See |