commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeFlushServer1_CStep.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2003-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 // This file contains CEASShdOpCodeFlushServer1Step. There is one Test Step generated 
       
    15 // for each IPC.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef EASShdOpCodeFlushServer1_H_
       
    20 #define EASShdOpCodeFlushServer1_H_
       
    21 
       
    22 // Include the suite header
       
    23 #include "CSuite.h"
       
    24 
       
    25 
       
    26 
       
    27 class CEASShdOpCodeFlushServer1Step: public CCapabilityTestStep
       
    28 	{
       
    29 
       
    30 public:
       
    31 
       
    32 	inline TVersion Version();
       
    33 	
       
    34 	CEASShdOpCodeFlushServer1Step() ;
       
    35 
       
    36 	// Destructor
       
    37 	~CEASShdOpCodeFlushServer1Step()
       
    38 		{
       
    39 		iChildThread.Close();
       
    40 		}
       
    41 	
       
    42 	// This is the Function called from "doTestStepL" by the test Suite,and it creates an 
       
    43 	// child thread which internally calls the corresponding Exec_SendReceiveL_SERVERNAME fn.
       
    44 	TVerdict MainThread();
       
    45 
       
    46 	// Here's where the connection and testing the message takes place
       
    47 	TInt Exec_SendReceiveL();
       
    48 	
       
    49 	};
       
    50 
       
    51 /**
       
    52 Get the version of the server to be tested
       
    53 */ 
       
    54 TVersion CEASShdOpCodeFlushServer1Step::Version()
       
    55 	{
       
    56 	return TVersion(2, 0, 0);
       
    57 	}	
       
    58 	
       
    59 
       
    60 #endif