Related classes

The Test framework uses other classes that, although not directly related to TTest, are useful to derived classes of TTest.

TTieredText is the class of objects collected by TTieredTextBuffer. It is a derived class of TText that allows you to assign a tier to each instance, thereby defining the relative importance of information in your test, from single-line headline information to detail or debugging information. Once you have defined tiers for your text, you can filter the level of information displayed as your test runs.

TTieredTextBuffer behaves like the C++ ostream class. It contains << operators for all basic types. Unlike the ostream class, TTieredTextBuffer keeps a collection of all text sent to it. Other features of TTieredText are:

Each instance of TTest contains a TTieredTextBuffer to which derived classes can stream diagnostic text messages. TTest itself uses this mechanism to report progress and results.

TTextArgumentDictionary parses a sequence of TText objects into pairs of keys and values which allow you to check quickly for the existence of a keyword on the command line or to retrieve the value given for a certain option.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker