diff -r 3a35f7917fa6 -r 5b5908ec640f buildverification/smoketest/messaging/Src/TestMessPrintEntryUtil.cpp --- a/buildverification/smoketest/messaging/Src/TestMessPrintEntryUtil.cpp Thu May 27 12:52:45 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,117 +0,0 @@ -// Copyright (c) 2003-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: -// This contains CTestMessEditEntryUtil. A utility to edit an entry -// -// - -#include "Configuration.cfg" - -#include "TestMessPrintEntryUtil.h" - -CTestMessPrintEntryUtil::CTestMessPrintEntryUtil(CTestMessBase& aTestStep) -: CTestMessStoreProcessUtil(aTestStep, ETrue) - { - } - -/** - * Prints the ImHeaders of the Entry - * @param CImHeader& aHeader - Im Header to edit - * @return None - * @panic None - * @leave KErrNoMemory - * -*/ -void CTestMessPrintEntryUtil::ProcessImHeaderL(CImHeader& aHeader) - { - TPtrC ptrTemp; - - ptrTemp.Set(aHeader.From()); - iTestStep.INFO_PRINTF2(_L(" From : %S"), &ptrTemp); - ptrTemp.Set(aHeader.ReceiptAddress()); - iTestStep.INFO_PRINTF2(_L(" ReceiptAddress : %S"), &ptrTemp); - ptrTemp.Set(aHeader.ReplyTo()); - iTestStep.INFO_PRINTF2(_L(" ReplyTo : %S"), &ptrTemp); - ptrTemp.Set(aHeader.Subject()); - iTestStep.INFO_PRINTF2(_L(" Subject : %S"), &ptrTemp); - } - -/** - * Prints the ImMimeHeaders of the message entry - * @param CImMimeHeader& aHeader - Mime Header to edit - * @return None - * @panic None - * @leave KErrNoMemory - * -*/ -void CTestMessPrintEntryUtil::ProcessImMimeHeaderL(CImMimeHeader& /*aHeader*/) - { - } - -/** - * Prints the ImIAPPreferences of the entry - * @param CImIAPPreferences& aPreferences - IAP Preferences to edit - * @return None - * @panic None - * @leave KErrNoMemory - * -*/ -void CTestMessPrintEntryUtil::ProcessInternetAccessPreferencesL(CImIAPPreferences& aPreferences) - { - TInt prefs=aPreferences.NumberOfIAPs(); - for ( TInt pref=0; prefReplyPath(); - CleanupStack::PopAndDestroy(smsSettings); -#else - CSmsPDU::TSmsPDUType pduType=aHeader.Type(); - TBool replyPath = aHeader.ReplyPathProvided(); -#endif - iTestStep.INFO_PRINTF2(_L(" pduType : %d"), pduType); - iTestStep.INFO_PRINTF2(_L(" replyPathProvided : %d"), replyPath); - } - - -/** - * Prints the CRichText of the entry - * @param CRichText& aBodyText - Text to edit - * @return None - * @panic None - * @leave KErrNoMemory - * -*/ -void CTestMessPrintEntryUtil::ProcessRichTextBodyL(CRichText& /*aBodyText*/) - { - }