CTestModuleController Class Reference
class CTestModuleController : public CActive
|
Constructor & Destructor Documentation
CTestModuleController(CTestEngine *)
CTestModuleController
|
(
|
CTestEngine
*
|
aEngine
|
)
|
[protected]
|
~CTestModuleController()
~CTestModuleController
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddConfigFileL(TFileName &)
void
|
AddConfigFileL
|
(
|
TFileName
&
|
aConfigFile
|
)
|
[virtual]
|
AtsLogger()
Return reference to AtsLogger
CaseCreated()
void
|
CaseCreated
|
(
|
)
|
[virtual]
|
Increases the value of iTestCaseCounter
CaseFinished()
void
|
CaseFinished
|
(
|
)
|
[virtual]
|
Decreases the value of iTestCaseCounter and checks can old testmodulecontroller deleted or not.
CloneL(CTestModuleController *, TBool, CTestScripterController *)
Returns pointer to the created clone of the TestModuleController
ConstructASTLoggerL(TDesC &, TBool &)
TInt
|
ConstructASTLoggerL
|
(
|
TDesC
&
|
atsName,
|
|
TBool
&
|
aAfterReboot
|
|
)
|
[private]
|
Construct ATS logger. Added this function due to compiler error with CW 3.0 when there are multiple TRAPDs
ConstructL(const TName &, TBool, CTestScripterController *)
By default Symbian OS constructor is private.
DeleteModuleController(CTestModuleController *)
DoCancel()
void
|
DoCancel
|
(
|
)
|
[virtual]
|
DoCancel derived from
CActive
handles the cancellation
EnumerateSynchronously(void)
void
|
EnumerateSynchronously
|
(
|
void
|
|
)
|
[virtual]
|
Enumerates test module controller synchronously. This is used when new test module controller is created when stif is about to run test case.
EnumerationComplete()
TBool
|
EnumerationComplete
|
(
|
)
|
[virtual]
|
FreeTestCases()
void
|
FreeTestCases
|
(
|
)
|
[virtual]
|
Free used memory for test cases
GetFreeOrCreateModuleControllerL(TTestInfo &, TBool)
Finds free test module controller, if not possible, creates new one.
InitL(TFileName &, const TDesC &)
void
|
InitL
|
(
|
TFileName
&
|
aIniFile,
|
|
const
TDesC
&
|
aConfigFile
|
|
)
|
[virtual]
|
LeaveWithNotifyL(TInt, const TDesC &)
void
|
LeaveWithNotifyL
|
(
|
TInt
|
aCode,
|
|
const
TDesC
&
|
aText
|
|
)
|
[private]
|
Generate error report to xml result file and leave with notify.
ModuleName(const TDesC &)
const
TDesC
&
|
ModuleName
|
(
|
const
TDesC
&
|
aModuleName
|
)
|
[virtual]
|
Return the name of Test Module.
Parameters
const
TDesC
& aModuleName
|
|
NewL(CTestEngine *, const TName &, TBool, TBool, CTestScripterController *)
RemoveConfigFileL(TFileName &)
void
|
RemoveConfigFileL
|
(
|
TFileName
&
|
aConfigFile
|
)
|
[virtual]
|
RemoveModuleController(CTestModuleController *)
RunError(TInt)
RunError derived from
CActive
handles errors from active handler.
RunL()
RunL derived from
CActive
handles the completed requests.
Server(TTestInfo &)
Return handle to Test Server
StartEnumerateL()
void
|
StartEnumerateL
|
(
|
)
|
[virtual]
|
Member Enumerations Documentation
Enum TTestModuleStatus
Enumerators
ETestModuleIdle
|
|
ETestModuleEnumerateCases
|
|
ETestModuleEnumerateCasesCompleted
|
|
Member Type Definitions Documentation
Member Data Documentation
TBool
iAfterReboot
TBool
|
iAfterReboot
|
[protected]
|
RPointerArray< CTestModuleController > iChildrenControllers
RPointerArray< HBufC > iConfigFiles
TPtrC
iEnumConfigFile
TPtrC
|
iEnumConfigFile
|
[protected]
|
TCaseSize
iEnumResultPackage
TBool
iEnumerateComplete
TBool
|
iEnumerateComplete
|
[protected]
|
TInt
iEnumerateCount
TInt
|
iEnumerateCount
|
[protected]
|
CErrorPrinter * iErrorPrinter
RPointerArray< HBufC > iFailedEnumerateConfig
TInt
iFailedEnumerateCount
TInt
|
iFailedEnumerateCount
|
[protected]
|
HBufC * iName
HBufC
*
|
iName
|
[protected]
|
CServerStateHandler * iServerStateHandler
CServerStateHandler *
|
iServerStateHandler
|
[protected]
|
RPointerArray< TTestCaseArray > iTestCaseArray
TInt
iTestCaseCount
TInt
|
iTestCaseCount
|
[protected]
|
TInt
iTestCaseCounter
TInt
|
iTestCaseCounter
|
[protected]
|
TBool
iTestModuleCrashDetected
TBool
|
iTestModuleCrashDetected
|
CTestScripterController * iTestScripterController
TInt
iTestScripterIndicator
TInt
|
iTestScripterIndicator
|
[protected]
|
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.