diff -r a3482a8f15d8 -r 29dbbeac905d datasourcemodules/networkpositioningmodule/test/src/te_lbsnetpsysuite.cpp --- a/datasourcemodules/networkpositioningmodule/test/src/te_lbsnetpsysuite.cpp Wed Jun 09 11:13:47 2010 +0300 +++ b/datasourcemodules/networkpositioningmodule/test/src/te_lbsnetpsysuite.cpp Thu Aug 19 11:17:26 2010 +0300 @@ -19,9 +19,6 @@ #include #include -#include "lbssystemcontroller.h" -#include "lbsrootcenrepdefs.h" - #include "te_lbspsyutils.h" #include "te_lbsnetpsysuite.h" #include "te_lbspsyposupdatestep.h" @@ -29,11 +26,13 @@ #include "te_lbspsyposupdateerrstep.h" #include "te_lbspsymodinfostep.h" +#include "te_lbsinifilereader.h" + /** The string name of the test suite */ _LIT(KServerName, "te_lbsnetpsysuite"); /** The UID of the unit test suite*/ -const TUid KServerUid = {0x10285ACB}; +//const TUid KServerUid = {0x10285ACB}; const RLbsPositionUpdateRequests::TChannelIdentifer KChannelIdentifierLS2NetLocManager = { @@ -60,24 +59,19 @@ /** 2nd phase constructor. Calls the base class method passing the name of the suite. - +Also initializes the lbsqualityprofile and the internal buses used for position requests and updates @leave If a error happens, it leaves with one of the system error codes. */ void CTe_LbsNetPsySuite::ConstructL() { //ConstructL of the base class CTestServer::ConstructL(KServerName); - - CTe_SystemStarter starter(KServerUid); - - starter.RestartLbs_RootOnlyL(iFirstExe); + CTe_SystemStarter::DefineLbsPropertiesL(); } CTe_LbsNetPsySuite::~CTe_LbsNetPsySuite() { - CTe_SystemStarter starter(KServerUid); - - TRAP_IGNORE(starter.RestartLbs_NormalL(iFirstExe)); + TRAP_IGNORE(CTe_SystemStarter::DeleteLbsPropertiesL()); } /**