class TestDecorator : TestWrapper

Decorator for test objects.

All operations are delegated to the shadowed test object. This class could be used as base class for classes that add or modify test functionality by wrapping the another test object that implements the basic functionality. This class is intended to be subsclassed by "real decorators".



Protected Members:
    TestDecorator ( const string& name, Test* test, bool release = true ) ;
    Create a decorator for the given test object.
    The decorator wraps the test object and adds additional functionality. By default, it is assumed that the shadowed test is owned by the decorator. Therefore, the default value for release is true.




The Scrunitizer C++ Unit Test Framework
by Bernd Linowski

[Scrunitizer]  [Overview]  [Cookbook]  [Download]  [Index]  [Linosphere]

Page generated: 1 Nov 2000
(C) by Bernd Linowski
scrunitizer@linosphere.de