telephonyserverplugins/simtsy/test/Te_SimPacket/Te_SimPacketTestStepBase.h
author Tom Pritchard <tomp@symbian.org>
Fri, 16 Jul 2010 17:42:23 +0100
branchAT_Test_LTSY
changeset 51 6012a0dcf61c
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
permissions -rw-r--r--
Updating the config scripts for use with beagle ROMs and updating the PDD name for the UART connection used on target along with some .iby file updates

// 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 __TE_SIMPACKET_TESTSTEP_BASE__
#define __TE_SIMPACKET_TESTSTEP_BASE__

#include <test/testexecutestepbase.h>

#include <e32base.h>
#include <etelpckt.h>

#include <e32test.h>
#include <c32comm.h>
#include <e32keys.h>
#include <f32file.h>

#include <etel.h>
#include <etelmm.h>
#include <mmretrieve.h>
#include <pcktcs.h>
#include <etelqos.h>
#include <etelsat.h>
#include <pcktlist.h>
#include "SimTsy.h"

_LIT(KSimtsyName,"SIM");

class CSimPacketTestStepBase : public CTestStep
	{
public:
 	virtual TVerdict doTestStepPreambleL();
	virtual TVerdict doTestStepPostambleL();

	static void CleanUp(TAny *aPtr) ;
protected:
	operator TCleanupItem() ;
	void TestConfigParamsL(RPacketQoS::TQoSGPRSNegotiated& aArg1, RPacketQoS::TQoSGPRSNegotiated& aArg2) ;
	void TestConfigParamsL(RPacketContext::TContextConfigGPRS& aArg1, RPacketContext::TContextConfigGPRS& aArg2);
    void SetSimtsyTestNumberL(TInt aTestNumber);
   	void WaitWithTimeout(TRequestStatus& aStatus, TInt aNumberOfMicroSeconds);

protected:
	RTelServer iTelServer;
	RMobilePhone iPhone;
	RPacketService iPacketService;
	RPacketContext iPacketContext[11]; //SIMTSY supports only 11 contexts
	};

#endif // __TE_SIMPACKET_TESTSTEP_BASE__