|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 |
|
18 RUN_UTILS DeleteFile c:\messaging.db |
|
19 LOAD_SUITE MessagingTestServer -SharedData |
|
20 |
|
21 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE |
|
22 |
|
23 |
|
24 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE |
|
25 RUN_TEST_STEP 100 MessagingTestServer SetDefaultSmsSettings c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsSettingsFiles |
|
26 RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini GetConstants |
|
27 RUN_TEST_STEP 100 MessagingTestServer GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsUid |
|
28 RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SessionId |
|
29 RUN_TEST_STEP 100 MessagingTestServer CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsService2 |
|
30 RUN_TEST_STEP 100 MessagingTestServer SetSmsServiceSettings c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini SmsSettingsOrange |
|
31 RUN_TEST_STEP 100 MessagingTestServer CreateMessage c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CreateMessage |
|
32 |
|
33 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE |
|
34 RUN_TEST_STEP 100 MessagingTestServer AddFileAttachmentByPathSync c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini AddFileAttachmentByPath1 |
|
35 RUN_TEST_STEP 100 MessagingTestServer AddFileAttachmentByPathSync c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini AddFileAttachmentByPath2 |
|
36 RUN_TEST_STEP 100 MessagingTestServer RemoveFileAttachmentWithRevert c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini RemoveAttachment |
|
37 |
|
38 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS |
|
39 RUN_TEST_STEP 100 MessagingTestServer CountAttachments c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CountAttachments2 |
|
40 RUN_TEST_STEP 100 MessagingTestServer CompareAttachment c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\RemoveAttachment.ini CompareAttachment2 |
|
41 |
|
42 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE |