|
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 //! @file |
|
19 //! @SYMTestCaseID MSG-SENDAS-CIT-0034-HP |
|
20 //! @SYMTestCaseDesc Un Confirmed Send, application does not have privileges to send the message.Request converted to confirmed send, rejected by user |
|
21 //! @SYMFssID |
|
22 //! @SYMTestStatus Defined |
|
23 //! @SYMTestPriority High |
|
24 //! @SYMTestActions xxxxxxxx |
|
25 //! @SYMTestExpectedResults yyyyyyyyy |
|
26 //! @SYMTestType CIT |
|
27 |
|
28 |
|
29 // Use Setcap to set capabilities of new MessagingTestServer.exe to ReadUserData + WriteUserData |
|
30 RUN_PROGRAM setcap MessagingTestServer.exe 00039FFE MessagingTestServer_New.exe |
|
31 RUN_UTILS DeleteFile c:\messaging.db |
|
32 LOAD_SUITE MessagingTestServer_New -SharedData |
|
33 |
|
34 PREFIX RUN_TEST_STEP 1000 MessagingTestServer_New |
|
35 BEGIN_TEST_CASE |
|
36 SETUP_TEST_CASE |
|
37 GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini GetBaseConstants |
|
38 GetIRMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini GetIRMTMUId |
|
39 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSession |
|
40 ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini ResetMessageStore |
|
41 CreateService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateIrService |
|
42 CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateRegistry |
|
43 CreateMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateIrMtm |
|
44 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft0 |
|
45 EXECUTE_TEST_CASE |
|
46 ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini ConnectSendAsServer |
|
47 SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsCreateMessageofType |
|
48 SendAsAddLinkedAttachment c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsAddLinkedAttachment |
|
49 SetUserResponse c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini SetUserResponse |
|
50 SendAsSendMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsSendMessage |
|
51 SendAsCloseMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsCloseMessage |
|
52 CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CloseSvrConnection |
|
53 CHECK_POSTCONDITIONS |
|
54 CheckErrorCode c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini CheckErrorCode |
|
55 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft1 |
|
56 END_TEST_CASE |