usbmgmt/usbmgrtest/t_usbmanager_suite/T_UsbManager/inc/CStartStopPersonality.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /**
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22 */
       
    23 #if (!defined __CSTARTSTOPPERSONALITY_H__)
       
    24 #define __CSTARTSTOPPERSONALITY_H__
       
    25 #include <test/testexecutestepbase.h>
       
    26 #include "CUsbTestStepBase.h"
       
    27 	
       
    28 _LIT(KStartStopPersonality1,"StartStopPersonality1");
       
    29 NONSHARABLE_CLASS(CStartStopPersonality1) : public CUsbTestStepBase 
       
    30 	{
       
    31 public:
       
    32 	CStartStopPersonality1();
       
    33 	virtual TVerdict doTestStepL();
       
    34 protected:
       
    35 	TInt TryStart(RUsb aSess1, RUsb aSess2, RUsb aSess3, TInt aRet1, TInt aRet2, TInt aRet3, TInt aPersonality1, TInt aPersonality2, TUsbServiceState aState);
       
    36 	TInt TryStop(RUsb aSess1, RUsb aSess2, RUsb aSess3, TInt aRet1, TInt aRet2, TInt aRet3);
       
    37 	};
       
    38 
       
    39 _LIT(KStartStopPersonality2,"StartStopPersonality2");
       
    40 NONSHARABLE_CLASS(CStartStopPersonality2) : public CUsbTestStepBase 
       
    41 	{
       
    42 public:
       
    43 	CStartStopPersonality2();
       
    44 	virtual TVerdict doTestStepL();
       
    45 protected:
       
    46 	TInt CheckReturnCodes(TRequestStatus& aStat1, TRequestStatus& aStat2, TInt aRet1, TInt aRet2);
       
    47 	};
       
    48 
       
    49 #endif