usbmgmt/usbmgr/test/cit/ROMConfig/inc/cteststepusbromconfigbase.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2005-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 #ifndef CTESTSTEPUSBROMCONFIGBASE_H
       
    19 #define CTESTSTEPUSBROMCONFIGBASE_H
       
    20 
       
    21 #include <test/testexecutestepbase.h>
       
    22 #include <test/testexecuteserverbase.h>
       
    23 
       
    24 // constants used for logging
       
    25 _LIT(KErrNotFoundLit, "KErrNotFound");
       
    26 _LIT(KErrNoneLit, "KErrNone");
       
    27 _LIT(KErrBadNameLit, "KErrBadName");
       
    28 _LIT(KErrNotSupportedLit, "KErrNotSupported");
       
    29 
       
    30 class CTestStepUsbRomConfigBase : public CTestStep
       
    31 	{
       
    32 public:
       
    33 	~CTestStepUsbRomConfigBase();
       
    34 	TVerdict doTestStepL()=0;
       
    35 	TVerdict doTestStepPreambleL();
       
    36 
       
    37 protected:
       
    38 	CTestStepUsbRomConfigBase(CTestServer& aParent);
       
    39 	void CheckAndSetTestResult();
       
    40 	// ideally this should be const, but we need to get the value out of an ini file 
       
    41 	// and there's no easy way to do this inside the initialization list
       
    42 	TBool iUsbExcluded;	
       
    43 	const CTestServer& iParent;		
       
    44 	};
       
    45 
       
    46 #endif //  CTESTSTEPUSBROMCONFIGBASE_H
       
    47 
       
    48 // EOF