|
1 // Copyright (c) 2006-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 "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file ctlbsclientstepmodstatus.h |
|
15 // This contains the header file for Module Status Tests |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef __CT_LBS_CLIENT_STEP_MOD_STAT_H__ |
|
20 #define __CT_LBS_CLIENT_STEP_MOD_STAT_H__ |
|
21 |
|
22 #include "ctlbsclientstep.h" |
|
23 #include "ctlbsclientserver.h" |
|
24 |
|
25 #include <lbscommon.h> |
|
26 |
|
27 // Literals used |
|
28 _LIT(KLbsClientStep_ModStatus, "LbsClientStep_ModStatus"); |
|
29 |
|
30 class CT_LbsClientStep_ModStat : public CT_LbsClientStep |
|
31 { |
|
32 public: |
|
33 ~CT_LbsClientStep_ModStat(); |
|
34 |
|
35 static CT_LbsClientStep_ModStat* New(CT_LbsClientServer& aParent); |
|
36 virtual TVerdict doTestStepL(); |
|
37 |
|
38 private: |
|
39 |
|
40 TBool DoRequestAndVerifyModStatusEventsL(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleStatus& aModStatus, TPositionModuleId aModId /*= KPositionNullModuleId*/); |
|
41 TBool DoRequestAndVerifyAGPSModStatusEventsL(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleStatus& aModStatus); |
|
42 TInt DoRequestModStatusEventsWithError(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleId aModId); |
|
43 |
|
44 TBool DoVerifyModStatus(TPositionModuleStatusEvent::TModuleEvent aExpectedModStatus,TPositionModuleId aModId); |
|
45 |
|
46 CT_LbsClientStep_ModStat(CT_LbsClientServer& aParent); |
|
47 }; |
|
48 |
|
49 #endif //__CT_LBS_CLIENT_STEP_MOD_STAT_H__ |