diff -r 9f5ae1728557 -r db3f5fa34ec7 messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CopySingleEntryToDraftsPass.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CopySingleEntryToDraftsPass.script Wed Nov 03 22:41:46 2010 +0530 @@ -0,0 +1,46 @@ +// +// Copyright (c) 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: +// +// +// Cap_CopySingleEntryToDraftsPass.script +// + + +LOAD_SUITE MessagingTestServer -SharedData + + +RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE +RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE + +RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini GetBaseConstants +RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CreateSession + +// Check that there is an entry in from folder +RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CheckChildrenCount0 + +// Check that we have a target entry in to folder (to copy to) +RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CheckChildrenCount1 + +RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE + +RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini LoadSourceMsgId +RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini LoadTargetMsgId + +RUN_TEST_STEP 100 MessagingTestServer SendEMsvCopyEntries c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini EMsvCopyEntriesPass + +RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS + +RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE +