|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // !@file |
|
15 // Synopsis: |
|
16 // Provides a set of unit tests for SMS functionality introduced in PRE1121 SMS R6. |
|
17 // The intent is to provide additional functional and conditional coverage for |
|
18 // internal methods which cannot easily be exercised by the integration tests provided |
|
19 // in te_smsprt. |
|
20 // |
|
21 // |
|
22 |
|
23 //Call the setup script to copy any necessary config |
|
24 //files to the right places |
|
25 RUN_SCRIPT z:\testdata\scripts\te_R6SMS_setup.script |
|
26 |
|
27 LOAD_SUITE TE_R6SMS |
|
28 |
|
29 START_TESTCASE SMS-SMSS-SMSR6-U-2500 |
|
30 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2500 |
|
31 //!@SYMREQ PREQ1121 |
|
32 //!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 1 |
|
33 //!@SYMTestPriority critical |
|
34 //!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class |
|
35 //!@SYMTestExpectedResults Pass |
|
36 //!@SYMTestType CT |
|
37 RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes1 |
|
38 |
|
39 END_TESTCASE SMS-SMSS-SMSR6-U-2500 |
|
40 |
|
41 START_TESTCASE SMS-SMSS-SMSR6-U-2501 |
|
42 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2501 |
|
43 //!@SYMREQ PREQ1121 |
|
44 //!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 2 |
|
45 //!@SYMTestPriority critical |
|
46 //!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class |
|
47 //!@SYMTestExpectedResults Pass |
|
48 //!@SYMTestType CT |
|
49 RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes2 |
|
50 |
|
51 END_TESTCASE SMS-SMSS-SMSR6-U-2501 |
|
52 |
|
53 START_TESTCASE SMS-SMSS-SMSR6-U-2502 |
|
54 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2502 |
|
55 //!@SYMREQ PREQ1121 |
|
56 //!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 3 |
|
57 //!@SYMTestPriority critical |
|
58 //!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class |
|
59 //!@SYMTestExpectedResults Pass |
|
60 //!@SYMTestType CT |
|
61 RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes3 |
|
62 |
|
63 END_TESTCASE SMS-SMSS-SMSR6-U-2502 |
|
64 |
|
65 START_TESTCASE SMS-SMSS-SMSR6-U-2503 |
|
66 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2503 |
|
67 //!@SYMREQ REQ4924 |
|
68 //!@SYMTestCaseDesc Test the R6 CSmsMessage Methods |
|
69 //!@SYMTestPriority critical |
|
70 //!@SYMTestActions Creates the operations class supported by R6 SMS, tests the additional methods provided for R6 SMS. |
|
71 //!@SYMTestExpectedResults Pass |
|
72 //!@SYMTestType CT |
|
73 RUN_TEST_STEP 100 TE_R6SMS CTestR6CSmsMessage |
|
74 |
|
75 END_TESTCASE SMS-SMSS-SMSR6-U-2503 |
|
76 |
|
77 START_TESTCASE SMS-SMSS-SMSR6-U-2504 |
|
78 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2504 |
|
79 //!@SYMREQ REQ4922 |
|
80 //!@SYMTestCaseDesc Unit Test the R6 IE Encoding and Decoding Algorithm |
|
81 //!@SYMTestPriority critical |
|
82 //!@SYMTestActions Tests encoding Special Message Waiting IE using new R6 and existing interfaces. |
|
83 //!@SYMTestExpectedResults Pass |
|
84 //!@SYMTestType CT |
|
85 RUN_TEST_STEP 100 TE_R6SMS CTestAddingIEsViaNewAndExistingInterfaces |
|
86 |
|
87 END_TESTCASE SMS-SMSS-SMSR6-U-2504 |
|
88 |
|
89 START_TESTCASE SMS-SMSS-SMSR6-U-2505 |
|
90 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2505 |
|
91 //!@SYMREQ PREQ1121 |
|
92 //!@SYMTestCaseDesc Unit test the internal class which maps each IE to its category. |
|
93 //!@SYMTestPriority critical |
|
94 //!@SYMTestActions Unit test the internal class which maps each IE to its categories. |
|
95 //!@SYMTestExpectedResults Pass |
|
96 //!@SYMTestType CT |
|
97 RUN_TEST_STEP 100 TE_R6SMS CTestIECategoryDefinitions |
|
98 |
|
99 END_TESTCASE SMS-SMSS-SMSR6-U-2505 |
|
100 |
|
101 START_TESTCASE SMS-SMSS-SMSR6-U-2506 |
|
102 //!@SYMTestCaseID SMS-SMSS-SMSR6-U-2506 |
|
103 //!@SYMREQ REQ4924 |
|
104 //!@SYMTestCaseDesc Unit test configuring the DCS parameter when supporting auto delete. |
|
105 //!@SYMTestPriority critical |
|
106 //!@SYMTestActions Test that the following methods function correctly the DCS attribute is configured for auto deletion: SetTextCompressed(), SetClass(), SetAlphabet(), TextCompressed(), Class() and Alphabet(). |
|
107 //!@SYMTestExpectedResults Pass |
|
108 //!@SYMTestType CT |
|
109 RUN_TEST_STEP 100 TE_R6SMS CTestR6DCS |
|
110 END_TESTCASE SMS-SMSS-SMSR6-U-2506 |
|
111 |