diff -r 000000000000 -r 72b543305e3a email/pop3andsmtpmtm/popservermtm/test/inc/CTestPOPs5Test.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/email/pop3andsmtpmtm/popservermtm/test/inc/CTestPOPs5Test.h Thu Dec 17 08:44:11 2009 +0200 @@ -0,0 +1,53 @@ +// 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: +// + +#ifndef CTESTPOPS5TEST_H +#define CTESTPOPS5TEST_H + + +#include +#include "emailtestutils.h" +#include +#include "cactivewaiter.h" + + +class CTestPOPs5Test : public CActiveTestFixture +// WARNING: Despite being a C class, CActiveTestFixture is NOT derrived from CBase +// ... so don't expect your data members to be zero'ed + { + +public: + CTestPOPs5Test(); + virtual ~CTestPOPs5Test(); + void SetupL(); + void TearDownL(); + void TestRunPops5CopyToLocalLTestsL(); + static CTestSuite* CreateSuiteL(const TDesC& aName); + void ConnectToRemoteServerL(); + void DisconnectL(); +private: + CEmailTestUtils* iTestUtils; + CImPop3Settings* isettings ; + TMsvId ipop3Service; + CBaseServerMtm* iPopServerMtm; + CActiveWaiter* iActiveWaiter; + CMsvEntrySelection* iSel; + TPop3Cmds iCommand; + TPopAccount iPopAccount; + CMsvEntrySelection* iSelection; + + }; + +#endif // CTestPOPs5Test.h \ No newline at end of file