Taxonomy Categories:
Member Functions:
Interface Category:
Developer Tool Programmer Interface.
Inherits From:
TBaseComparisonTest
Inherited By:
TFlattenResurrectTestOf
Purpose:
Abstract base class derived from TBaseComparisonTest that defines the protocol used for TFlattenResurrectTestOf tests. TBaseFlattenResurrectTest tests the flattening and resurrecting of the target using the global Flatten and Resurrect functions.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
TBaseFlattenResurrectTest cannot be used directly. Use the template class TFlattenResurrectTestOf or the TFlattenResurrectTestOf macros. The template class defines all the functions that you must override for TBaseFlattenResurrectTest.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
virtual ~ TBaseFlattenResurrectTest ()
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator <<= (TStream & source)
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & source -The stream the object is streamed in from.
Return Value:
Returns a reference to the stream the object streams itself in from.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator >>=(TStream & destination) const
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & destination -The stream the object is streamed out to.
Return Value:
Returns a reference to the stream the object streams itself out to.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void CopyInfo (TDictionaryOf < TStandardText, TText >& infoDict) const
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Framework function that derived classes can override to provide metainformation about themselves.
Calling Context:
Called by Test framework and test logging classes.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
- TBaseFlattenResurrectTest ()
- TBaseFlattenResurrectTest (const TBaseFlattenResurrectTest & source)
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
- Default constructor.
- Copy constructor.
Calling Context:
- Called by the stream-in operators.
- Called to copy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TBaseFlattenResurrectTest & operator =(const TBaseFlattenResurrectTest & rhs)
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Assignment operator.
Calling Context:
Called when an object is assigned to another compatible object.
Parameters:
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void Test ()
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Performs the test. Flattens and resurrects the target object at the freeze levels of same team, same session, and deep freeze. Each resurrected object is compared with the original target object. Test allows a resurrected object to be the same as the original object. Test also checks to see that the stream position is consistent before and after the resurrect operation.
Calling Context:
Called by Test framework. Do not call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TRandomAccessStream & GetTestStream ()
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Returns the test stream.
Calling Context:
Called by Test framework. Do not call this function directly.
Parameters:
Return Value:
Returns the test stream.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void FlattenTarget ()
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Flattens the target to the test stream.
Calling Context:
Called by Test framework. Do not call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void * ResurrectTarget ()
Interface Category:
Developer Tool Programmer Interfacer
Purpose:
Resurrects the target from the test stream and returns the resurrected target object.
Calling Context:
Called by Test framework. Do not call this function directly.
Parameters:
Return Value:
Returns the resurrected target object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.