commonappservices/alarmservertest/TestMultipleAlarmsSuite/inc/TestAlarmClearStep.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2005-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 // Contains declaration of CTestAlarmClearStep class, which is used for clearing a 
       
    15 // a particular alarm.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __TEST_ALARM_CLEAR_STEP_H__
       
    20 #define __TEST_ALARM_CLEAR_STEP_H__
       
    21 
       
    22 // User Includes
       
    23 #include "TestBaseStep.h"
       
    24 
       
    25 /*@{*/
       
    26 // Literal constant defined for identifying step name
       
    27 _LIT(KTestAlarmClearStep, "TestAlarmClearStep");
       
    28 /*@}*/
       
    29 
       
    30 /**
       
    31 Test step to clear a particular alarm
       
    32 @internalTechnology
       
    33 @test
       
    34 */
       
    35 class CTestAlarmClearStep : public CTestBaseStep
       
    36 	{
       
    37 public:
       
    38 	CTestAlarmClearStep(CTestMultipleAlarmsServer& aTestServer);
       
    39 
       
    40 	// TEF pure virtual
       
    41 	TVerdict 				doTestStepL();
       
    42 	
       
    43 private:
       
    44 	void					ClearAlarmL(const TDesC& aAlarmMessage);
       
    45 	void					ClearAllAlarmsL();
       
    46 	};
       
    47 
       
    48 #endif		// __TEST_ALARM_CLEAR_STEP_H__