TSqlResourceTester Class Reference

class TSqlResourceTester

TSqlResourceTester class is used internally by the SQL server out of memory and resource leaking tests. It provides methods for heap allocation failure simulation and resource checking and counting.

Public Member Functions
IMPORT_C voidCheck()
IMPORT_C TIntCount()
IMPORT_C voidMark()
IMPORT_C voidSetDbHeapFailure(TInt, TInt)
IMPORT_C voidSetHeapFailure(TInt, TInt)

Member Functions Documentation

Check()

IMPORT_C voidCheck()[static]

Count()

IMPORT_C TIntCount()[static]

Mark()

IMPORT_C voidMark()[static]

SetDbHeapFailure(TInt, TInt)

IMPORT_C voidSetDbHeapFailure(TIntaAllocFailType,
TIntaRate
)[static]

Parameters

TInt aAllocFailType
TInt aRate

SetHeapFailure(TInt, TInt)

IMPORT_C voidSetHeapFailure(TIntaAllocFailType,
TIntaRate
)[static]

Parameters

TInt aAllocFailType
TInt aRate