diff -r 000000000000 -r 8e480a14352b messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/RemoveFileAttachmentWithRevert.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/RemoveFileAttachmentWithRevert.script Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,42 @@ +// +// 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: +// + + +RUN_UTILS DeleteFile c:\messaging.db +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 SetDefaultSmsSettings c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsSettingsFiles +RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini GetConstants +RUN_TEST_STEP 100 MessagingTestServer GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsUid +RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SessionId +RUN_TEST_STEP 100 MessagingTestServer CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsService2 +RUN_TEST_STEP 100 MessagingTestServer SetSmsServiceSettings c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsSettingsOrange +RUN_TEST_STEP 100 MessagingTestServer CreateMessage c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CreateMessage + +RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE +RUN_TEST_STEP 100 MessagingTestServer AddFileAttachmentByPathSync c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini AddFileAttachmentByPath1 +RUN_TEST_STEP 100 MessagingTestServer AddFileAttachmentByPathSync c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini AddFileAttachmentByPath2 +RUN_TEST_STEP 100 MessagingTestServer RemoveFileAttachmentWithRevert c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini RemoveAttachment + +RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS +RUN_TEST_STEP 100 MessagingTestServer CountAttachments c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CountAttachments2 +RUN_TEST_STEP 100 MessagingTestServer CompareAttachment c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CompareAttachment2 + +RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE