|
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 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-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini GetBaseConstants |
|
38 GetSMTPMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SMTPMTMUId |
|
39 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSession |
|
40 ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ResetMessageStore |
|
41 CreatePopAccount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreatePopAccount |
|
42 CreateSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSmtpService |
|
43 CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateRegistry |
|
44 CreateSmtpMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateSmtpMtm |
|
45 SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetDefaultConfiguration0 |
|
46 SetSmtpServiceParameters c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetSmtpServiceParams |
|
47 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft0 |
|
48 EXECUTE_TEST_CASE |
|
49 ChangeDefaultSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChangeDefaultSmtpService |
|
50 ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ConnectSendAsServer |
|
51 SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CreateMessageofType |
|
52 SetUserResponse c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SetUserResponse |
|
53 SendAsSendMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsSendMessage |
|
54 SendAsCloseMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini SendAsCloseMessage |
|
55 CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CloseSvrConnection |
|
56 CHECK_POSTCONDITIONS |
|
57 CheckErrorCode c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini CheckErrorCode |
|
58 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0034-UnConfirmedSendNoPrivileges.ini ChkChildrenCountDraft1 |
|
59 END_TEST_CASE |