messagingfw/msgtestfw/TestActions/Email/Smtp/inc/CMtfTestActionSmtpGetAttachmentFileFromId.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2004-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 
       
    17 #ifndef __CMTFTESTACTIONSMTPGETATTACHMENTFILEFROMID_H__
       
    18 #define __CMTFTESTACTIONSMTPGETATTACHMENTFILEFROMID_H__
       
    19 
       
    20 #include "CMtfSynchronousTestAction.h"
       
    21 
       
    22 #include <f32file.h>
       
    23 
       
    24 _LIT(KTestActionSmtpGetAttachmentFileFromId,"SmtpGetAttachmentFileFromId");
       
    25 
       
    26 class CMtfTestActionSmtpGetAttachmentFileFromId : public CMtfSynchronousTestAction
       
    27 	{
       
    28 public:
       
    29 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* ActionParameters);
       
    30 	virtual ~CMtfTestActionSmtpGetAttachmentFileFromId(); 
       
    31 
       
    32 public:
       
    33 	virtual void ExecuteActionL();
       
    34 
       
    35 private:
       
    36 	CMtfTestActionSmtpGetAttachmentFileFromId(CMtfTestCase& aTestCase);
       
    37 	
       
    38 	void RunTestActionL();
       
    39 	void CompareFileL(RFile& aFile, const TDesC& aDataFilePath);
       
    40 	};
       
    41 
       
    42 
       
    43 #endif // __CMTFTESTACTIONSMTPGETATTACHMENTFILEFROMID_H__