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