CTestSetInfo Class Reference

class CTestSetInfo : public CBase

Inherits from

Constructor & Destructor Documentation

CTestSetInfo()

CTestSetInfo ( ) [private]

C++ default constructor.

~CTestSetInfo()

~CTestSetInfo ( ) [virtual]

Destructor of CStartedTestCase .

Member Functions Documentation

AddTestCase(const CTestInfo &)

TInt AddTestCase ( const CTestInfo & aTestInfo )

Add test case to set.

Parameters

const CTestInfo & aTestInfo

ConstructL(const TDesC &)

void ConstructL ( const TDesC & aName ) [private]

By default Symbian OS constructor is private.

Parameters

const TDesC & aName

CopyL(const CTestSetInfo &)

void CopyL ( const CTestSetInfo & aTestSetInfo )

NewL is first phase of two-phased constructor.

Parameters

const CTestSetInfo & aTestSetInfo

GetLastStartedCaseIndex(void)

TUint GetLastStartedCaseIndex ( void )

Gets the info which test case has been started lately.

Parameters

void

InsertTestCase(const CTestInfo &, TInt)

TInt InsertTestCase ( const CTestInfo & aTestInfo,
TInt aPos
)

Insert test case to specific location.

Parameters

const CTestInfo & aTestInfo
TInt aPos

Name()

const TDesC & Name ( ) const [inline]

Get test set name.

NewL(const TDesC &)

CTestSetInfo * NewL ( const TDesC & aName ) [static]

NewL is first phase of two-phased constructor.

Parameters

const TDesC & aName

RemoveTestCase(const CTestInfo &)

TInt RemoveTestCase ( const CTestInfo & aTestInfo )

Remove test case from set.

Parameters

const CTestInfo & aTestInfo

RenameTestSet(const TDesC &)

void RenameTestSet ( const TDesC & aTestSetName )

rename test set

Parameters

const TDesC & aTestSetName

SetLastStartedCaseIndex(TUint)

void SetLastStartedCaseIndex ( TUint aLastStartedCaseIndex )

Sets the info which test case has been started lately.

Parameters

TUint aLastStartedCaseIndex

TestCases()

const RRefArray < const CTestInfo > & TestCases ( ) const [inline]

Get test cases.

Member Data Documentation

TUint iLastStartedCaseIndex

TUint iLastStartedCaseIndex [private]

HBufC * iName

HBufC * iName [private]

RRefArray< const CTestInfo > iTestCaseRefs

RRefArray < const CTestInfo > iTestCaseRefs [private]

RPointerArray< CTestInfo > iTestCases

RPointerArray < CTestInfo > iTestCases [private]