commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeAlarmCountByState1_CStep.h
changeset 0 2e3d3ce01487
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeAlarmCountByState1_CStep.h	Tue Feb 02 10:12:00 2010 +0200
@@ -0,0 +1,60 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains CEASShdOpCodeAlarmCountByState1Step. There is one Test Step generated 
+// for each IPC.
+// 
+//
+
+#ifndef EASShdOpCodeAlarmCountByState1_H_
+#define EASShdOpCodeAlarmCountByState1_H_
+
+// Include the suite header
+#include "CSuite.h"
+
+
+
+class CEASShdOpCodeAlarmCountByState1Step: public CCapabilityTestStep
+	{
+
+public:
+
+	inline TVersion Version();
+	
+	CEASShdOpCodeAlarmCountByState1Step() ;
+
+	// Destructor
+	~CEASShdOpCodeAlarmCountByState1Step()
+		{
+		iChildThread.Close();
+		}
+	
+	// This is the Function called from "doTestStepL" by the test Suite,and it creates an 
+	// child thread which internally calls the corresponding Exec_SendReceiveL_SERVERNAME fn.
+	TVerdict MainThread();
+
+	// Here's where the connection and testing the message takes place
+	TInt Exec_SendReceiveL();
+	
+	};
+
+/**
+Get the version of the server to be tested
+*/ 
+TVersion CEASShdOpCodeAlarmCountByState1Step::Version()
+	{
+	return TVersion(2, 0, 0);
+	}	
+	
+
+#endif