email/email/pop/inc/t_cpop3clientmtm.h
branchSymbian3
changeset 18 147b85a37c23
equal deleted inserted replaced
17:e3e31170f643 18:147b85a37c23
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15  
       
    16 #ifndef __T_CPOP3CLIENTMTM_H__
       
    17 #define __T_CPOP3CLIENTMTM_H__
       
    18 
       
    19 /* User includes */
       
    20 #include "T_MsgSyncStepPop.h"
       
    21 
       
    22 /* Literals Used */
       
    23 _LIT(KUnitTestCPop3ClientMtm,"UnitTestCPop3ClientMtm");
       
    24 
       
    25 /*
       
    26  * A Unit test case to check the functionality of the API's of class CImap4ClientMtm 
       
    27  */
       
    28 class CT_CPop3ClientMtm : public CT_MsgSyncStepPOP, MMsvSessionObserver
       
    29 	{
       
    30 public:
       
    31 	CT_CPop3ClientMtm(CT_MsgSharedDataPop& aSharedDataPOP);
       
    32 	~CT_CPop3ClientMtm();
       
    33 	void HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3);
       
    34 
       
    35 private:
       
    36 	void DisplayMsgEntryList(const RArray<TMsvEntry>& aMessageEntries);
       
    37 	void TestValidateMessageL();
       
    38 	void TestReplyL();
       
    39 	void TestKErrNotSupportedAPI();
       
    40 	void TestAddAddresseeL();
       
    41 	void TestRemoveAddresseeL();
       
    42 	/* CTestStep implementation */
       
    43 	virtual TVerdict doTestStepL();	
       
    44 	TMsvId CreateMessageL();
       
    45 private:
       
    46 	CMsvSession *iSession;
       
    47 	};
       
    48 #endif /*__T_CPOP3CLIENTMTM_H__*/