diff -r c084286672be -r 15018f1726c7 featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h --- a/featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h Tue Jan 26 13:16:24 2010 +0200 +++ b/featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h Fri Mar 19 10:00:55 2010 +0200 @@ -30,6 +30,9 @@ // FORWARD DECLARATIONS class MFeatureObserver; +//Exported function for test purpose only +IMPORT_C TInt GetClientCount(); + // CLASS DECLARATION /** @@ -67,6 +70,11 @@ * Decrease client count for this thread */ void DecreaseClientCount(); + + /** + * Get client count for this thread. Used for testing purpose only + */ + int ClientCount(); /** * From MFeatureClient @@ -128,6 +136,10 @@ #ifdef EXTENDED_FEATURE_MANAGER_TEST // Debug only API functions public: + void ResourceMark(); + void ResourceCheck(); + TInt ResourceCount(); + void SetHeapFailure(TInt aAllocFailType, TInt aRate); TInt NumberOfNotifyFeatures( void ) const; TInt CountAllocCells( void ) const; #endif