Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <WapTestUtils.h>
This item is not part of the S60 5th Edition SDK

Class CWapTestHarness

class CWapTestHarness : public CBase;

Description

Test harness providing logging features

Derivation

Members

Defined in CWapTestHarness:

Inherited from CBase:


Construction and destruction


NewLC(const TDesC &)

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

Description

Parameters

const TDesC16 &aTitle

Return value

CWapTestHarness *


NewL(const TDesC &)

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

Description

Parameters

const TDesC16 &aTitle

Return value

CWapTestHarness *

[Top]


Member functions


StartTestL(const TDesC &)

IMPORT_C void StartTestL(const TDesC &aName);

Description

Parameters

const TDesC16 &aName


NextStep(const TDesC &)

IMPORT_C void NextStep(const TDesC &aStepName);

Description

Parameters

const TDesC16 &aStepName


EndTest(TInt)

IMPORT_C void EndTest(TInt aErrorCode);

Description

Parameters

TInt aErrorCode


LogIt(TRefByValue< const TDesC >,...)

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

Description

Parameters

TRefByValue< const TDesC16 > aFmt

...


operator()(TInt,TInt)

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

Description

Parameters

TInt aResult

TInt aLineNum


operator()(TInt)

IMPORT_C void operator()(TInt aResult);

Description

Parameters

TInt aResult


PressAnyKey()

IMPORT_C void PressAnyKey();

Description


DumpData(HBufC8 &,TBool)

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

Description

Parameters

HBufC8 &aData

TBool logIt


GetAnEntry(const TDesC &,TDes &)

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

Description

Parameters

const TDesC16 &ourPrompt

TDes16 &currentstring


GetSelection(const TDesC &,const TDesC &)

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

Description

Parameters

const TDesC16 &ourPrompt

const TDesC16 &validChoices

Return value

TInt


SetScript(RFile &)

IMPORT_C void SetScript(RFile &scriptFile);

Description

Parameters

RFile &scriptFile


DoResourceLeakTest(TBool)

inline void DoResourceLeakTest(TBool aValue);

Description

Parameters

TBool aValue


Test()

inline RTest& Test();

Description

Return value

RTest &


DefaultLogFileName(TDes &)

static inline void DefaultLogFileName(TDes &aFileName);

Description

Parameters

TDes16 &aFileName

[Top]


Member classes


Class CTestInfo

class CTestInfo : public CBase;

Description

Holds test number and name

Derivation

Members

Defined in CWapTestHarness::CTestInfo:

Inherited from CBase:

Member functions


Name()const

inline TPtr Name() const;

Description

Return value

TPtr16


Number()const

inline TInt Number() const;

Description

Return value

TInt


ErrorCode()const

inline TInt ErrorCode() const;

Description

Return value

TInt