telephonyserverplugins/attestltsy/integrationtest/inc/testltsysmsbase.h
author Tom Pritchard <tomp@symbian.org>
Fri, 16 Jul 2010 17:42:23 +0100
branchAT_Test_LTSY
changeset 51 6012a0dcf61c
parent 1 4047d69ee0e4
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) 2008-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:
// Implementation of the Class CTestLtsySmsBase
// 
//

#ifndef TESTLTSYSMSBASE_H_
#define TESTLTSYSMSBASE_H_

// user include
class CTestLtsyModel;
#include "te_integration_stltsysuitestepbase.h"
#include "testltsymodel.h"

//constant defination
const TInt16 KMessageLen(165);

// class declaration
/**
 * This class provide the common functionalities related to the sms.
 * 
 */
class CTestLtsySmsBase : public CTe_integration_stltsySuiteStepBase
/**
 * @internalAll
 * @test
 */
	{
public:
	virtual ~CTestLtsySmsBase();
	CTestLtsySmsBase(CTestLtsyModel& aTestModel);
protected:
	virtual TVerdict doTestStepPreambleL();
	virtual TVerdict doTestStepPostambleL();
	RMobileSmsMessaging& Sms();
	RMobileSmsStore& SmsStore();
	void OpenPhoneL();
	void OpenSmsL();
	void OpenSmsStoreL();
	void CloseSmsL();
	void CloseSmsStoreL();
	void GetIndex();
protected:
	CTestLtsyModel& iModel;
	TInt iIndexNum;
	TInt iStoreIndex;
	};

#endif /*TESTLTSYSMSBASE_H_*/