sysstatemgmt/systemstateplugins/test/tunitutilityplugin/inc/tunitutilityplugin_step.h
changeset 83 11da52d4c847
parent 78 3f0699f2e14c
child 84 db3d1bc2aa9c
equal deleted inserted replaced
78:3f0699f2e14c 83:11da52d4c847
     1 // Copyright (c) 2008-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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 #ifndef __TUNITUTILITYPLUGIN_TEST_H__
       
    22 #define __TUNITUTILITYPLUGIN_TEST_H__
       
    23 
       
    24 #include <test/testexecutestepbase.h>
       
    25 #include <ssm/ssmstateawaresession.h>
       
    26 #include <e32event.h>
       
    27 #include <shutdownsrv.h>
       
    28 _LIT(KTUnitUtilityPluginStep,"UnitUtilityPluginStep");
       
    29 
       
    30 class CUnitUtilityPluginTest : public CTestStep
       
    31 	{
       
    32 public:
       
    33 	typedef void (CUnitUtilityPluginTest::*ClassFuncPtrL) ();
       
    34 	CUnitUtilityPluginTest(const TDesC& aStepName);
       
    35 	~ CUnitUtilityPluginTest();
       
    36 public:
       
    37 	//from CTestStep
       
    38 	TVerdict doTestStepPreambleL();
       
    39 	TVerdict doTestStepL();
       
    40 	TVerdict doTestStepPostambleL();
       
    41 
       
    42 	void TestClientArrayL();
       
    43 	void TestGetShutdownStateL();
       
    44 	void TestIsClientHungL();
       
    45 private:
       
    46     CActiveScheduler* iScheduler;
       
    47 	};
       
    48 
       
    49 #endif / /__TUNITUTILITYPLUGIN_TEST_H__