CDiagResultsDatabaseItem Class Reference

class CDiagResultsDatabaseItem : public CBase

Results database item.

Since
S60 v5.0

Inherits from

  • CDiagResultsDatabaseItem

Constructor & Destructor Documentation

CDiagResultsDatabaseItem(TUid, TBool, TResult, TTime, TTime, CBufFlat *)

CDiagResultsDatabaseItem(TUidaTestUid,
TBoolaDependencyExecution,
TResultaResult,
TTimeaStartTime,
TTimeaEndTime,
CBufFlat *aDetailsData
)[private]

C++ Constructors.

Parameters

TUid aTestUid
TBool aDependencyExecution
TResult aResult
TTime aStartTime
TTime aEndTime
CBufFlat * aDetailsData

CDiagResultsDatabaseItem()

CDiagResultsDatabaseItem()[private]

Default C++ constructor.

~CDiagResultsDatabaseItem()

IMPORT_C~CDiagResultsDatabaseItem()[virtual]

Destructor.

Member Functions Documentation

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[private]

Construct from a stream.

Parameters

RReadStream & aStreamRead stream.

DetailsData()

IMPORT_C const CBufFlat *DetailsData()const

Details data. This must be interpreted by the plug-ins before it can be used. Data is in object form.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalize the test result to a stream.

Parameters

RWriteStream & aStreamStream to write to.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[private]

Internalize the test result from a stream.

Parameters

RReadStream & aStreamStream to read from.

NewL(RReadStream &)

IMPORT_C CDiagResultsDatabaseItem *NewL(RReadStream &aStream)[static]

NewL. Construct from a stream.

Parameters

RReadStream & aStreamStream to read from.

NewL(TUid, TBool, TResult, TTime, TTime, CBufFlat *)

IMPORT_C CDiagResultsDatabaseItem *NewL(TUidaTestUid,
TBoolaDependencyExecution,
TResultaResult,
TTimeaStartTime,
TTimeaEndTime,
CBufFlat *aDetailsData
)[static]

NewL.

Parameters

TUid aTestUid
TBool aDependencyExecution
TResult aResult
TTime aStartTime
TTime aEndTime
CBufFlat * aDetailsData

NewL(const CDiagResultsDatabaseItem &)

IMPORT_C CDiagResultsDatabaseItem *NewL(const CDiagResultsDatabaseItem &aOriginal)[static]

NewL. Copy constructor. This will do a deep copy.

Parameters

const CDiagResultsDatabaseItem & aOriginal- Original to copy data from.

NewLC(TUid, TBool, TResult, TTime, TTime, CBufFlat *)

IMPORT_C CDiagResultsDatabaseItem *NewLC(TUidaTestUid,
TBoolaDependencyExecution,
TResultaResult,
TTimeaStartTime,
TTimeaEndTime,
CBufFlat *aDetailsData
)[static]

NewLC.

Parameters

TUid aTestUid
TBool aDependencyExecution
TResult aResult
TTime aStartTime
TTime aEndTime
CBufFlat * aDetailsData

ReadTimeFromStreamL(RReadStream &, TTime &)

voidReadTimeFromStreamL(RReadStream &aStream,
TTime &aTime
)[private]

Read TTime from read stream.

Parameters

RReadStream & aStreamread stream.
TTime & aTimeContains time after stream is read.

Size()

IMPORT_C TIntSize()const

Calculate stream size in bytes. Size can be used to evaluate needed stream size.

TestResult()

IMPORT_C TResultTestResult()const

Get Test Result.

TestUid()

IMPORT_C TUidTestUid()const

Get Uid of test plug-in.

TimeCompleted()

IMPORT_C TTimeTimeCompleted()const

Time that test execution was completed. Universal time is used.

TimeStarted()

IMPORT_C TTimeTimeStarted()const

Time that test execution was started. Universal time is used.

WasDependency()

IMPORT_C TBoolWasDependency()const

Whether the test was executed to satisfy dependency or not.

WriteTimeToStreamL(RWriteStream &, const TTime &)

voidWriteTimeToStreamL(RWriteStream &aStream,
const TTime &aTime
)const [private]

Write TTime into write stream.

Parameters

RWriteStream & aStreamStream to write to.
const TTime & aTimeTTime that is written into the stream.

Member Enumerations Documentation

Enum TResult

Result of test.

Enumerators

ESuccess = 0
EFailed
ESkipped
ECancelled
EInterrupted
ENotPerformed
EDependencyFailed
EWatchdogCancel
ESuspended
EQueuedToRun
EDependencySkipped

Member Data Documentation

TBool iDependencyExecution

TBool iDependencyExecution[private]

CBufFlat * iDetailsData

CBufFlat *iDetailsData[private]

TTime iEndTime

TTime iEndTime[private]

TResult iResult

TResult iResult[private]

TTime iStartTime

TTime iStartTime[private]

TUid iTestUid

TUid iTestUid[private]