CScriptBase Class Reference

class CScriptBase : public CBase

Inherits from

Constructor & Destructor Documentation

CScriptBase(CTestModuleIf &)

IMPORT_CCScriptBase(CTestModuleIf &aTestModuleIf)[protected]

Constructor.

Parameters

CTestModuleIf & aTestModuleIf

~CScriptBase()

~CScriptBase()[inline, virtual]

Destructor of CScriptBase.

Member Functions Documentation

CallTestClass(const TDesC &)

IMPORT_C TIntCallTestClass(const TDesC &aLine)

Parameters

const TDesC & aLine

CancelSignal()

IMPORT_C voidCancelSignal()[private]

EnableSignal(TRequestStatus &)

IMPORT_C voidEnableSignal(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

GetConstantValue(const TDesC &, TDes &)

IMPORT_C TIntGetConstantValue(const TDesC &aName,
TDes &aValue
)[protected]

Internal fuction to get const value defined in [Define]...[Enddefine] section of script file

Parameters

const TDesC & aName
TDes & aValue

GetConstantValue(const TDesC &, TInt &)

IMPORT_C TIntGetConstantValue(const TDesC &aName,
TInt &aValue
)[protected]

Internal fuction to get const value defined in [Define]...[Enddefine] section of script file

Parameters

const TDesC & aName
TInt & aValue

GetConstantValue(const TDesC &, TReal &)

IMPORT_C TIntGetConstantValue(const TDesC &aName,
TReal &aValue
)[protected]

Internal fuction to get const value defined in [Define]...[Enddefine] section of script file

Parameters

const TDesC & aName
TReal & aValue

GetLocalValue(const TDesC &, TDes &)

IMPORT_C TIntGetLocalValue(const TDesC &aName,
TDes &aValue
)[protected]

Internal fuction to get value of local variable

Parameters

const TDesC & aName
TDes & aValue

GetLocalValue(const TDesC &, TInt &)

IMPORT_C TIntGetLocalValue(const TDesC &aName,
TInt &aValue
)[protected]

Internal fuction to get value of local variable

Parameters

const TDesC & aName
TInt & aValue

GetLocalValue(const TDesC &, TReal &)

IMPORT_C TIntGetLocalValue(const TDesC &aName,
TReal &aValue
)[protected]

Internal fuction to get value of local variable

Parameters

const TDesC & aName
TReal & aValue

GetTestObject(const TDesC &)

IMPORT_C CScriptBase *GetTestObject(const TDesC &aObjectName)

Parameters

const TDesC & aObjectName

RunInternalL(TStifFunctionInfo const, TInt, CStifItemParser &)

IMPORT_C TIntRunInternalL(TStifFunctionInfo const aFunctions,
TIntaCount,
CStifItemParser &aItem
)[protected, virtual]

Internal fuction to run specified method.

Parameters

TStifFunctionInfo const aFunctions
TInt aCount
CStifItemParser & aItem

RunMethodL(CStifItemParser &)

TInt RunMethodL(CStifItemParser &aItem)[pure virtual]

Runs a script line, must be implemented in derived class.

Parameters

CStifItemParser & aItem

SetLocalValue(const TDesC &, const TDesC &)

IMPORT_C TIntSetLocalValue(const TDesC &aName,
const TDesC &aValue
)[protected]

Internal fuction to set value of local variable

Parameters

const TDesC & aName
const TDesC & aValue

SetLocalValue(const TDesC &, const TInt)

IMPORT_C TIntSetLocalValue(const TDesC &aName,
const TIntaValue
)[protected]

Internal fuction to set value of local variable

Parameters

const TDesC & aName
const TInt aValue

SetLocalValue(const TDesC &, const TReal)

IMPORT_C TIntSetLocalValue(const TDesC &aName,
const TRealaValue
)[protected]

Internal fuction to set value of local variable

Parameters

const TDesC & aName
const TReal aValue

SetResultDescription(const TDesC &)

IMPORT_C voidSetResultDescription(const TDesC &aDescription)

Parameters

const TDesC & aDescription

SetScripter(CallBackFunc, CTestScripter *)

IMPORT_C voidSetScripter(CallBackFuncaFunc,
CTestScripter *aTestScripter
)[private]

Parameters

CallBackFunc aFunc
CTestScripter * aTestScripter

Signal(TInt)

IMPORT_C voidSignal(TIntaError =  KErrNone )

Signal TestScripter to continue from waittestclass.

Parameters

TInt aError =  KErrNone

TestModuleIf()

IMPORT_C CTestModuleIf &TestModuleIf()

Get reference to TestModuleIf API.

Member Data Documentation

CallBackFunc iFunc

CallBackFunc iFunc[private]

CStifLogger * iLog

CStifLogger *iLog[protected]

Logger.

RArray< TInt > iSignalErrors

RArray< TInt >iSignalErrors[protected]

Array for handling multiple 'waittestclass' given from testclass's test configure file.

TRequestStatus * iStatus

TRequestStatus *iStatus[private]

CTestModuleIf & iTestModuleIf

CTestModuleIf &iTestModuleIf[private]

CTestScripter * iTestScripter

CTestScripter *iTestScripter[private]