CStartedTestSet Class Reference

class CStartedTestSet : public CBase

Inherits from

Constructor & Destructor Documentation

CStartedTestSet(CUIStore *, TSetType)

CStartedTestSet ( CUIStore * aUIStore,
TSetType aType
) [private]

C++ default constructor.

Parameters

CUIStore * aUIStore
TSetType aType

~CStartedTestSet()

~CStartedTestSet ( ) [virtual]

Destructor of CStartedTestCase .

Member Functions Documentation

Abort()

TInt Abort ( )

Abort running testcases.

ConstructL(const CTestSetInfo &)

void ConstructL ( const CTestSetInfo & aTestSetInfo ) [private]

By default Symbian OS constructor is private.

Parameters

const CTestSetInfo & aTestSetInfo

GetOriginalTestSet()

CTestSetInfo * GetOriginalTestSet ( )

Returns pointer to original test set.

IsRunning(const CStartedTestCase *)

TBool IsRunning ( const CStartedTestCase * aTestCase )

Check if test case running in this test set.

Parameters

const CStartedTestCase * aTestCase

NewL(CUIStore *, const CTestSetInfo &, TSetType)

CStartedTestSet * NewL ( CUIStore * aUIStore,
const CTestSetInfo & aTestSetInfo,
TSetType aType
) [static]

NewL is first phase of two-phased constructor.

Parameters

CUIStore * aUIStore
const CTestSetInfo & aTestSetInfo
TSetType aType

NullOriginalTestSet()

void NullOriginalTestSet ( )

Sets pointer to original test set to NULL.

Result()

const TFullTestResult & Result ( ) const [inline]

Return the result

SetNotStartedCasesMode(TBool)

void SetNotStartedCasesMode ( TBool aNotStartedCasesMode )

Sets mode in which only not executed tests will be run.

Parameters

TBool aNotStartedCasesMode

StartNext()

TInt StartNext ( )

Start next testcase. Returns KErrNotFound if does not exits.

Status()

TInt Status ( ) const [inline]

Get status.

TestCases()

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

Get test cases runned/running in test set.

TestCompleted(const CStartedTestCase *, TFullTestResult)

TInt TestCompleted ( const CStartedTestCase * aTestCase,
TFullTestResult aResult
)

Test from this set completed.

Parameters

const CStartedTestCase * aTestCase
TFullTestResult aResult

TestSetInfo()

CTestSetInfo const & TestSetInfo ( ) const [inline]

Get test case info.

Type()

TSetType Type ( ) [inline]

Get type.

Member Enumerations Documentation

Enum TSetType

Enumerators

ESetSequential
ESetParallel

Member Data Documentation

TAny * iBackPtr

TAny * iBackPtr

Backpointer that can be utilized by UI, not used from UI Engine.

TInt iNext

TInt iNext [private]

TBool iNotStartedCasesMode

TBool iNotStartedCasesMode [private]

CTestSetInfo * iOriginalTestSet

CTestSetInfo * iOriginalTestSet [private]

TFullTestResult iResult

TFullTestResult iResult [private]

TBool iResultSet

TBool iResultSet [private]

TInt iRunningCases

TInt iRunningCases [private]

TInt iStatus

TInt iStatus [private]

RRefArray< CStartedTestCase > iTestCases

RRefArray < CStartedTestCase > iTestCases [private]

CTestSetInfo * iTestSetInfo

CTestSetInfo * iTestSetInfo [private]

TSetType iType

TSetType iType [private]

CUIStore * iUIStore

CUIStore * iUIStore [private]