commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeGetAlarmDetails1_CStep.h
changeset 0 2e3d3ce01487
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeGetAlarmDetails1_CStep.h	Tue Feb 02 10:12:00 2010 +0200
@@ -0,0 +1,58 @@
+// 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 CEASShdOpCodeGetAlarmDetails1Step. There is one Test Step generated 
+// for each IPC.
+// 
+//
+
+#ifndef EASShdOpCodeGetAlarmDetails1_H_
+#define EASShdOpCodeGetAlarmDetails1_H_
+
+// Include the suite header
+#include "CSuite.h"
+
+class CEASShdOpCodeGetAlarmDetails1Step: public CCapabilityTestStep
+	{
+
+public:
+
+	inline TVersion Version();
+	
+	CEASShdOpCodeGetAlarmDetails1Step();
+
+	// Destructor
+	~CEASShdOpCodeGetAlarmDetails1Step()
+		{
+		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 CEASShdOpCodeGetAlarmDetails1Step::Version()
+	{
+	return TVersion(2, 0, 0);
+	}	
+	
+
+#endif