CUIStoreIf Class Reference

class CUIStoreIf : public CBase

UI Store class interface. UI must derive this to use UI Store.

Inherits from

Public Member Functions
~CUIStoreIf()
voidClose(TInt)
voidError(TErrorNotification &)
TInt PopupMsg(const TDesC &, const TDesC &, TInt)
TInt PopupMsg(const TDesC &, const TDesC &, TInt, TKeyCode &, TRequestStatus &)
IMPORT_C CUIStore &UIStore()
voidUpdate(CStartedTestCase *, TInt)
Protected Member Functions
CUIStoreIf()
IMPORT_C voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTUpdateFlags {
EStatusRunning = 0x00000001, EStatusExecuted = 0x00000002, EStatusPassed = 0x00000004, EStatusFailed = 0x00000008, EStatusAborted = 0x00000010, EStatusCrashed = 0x00000020, EStatusAll = 0x000000ff, ESetRunning = 0x00000100, ESetExecuted = 0x00000200, ESetPassed = 0x00000400, ESetFailed = 0x00000800, ESetAll = 0x0000ff00, EPrintUpdate = 0x00010000
}
Private Attributes
CUIStore *iUIStore

Constructor & Destructor Documentation

CUIStoreIf()

IMPORT_CCUIStoreIf()[protected]

Constructor

~CUIStoreIf()

IMPORT_C~CUIStoreIf()

Destructor.

Member Functions Documentation

Close(TInt)

voidClose(TInt)[inline, virtual]

Function is called to close instances.

Parameters

TInt

ConstructL()

IMPORT_C voidConstructL()[protected]

Symbian OS second phase constructor. This must be called from derived class ConstructL.

Error(TErrorNotification &)

voidError(TErrorNotification &)[inline, virtual]

Function is called when test framework prints error.

Parameters

TErrorNotification &

PopupMsg(const TDesC &, const TDesC &, TInt)

TInt PopupMsg(const TDesC &,
const TDesC &,
TInt
)[inline, virtual]

Function is called to print message to UI.

Parameters

const TDesC &
const TDesC &
TInt

PopupMsg(const TDesC &, const TDesC &, TInt, TKeyCode &, TRequestStatus &)

TInt PopupMsg(const TDesC &,
const TDesC &,
TInt,
TKeyCode &,
TRequestStatus &
)[inline, virtual]

Function is called to print message to UI and wait key pressing.

Parameters

const TDesC &
const TDesC &
TInt
TKeyCode &
TRequestStatus &

UIStore()

IMPORT_C CUIStore &UIStore()

Returns reference to CUIStore object, which handles test cases and test modules.

Update(CStartedTestCase *, TInt)

voidUpdate(CStartedTestCase *,
TInt
)[inline, virtual]

Receives output update notification from CUIStore. UI implements this to get update notifications. aFlags are from

Parameters

CStartedTestCase *
TInt

Member Enumerations Documentation

Enum TUpdateFlags

Enumerators

EStatusRunning = 0x00000001
EStatusExecuted = 0x00000002
EStatusPassed = 0x00000004
EStatusFailed = 0x00000008
EStatusAborted = 0x00000010
EStatusCrashed = 0x00000020
EStatusAll = 0x000000ff
ESetRunning = 0x00000100
ESetExecuted = 0x00000200
ESetPassed = 0x00000400
ESetFailed = 0x00000800
ESetAll = 0x0000ff00
EPrintUpdate = 0x00010000

Member Data Documentation

CUIStore * iUIStore

CUIStore *iUIStore[private]