datasourcemodules/gpspositioningmodule/lbsagpspsy/test/src/te_lbsagpspsysuite.cpp
equal
deleted
inserted
replaced
32 |
32 |
33 /** The string name of the test suite */ |
33 /** The string name of the test suite */ |
34 _LIT(KServerName, "te_lbsagpspsysuite"); |
34 _LIT(KServerName, "te_lbsagpspsysuite"); |
35 |
35 |
36 /** The UID of the unit test suite*/ |
36 /** The UID of the unit test suite*/ |
37 //const TUid KServerUid = {0x10285ACB}; |
37 const TUid KServerUid = {0x10285ACB}; |
38 |
38 |
39 const RLbsPositionUpdateRequests::TChannelIdentifer KChannelIdentifierLS2GpsLocManager = |
39 const RLbsPositionUpdateRequests::TChannelIdentifer KChannelIdentifierLS2GpsLocManager = |
40 { |
40 { |
41 {KLbsGpsLocManagerUidValue},{KLbsLocServerUidValue} |
41 {KLbsGpsLocManagerUidValue},{KLbsLocServerUidValue} |
42 }; |
42 }; |
67 void CTe_LbsAgpsPsySuite::ConstructL() |
67 void CTe_LbsAgpsPsySuite::ConstructL() |
68 { |
68 { |
69 //ConstructL of the base class |
69 //ConstructL of the base class |
70 CTestServer::ConstructL(KServerName); |
70 CTestServer::ConstructL(KServerName); |
71 |
71 |
72 CTe_SystemStarter::DefineLbsPropertiesL(); |
72 CTe_SystemStarter starter(KServerUid); |
|
73 |
|
74 starter.RestartLbs_RootOnlyL(iFirstExe); |
|
75 |
73 } |
76 } |
74 |
77 |
75 CTe_LbsAgpsPsySuite::~CTe_LbsAgpsPsySuite() |
78 CTe_LbsAgpsPsySuite::~CTe_LbsAgpsPsySuite() |
76 { |
79 { |
77 TRAP_IGNORE(CTe_SystemStarter::DeleteLbsPropertiesL()); |
80 CTe_SystemStarter starter(KServerUid); |
|
81 |
|
82 TRAP_IGNORE(starter.RestartLbs_NormalL(iFirstExe)); |
|
83 |
78 } |
84 } |
79 |
85 |
80 /** |
86 /** |
81 Overrides the pure virtual CTestServer::CreateTestStep. Creates a test step by its name. |
87 Overrides the pure virtual CTestServer::CreateTestStep. Creates a test step by its name. |
82 |
88 |