CStartedTestSet Class Reference

class CStartedTestSet : public CBase

Inherits from

Constructor & Destructor Documentation

CStartedTestSet(CUIStore *, TSetType)

CStartedTestSet(CUIStore *aUIStore,
TSetTypeaType
)[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 &)

voidConstructL(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,
TSetTypeaType
)[static]

NewL is first phase of two-phased constructor.

Parameters

CUIStore * aUIStore
const CTestSetInfo & aTestSetInfo
TSetType aType

NullOriginalTestSet()

voidNullOriginalTestSet()

Sets pointer to original test set to NULL.

Result()

const TFullTestResult &Result()const [inline]

Return the result

SetNotStartedCasesMode(TBool)

voidSetNotStartedCasesMode(TBoolaNotStartedCasesMode)

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,
TFullTestResultaResult
)

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]