Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: WapTestUtils.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CWapTestHarness

class CWapTestHarness : public CBase;

Description

Test harness providing logging features

Derivation

Members

Defined in CWapTestHarness:
CTestInfo, DefaultLogFileName(), DoResourceLeakTest(), DumpData(), EndTest(), GetAnEntry(), GetSelection(), LogIt(), NewL(), NewLC(), NextStep(), PressAnyKey(), SetScript(), StartTestL(), Test(), operator()(), operator()()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewLC()

static IMPORT_C CWapTestHarness *NewLC(const TDesC &aTitle);

Description

Parameters

const TDesC &aTitle

Return value

CWapTestHarness *


NewL()

static IMPORT_C CWapTestHarness *NewL(const TDesC &aTitle);

Description

Parameters

const TDesC &aTitle

Return value

CWapTestHarness *

[Top]


Member functions


StartTestL()

IMPORT_C void StartTestL(const TDesC &aName);

Description

Parameters

const TDesC &aName


NextStep()

IMPORT_C void NextStep(const TDesC &aStepName);

Description

Parameters

const TDesC &aStepName


EndTest()

IMPORT_C void EndTest(TInt aErrorCode);

Description

Parameters

TInt aErrorCode


LogIt()

IMPORT_C void LogIt(TRefByValue< const TDesC > aFmt,...);

Description

Parameters

TRefByValue< const TDesC > aFmt

...


operator()()

IMPORT_C void operator()(TInt aResult, TInt aLineNum);

Description

Parameters

TInt aResult

TInt aLineNum


operator()()

IMPORT_C void operator()(TInt aResult);

Description

Parameters

TInt aResult


PressAnyKey()

IMPORT_C void PressAnyKey();

Description


DumpData()

IMPORT_C void DumpData(HBufC8 &aData, TBool logIt=EFalse);

Description

Parameters

HBufC8 &aData

TBool logIt


GetAnEntry()

IMPORT_C void GetAnEntry(const TDesC &ourPrompt, TDes &currentstring);

Description

Parameters

const TDesC &ourPrompt

TDes &currentstring


GetSelection()

IMPORT_C TInt GetSelection(const TDesC &ourPrompt, const TDesC &validChoices);

Description

Parameters

const TDesC &ourPrompt

const TDesC &validChoices

Return value

TInt


SetScript()

IMPORT_C void SetScript(RFile &scriptFile);

Description

Parameters

RFile &scriptFile


DoResourceLeakTest()

inline void DoResourceLeakTest(TBool aValue);

Description

Parameters

TBool aValue


Test()

inline RTest &Test();

Description

Return value

RTest &


DefaultLogFileName()

static inline void DefaultLogFileName(TDes &aFileName);

Description

Parameters

TDes &aFileName

[Top]


Member classes


Class CTestInfo

class CTestInfo : public CBase;

Description

Holds test number and name

Derivation

Members

Defined in CWapTestHarness::CTestInfo:
ErrorCode(), Name(), Number()

Inherited from CBase:
Delete(), Extension_(), operator new()

Member functions


Name()

inline TPtr Name() const;

Description

Return value

TPtr


Number()

inline TInt Number() const;

Description

Return value

TInt


ErrorCode()

inline TInt ErrorCode() const;

Description

Return value

TInt