CUIStore Class Reference
class CUIStore : public CUIIf |
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 &) |
Constructor & Destructor Documentation
Member Functions Documentation
AbortTestSet(CStartedTestSet &)
Abort running test set.
Returns Symbian OS error code.
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.
AddTestModule(const TDesC &, const TDesC &)
Used to add test module to test framework.
Returns Symbian OS error code.
AddToTestSet(const TDesC &, const CTestInfo &)
Add test case to test set.
Returns Symbian OS error code.
CheckIniL(TFileName &)
Try to locate default initialization file.
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.
DevId()
TInt16
| DevId | ( | ) | [private, inline] |
ErrorPrint(TErrorNotification &)
Error information from Test framework.
Returns Symbian OS error code.
FindByContainer(CUIEngineContainer *const, CStartedTestCase *&)
Find testcase by container.
FindSetByName(const TDesC &, CTestSetInfo *&)
FindStartedSetByCase(const CStartedTestCase *, CStartedTestSet *&)
GetTestSetsList(RRefArray< TDesC > &)
Creates list of available Test Sets.
Returns Symbian OS error code.
GoingToReboot(CUIEngineContainer *, TRequestStatus &)
Reboot indication handler.
InitializeLogger(CStifLogger *)
void | InitializeLogger | ( | CStifLogger * | aLogger | ) | [private, inline, virtual] |
Initialize logger from UI engine.
InsertToTestSet(const TDesC &, const CTestInfo &, TInt)
Insert test case to test set.
Returns Symbian OS error code.
ListAllModules(RPointerArray< TDesC > &)
Lists all TestFramework test modules from \ directories of all drives.
ListAllModulesL(RPointerArray< TDesC > &)
Lists all TestFramework test modules from \ directories.
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.
LoadTestSet(const TDesC &)
IMPORT_C TInt | LoadTestSet | ( | const TDesC & | aSetName | ) | |
Load test set.
Returns Symbian OS error code.
LoadTestSetL(const TDesC &, const TDesC &)
void | LoadTestSetL | ( | const TDesC & | aSetName, |
| const TDesC & | aSetFileName |
| ) | [private] |
Modules(RRefArray< TDesC > &)
MsgRemote(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
MsgRemoteEventCtl(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
MsgRemoteRun(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
MsgRemoteSendReceive(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
Asynchronous remote sendreceive message.
MsgRemoteTestCtl(CUIEngineContainer *, CStifTFwIfProt &, CStifTFwIfProt &)
NewL(CUIStoreIf *)
NewL is first phase of two-phased constructor.
Open(const TDesC &)
Used to open TestFramework.
Returns Symbian OS error code.
ParseTestSetName(const TDesC &, TPtrC &, TFileName &)
Parse test set name from test set file name.
PrintProg(CUIEngineContainer *, TTestProgress &)
Progress information from Test case execution.
Returns Symbian OS error code.
ReadFiltersL(RPointerArray< TDesC > &)
Reads filters (if any) from initialization file.
ReadLineL(RFile &, TDes &)
void | ReadLineL | ( | RFile & | file, |
| TDes & | buffer |
| ) | [private] |
Read the whole line from the file.
RefreshAllCases()
void | RefreshAllCases | ( | ) | [private, inline] |
RemoteMsg(CUIEngineContainer *, const TDesC &)
Remote protocol messages handler.
RemotePopup(CUIEngineContainer *, const TDesC &, CStifTFwIfProt *, TPopupPriority)
Do remote popup. Added aPopupPriority parameter for prioritizing popups
RemotePopupComplete(CUIStorePopup *, TInt, CUIEngineContainer *, CStifTFwIfProt *, TKeyCode)
Callback from UIStorePopup.
RemoveFromTestSet(const TDesC &, const CTestInfo &)
Remove test case from test set.
Returns Symbian OS error code.
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.
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.
SaveTestSet(const TDesC &)
IMPORT_C TInt | SaveTestSet | ( | const TDesC & | aSetName | ) | |
Save test set. Depreceated, SaveTestSet2 to be used instead
Returns Symbian OS error code.
SaveTestSet2(TDes &)
IMPORT_C TInt | SaveTestSet2 | ( | TDes & | aSetName | ) | |
Save test set.
Returns Symbian OS error code.
SaveTestSetL(CTestSetInfo &, const TDesC &)
SetRemotePopupFromQueue()
void | SetRemotePopupFromQueue | ( | ) | [private] |
Prints the highest priority popup from queue
ShuffleRemoteRunResultPopups(CUIStorePopup *)
Shuffles remote run result popups
StartTestCase(const CTestInfo &, TInt &)
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.
StartTestSet(const CTestSetInfo &, TInt &, CStartedTestSet::TSetType)
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.
StartTestSet(const CTestSetInfo &, TInt &, CStartedTestSet::TSetType, TBool)
StartedTestCaseL(TInt)
Return started (running/runned) test case
StartedTestCases(RRefArray< CStartedTestCase > &, TInt, const TDesC &, const TDesC &)
Return started (running/runned) test cases
StartedTestSetL(TInt)
Return started (running/runned) test set
Returns Symbian OS error code.
StartedTestSets(RRefArray< CStartedTestSet > &, TInt)
Return started (running/runned) test cases
Returns Symbian OS error code.
TestCaseFiles(RRefArray< TDesC > &, const TDesC &)
TestCases(RRefArray< CTestInfo > &, const TDesC &, const TDesC &)
Return array of existing test cases.
TestExecuted(CUIEngineContainer *, TFullTestResult &)
Test case executed.
Returns Symbian OS error code.
TestSetL(const TDesC &)
Query test set.
Returns Symbian OS error code.
TestSets(RRefArray< CTestSetInfo > &)
Query test sets.
Returns Symbian OS error code.
UpdateCases()
TInt
| UpdateCases | ( | ) | [private] |
Update test case list if required.
UpdateTestSet(CTestSetInfo &)
Updates information stored about test set in file.
Returns Symbian OS error code.
UpdateTestSetL(CTestSetInfo &, const TDesC &)
Updates in file information about test set.
WriteLineL(RFile &, const TDesC &)
void | WriteLineL | ( | RFile & | file, |
| const TDesC & | buffer |
| ) | [private] |
Write given line to the file and adds end of line.
Member Enumerations Documentation
Enum TPopupPriority
Enumerators
EPopupPriorityHighest | |
EPopupPriorityNormal | |
EPopupPriorityLow | |
Member Data Documentation
TPopupPriority
iActivePopupPriority
RPointerArray< HBufC > iFileList
TBool
iPopupActive
TBool
| iPopupActive | [private] |
RPointerArray< CUIStorePopup > iPopups
RPointerArray< CStartedTestCase > iStartedTestCases
RPointerArray< CStartedTestSet > iStartedTestSets
RPointerArray< CTestInfo > iTestCases
TFileName
iTestFrameworkIni
RPointerArray< CTestSetInfo > iTestSets
TBool
iUpdateNeeded
TBool
| iUpdateNeeded | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.