diff -r 238255e8b033 -r 84d9eb65b26f messagingappbase/smsmtm/clientmtm/test/src/smcmstepreply.cpp --- a/messagingappbase/smsmtm/clientmtm/test/src/smcmstepreply.cpp Fri Apr 16 14:56:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -// Copyright (c) 2005-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: -// - -/** - @SYMTestCaseID MSG-SMSCLIENTMTM-0243-6 - @SYMTestType UT - @SYMTestPriority High - @SYMPREQ 234, other - @SYMTestCaseDesc Creates a SMS with locale UTC offset 0, sets UTC offset to -8, reply the SMS - @SYMTestActions Checks the timestamps of original and replied SMS. (also check original test actions of T_SMCM1) - @SYMTestExpectedResults The timestamp of the original SMS should be smaller than the timestamp of the replied SMS. -*/ - - -#include "smcmstepreply.h" - -#include -#include -#include - -#include - -CSMCMStepReply::~CSMCMStepReply( ) - { - - } - -CSMCMStepReply::CSMCMStepReply( ) - { - SetTestStepName( KSMCMStepReply ); - } - -// @return - TVerdict code -// Override of base class pure virtual -TVerdict CSMCMStepReply::doTestStepL( ) - { - INFO_PRINTF1( _L( "CSMCMStepReply::doTestStepL( )" ) ); - - SetTestStepResult( EFail ); - - ChangeLocale( KUTC0 ); - - SetSettingsL( ); - - TMessageSettings settings; - settings.iOperation = EOperationReply; - settings.iOriginalBoxId = KMsvGlobalInBoxIndexEntryId; - settings.iOriginalSmsPDUType = CSmsPDU::ESmsDeliver; - settings.iOriginalBioType = 0; - - TMsvId entryId = CreateMessageAndEntryL( KUserDataOriginal, settings ); - - ChangeLocale( KUTCMin8 ); - - SetTestStepResult( PerformTestL( entryId, KUserDataReply, settings ) ); - - ChangeLocale( KUTC0 ); - - return TestStepResult( ); - - } -