graphicsresourceservices/graphicsresourceimplementation/test/inc/tgraphicsresourceinternalsecondprocesstesthandler.h
equal
deleted
inserted
replaced
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
27 */ |
27 */ |
28 class CTSgResInternalSecondProcessTestHandler : public CBase |
28 class CTSgResInternalSecondProcessTestHandler : public CBase |
29 { |
29 { |
30 public: |
30 public: |
31 static CTSgResInternalSecondProcessTestHandler* NewLC(); |
31 static CTSgResInternalSecondProcessTestHandler* NewLC(); |
32 TInt RunTestCaseL(TInt aTestCase, TSgResIntTestInfo& aInfo); |
32 TInt RunTestCaseL(const TSgResIntTestInfo& aInfo); |
33 void OpenDriverL(); |
33 void OpenDriverL(); |
34 |
34 |
35 private: |
35 private: |
36 CTSgResInternalSecondProcessTestHandler(); |
36 CTSgResInternalSecondProcessTestHandler(); |
37 ~CTSgResInternalSecondProcessTestHandler(); |
37 ~CTSgResInternalSecondProcessTestHandler(); |
43 TInt TestImageOOM(const TSgResIntTestInfo& aInfo); |
43 TInt TestImageOOM(const TSgResIntTestInfo& aInfo); |
44 void DoImageMemoryTestsL(const TSgResIntTestInfo& aInfo); |
44 void DoImageMemoryTestsL(const TSgResIntTestInfo& aInfo); |
45 void DoDrawableMemoryTestsL(); |
45 void DoDrawableMemoryTestsL(); |
46 TInt TestDriverInitializeAndShutdownL(); |
46 TInt TestDriverInitializeAndShutdownL(); |
47 TInt TestDriverInitializeAndShutdownManyTimes(); |
47 TInt TestDriverInitializeAndShutdownManyTimes(); |
48 TInt TestResourceProfiling(TSgResIntTestInfo& aInfo); |
48 TInt TestResourceProfiling(const TSgResIntTestInfo& aInfo); |
49 |
49 |
50 void TestOpenImageL(TSgDrawableId aId); |
50 void TestOpenImageL(TSgDrawableId aId); |
51 |
51 |
52 private: |
52 private: |
53 RSgDriver iSgDriver; |
53 RSgDriver iSgDriver; |