144 |
144 |
145 InitPsyListInDefaultProxyL(); |
145 InitPsyListInDefaultProxyL(); |
146 |
146 |
147 PositionRequestWithCheck(posInfo, KPositionPartialUpdate, KIntGpsPsy1); |
147 PositionRequestWithCheck(posInfo, KPositionPartialUpdate, KIntGpsPsy1); |
148 |
148 |
149 User::After(KSecond * 55);//2s fallback, 5s PSY1 partial, 7s PSY2 fix, 10s cleanup timeout |
149 User::After(KSecond * 3);//2s fallback, 5s PSY1 partial, 7s PSY2 fix, 10s cleanup timeout |
150 |
150 |
151 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
151 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
152 |
152 |
153 User::After(KSecond * 5); |
153 User::After(KSecond * 5); |
154 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
154 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
155 |
155 |
156 User::After(KSecond * 12); |
156 //4. If PSY2 gives a fullfix before cleanup timeout and there is location request |
|
157 //pending, this fix will be given to the client |
|
158 ConfigPsyL(KIntGpsPsy1, 2, |
|
159 KConfigLRPartial5s, |
|
160 KConfigLRPartial5s |
|
161 ); |
|
162 |
|
163 ConfigPsyL(KExtGpsPsy1, 1, |
|
164 KConfigLRNoError5s |
|
165 ); |
157 |
166 |
|
167 User::After(KSecond * 7); |
|
168 InitPsyListInDefaultProxyL(); |
158 |
169 |
159 // Unclear test, removed pending doc lookup. |
170 PositionRequestWithCheck(posInfo, KPositionPartialUpdate, KIntGpsPsy1); |
160 // //4. If PSY2 gives a fullfix before cleanup timeout and there is location request |
171 |
161 // //pending, this fix will be given to the client |
172 User::After(KSecond * 1);//2s fallback, 5s PSY1 partial, 7s PSY2 fix, 10s cleanup timeout |
162 // |
173 |
163 // ConfigPsyL(KIntGpsPsy1, 2, |
174 SET_TIME |
164 // KConfigLRPartial5s, |
175 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
165 // KConfigLRPartial5s |
176 CHECK_TIME(1) |
166 // ); |
177 |
167 // |
178 User::After(KSecond * 5); |
168 // ConfigPsyL(KExtGpsPsy1, 1, |
179 PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
169 // KConfigLRNoError5s |
|
170 // ); |
|
171 // |
|
172 // //User::After(KSecond * 7); |
|
173 // |
|
174 // InitPsyListInDefaultProxyL(); |
|
175 // |
|
176 // PositionRequestWithCheck(posInfo, KPositionPartialUpdate, KIntGpsPsy1); |
|
177 // |
|
178 // //User::After(KSecond * 1);//2s fallback, 5s PSY1 partial, 7s PSY2 fix, 10s cleanup timeout |
|
179 // |
|
180 // SET_TIME |
|
181 // PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
|
182 // CHECK_TIME(0) |
|
183 // |
|
184 // //User::After(KSecond * 5); |
|
185 // //PositionRequestWithCheck(posInfo, KErrNone, KExtGpsPsy1); |
|
186 |
180 |
187 // cleanup |
181 // cleanup |
188 StandardCleanup(); |
182 StandardCleanup(); |
189 return TestStepResult(); |
183 return TestStepResult(); |
190 } |
184 } |