os/security/contentmgmt/referencedrmagent/tcaf/source/oomstep.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 #if (!defined __OOM_STEP_H__)
    22 #define __OOM_STEP_H__
    23 
    24 #include "cafstep.h"
    25 
    26 // Constants used to name test cases 
    27 _LIT(KCAFOomStep,"CAFOomStep");
    28 
    29 class CCAFServer;
    30 
    31 
    32 /* 
    33 * The OOMTEST parameter in the ini file determines which one of the OOM tests
    34 * will be executed
    35 *
    36 * @internalComponent Exposure internally
    37 */
    38 class CCafOomStep : public CCAFStep
    39 	{
    40 public:
    41 	CCafOomStep(CCAFServer& aParent);
    42 	~CCafOomStep();
    43 	virtual TVerdict doTestStepL();
    44 	
    45 	// OOM tests
    46 	TVerdict OomReadContentL();
    47 	TVerdict OomSupplyL();
    48 
    49 private:
    50 	CCAFServer& iParent;
    51 	};
    52 
    53 
    54 #endif