diff -r 000000000000 -r 29b1cd4cb562 bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfiguser002.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfiguser002.h Fri Jan 15 08:13:17 2010 +0200 @@ -0,0 +1,54 @@ +// 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 CTESTSTEPBTROMCONFIGUSER002_H +#define CTESTSTEPBTROMCONFIGUSER002_H + +#include +#include +#include "cteststepbtromconfigbase.h" +#include +#include + +class CTestStepBtRomConfigUser002 : public CTestStepBtRomConfigBase, + public MBluetoothSocketNotifier + { +public: + static CTestStepBtRomConfigUser002* New(CTestServer& aParent); + ~CTestStepBtRomConfigUser002(); + TVerdict doTestStepL(); + +private: + CTestStepBtRomConfigUser002(CTestServer& aParent); + void TestBluetoothSocketConstructorL(TInt aTestSubCase, + TInt& aExpectedError); + + // from MBluetoothPhysicalLinksNotifier + void HandleConnectCompleteL(TInt aErr); + void HandleAcceptCompleteL(TInt aErr); + void HandleShutdownCompleteL(TInt aErr); + void HandleSendCompleteL(TInt aErr); + void HandleReceiveCompleteL(TInt aErr); + void HandleIoctlCompleteL(TInt aErr); + void HandleActivateBasebandEventNotifierCompleteL(TInt, + TBTBasebandEventNotification&); + + RSocketServ iSocketServ; + }; + +_LIT(KTestNameUser002, "BT_ROMCONFIG_USER_002"); +#endif // CTESTSTEPBTROMCONFIGUSER002_H + +// EOF