CUIEngineContainer Class Reference

class CUIEngineContainer : public CBase

Inherits from

Constructor & Destructor Documentation

CUIEngineContainer(CUIEngine *, const TTestInfo &, RTestEngineServer &, RTestEngine &)

CUIEngineContainer(CUIEngine *aUIEngine,
const TTestInfo &aTestInfo,
RTestEngineServer &aTestEngineServ,
RTestEngine &aTestEngine
)[private]

C++ default constructor.

Parameters

CUIEngine * aUIEngine
const TTestInfo & aTestInfo
RTestEngineServer & aTestEngineServ
RTestEngine & aTestEngine

~CUIEngineContainer()

~CUIEngineContainer()[private]

Destructor of CUIEngineContainer.

Member Functions Documentation

CancelTest()

IMPORT_C TIntCancelTest()

CancelTest cancels test case execution. TestCompleted() will be called with aTestExecutionResult set to KErrCancel.

Returns Symbian OS error code.

ConstructL()

voidConstructL()[private]

By default Symbian OS constructor is private.

GoingToReboot(TRequestStatus &)

TInt GoingToReboot(TRequestStatus &aStatus)

GoingToReboot forwards reboot indication.

Parameters

TRequestStatus & aStatus

MasterId()

TUint32 MasterId()const [inline]

Return master identifier.

NewL(CUIEngine *, const TTestInfo &, RTestEngineServer &, RTestEngine &)

CUIEngineContainer *NewL(CUIEngine *aUIEngine,
const TTestInfo &aTestInfo,
RTestEngineServer &aTestEngineServ,
RTestEngine &aTestEngine
)[static]

NewL is two-phased constructor.

Parameters

CUIEngine * aUIEngine
const TTestInfo & aTestInfo
RTestEngineServer & aTestEngineServ
RTestEngine & aTestEngine

PauseTest()

IMPORT_C TIntPauseTest()

PauseTest pauses test case execution.

Returns Symbian OS error code.

PrintProgress(TTestProgress &)

voidPrintProgress(TTestProgress &aProgress)

PrintProgress forwards print information from test case.

Parameters

TTestProgress & aProgress

PrintsDone()

voidPrintsDone()

Printer signals all prints done event.

RemoteId()

TUint32 RemoteId()const [inline]

Return remote identifier.

RemoteReceive(const TDesC &)

TInt RemoteReceive(const TDesC &aRemoteMsg)

RemoteReceive forwards remote protocol messages to master.

Parameters

const TDesC & aRemoteMsg

RemoteSend(const TDesC &, TInt)

voidRemoteSend(const TDesC &aRemoteMsg,
TIntaStatus
)

RemoteSend forwards remote protocol messages from master.

Parameters

const TDesC & aRemoteMsg
TInt aStatus

ResumeTest()

IMPORT_C TIntResumeTest()

ResumeTest resumes test case execution.

Returns Symbian OS error code.

SetRemoteId(TUint32)

voidSetRemoteId(TUint32aRemoteId)[inline]

Set remote identifier.

Parameters

TUint32 aRemoteId

StartContainerL()

TInt StartContainerL()

StartContainerL starts test case execution.

Returns Symbian OS error code.

State()

TCaseState State()const [inline]

Return test case execution state.

TestCaseExecuted(TFullTestResult &, TInt)

voidTestCaseExecuted(TFullTestResult &aResult,
TIntaStatus
)

TestCaseExecuted informs that test case has executed.

Parameters

TFullTestResult & aResult
TInt aStatus

Member Enumerations Documentation

Enum TCaseState

Enumerators

ENotStarted
ERunning
EPaused
EExecuted
EFinished

Member Data Documentation

TUint32 iMasterId

TUint32 iMasterId[private]

CUIEnginePrinter * iPrinter

CUIEnginePrinter *iPrinter[private]

CUIEngineRemote * iRemote

CUIEngineRemote *iRemote[private]

TUint32 iRemoteId

TUint32 iRemoteId[private]

CUIEngineRunner * iRunner

CUIEngineRunner *iRunner[private]

TCaseState iState

TCaseState iState[private]

RTestCase iTestCase

RTestCase iTestCase[private]

RTestEngine iTestEngine

RTestEngine iTestEngine[private]

RTestEngineServer iTestEngineServ

RTestEngineServer iTestEngineServ[private]

TTestInfo iTestInfo

TTestInfo iTestInfo[private]

TTestInfoPckg iTestInfoPckg

TTestInfoPckg iTestInfoPckg[private]

CUIEngine * iUIEngine

CUIEngine *iUIEngine