|
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 LOAD_SERVER t_media -SharedData |
|
18 |
|
19 //! NEED TO RUN THIS TEST CASES MANUALLY USING H4 BOARD |
|
20 |
|
21 //! @file |
|
22 //! @SYMTestSuiteName MSG-REMOVE-MEDIA-0003 |
|
23 //! @SYMScriptTestEnvironment Details as in below:- |
|
24 //! 1. nt-ras connection or winpcap |
|
25 //! 2. email servers ( communigatePro or ms exchange) |
|
26 //! 3. test driver |
|
27 //! 4. testexecute framework(TEF3.0) |
|
28 //! |
|
29 //! @SYMScriptPurpose Integration testing of PREQ557-"Improved support in Messaging for removable media" |
|
30 |
|
31 START_TESTCASE MSG-REMOVE-MEDIA-0003 |
|
32 //! @SYMTestCaseID MSG-REMOVE-MEDIA-0003 |
|
33 //! @SYMPREQ PREQ557 |
|
34 //! @SYMTestActions 1: Update Priority of the Drive E |
|
35 //! 2: Manually remove MMC |
|
36 //! 3: Create sms message |
|
37 //! 4: Verify count |
|
38 //! @SYMTestExpectedResults Verify results shold be success |
|
39 |
|
40 //!START_TEST_BLOCK 100 t_media c:\msgtest\media\msg-remove-media.ini |
|
41 //! CREATE_OBJECT CenRepTestWrapper 0100_obj |
|
42 //! COMMAND 0100_obj ResetCentralRepository 0100_ResetCentralRepository |
|
43 //!END_TEST_BLOCK |
|
44 |
|
45 |
|
46 START_TEST_BLOCK 100 t_media c:\msgtest\media\msg-remove-media.ini |
|
47 CREATE_OBJECT CenRepTestWrapper 0100_obj |
|
48 COMMAND 0100_obj ResetCentralRepository 0100_ResetCentralRepository |
|
49 END_TEST_BLOCK |
|
50 |
|
51 //! Create a Prefered Drive List |
|
52 RUN_UTILS CopyFile c:\private\1000484b\msgprioritydrivelist.ini c:\private\1000484b\msgprioritydrivelist.bak |
|
53 RUN_UTILS MakeReadWrite c:\private\1000484b\msgprioritydrivelist.ini |
|
54 RUN_UTILS CopyFile c:\msgtest\media\msg-preferred-0008.ini c:\private\1000484b\msgprioritydrivelist.ini |
|
55 |
|
56 START_TEST_BLOCK 100 t_media c:\msgtest\media\msg-remove-media.ini |
|
57 CREATE_OBJECT MediaTestWrapper 0100_obj |
|
58 COMMAND 0100_obj DeleteMsg |
|
59 COMMAND 0100_obj UpdateDrive UpdateDriveE |
|
60 COMMAND 0100_obj DeleteMsg |
|
61 COMMAND 0100_obj RemoveMMC |
|
62 COMMAND 0100_obj CreateSMSAccount |
|
63 COMMAND 0100_obj CreateSMS |
|
64 COMMAND 0100_obj VerifyCount smsCount1 |
|
65 |
|
66 COMMAND 0100_obj UpdateDrive UpdateDriveC |
|
67 COMMAND 0100_obj DeleteMsg |
|
68 END_TEST_BLOCK |
|
69 |
|
70 RUN_UTILS MakeReadWrite c:\private\1000484b\msgprioritydrivelist.ini |
|
71 RUN_UTILS CopyFile c:\private\1000484b\msgprioritydrivelist.bak c:\private\1000484b\msgprioritydrivelist.ini |
|
72 RUN_UTILS DeleteFile c:\private\1000484b\msgprioritydrivelist.bak |
|
73 |
|
74 END_TESTCASE MSG-REMOVE-MEDIA-0003 |
|
75 |
|
76 |
|
77 |
|
78 |