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 TInt CancelTest ( )

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

Returns Symbian OS error code.

ConstructL()

void ConstructL ( ) [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 TInt PauseTest ( )

PauseTest pauses test case execution.

Returns Symbian OS error code.

PrintProgress(TTestProgress &)

void PrintProgress ( TTestProgress & aProgress )

PrintProgress forwards print information from test case.

Parameters

TTestProgress & aProgress

PrintsDone()

void PrintsDone ( )

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)

void RemoteSend ( const TDesC & aRemoteMsg,
TInt aStatus
)

RemoteSend forwards remote protocol messages from master.

Parameters

const TDesC & aRemoteMsg
TInt aStatus

ResumeTest()

IMPORT_C TInt ResumeTest ( )

ResumeTest resumes test case execution.

Returns Symbian OS error code.

SetRemoteId(TUint32)

void SetRemoteId ( TUint32 aRemoteId ) [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)

void TestCaseExecuted ( TFullTestResult & aResult,
TInt aStatus
)

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