sysstatemgmt/systemstatemgr/test/tsus/inc/tsus_step_adaptionserver.h
changeset 0 4e1aa6a622a0
child 3 a811597961f0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21  
       
    22 
       
    23 #ifndef __TSUS_STEP_ADAPTIONSERVER_H__
       
    24 #define __TSUS_STEP_ADAPTIONSERVER_H__
       
    25 
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "ssmadaptationcli.h"
       
    29 
       
    30 
       
    31 _LIT(KTSusAdaptionServerStep,"SusAdaptionServerStep");
       
    32 
       
    33 class RTestSusAdaptationCli : public RSsmEmergencyCallRfAdaptation
       
    34     {
       
    35 public:
       
    36     TInt SetHeapFailure(TInt aFailureRate);
       
    37     TInt UnSetHeapFailure();
       
    38     };
       
    39 
       
    40 class CSusAdaptionServerTest : public CTestStep
       
    41 	{
       
    42 public:
       
    43 	CSusAdaptionServerTest ();
       
    44 	~CSusAdaptionServerTest ();
       
    45 
       
    46 	//from CTestStep
       
    47 	TVerdict doTestStepPreambleL();
       
    48 	TVerdict doTestStepL();
       
    49 	TVerdict doTestStepPostambleL();
       
    50 	
       
    51 private:
       
    52 	void doTestForMemoryLeaksL();
       
    53 	void doTestProcessCriticalL();
       
    54 	void doTestOOML();
       
    55 	void doTestForEmergencyCallOOM();
       
    56 	void StartAndDestroyServerL();
       
    57 	void doTestForSettingPriorityClient();
       
    58 	void doTestForNormalEmergencyCallinOOM();
       
    59 	};
       
    60 
       
    61 #endif