messagingfw/msgtestfw/TestActions/Base/inc/CMtfTestActionCompareEntryWithFile.h
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 // CMtfTestActionCreateEmailOverSmsMessage.h
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __CMTFTESTACTIONCOMPAREENTRYWITHFILE_H__
       
    21 #define __CMTFTESTACTIONCOMPAREENTRYWITHFILE_H__
       
    22 
       
    23 
       
    24 #include <e32def.h>
       
    25 #include "CMtfSynchronousTestAction.h"
       
    26 
       
    27 
       
    28 class CMsvEntry;
       
    29 class TMsvEntry;
       
    30 
       
    31 _LIT(KTestActionCompareEntryWithFile,"CompareEntryWithFile");
       
    32 
       
    33 /**
       
    34 This action compares an entry with contents of a file.
       
    35 
       
    36 This action compares an entry with contents of a file. It is intended to be used to compare text such as the description, details,
       
    37 and the body of the text.This is useful to check that what we get sent is correct.
       
    38 
       
    39 @internalTechnology
       
    40 */
       
    41 class CMtfTestActionCompareEntryWithFile : public CMtfSynchronousTestAction
       
    42 	{
       
    43 public:
       
    44 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* aActionParameters);
       
    45 
       
    46 public:
       
    47 	virtual void ExecuteActionL();
       
    48 	
       
    49 private:
       
    50 	CMtfTestActionCompareEntryWithFile(CMtfTestCase& aTestCase);
       
    51 	TBool EqualL(CMsvEntry& aEntry, const TPtrC& smsMessageFileName);
       
    52 	};
       
    53 
       
    54 
       
    55 #endif