diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyserverplugins/simtsy/test/Te_SimMisc/Te_SimMisc.h --- a/telephonyserverplugins/simtsy/test/Te_SimMisc/Te_SimMisc.h Mon May 03 13:37:20 2010 +0300 +++ b/telephonyserverplugins/simtsy/test/Te_SimMisc/Te_SimMisc.h Thu May 06 15:10:38 2010 +0100 @@ -1,185 +1,185 @@ - -// Copyright (c) 2001-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: -// Header file: Basic tests. -// -// - -/** - @file - @internalComponent -*/ - -#ifndef TE_SimMisc_H__ -#define TE_SimMisc_H__ - -#include "Te_SimMiscTestStepBase.h" - -const TInt KLocalTel=32; -const TInt KRemoteTel=32; - -//------------------------------------------------------------------ - -/** - * This class substitutes function SignalAndBatteryStrengthTestL() from T_SimMisc - * -*/ -class CSignalAndBatteryStrengthTest : public CSimMiscTestStepBase - { -public: - CSignalAndBatteryStrengthTest() ; - ~CSignalAndBatteryStrengthTest(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function SubscriberIdTestL() from T_SimMisc - * -*/ -class CSubscriberIdTest : public CSimMiscTestStepBase - { -public: - CSubscriberIdTest() ; - ~CSubscriberIdTest(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function PhoneStoreTestL() from T_SimMisc - * -*/ -class CPhoneStoreTest : public CSimMiscTestStepBase - { -public: - CPhoneStoreTest() ; - ~CPhoneStoreTest(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function GetCapsL() from T_SimMisc - * -*/ -class CGetCaps : public CSimMiscTestStepBase - { -public: - CGetCaps() ; - ~CGetCaps(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function GetLinesStatusL() from T_SimMisc - * -*/ -class CGetLinesStatus : public CSimMiscTestStepBase - { -public: - CGetLinesStatus() ; - ~CGetLinesStatus(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function GetMultimodeCapsL() from T_SimMisc - * -*/ -class CGetMultimodeCaps : public CSimMiscTestStepBase - { -public: - CGetMultimodeCaps() ; - ~CGetMultimodeCaps(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function GetNetworkCapsL() from T_SimMisc - * -*/ -class CGetNetworkCaps : public CSimMiscTestStepBase - { -public: - CGetNetworkCaps() ; - ~CGetNetworkCaps(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class substitutes function GetCurrentModeL() from T_SimMisc - * -*/ -class CGetCurrentMode : public CSimMiscTestStepBase - { -public: - CGetCurrentMode() ; - ~CGetCurrentMode(){} ; - virtual TVerdict doTestStepL( void ); - - } ; - -//------------------------------------------------------------------ - -/** - * This class tests GetPhoneId and GetIdentityCaps - * -*/ -class CGetPhoneId : public CSimMiscTestStepBase - { -public: - CGetPhoneId() ; - ~CGetPhoneId(){} ; - virtual TVerdict doTestStepL( void ); - } ; - - -/** - * This class tests Publish & Subscribe support - * -*/ -class CPubSubMode : public CSimMiscTestStepBase - { -public: - CPubSubMode() ; - ~CPubSubMode(){} ; - virtual TVerdict doTestStepL( void ); - -private: - void DisconnectFromEtel(); - TInt ConnectToEtelL(); - void TestCallInitiationL(const TDesC& aLineName, TUid aPSCallInitCategory, const TInt aPSCallInitKey); - } ; - -#endif// TE_SimMisc_H__ - + +// Copyright (c) 2001-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: +// Header file: Basic tests. +// +// + +/** + @file + @internalComponent +*/ + +#ifndef TE_SimMisc_H__ +#define TE_SimMisc_H__ + +#include "Te_SimMiscTestStepBase.h" + +const TInt KLocalTel=32; +const TInt KRemoteTel=32; + +//------------------------------------------------------------------ + +/** + * This class substitutes function SignalAndBatteryStrengthTestL() from T_SimMisc + * +*/ +class CSignalAndBatteryStrengthTest : public CSimMiscTestStepBase + { +public: + CSignalAndBatteryStrengthTest() ; + ~CSignalAndBatteryStrengthTest(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function SubscriberIdTestL() from T_SimMisc + * +*/ +class CSubscriberIdTest : public CSimMiscTestStepBase + { +public: + CSubscriberIdTest() ; + ~CSubscriberIdTest(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function PhoneStoreTestL() from T_SimMisc + * +*/ +class CPhoneStoreTest : public CSimMiscTestStepBase + { +public: + CPhoneStoreTest() ; + ~CPhoneStoreTest(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function GetCapsL() from T_SimMisc + * +*/ +class CGetCaps : public CSimMiscTestStepBase + { +public: + CGetCaps() ; + ~CGetCaps(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function GetLinesStatusL() from T_SimMisc + * +*/ +class CGetLinesStatus : public CSimMiscTestStepBase + { +public: + CGetLinesStatus() ; + ~CGetLinesStatus(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function GetMultimodeCapsL() from T_SimMisc + * +*/ +class CGetMultimodeCaps : public CSimMiscTestStepBase + { +public: + CGetMultimodeCaps() ; + ~CGetMultimodeCaps(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function GetNetworkCapsL() from T_SimMisc + * +*/ +class CGetNetworkCaps : public CSimMiscTestStepBase + { +public: + CGetNetworkCaps() ; + ~CGetNetworkCaps(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class substitutes function GetCurrentModeL() from T_SimMisc + * +*/ +class CGetCurrentMode : public CSimMiscTestStepBase + { +public: + CGetCurrentMode() ; + ~CGetCurrentMode(){} ; + virtual TVerdict doTestStepL( void ); + + } ; + +//------------------------------------------------------------------ + +/** + * This class tests GetPhoneId and GetIdentityCaps + * +*/ +class CGetPhoneId : public CSimMiscTestStepBase + { +public: + CGetPhoneId() ; + ~CGetPhoneId(){} ; + virtual TVerdict doTestStepL( void ); + } ; + + +/** + * This class tests Publish & Subscribe support + * +*/ +class CPubSubMode : public CSimMiscTestStepBase + { +public: + CPubSubMode() ; + ~CPubSubMode(){} ; + virtual TVerdict doTestStepL( void ); + +private: + void DisconnectFromEtel(); + TInt ConnectToEtelL(); + void TestCallInitiationL(const TDesC& aLineName, TUid aPSCallInitCategory, const TInt aPSCallInitKey); + } ; + +#endif// TE_SimMisc_H__ +