resourcemgmt/hwresourcesmgr/test/TestCapsHWRMPolicing/inc/HWRMFmTxSetRdsPtyn_CStep.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 #ifndef HWRMFMTXSETRDSPTYN_CSTEP_H_
       
    17 #define HWRMFMTXSETRDSPTYN_CSTEP_H_
       
    18 
       
    19 //Include the suite header
       
    20 #include "CSuite.h"
       
    21 
       
    22 #include "HWRMServer.h"
       
    23 #include "HWRMConfiguration.h"
       
    24 
       
    25 
       
    26 class CHWRMFmTxSetRdsPtynStep: public CCapabilityTestStep
       
    27 	{
       
    28 
       
    29 public:
       
    30 
       
    31 	//Get the version of the server to be called
       
    32 	TVersion Version()
       
    33 	{
       
    34 		return TVersion(KServerVersionMajor , KServerVersionMinor, KServerVersionBuild);
       
    35 	}	
       
    36 	
       
    37 	
       
    38 	//Constructor called from the respective Suite.cpp from their "AddTestStep" function
       
    39 	CHWRMFmTxSetRdsPtynStep() ;
       
    40 
       
    41 	//Always clean your mess
       
    42 	~CHWRMFmTxSetRdsPtynStep()
       
    43 	{
       
    44 		tChildThread.Close();
       
    45 	}		
       
    46 	
       
    47 	//This is the Function called from "doTestStepL" by the test Suite,and it creates an 
       
    48 	//child thread which internally calls the corresponding Exec_SendReceive_SERVERNAME fn.
       
    49 	TVerdict MainThread();
       
    50 
       
    51 	//Here's where the connection and testing the message takes place
       
    52 	TInt Exec_SendReceive();
       
    53 	
       
    54 	};
       
    55 
       
    56 #endif /*HWRMFMTXSETRDSPTYN_CSTEP_H_*/