Update contrib.
1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __TSTREAMIDCACHE_H__
17 #define __TSTREAMIDCACHE_H__
20 #include "test/TGraphicsHarness.h"
22 class CTStreamIdCache : public CTGraphicsBase
25 CTStreamIdCache(CTestStep* aStep);
29 virtual void RunTestCaseL(TInt aCurTestCase);
33 void ExpandCleanupStackL();
35 void TestStreamIdCacheEntry();
36 void TestProcessingBitmapStream();
37 void TestComparingStreams();
38 void TestReplacingFile();
39 void TestInvalidArgument();
40 void TestOOMCondition();
41 void TestPerformance();
42 void TestLoadAtOffset();
44 TInt FileSizeL(const TDesC& aFileName);
45 void TestSessionClose();
50 TFileName iTestBitmapName;
54 class CTStreamIdCacheStep : public CTGraphicsStep
57 CTStreamIdCacheStep();
60 virtual CTGraphicsBase* CreateTestL();
65 TInt iStartProcessHandleCount;
66 TInt iStartThreadHandleCount;
67 TInt iEndProcessHandleCount;
68 TInt iEndThreadHandleCount;
73 _LIT(KTStreamIdCacheStep,"TStreamIdCache");