bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfigbase.h
author jontanne
Thu, 14 Oct 2010 11:30:12 +0100
changeset 27 83036355c0f3
parent 0 29b1cd4cb562
permissions -rw-r--r--
Add USB HCTL to bt package

// Copyright (c) 2005-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:
//

#ifndef CTESTSTEPBTROMCONFIGBASE_H
#define CTESTSTEPBTROMCONFIGBASE_H

#include <test/testexecutestepbase.h>
#include <test/testexecuteserverbase.h>

// constants used for logging
_LIT(KErrNotFoundLit, "KErrNotFound");
_LIT(KErrNoneLit, "KErrNone");
_LIT(KErrBadNameLit, "KErrBadName");
_LIT(KErrNotSupportedLit, "KErrNotSupported");

class CTestStepBtRomConfigBase : public CTestStep
	{
public:
	~CTestStepBtRomConfigBase();
	TVerdict doTestStepL()=0;
	TVerdict doTestStepPreambleL();

protected:
	CTestStepBtRomConfigBase(CTestServer& aParent);
	void CheckAndSetTestResult();
	// ideally this should be const, but we need to get the value out of an ini file 
	// and there's no easy way to do this inside the initialization list
	TBool iBtExcluded;	
	const CTestServer& iParent;		
	};

#endif //  CTESTSTEPBTROMCONFIGBASE_H

// EOF