CUIStore Class Reference

class CUIStore : public CUIIf

Inherits from

Public Member Functions
~CUIStore ()
IMPORT_C TInt AbortTestSet ( CStartedTestSet &)
IMPORT_C TInt AddTestCaseFile (const TDesC &, const TDesC &)
IMPORT_C TInt AddTestModule (const TDesC &, const TDesC &)
IMPORT_C TInt AddToTestSet (const TDesC &, const CTestInfo &)
IMPORT_C TInt Close ()
IMPORT_C TInt CreateTestSet (const TDesC &)
IMPORT_C TInt GetTestSetsList ( RRefArray < TDesC > &)
IMPORT_C TInt InsertToTestSet (const TDesC &, const CTestInfo &, TInt )
IMPORT_C TInt ListAllModules ( RPointerArray < TDesC > &)
IMPORT_C TInt LoadAllModules ()
IMPORT_C TInt LoadSavedTestCases ()
IMPORT_C TInt LoadTestSet (const TDesC &)
IMPORT_C TInt Modules ( RRefArray < TDesC > &)
CUIStore * NewL ( CUIStoreIf *)
IMPORT_C TInt Open (const TDesC &)
IMPORT_C void ReadFiltersL ( RPointerArray < TDesC > &)
IMPORT_C TInt RemoveFromTestSet (const TDesC &, const CTestInfo &)
IMPORT_C TInt RemoveTestCaseFile (const TDesC &, const TDesC &)
IMPORT_C TInt RemoveTestModule (const TDesC &)
IMPORT_C TInt RemoveTestSet (const TDesC &)
IMPORT_C TInt SaveTestSet (const TDesC &)
IMPORT_C TInt SaveTestSet2 ( TDes &)
IMPORT_C TInt StartTestCase (const CTestInfo &, TInt &)
IMPORT_C TInt StartTestSet (const CTestSetInfo &, TInt &, CStartedTestSet::TSetType )
IMPORT_C TInt StartTestSet (const CTestSetInfo &, TInt &, CStartedTestSet::TSetType , TBool )
IMPORT_C CStartedTestCase & StartedTestCaseL ( TInt )
IMPORT_C TInt StartedTestCases ( RRefArray < CStartedTestCase > &, TInt , const TDesC &, const TDesC &)
IMPORT_C CStartedTestSet & StartedTestSetL ( TInt )
IMPORT_C TInt StartedTestSets ( RRefArray < CStartedTestSet > &, TInt )
IMPORT_C TInt TestCaseFiles ( RRefArray < TDesC > &, const TDesC &)
IMPORT_C TInt TestCases ( RRefArray < CTestInfo > &, const TDesC &, const TDesC &)
IMPORT_C const CTestSetInfo & TestSetL (const TDesC &)
IMPORT_C TInt TestSets ( RRefArray < CTestSetInfo > &)
IMPORT_C TInt UpdateTestSet ( CTestSetInfo &)
Private Member Functions
CUIStore ( CUIStoreIf *)
void CheckIniL ( TFileName &)
void ConstructL ()
TInt16 DevId ()
TInt ErrorPrint ( TErrorNotification &)
TInt FindByContainer ( CUIEngineContainer *const , CStartedTestCase *&)
TInt FindSetByName (const TDesC &, CTestSetInfo *&)
TInt FindStartedSetByCase (const CStartedTestCase *, CStartedTestSet *&)
TInt GoingToReboot ( CUIEngineContainer *, TRequestStatus &)
void InitializeLogger ( CStifLogger *)
void ListAllModulesL ( RPointerArray < TDesC > &)
void LoadAllModulesL ()
void LoadExecutedTestCasesL ()
void LoadTestModulesAndTestCaseFilesL (const RRefArray < const CTestInfo > &)
void LoadTestSetL (const TDesC &, const TDesC &)
TInt MsgRemote ( CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
TInt MsgRemoteEventCtl ( CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
TInt MsgRemoteRun ( CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
TInt MsgRemoteSendReceive ( CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
TInt MsgRemoteTestCtl ( CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
TInt ParseTestSetName (const TDesC &, TPtrC &, TFileName &)
TInt PrintProg ( CUIEngineContainer *, TTestProgress &)
void ReadLineL ( RFile &, TDes &)
void RefreshAllCases ()
TInt RemoteMsg ( CUIEngineContainer *, const TDesC &)
TInt RemotePopup ( CUIEngineContainer *, const TDesC &, CStifTFwIfProt *, TPopupPriority )
TInt RemotePopupComplete ( CUIStorePopup *, TInt , CUIEngineContainer *, CStifTFwIfProt *, TKeyCode )
void SaveTestSetL ( CTestSetInfo &, const TDesC &)
void SetRemotePopupFromQueue ()
void ShuffleRemoteRunResultPopups ( CUIStorePopup *)
void TestExecuted ( CUIEngineContainer *, TFullTestResult &)
TInt UpdateCases ()
void UpdateTestSetL ( CTestSetInfo &, const TDesC &)
void WriteLineL ( RFile &, const TDesC &)
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()
Private Member Enumerations
enum TPopupPriority { EPopupPriorityHighest , EPopupPriorityNormal , EPopupPriorityLow }
Public Attributes
CStifLogger * iLogger
Private Attributes
TPopupPriority iActivePopupPriority
RPointerArray < HBufC > iFileList
TBool iPopupActive
RPointerArray < CUIStorePopup > iPopups
RPointerArray < CStartedTestCase > iStartedTestCases
RPointerArray < CStartedTestSet > iStartedTestSets
RPointerArray < CTestInfo > iTestCases
TFileName iTestFrameworkIni
RPointerArray < CTestSetInfo > iTestSets
CUIEngine * iUIEngine
CUIStoreIf * iUIStoreIf
TBool iUpdateNeeded

Constructor & Destructor Documentation

CUIStore(CUIStoreIf *)

CUIStore ( CUIStoreIf * iUIStoreIf ) [private]

C++ default constructor.

Parameters

CUIStoreIf * iUIStoreIf

~CUIStore()

~CUIStore ( )

Destructor of CUIStore .

Member Functions Documentation

AbortTestSet(CStartedTestSet &)

IMPORT_C TInt AbortTestSet ( CStartedTestSet & aSetInfo )

Abort running test set.

Returns Symbian OS error code.

Parameters

CStartedTestSet & aSetInfo

AddTestCaseFile(const TDesC &, const TDesC &)

IMPORT_C TInt AddTestCaseFile ( const TDesC & aModuleName,
const TDesC & aCaseFile
)

Used to add test case file for test module.

Returns Symbian OS error code.

Parameters

const TDesC & aModuleName
const TDesC & aCaseFile

AddTestModule(const TDesC &, const TDesC &)

IMPORT_C TInt AddTestModule ( const TDesC & aModuleName,
const TDesC & aIniFile =  KNullDesC
)

Used to add test module to test framework.

Returns Symbian OS error code.

Parameters

const TDesC & aModuleName
const TDesC & aIniFile =  KNullDesC

AddToTestSet(const TDesC &, const CTestInfo &)

IMPORT_C TInt AddToTestSet ( const TDesC & aSetName,
const CTestInfo & aTestInfo
)

Add test case to test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName
const CTestInfo & aTestInfo

CheckIniL(TFileName &)

void CheckIniL ( TFileName & aIni ) [private]

Try to locate default initialization file.

Parameters

TFileName & aIni

Close()

IMPORT_C TInt Close ( )

Used to close TestFramework.

Returns Symbian OS error code.

ConstructL()

void ConstructL ( ) [private]

By default Symbian OS constructor is private.

CreateTestSet(const TDesC &)

IMPORT_C TInt CreateTestSet ( const TDesC & aSetName )

Test set support. Create new test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName

DevId()

TInt16 DevId ( ) [private, inline]

Return slave id.

ErrorPrint(TErrorNotification &)

TInt ErrorPrint ( TErrorNotification & aError ) [private, virtual]

Error information from Test framework.

Returns Symbian OS error code.

Parameters

TErrorNotification & aError

FindByContainer(CUIEngineContainer *const, CStartedTestCase *&)

TInt FindByContainer ( CUIEngineContainer *const aContainer,
CStartedTestCase *& aTestCase
) [private]

Find testcase by container.

Parameters

CUIEngineContainer *const aContainer
CStartedTestCase *& aTestCase

FindSetByName(const TDesC &, CTestSetInfo *&)

TInt FindSetByName ( const TDesC & aSetName,
CTestSetInfo *& aSetInfo
) [private]

Find test set by name.

Parameters

const TDesC & aSetName
CTestSetInfo *& aSetInfo

FindStartedSetByCase(const CStartedTestCase *, CStartedTestSet *&)

TInt FindStartedSetByCase ( const CStartedTestCase * aTestCase,
CStartedTestSet *& aSet
) [private]

Find test set by CStartedTestCase .

Parameters

const CStartedTestCase * aTestCase
CStartedTestSet *& aSet

GetTestSetsList(RRefArray< TDesC > &)

IMPORT_C TInt GetTestSetsList ( RRefArray < TDesC > & aArray )

Creates list of available Test Sets.

Returns Symbian OS error code.

Parameters

RRefArray < TDesC > & aArray

GoingToReboot(CUIEngineContainer *, TRequestStatus &)

TInt GoingToReboot ( CUIEngineContainer * aContainer,
TRequestStatus & aStatus
) [private, virtual]

Reboot indication handler.

Parameters

CUIEngineContainer * aContainer
TRequestStatus & aStatus

InitializeLogger(CStifLogger *)

void InitializeLogger ( CStifLogger * aLogger ) [private, inline, virtual]

Initialize logger from UI engine.

Parameters

CStifLogger * aLogger

InsertToTestSet(const TDesC &, const CTestInfo &, TInt)

IMPORT_C TInt InsertToTestSet ( const TDesC & aSetName,
const CTestInfo & aTestInfo,
TInt aPos
)

Insert test case to test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName
const CTestInfo & aTestInfo
TInt aPos

ListAllModules(RPointerArray< TDesC > &)

IMPORT_C TInt ListAllModules ( RPointerArray < TDesC > & aModuleNames )

Lists all TestFramework test modules from \ directories of all drives.

Parameters

RPointerArray < TDesC > & aModuleNames

ListAllModulesL(RPointerArray< TDesC > &)

void ListAllModulesL ( RPointerArray < TDesC > & aModuleNames ) [private]

Lists all TestFramework test modules from \ directories.

Parameters

RPointerArray < TDesC > & aModuleNames

LoadAllModules()

IMPORT_C TInt LoadAllModules ( )

Loads all TestFramework test modules from \ directories of all drives.

LoadAllModulesL()

void LoadAllModulesL ( ) [private]

Loads all TestFramework test modules from \ directories .

LoadExecutedTestCasesL()

void LoadExecutedTestCasesL ( ) [private]

Load saved executed test cases.

Returns Symbian OS error code.

LoadSavedTestCases()

IMPORT_C TInt LoadSavedTestCases ( )

Load saved test cases.

Returns Symbian OS error code.

LoadTestModulesAndTestCaseFilesL(const RRefArray< const CTestInfo > &)

void LoadTestModulesAndTestCaseFilesL ( const RRefArray < const CTestInfo > & aTestCases ) [private]

Load test modules and test case files used in aTestCases if not already done.

Parameters

const RRefArray < const CTestInfo > & aTestCases

LoadTestSet(const TDesC &)

IMPORT_C TInt LoadTestSet ( const TDesC & aSetName )

Load test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName

LoadTestSetL(const TDesC &, const TDesC &)

void LoadTestSetL ( const TDesC & aSetName,
const TDesC & aSetFileName
) [private]

Load test set.

Parameters

const TDesC & aSetName
const TDesC & aSetFileName

Modules(RRefArray< TDesC > &)

IMPORT_C TInt Modules ( RRefArray < TDesC > & aTestModules )

Return modules array

Parameters

RRefArray < TDesC > & aTestModules

MsgRemote(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)

TInt MsgRemote ( CUIEngineContainer * aContainer,
CStifTFwIfProt & aReq,
CStifTFwIfProt & aResp
) [private]

Parameters

CUIEngineContainer * aContainer
CStifTFwIfProt & aReq
CStifTFwIfProt & aResp

MsgRemoteEventCtl(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)

TInt MsgRemoteEventCtl ( CUIEngineContainer * aContainer,
CStifTFwIfProt & aReq,
CStifTFwIfProt & aResp
) [private]

Parameters

CUIEngineContainer * aContainer
CStifTFwIfProt & aReq
CStifTFwIfProt & aResp

MsgRemoteRun(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)

TInt MsgRemoteRun ( CUIEngineContainer * aContainer,
CStifTFwIfProt & aReq,
CStifTFwIfProt & aResp
) [private]

Parameters

CUIEngineContainer * aContainer
CStifTFwIfProt & aReq
CStifTFwIfProt & aResp

MsgRemoteSendReceive(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)

TInt MsgRemoteSendReceive ( CUIEngineContainer * aContainer,
CStifTFwIfProt & aReq,
CStifTFwIfProt & aResp
) [private]

Asynchronous remote sendreceive message.

Parameters

CUIEngineContainer * aContainer
CStifTFwIfProt & aReq
CStifTFwIfProt & aResp

MsgRemoteTestCtl(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)

TInt MsgRemoteTestCtl ( CUIEngineContainer * aContainer,
CStifTFwIfProt & aReq,
CStifTFwIfProt & aResp
) [private]

Parameters

CUIEngineContainer * aContainer
CStifTFwIfProt & aReq
CStifTFwIfProt & aResp

NewL(CUIStoreIf *)

CUIStore * NewL ( CUIStoreIf * iUIStoreIf ) [static]

NewL is first phase of two-phased constructor.

Parameters

CUIStoreIf * iUIStoreIf

Open(const TDesC &)

IMPORT_C TInt Open ( const TDesC & aTestFrameworkIni =  KNullDesC )

Used to open TestFramework.

Returns Symbian OS error code.

Parameters

const TDesC & aTestFrameworkIni =  KNullDesC

ParseTestSetName(const TDesC &, TPtrC &, TFileName &)

TInt ParseTestSetName ( const TDesC & aSetFileName,
TPtrC & aSetName,
TFileName & aFileName
) [private]

Parse test set name from test set file name.

Parameters

const TDesC & aSetFileName
TPtrC & aSetName
TFileName & aFileName

PrintProg(CUIEngineContainer *, TTestProgress &)

TInt PrintProg ( CUIEngineContainer * aContainer,
TTestProgress & aProgress
) [private, virtual]

Progress information from Test case execution.

Returns Symbian OS error code.

Parameters

CUIEngineContainer * aContainer
TTestProgress & aProgress

ReadFiltersL(RPointerArray< TDesC > &)

IMPORT_C void ReadFiltersL ( RPointerArray < TDesC > & aFilters )

Reads filters (if any) from initialization file.

Parameters

RPointerArray < TDesC > & aFilters

ReadLineL(RFile &, TDes &)

void ReadLineL ( RFile & file,
TDes & buffer
) [private]

Read the whole line from the file.

Parameters

RFile & file
TDes & buffer

RefreshAllCases()

void RefreshAllCases ( ) [private, inline]

Set update flag.

RemoteMsg(CUIEngineContainer *, const TDesC &)

TInt RemoteMsg ( CUIEngineContainer * aContainer,
const TDesC & aMessage
) [private, virtual]

Remote protocol messages handler.

Parameters

CUIEngineContainer * aContainer
const TDesC & aMessage

RemotePopup(CUIEngineContainer *, const TDesC &, CStifTFwIfProt *, TPopupPriority)

TInt RemotePopup ( CUIEngineContainer * aContainer,
const TDesC & aReq,
CStifTFwIfProt * aResp,
TPopupPriority aPopupPriority = EPopupPriorityLow
) [private]

Do remote popup. Added aPopupPriority parameter for prioritizing popups

Parameters

CUIEngineContainer * aContainer
const TDesC & aReq
CStifTFwIfProt * aResp
TPopupPriority aPopupPriority = EPopupPriorityLow

RemotePopupComplete(CUIStorePopup *, TInt, CUIEngineContainer *, CStifTFwIfProt *, TKeyCode)

TInt RemotePopupComplete ( CUIStorePopup * aPopup,
TInt aError,
CUIEngineContainer * aContainer,
CStifTFwIfProt * aResp,
TKeyCode aKeyCode
) [private]

Callback from UIStorePopup.

Parameters

CUIStorePopup * aPopup
TInt aError
CUIEngineContainer * aContainer
CStifTFwIfProt * aResp
TKeyCode aKeyCode

RemoveFromTestSet(const TDesC &, const CTestInfo &)

IMPORT_C TInt RemoveFromTestSet ( const TDesC & aSetName,
const CTestInfo & aTestInfo
)

Remove test case from test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName
const CTestInfo & aTestInfo

RemoveTestCaseFile(const TDesC &, const TDesC &)

IMPORT_C TInt RemoveTestCaseFile ( const TDesC & aModuleName,
const TDesC & aCaseFile
)

Used to remove test case file from test module.

Returns Symbian OS error code.

Parameters

const TDesC & aModuleName
const TDesC & aCaseFile

RemoveTestModule(const TDesC &)

IMPORT_C TInt RemoveTestModule ( const TDesC & aModuleName )

Used to remove test module to test framework.

Returns Symbian OS error code.

Parameters

const TDesC & aModuleName

RemoveTestSet(const TDesC &)

IMPORT_C TInt RemoveTestSet ( const TDesC & aSetName )

Remove active test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName

SaveTestSet(const TDesC &)

IMPORT_C TInt SaveTestSet ( const TDesC & aSetName )

Save test set. Depreceated, SaveTestSet2 to be used instead

Returns Symbian OS error code.

Parameters

const TDesC & aSetName

SaveTestSet2(TDes &)

IMPORT_C TInt SaveTestSet2 ( TDes & aSetName )

Save test set.

Returns Symbian OS error code.

Parameters

TDes & aSetName

SaveTestSetL(CTestSetInfo &, const TDesC &)

void SaveTestSetL ( CTestSetInfo & aSetInfo,
const TDesC & aSetFileName
) [private]

Save test set.

Parameters

CTestSetInfo & aSetInfo
const TDesC & aSetFileName

SetRemotePopupFromQueue()

void SetRemotePopupFromQueue ( ) [private]

Prints the highest priority popup from queue

ShuffleRemoteRunResultPopups(CUIStorePopup *)

void ShuffleRemoteRunResultPopups ( CUIStorePopup * aPopup ) [private]

Shuffles remote run result popups

Parameters

CUIStorePopup * aPopup

StartTestCase(const CTestInfo &, TInt &)

IMPORT_C TInt StartTestCase ( const CTestInfo & aTestInfo,
TInt & anIndex
)

Start selected test case identified with CTestInfo . anIndex contains index in StartedTestCase array, which is valid only during execution of calling function.

Returns Symbian OS error code.

Parameters

const CTestInfo & aTestInfo
TInt & anIndex

StartTestSet(const CTestSetInfo &, TInt &, CStartedTestSet::TSetType)

IMPORT_C TInt StartTestSet ( const CTestSetInfo & aTestSetInfo,
TInt & anIndex,
CStartedTestSet::TSetType aType = CStartedTestSet::ESetSequential
)

Start selected test set identified with CTestSetInfo . anIndex contains index in StartedTestSet array, which is valid only during execution of calling function.

Returns Symbian OS error code.

Parameters

const CTestSetInfo & aTestSetInfo
TInt & anIndex
CStartedTestSet::TSetType aType = CStartedTestSet::ESetSequential

StartTestSet(const CTestSetInfo &, TInt &, CStartedTestSet::TSetType, TBool)

IMPORT_C TInt StartTestSet ( const CTestSetInfo & aTestSetInfo,
TInt & anIndex,
CStartedTestSet::TSetType aType,
TBool aNotStartedCasesMode
)

Parameters

const CTestSetInfo & aTestSetInfo
TInt & anIndex
CStartedTestSet::TSetType aType
TBool aNotStartedCasesMode

StartedTestCaseL(TInt)

IMPORT_C CStartedTestCase & StartedTestCaseL ( TInt anIndex )

Return started (running/runned) test case

Parameters

TInt anIndex

StartedTestCases(RRefArray< CStartedTestCase > &, TInt, const TDesC &, const TDesC &)

IMPORT_C TInt StartedTestCases ( RRefArray < CStartedTestCase > & aTestCases,
TInt aStatus = CUIStoreIf::EStatusAll,
const TDesC & aTestModule = ( TDesC &) KNullDesC (),
const TDesC & aTestCaseFile = ( TDesC &) KNullDesC ()
)

Return started (running/runned) test cases

Parameters

RRefArray < CStartedTestCase > & aTestCases
TInt aStatus = CUIStoreIf::EStatusAll
const TDesC & aTestModule = ( TDesC &) KNullDesC ()
const TDesC & aTestCaseFile = ( TDesC &) KNullDesC ()

StartedTestSetL(TInt)

IMPORT_C CStartedTestSet & StartedTestSetL ( TInt anIndex )

Return started (running/runned) test set

Returns Symbian OS error code.

Parameters

TInt anIndex

StartedTestSets(RRefArray< CStartedTestSet > &, TInt)

IMPORT_C TInt StartedTestSets ( RRefArray < CStartedTestSet > & aTestCases,
TInt aStatus = CUIStoreIf::ESetAll
)

Return started (running/runned) test cases

Returns Symbian OS error code.

Parameters

RRefArray < CStartedTestSet > & aTestCases
TInt aStatus = CUIStoreIf::ESetAll

TestCaseFiles(RRefArray< TDesC > &, const TDesC &)

IMPORT_C TInt TestCaseFiles ( RRefArray < TDesC > & aTestCaseFiles,
const TDesC & aTestModule = ( TDesC &) KNullDesC ()
)

Return test case files

Parameters

RRefArray < TDesC > & aTestCaseFiles
const TDesC & aTestModule = ( TDesC &) KNullDesC ()

TestCases(RRefArray< CTestInfo > &, const TDesC &, const TDesC &)

IMPORT_C TInt TestCases ( RRefArray < CTestInfo > & aTestCases,
const TDesC & aTestModule = ( TDesC &) KNullDesC (),
const TDesC & aTestCaseFile = ( TDesC &) KNullDesC ()
)

Return array of existing test cases.

Parameters

RRefArray < CTestInfo > & aTestCases
const TDesC & aTestModule = ( TDesC &) KNullDesC ()
const TDesC & aTestCaseFile = ( TDesC &) KNullDesC ()

TestExecuted(CUIEngineContainer *, TFullTestResult &)

void TestExecuted ( CUIEngineContainer * aContainer,
TFullTestResult & aFullTestResult
) [private, virtual]

Test case executed.

Returns Symbian OS error code.

Parameters

CUIEngineContainer * aContainer
TFullTestResult & aFullTestResult

TestSetL(const TDesC &)

IMPORT_C const CTestSetInfo & TestSetL ( const TDesC & aSetName )

Query test set.

Returns Symbian OS error code.

Parameters

const TDesC & aSetName

TestSets(RRefArray< CTestSetInfo > &)

IMPORT_C TInt TestSets ( RRefArray < CTestSetInfo > & aSetInfos )

Query test sets.

Returns Symbian OS error code.

Parameters

RRefArray < CTestSetInfo > & aSetInfos

UpdateCases()

TInt UpdateCases ( ) [private]

Update test case list if required.

UpdateTestSet(CTestSetInfo &)

IMPORT_C TInt UpdateTestSet ( CTestSetInfo & aSetInfo )

Updates information stored about test set in file.

Returns Symbian OS error code.

Parameters

CTestSetInfo & aSetInfo

UpdateTestSetL(CTestSetInfo &, const TDesC &)

void UpdateTestSetL ( CTestSetInfo & aSetInfo,
const TDesC & aSetFileName
) [private]

Updates in file information about test set.

Parameters

CTestSetInfo & aSetInfo
const TDesC & aSetFileName

WriteLineL(RFile &, const TDesC &)

void WriteLineL ( RFile & file,
const TDesC & buffer
) [private]

Write given line to the file and adds end of line.

Parameters

RFile & file
const TDesC & buffer

Member Enumerations Documentation

Enum TPopupPriority

Enumerators

EPopupPriorityHighest
EPopupPriorityNormal
EPopupPriorityLow

Member Data Documentation

TPopupPriority iActivePopupPriority

TPopupPriority iActivePopupPriority [private]

RPointerArray< HBufC > iFileList

RPointerArray < HBufC > iFileList [private]

CStifLogger * iLogger

CStifLogger * iLogger

TBool iPopupActive

TBool iPopupActive [private]

RPointerArray< CUIStorePopup > iPopups

RPointerArray < CUIStorePopup > iPopups [private]

RPointerArray< CStartedTestCase > iStartedTestCases

RPointerArray < CStartedTestCase > iStartedTestCases [private]

RPointerArray< CStartedTestSet > iStartedTestSets

RPointerArray < CStartedTestSet > iStartedTestSets [private]

RPointerArray< CTestInfo > iTestCases

RPointerArray < CTestInfo > iTestCases [private]

TFileName iTestFrameworkIni

TFileName iTestFrameworkIni [private]

RPointerArray< CTestSetInfo > iTestSets

RPointerArray < CTestSetInfo > iTestSets [private]

CUIEngine * iUIEngine

CUIEngine * iUIEngine [private]

CUIStoreIf * iUIStoreIf

CUIStoreIf * iUIStoreIf [private]

TBool iUpdateNeeded

TBool iUpdateNeeded [private]