diff -r 000000000000 -r 2e3d3ce01487 commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeSetAlarmPlayIntervals1_CStep.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commonappservices/alarmservertest/TestAlarmSrv/EASShdOpCodeSetAlarmPlayIntervals1_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 CEASShdOpCodeSetAlarmPlayIntervals1Step. There is one Test Step generated +// for each IPC. +// +// + +#ifndef EASShdOpCodeSetAlarmPlayIntervals1_H_ +#define EASShdOpCodeSetAlarmPlayIntervals1_H_ + +// Include the suite header +#include "CSuite.h" + + + +class CEASShdOpCodeSetAlarmPlayIntervals1Step: public CCapabilityTestStep + { + +public: + + inline TVersion Version(); + + CEASShdOpCodeSetAlarmPlayIntervals1Step() ; + + // Destructor + ~CEASShdOpCodeSetAlarmPlayIntervals1Step() + { + 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 CEASShdOpCodeSetAlarmPlayIntervals1Step::Version() + { + return TVersion(2, 0, 0); + } + + +#endif