sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: #ifndef TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H sl@0: #define TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H sl@0: sl@0: #include sl@0: #include sl@0: sl@0: //The name of the executable being used to run the second process tests sl@0: _LIT(KInternalTestsSecondProcess, "tgraphicsresourceinternalsecondprocess2.exe"); sl@0: sl@0: //The expected panic type for Memory leaks within Graphics Resource sl@0: _LIT(KSgAllocPanic, "SGALLOC:????????"); sl@0: sl@0: /** sl@0: Enum representing the current test case. Passed to the second process via TSgResInTestInfo. sl@0: */ sl@0: enum TSgResInternalTestCase sl@0: { sl@0: ESgResIntDriverMemoryLeak, sl@0: ESgResIntDrawableOOM, sl@0: ESgResIntImageOOM, sl@0: ESgResIntInitializeAndShutdown, sl@0: ESgResIntInitializeAndShutdownManyTimes, sl@0: ESgResIntResourceProfiling, sl@0: }; sl@0: sl@0: /** sl@0: Container to send the current test case to the second process. sl@0: */ sl@0: struct TSgResIntTestInfo sl@0: { sl@0: TSgResInternalTestCase iTestCase; sl@0: TInt iGlobalGraphicsMemory; sl@0: TInt iGlobalResourceCount; sl@0: TSgDrawableId iDrawableId; sl@0: }; sl@0: sl@0: #endif /* TGRAPHICSRESOURCEINTERNALSECONDPROCESSENUMS_H */