CComponentInfo Class Reference

class CComponentInfo : public CBase

Comments : Holds information about all the tests within a component.

Inherits from

Constructor & Destructor Documentation

CComponentInfo()

CComponentInfo ( ) [private]
Intended Usage : Standard constructor. This object takes ownership of both parameters. Error Condition :
Since
7.0

~CComponentInfo()

~CComponentInfo ( )
Intended Usage : Standard destructor Error Condition :
Since
7.0

Member Functions Documentation

Construct(ComponentTesterInitialiserLC, RPointerArray< CUnitTestInfo > *)

void Construct ( ComponentTesterInitialiserLC aEntryFunc,
RPointerArray < CUnitTestInfo > * aUnitTestsInfo
) [private]
Intended Usage : Standard second phase of construction Error Condition :
Since
7.0
Pre-condition
First phase of construction is complete
Post-condition
Object is fully constructed

Parameters

ComponentTesterInitialiserLC aEntryFunc Ptr to function used to create componentTester
RPointerArray < CUnitTestInfo > * aUnitTestsInfo The transition sets in this component test

GlobalEntryFunc()

ComponentTesterInitialiserLC GlobalEntryFunc ( ) const [inline]
Intended Usage : Get the pointer to the function entry point used to create the ComponentTester derived object which kick starts the tests. Error Condition :
Since
7.0
Pre-condition
None

NewL(ComponentTesterInitialiserLC, RPointerArray< CUnitTestInfo > *)

IMPORT_C CComponentInfo * NewL ( ComponentTesterInitialiserLC aCreateFuncLC,
RPointerArray < CUnitTestInfo > * aUnitTestsInfo
) [static]
Intended Usage : Standard two-phase construction which leaves nothing on the cleanup stack. This object takes ownership of both parameters. Error Condition :
Since
7.0
Pre-condition
None
Post-condition
Nothing is on the CleanupStack

Parameters

ComponentTesterInitialiserLC aCreateFuncLC Ptr to function used to create componentTester
RPointerArray < CUnitTestInfo > * aUnitTestsInfo The transition sets in this component test

NewLC(ComponentTesterInitialiserLC, RPointerArray< CUnitTestInfo > *)

CComponentInfo * NewLC ( ComponentTesterInitialiserLC aEntryFunc,
RPointerArray < CUnitTestInfo > * aUnitTestsInfo
) [static]
Intended Usage : Standard two phase construction which leaves a CComponentInfo on the cleanupstack. This object takes ownership of both parameters. Error Condition :
Since
7.0
Pre-condition
None
Post-condition
CComponentInfo is on the CleanupStack

Parameters

ComponentTesterInitialiserLC aEntryFunc Ptr to function used to create componentTester
RPointerArray < CUnitTestInfo > * aUnitTestsInfo The transition sets in this component test

UnitTestsInfo()

const RPointerArray < CUnitTestInfo > & UnitTestsInfo ( ) const [inline]
Intended Usage : Get a list of the transition sets in this component Error Condition :
Since
7.0
Pre-condition
None

Member Data Documentation

ComponentTesterInitialiserLC iComponentTesterGlobalCreationFuncLC

ComponentTesterInitialiserLC iComponentTesterGlobalCreationFuncLC [private]

Holds a pointer to the function capable of creating a CComponentTester derived object which will run the unit tests outlined in iUnitTestsInfo.

RPointerArray< CUnitTestInfo > * iUnitTestsInfo

RPointerArray < CUnitTestInfo > * iUnitTestsInfo [private]

Array of the subsets of transitions in this component. This object takes ownership of iUnitTestsInfo at construction.