|
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 CM-SENDAS-CIT-0002-HP |
|
20 //! @SYMTestCaseDesc Create a SMS Message using SendAs API, by specifying the account |
|
21 //! @SYMFssID |
|
22 //! @SYMTestStatus Defined |
|
23 //! @SYMTestPriority High |
|
24 //! @SYMTestActions |
|
25 //! @SYMTestExpectedResults A SMS message is creted in the Drafts folder |
|
26 //! @SYMTestType CIT |
|
27 |
|
28 |
|
29 RUN_UTILS DeleteFile c:\messaging.db |
|
30 LOAD_SUITE MessagingTestServer -SharedData |
|
31 |
|
32 PREFIX RUN_TEST_STEP 1000 MessagingTestServer |
|
33 BEGIN_TEST_CASE |
|
34 SETUP_TEST_CASE |
|
35 GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini GetBaseConstants |
|
36 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CreateSession |
|
37 ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini ResetMessageStore |
|
38 CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CreateRegistry |
|
39 CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CreateSmsService |
|
40 CreateMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CreateMtm |
|
41 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini ChkChildrenCountDraft0 |
|
42 InitialiseSmsDefaultSettings c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini InitSmsDefaultSettings |
|
43 EXECUTE_TEST_CASE |
|
44 ChangeDefaultSmsService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini ChangeDefaultSmsService |
|
45 GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini GetSmsConstants |
|
46 ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini ConnectSendAsServer |
|
47 SendAsGetAvailableAccounts c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini GetAvailableAccounts |
|
48 SendAsGetAccountNames c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini GetAccountNames |
|
49 CountAvailableAccounts c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CountAvailableAccounts |
|
50 SendAsGetAccount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini GetAccount |
|
51 SendAsCreateMessageWithAccount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CreateMessageWithAccount |
|
52 SendAsSaveMessageAndClose c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini SendAsSaveMessageAndClose |
|
53 CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini CloseSvrConnection |
|
54 CHECK_POSTCONDITIONS |
|
55 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0002-CreateMessageSpecifyingAccount.ini ChkChildrenCountDraft1 |
|
56 END_TEST_CASE |