os/graphics/graphicsresourceservices/graphicsresourceimplementation/test/inc/tgraphicsresourceinternalsecondprocessenums.h
Update contrib.
1 // Copyright (c) 2009 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.
15 #ifndef TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H
16 #define TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H
19 #include <sgresource/sgresource.h>
21 //The name of the executable being used to run the second process tests
22 _LIT(KInternalTestsSecondProcess, "tgraphicsresourceinternalsecondprocess2.exe");
24 //The expected panic type for Memory leaks within Graphics Resource
25 _LIT(KSgAllocPanic, "SGALLOC:????????");
28 Enum representing the current test case. Passed to the second process via TSgResInTestInfo.
30 enum TSgResInternalTestCase
32 ESgResIntDriverMemoryLeak,
35 ESgResIntInitializeAndShutdown,
36 ESgResIntInitializeAndShutdownManyTimes,
37 ESgResIntResourceProfiling,
41 Container to send the current test case to the second process.
43 struct TSgResIntTestInfo
45 TSgResInternalTestCase iTestCase;
46 TInt iGlobalGraphicsMemory;
47 TInt iGlobalResourceCount;
48 TSgDrawableId iDrawableId;
51 #endif /* TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H */