CUnitTestInfo Class Reference

class CUnitTestInfo : public CBase

Comments : Storage for information about a group of transitions. This group will normally correspond to the contents of a CUnitTest.

Inherits from

Constructor & Destructor Documentation

CUnitTestInfo()

CUnitTestInfo()[private]
Intended Usage : Default constructor Error Condition :
Since
7.0

~CUnitTestInfo()

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

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aUnitTestId)[private]
Intended Usage : Second phase of safe construction method Error Condition :
Since
7.0
Pre-condition
First phase of construction is complete
Post-condition
Object if fully constructed

Parameters

const TDesC & aUnitTestIdAn identifier for this CUnitTestInfo

NewL(const TDesC &)

CUnitTestInfo *NewL(const TDesC &aSetId)[static]
Intended Usage : Two phase constructor which leaves nothing on the cleanup stack Error Condition :
Since
7.0
Pre-condition
None
Post-condition
Nothing is on the CleanupStack

Parameters

const TDesC & aSetIdAn identifier for this CUnitTestInfo

NewLC(const TDesC &)

CUnitTestInfo *NewLC(const TDesC &aSetId)[static]
Intended Usage : Two phase constructor which leaves a CTransition* on the cleanup stack Error Condition : Leave with an error code.
leave
KErrNoMemory
Since
7.0
Pre-condition
None
Post-condition
A CUnitTestInfo is on the CleanupStack

Parameters

const TDesC & aSetIdAn identifier for this CUnitTestInfo

UnitTestId()

const TDesC &UnitTestId()const [inline]
Intended Usage : Returns the identifier of this CUnitTestInfo Error Condition :
Since
7.0
Pre-condition
None

Member Data Documentation

HBufC * iUnitTestId

HBufC *iUnitTestId[private]

An identifier for this unit test