--- a/datasourcemodules/gpspositioningmodule/lbsgpspsy/test/src/te_lbsgpspsysuite.cpp Wed Sep 15 00:02:22 2010 +0300
+++ b/datasourcemodules/gpspositioningmodule/lbsgpspsy/test/src/te_lbsgpspsysuite.cpp Wed Oct 13 16:07:50 2010 +0300
@@ -34,7 +34,7 @@
_LIT(KServerName, "te_lbsgpspsysuite");
/** The UID of the unit test suite*/
-//const TUid KServerUid = {0x102869C5};
+const TUid KServerUid = {0x102869C5};
// TODO - put this somewhere that the gps and agps test suites can share it?
const RLbsPositionUpdateRequests::TChannelIdentifer KChannelIdentifierLS2GpsLocManager =
@@ -70,12 +70,16 @@
//ConstructL of the base class
CTestServer::ConstructL(KServerName);
- CTe_SystemStarter::DefineLbsPropertiesL();
+ CTe_SystemStarter starter(KServerUid);
+
+ starter.RestartLbs_RootOnlyL(iFirstExe);
}
CTe_LbsGpsPsySuite::~CTe_LbsGpsPsySuite()
{
- TRAP_IGNORE(CTe_SystemStarter::DeleteLbsPropertiesL());
+ CTe_SystemStarter starter(KServerUid);
+
+ TRAP_IGNORE(starter.RestartLbs_NormalL(iFirstExe));
}
/**