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 // MOD_0005_201_1_NokiaTSY_[HW Read ON Store] |
|
17 // |
|
18 // Precondition: |
|
19 // - There must be at least one entry in the own number store |
|
20 // (Own number store entry can be written e.g. with test case |
|
21 // MOD_0005_208_NokiaTSY_[Write ON Store]) |
|
22 // |
|
23 // Script description: |
|
24 // - Parameter: index |
|
25 // |
|
26 [Test] |
|
27 title MOD_0005_201_1_NokiaTSY_[HW Read ON Store] |
|
28 create NTT_SIM test |
|
29 test InitializeIPCRequestTable |
|
30 test SetExpectedCompleteIPC EMmTsyONStoreReadIPC |
|
31 test RunIscTestCase 201 |
|
32 test SyncIscTestCase |
|
33 test ReadONStore 1 |
|
34 allownextresult 0 |
|
35 waittestclass test |
|
36 delete test |
|
37 [Endtest] |
|
38 |
|
39 // MOD_0005_202_1_NokiaTSY_[HW Read ON Store Entry] |
|
40 // |
|
41 // Precondition: |
|
42 // - There must be at least one entry in the own number store |
|
43 // (Own number store entry can be written e.g. with test case |
|
44 // MOD_0005_208_NokiaTSY_[Write ON Store]) |
|
45 // |
|
46 // Script description: |
|
47 // - Parameter: index |
|
48 // |
|
49 [Test] |
|
50 title MOD_0005_202_1_NokiaTSY_[HW Read ON Store Entry] |
|
51 create NTT_SIM test |
|
52 test InitializeIPCRequestTable |
|
53 test SetExpectedCompleteIPC EMmTsyONStoreReadEntryIPC |
|
54 test RunIscTestCase 202 |
|
55 test SyncIscTestCase |
|
56 test ReadONStoreEntry 1 |
|
57 allownextresult 0 |
|
58 waittestclass test |
|
59 delete test |
|
60 [Endtest] |
|
61 |
|
62 // MOD_0005_203_1_NokiaTSY_[HW Get ON Store Info] |
|
63 // |
|
64 // Precondition: |
|
65 // -N/A |
|
66 // |
|
67 // Script description: |
|
68 // - Parameter: index |
|
69 // |
|
70 [Test] |
|
71 title MOD_0005_203_1_NokiaTSY_[HW Get ON Store Info] |
|
72 create NTT_SIM test |
|
73 test InitializeIPCRequestTable |
|
74 test SetExpectedCompleteIPC EMmTsyONStoreGetInfoIPC |
|
75 test RunIscTestCase 203 |
|
76 test SyncIscTestCase |
|
77 test GetONStoreInfo 1 |
|
78 allownextresult 0 |
|
79 waittestclass test |
|
80 delete test |
|
81 [Endtest] |
|
82 |
|
83 // MOD_0005_204_1_NokiaTSY_[HW Delete ON Store Entry] |
|
84 // |
|
85 // Precondition: |
|
86 // - There must be at least one entry in the own number store |
|
87 // (Own number store entry can be written e.g. with test case |
|
88 // MOD_0005_208_NokiaTSY_[Write ON Store]) |
|
89 // |
|
90 // Script description: |
|
91 // - Parameter: index |
|
92 // |
|
93 [Test] |
|
94 title MOD_0005_204_1_NokiaTSY_[HW Delete ON Store Entry] |
|
95 create NTT_SIM test |
|
96 test InitializeIPCRequestTable |
|
97 test SetExpectedCompleteIPC EMmTsyONStoreDeleteIPC |
|
98 test RunIscTestCase 204 |
|
99 test SyncIscTestCase |
|
100 test DeleteONStoreEntry 1 |
|
101 allownextresult 0 |
|
102 waittestclass test |
|
103 delete test |
|
104 [Endtest] |
|
105 |
|
106 // MOD_0005_205_1_NokiaTSY_[HW Delete all ON Store Entries] |
|
107 // |
|
108 // Precondition: |
|
109 // - There must be at least two entries in the own number store |
|
110 // (Own number store entry can be written e.g. with test case |
|
111 // MOD_0005_208_NokiaTSY_[Write ON Store]) |
|
112 // |
|
113 // Script description: |
|
114 // - Test case will delete all own number store entries |
|
115 // |
|
116 [Test] |
|
117 title MOD_0005_205_1_NokiaTSY_[HW Delete all ON Store Entries] |
|
118 create NTT_SIM test |
|
119 test InitializeIPCRequestTable |
|
120 test SetExpectedCompleteIPC EMmTsyONStoreDeleteAllIPC |
|
121 test RunIscTestCase 205 |
|
122 test SyncIscTestCase |
|
123 test DeleteAllONStoreEntries |
|
124 allownextresult 0 |
|
125 waittestclass test |
|
126 delete test |
|
127 [Endtest] |
|
128 |
|
129 // MOD_0005_206_1_NokiaTSY_[HW Read ON Store Size] |
|
130 // |
|
131 // Precondition: |
|
132 // - N/A |
|
133 // |
|
134 // Script description: |
|
135 // - Test case reads own number store size |
|
136 // |
|
137 [Test] |
|
138 title MOD_0005_206_1_NokiaTSY_[HW Read ON Store Size] |
|
139 create NTT_SIM test |
|
140 test InitializeIPCRequestTable |
|
141 test SetExpectedCompleteIPC EMmTsyONStoreReadSizeIPC |
|
142 test RunIscTestCase 206 |
|
143 test SyncIscTestCase |
|
144 test ReadONStoreSize |
|
145 allownextresult 0 |
|
146 waittestclass test |
|
147 delete test |
|
148 [Endtest] |
|
149 |
|
150 // MOD_0005_207_1_NokiaTSY_[HW ON Store write Size] |
|
151 // |
|
152 // Precondition: |
|
153 // - N/A |
|
154 // |
|
155 // Script description: |
|
156 // - Test case reads own number store write size |
|
157 // |
|
158 [Test] |
|
159 title MOD_0005_207_1_NokiaTSY_[HW ON Store write Size] |
|
160 create NTT_SIM test |
|
161 test InitializeIPCRequestTable |
|
162 test SetExpectedCompleteIPC EMmTsyONStoreWriteSizeIPC |
|
163 test RunIscTestCase 207 |
|
164 test SyncIscTestCase |
|
165 test OnStoreWriteSize |
|
166 allownextresult 0 |
|
167 waittestclass test |
|
168 delete test |
|
169 [Endtest] |
|
170 |
|
171 // MOD_0005_208_1_NokiaTSY_[HW Write ON Store] |
|
172 // |
|
173 // Precondition: |
|
174 // - N/A |
|
175 // |
|
176 // Script description: |
|
177 // - Parameters: |
|
178 // index |
|
179 // network mode |
|
180 // mobile service |
|
181 // number type |
|
182 // number plan |
|
183 // phone number |
|
184 // name |
|
185 // |
|
186 [Test] |
|
187 title MOD_0005_208_1_NokiaTSY_[HW Write ON Store] |
|
188 create NTT_SIM test |
|
189 test InitializeIPCRequestTable |
|
190 test SetExpectedCompleteIPC EMmTsyONStoreWriteIPC |
|
191 test RunIscTestCase 208 |
|
192 test SyncIscTestCase |
|
193 // 1 = index, 2 = ENetworkModeGsm, 8 = EAllTele |
|
194 // 2 = ENationalNumber, 8 = ENationalNumberPlan |
|
195 test WriteONStore 1 2 8 2 8 11223311 TestIndx1 |
|
196 allownextresult 0 |
|
197 waittestclass test |
|
198 delete test |
|
199 [Endtest] |
|
200 |
|
201 // MOD_0005_209_1_NokiaTSY_[Write ON Store All] |
|
202 // |
|
203 // Precondition: |
|
204 // - N/A |
|
205 // |
|
206 // Script description: |
|
207 // - Parameters: |
|
208 // index |
|
209 // network mode |
|
210 // mobile service |
|
211 // number type |
|
212 // number plan |
|
213 // phone number |
|
214 // name |
|
215 // |
|
216 [Test] |
|
217 title MOD_0005_209_1_NokiaTSY_[Write ON Store All] |
|
218 create NTT_SIM test |
|
219 test InitializeIPCRequestTable |
|
220 test SetExpectedCompleteIPC EMmTsyONStoreWriteEntryIPC |
|
221 test RunIscTestCase 209 |
|
222 test SyncIscTestCase |
|
223 // 2 = index, 2 = ENetworkModeGsm, 8 = EAllTele |
|
224 // 2 = ENationalNumber, 8 = ENationalNumberPlan |
|
225 test WriteONStoreAll 2 2 8 2 8 11223322 TestAllIndx2 |
|
226 allownextresult 0 |
|
227 waittestclass test |
|
228 delete test |
|
229 [Endtest] |
|