CTestScripter Class Reference
class CTestScripter : public CTestModuleBase
|
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()
|
|
CTestModuleBase::CTestModuleBase()
|
|
CTestModuleBase::OOMHandleWarningL(const TFileName &,const ,TInt &)
|
|
CTestModuleBase::OOMTestFinalizeL(const TFileName &,const )
|
|
CTestModuleBase::OOMTestInitializeL(const TFileName &,const )
|
|
CTestModuleBase::OOMTestQueryL(const TFileName &,const ,TOOMFailureType &,TInt &,TInt &)
|
|
CTestModuleBase::TestModuleIf()
|
|
CTestModuleBase::Version()
|
|
CTestModuleBase::~CTestModuleBase()
|
Constructor & Destructor Documentation
CTestScripter()
CTestScripter
|
(
|
)
|
[private]
|
Member Functions Documentation
CallTestClass(const TDesC &)
Call specified tst class object.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian OS constructor is private.
CreateKernelObjectL(TDesC &, TDesC &)
void
|
CreateKernelObjectL
|
(
|
TDesC
&
|
aDriver,
|
|
TDesC
&
|
aObjectId
|
|
)
|
[private]
|
CreateKernelObjectL create new kernel object.
CreateObjectL(TDesC &, TDesC &)
void
|
CreateObjectL
|
(
|
TDesC
&
|
aModule,
|
|
TDesC
&
|
aObjectId
|
|
)
|
[private]
|
CreateObjectL create new object.
DeleteObjectL(TDesC &)
TInt
|
DeleteObjectL
|
(
|
TDesC
&
|
aObjectId
|
)
|
[private]
|
DeleteObjectL deletes object with aObjectId.
GetConstantValue(const TDesC &, TDes &)
IMPORT_C
TInt
|
GetConstantValue
|
(
|
const
TDesC
&
|
aName,
|
|
TDes
&
|
aValue
|
|
)
|
|
Internal fuction to get const value defined in [Define]...[Enddefine] section of script file
GetLocalValue(const TDesC &, TDes &)
IMPORT_C
TInt
|
GetLocalValue
|
(
|
const
TDesC
&
|
aName,
|
|
TDes
&
|
aValue
|
|
)
|
|
Internal fuction to get local value.
GetObject(const TDesC &)
GetObject returns object corresponding to aObjectId.
GetSubL(const TDesC &)
Read sub section from test case file.
GetTestCaseL(TInt, const TFileName &)
GetTestCaseL gets the specified test case section from the onfigfile.
GetTestCasesL(const TFileName &, RPointerArray< TTestCaseInfo > &)
GetTestCasesL is used to inquire testcases.
GetTestScriptObject(const TDesC &)
TInt
|
GetTestScriptObject
|
(
|
const
TDesC
&
|
aObjectName
|
)
|
|
Get pointer to test class object.
Parameters
const
TDesC
& aObjectName
|
|
InitL(TFileName &, TBool)
Test module initialization.
LoadTestModuleL(TDesC &)
LoadTestModuleL loads test module.
ReadInitializationL(const TDesC &, RPointerArray< CDefinedValue > &)
Read initialization from file.
RunTestCaseL(const TInt, const TFileName &, TTestResult &)
RunTestCase is used to run an individual test case specified by aTestCase.
RunTestL()
void
|
RunTestL
|
(
|
)
|
[private]
|
RunTestL runs the testcase specified in section.
SetLocalValue(const TDesC &, const TDesC &)
IMPORT_C
TInt
|
SetLocalValue
|
(
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aValue
|
|
)
|
|
Internal fuction to set local value.
SetResultDescription(const TDesC &)
IMPORT_C void
|
SetResultDescription
|
(
|
const
TDesC
&
|
aDescr
|
)
|
|
Set result description of test case.
UpdateTestCaseResult(const TInt, const TDesC &)
void
|
UpdateTestCaseResult
|
(
|
const
TInt
|
aError,
|
|
const
TDesC
&
|
aDescr
|
|
)
|
[private]
|
Updates result of test case.
Member Data Documentation
TBool
iAddTestCaseTitleToLogName
TBool
|
iAddTestCaseTitleToLogName
|
[private]
|
TBool
iCheckHeapBalance
TBool
|
iCheckHeapBalance
|
[private]
|
CStifSectionParser * iCurrentParser
TBool
iCurrentParserReadFirstLine
TBool
|
iCurrentParserReadFirstLine
|
[private]
|
RPointerArray< CDefinedValue > iDefinedIni
RPointerArray< CDefinedValue > iDefinedLocal
RPointerArray< CDefinedValue > iDefinedRuntime
TBool
iOOMIgnoreFailure
TBool
|
iOOMIgnoreFailure
|
[private]
|
RPointerArray< CStifSectionParser > iParserStack
CStifSectionParser * iSectionParser
RPointerArray< TTestModule > iTestModules
RPointerArray< TTestObjectBase > iTestObjects
CTestRunner * iTestRunner
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.