1 //* Copyright (c) 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 the License "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 //* |
|
15 |
|
16 |
|
17 |
|
18 // MOD_0005_201_2_NokiaTSY_[XML Read ON Store] |
|
19 // |
|
20 // Precondition: |
|
21 // - N/A |
|
22 // |
|
23 // Script description: |
|
24 // - Parameters: |
|
25 // - 1. index |
|
26 // - 2. name (for validity checking) |
|
27 // - 3. number (for validity checking) |
|
28 // |
|
29 [Test] |
|
30 title MOD_0005_201_2_NokiaTSY_[XML Read ON Store] |
|
31 create NTT_SIM test |
|
32 test HandleSpecifiedRequests YES |
|
33 test InitializeIPCRequestTable |
|
34 test SetExpectedCompleteIPC EMmTsyONStoreReadIPC |
|
35 test RunIscTestCase 9201 |
|
36 test SyncIscTestCase |
|
37 test ReadONStore 1 TestIndx1 11223311 |
|
38 allownextresult 0 |
|
39 waittestclass test |
|
40 test HandleSpecifiedRequests NO |
|
41 delete test |
|
42 [Endtest] |
|
43 |
|
44 |
|
45 // MOD_0005_202_2_NokiaTSY_[XML Read ON Store Entry] |
|
46 // |
|
47 // Precondition: |
|
48 // - N/A |
|
49 // |
|
50 // Script description: |
|
51 // - Parameters: |
|
52 // - 1. index |
|
53 // - 2. name (for validity checking) |
|
54 // - 3. number (for validity checking) |
|
55 // |
|
56 [Test] |
|
57 title MOD_0005_202_2_NokiaTSY_[XML Read ON Store Entry] |
|
58 create NTT_SIM test |
|
59 test HandleSpecifiedRequests YES |
|
60 test InitializeIPCRequestTable |
|
61 test SetExpectedCompleteIPC EMmTsyONStoreReadEntryIPC |
|
62 test RunIscTestCase 9202 |
|
63 test SyncIscTestCase |
|
64 test ReadONStoreEntry 1 TestIndx1 11223311 |
|
65 allownextresult 0 |
|
66 waittestclass test |
|
67 test HandleSpecifiedRequests NO |
|
68 delete test |
|
69 [Endtest] |
|
70 |
|
71 |
|
72 // MOD_0005_203_2_NokiaTSY_[XML Get ON Store Info] |
|
73 // |
|
74 // Precondition: |
|
75 // -N/A |
|
76 // |
|
77 // Script description: |
|
78 // - Parameters: |
|
79 // - 1. index |
|
80 // - 2. num of entries (for validity checking) |
|
81 // - 3. used entries (for validity checking) |
|
82 // - 4. name length (for validity checking) |
|
83 // - 5. number length (for validity checking) |
|
84 // |
|
85 [Test] |
|
86 title MOD_0005_203_2_NokiaTSY_[XML Get ON Store Info] |
|
87 create NTT_SIM test |
|
88 test HandleSpecifiedRequests YES |
|
89 test InitializeIPCRequestTable |
|
90 test SetExpectedCompleteIPC EMmTsyONStoreGetInfoIPC |
|
91 test RunIscTestCase 9203 |
|
92 test SyncIscTestCase |
|
93 test GetONStoreInfo 1 3 0 24 49 |
|
94 allownextresult 0 |
|
95 waittestclass test |
|
96 test HandleSpecifiedRequests NO |
|
97 delete test |
|
98 [Endtest] |
|
99 |
|
100 |
|
101 // MOD_0005_204_2_NokiaTSY_[XML Delete ON Store Entry] |
|
102 // |
|
103 // Precondition: |
|
104 // - N/A |
|
105 // |
|
106 // Script description: |
|
107 // - Parameter: index |
|
108 // |
|
109 [Test] |
|
110 title MOD_0005_204_2_NokiaTSY_[XML Delete ON Store Entry] |
|
111 create NTT_SIM test |
|
112 test InitializeIPCRequestTable |
|
113 test SetExpectedCompleteIPC EMmTsyONStoreDeleteIPC |
|
114 test RunIscTestCase 9204 |
|
115 test SyncIscTestCase |
|
116 test DeleteONStoreEntry 1 |
|
117 allownextresult 0 |
|
118 waittestclass test |
|
119 delete test |
|
120 [Endtest] |
|
121 |
|
122 |
|
123 // MOD_0005_205_2_NokiaTSY_[XML Delete all ON Store Entries] |
|
124 // |
|
125 // Precondition: |
|
126 // - N/A |
|
127 // |
|
128 // Script description: |
|
129 // - Test case will delete all own number store entries |
|
130 // |
|
131 [Test] |
|
132 title MOD_0005_205_2_NokiaTSY_[XML Delete all ON Store Entries] |
|
133 create NTT_SIM test |
|
134 test InitializeIPCRequestTable |
|
135 test SetExpectedCompleteIPC EMmTsyONStoreDeleteAllIPC |
|
136 test RunIscTestCase 9205 |
|
137 test SyncIscTestCase |
|
138 test DeleteAllONStoreEntries |
|
139 allownextresult 0 |
|
140 waittestclass test |
|
141 delete test |
|
142 [Endtest] |
|
143 |
|
144 |
|
145 // MOD_0005_206_2_NokiaTSY_[XML Read ON Store Size] |
|
146 // |
|
147 // Precondition: |
|
148 // - N/A |
|
149 // |
|
150 // Script description: |
|
151 // - Test case reads own number store size |
|
152 // Parameter: |
|
153 // - ON store size (for validity checking) |
|
154 // |
|
155 [Test] |
|
156 title MOD_0005_206_2_NokiaTSY_[XML Read ON Store Size] |
|
157 create NTT_SIM test |
|
158 test HandleSpecifiedRequests YES |
|
159 test InitializeIPCRequestTable |
|
160 test SetExpectedCompleteIPC EMmTsyONStoreReadSizeIPC |
|
161 test RunIscTestCase 9206 |
|
162 test SyncIscTestCase |
|
163 test ReadONStoreSize 3 |
|
164 allownextresult 0 |
|
165 waittestclass test |
|
166 test HandleSpecifiedRequests NO |
|
167 delete test |
|
168 [Endtest] |
|
169 |
|
170 |
|
171 // MOD_0005_207_2_NokiaTSY_[XML ON Store write Size] |
|
172 // |
|
173 // Precondition: |
|
174 // - N/A |
|
175 // |
|
176 // Script description: |
|
177 // - Test case reads own number store write size |
|
178 // Parameter: |
|
179 // - ON store size (for validity checking) |
|
180 // |
|
181 [Test] |
|
182 title MOD_0005_207_2_NokiaTSY_[XML ON Store write Size] |
|
183 create NTT_SIM test |
|
184 test HandleSpecifiedRequests YES |
|
185 test InitializeIPCRequestTable |
|
186 test SetExpectedCompleteIPC EMmTsyONStoreWriteSizeIPC |
|
187 test RunIscTestCase 9207 |
|
188 test SyncIscTestCase |
|
189 test OnStoreWriteSize 3 |
|
190 allownextresult 0 |
|
191 waittestclass test |
|
192 test HandleSpecifiedRequests NO |
|
193 delete test |
|
194 [Endtest] |
|
195 |
|
196 |
|
197 // MOD_0005_208_2_NokiaTSY_[XML Write ON Store] |
|
198 // |
|
199 // Precondition: |
|
200 // - N/A |
|
201 // |
|
202 // Script description: |
|
203 // - Parameters: |
|
204 // index |
|
205 // network mode |
|
206 // mobile service |
|
207 // number type |
|
208 // number plan |
|
209 // phone number |
|
210 // name |
|
211 // |
|
212 [Test] |
|
213 title MOD_0005_208_2_NokiaTSY_[XML Write ON Store] |
|
214 create NTT_SIM test |
|
215 test HandleSpecifiedRequests YES |
|
216 test InitializeIPCRequestTable |
|
217 test SetExpectedCompleteIPC EMmTsyONStoreWriteIPC |
|
218 test RunIscTestCase 9208 |
|
219 test SyncIscTestCase |
|
220 // 1 = index, 2 = ENetworkModeGsm, 8 = EAllTele |
|
221 // 2 = ENationalNumber, 8 = ENationalNumberPlan |
|
222 test WriteONStore 1 2 8 2 8 11223311 TestIndx1 |
|
223 allownextresult 0 |
|
224 waittestclass test |
|
225 test HandleSpecifiedRequests NO |
|
226 delete test |
|
227 [Endtest] |
|
228 |
|
229 |
|
230 // MOD_0005_209_2_NokiaTSY_[XML Write ON Store All] |
|
231 // |
|
232 // Precondition: |
|
233 // - N/A |
|
234 // |
|
235 // Script description: |
|
236 // - Parameters: |
|
237 // index |
|
238 // network mode |
|
239 // mobile service |
|
240 // number type |
|
241 // number plan |
|
242 // phone number |
|
243 // name |
|
244 // |
|
245 [Test] |
|
246 title MOD_0005_209_2_NokiaTSY_[XML Write ON Store All] |
|
247 create NTT_SIM test |
|
248 test InitializeIPCRequestTable |
|
249 test SetExpectedCompleteIPC EMmTsyONStoreWriteEntryIPC |
|
250 test RunIscTestCase 9209 |
|
251 test SyncIscTestCase |
|
252 // 2 = index, 2 = ENetworkModeGsm, 8 = EAllTele |
|
253 // 2 = ENationalNumber, 8 = ENationalNumberPlan |
|
254 test WriteONStoreAll 2 2 8 2 8 11223322 TestAllIndx2 |
|
255 allownextresult 0 |
|
256 waittestclass test |
|
257 delete test |
|
258 [Endtest] |
|