messagingappbase/smsmtm/clientmtm/test/src/smcmstepfindalias.cpp
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
--- a/messagingappbase/smsmtm/clientmtm/test/src/smcmstepfindalias.cpp	Fri Apr 16 14:56:15 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +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-5
- @SYMTestType UT
- @SYMTestPriority High
- @SYMPREQ unknown
- @SYMTestCaseDesc Search for alias in SMS (KMsvMessagePartOriginator) (ported from T_SMCM1)
- @SYMTestActions  Create an SMS and search for alias in it
- @SYMTestExpectedResults Alias which is et on creation should be find.
-*/
-
-#include "smcmstepfindalias.h"
-#include <mtmdef.h>
-
-CSMCMStepFindAlias::CSMCMStepFindAlias( )
-	{
-	SetTestStepName( KSMCMStepFindAlias );	
-	}
-	
-CSMCMStepFindAlias::~CSMCMStepFindAlias( )
-	{
-	
-	}
-	
-TVerdict CSMCMStepFindAlias::doTestStepL( )
-	{
-	INFO_PRINTF1( _L( "CSMCMStepFindAlias::doTestStepL( )" ) );
-	SetTestStepResult( EFail );
-	
-	TMessageSettings settings;
-	settings.iOperation = EOperationNone;
-	settings.iOriginalBoxId = KMsvGlobalInBoxIndexEntryId;
-	settings.iOriginalSmsPDUType = CSmsPDU::ESmsDeliver;
-	settings.iOriginalBioType = 0;
-	TMsvId entryId = CreateMessageAndEntryL( KUserDataOriginal, settings );
-	
-	iSmsClientMtm->SwitchCurrentEntryL( entryId );
-	iSmsClientMtm->LoadMessageL( );
-	
-	TMsvPartList partList;
-	partList = KMsvMessagePartOriginator;
-	
-	// Find Alias
-	if ( iSmsClientMtm->Find( _L( "Alias" ), partList ) == partList )
-		{
-		SetTestStepResult( EPass );
-		}
-	else 
-		{
-		ERR_PRINTF1( _L("\"Alias\" not found in KMsvMessagePartOriginator" ) );
-		}
-	
-	return TestStepResult( );
-		
-	}