sl@0: /* sl@0: * Copyright (c) 2002-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 the License "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: */ sl@0: sl@0: sl@0: sl@0: sl@0: #if (!defined __OOM_STEP_H__) sl@0: #define __OOM_STEP_H__ sl@0: sl@0: #include "cafstep.h" sl@0: sl@0: // Constants used to name test cases sl@0: _LIT(KCAFOomStep,"CAFOomStep"); sl@0: sl@0: class CCAFServer; sl@0: sl@0: sl@0: /* sl@0: * The OOMTEST parameter in the ini file determines which one of the OOM tests sl@0: * will be executed sl@0: * sl@0: * @internalComponent Exposure internally sl@0: */ sl@0: class CCafOomStep : public CCAFStep sl@0: { sl@0: public: sl@0: CCafOomStep(CCAFServer& aParent); sl@0: ~CCafOomStep(); sl@0: virtual TVerdict doTestStepL(); sl@0: sl@0: // OOM tests sl@0: TVerdict OomReadContentL(); sl@0: TVerdict OomSupplyL(); sl@0: sl@0: private: sl@0: CCAFServer& iParent; sl@0: }; sl@0: sl@0: sl@0: #endif