|
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, user rejects the request of sending the message by the application without privileges to send |
|
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 |
|
32 // Set the user response for UPS prompt service |
|
33 RUN_PROGRAM SetUserPromptResponse No |
|
34 |
|
35 RUN_UTILS DeleteFile c:\messaging.db |
|
36 LOAD_SUITE MessagingTestServer_New -SharedData |
|
37 |
|
38 PREFIX RUN_TEST_STEP 1000 MessagingTestServer_New |
|
39 BEGIN_TEST_CASE |
|
40 SETUP_TEST_CASE |
|
41 GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini GetBaseConstants |
|
42 GetSMTPMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SMTPMTMUId |
|
43 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSession |
|
44 ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ResetMessageStore |
|
45 CreatePopAccount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreatePopAccount |
|
46 CreateSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSmtpService |
|
47 CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateRegistry |
|
48 CreateSmtpMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSmtpMtm |
|
49 SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetDefaultConfiguration0 |
|
50 SetSmtpServiceParameters c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetSmtpServiceParams |
|
51 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft0 |
|
52 EXECUTE_TEST_CASE |
|
53 ChangeDefaultSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChangeDefaultSmtpService |
|
54 ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ConnectSendAsServer |
|
55 SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateMessageofType |
|
56 SetUserResponse c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetUserResponse |
|
57 SendAsSendMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsSendMessage |
|
58 SendAsCloseMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsCloseMessage |
|
59 CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CloseSvrConnection |
|
60 CHECK_POSTCONDITIONS |
|
61 CheckErrorCode c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CheckErrorCode |
|
62 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft1 |
|
63 END_TEST_CASE |