Revision: 201037
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:37:32 +0300
changeset 60 9a7e3d5f461a
parent 51 95c570bf4a05
child 62 a72da175c1b9
Revision: 201037 Kit: 201037
build.config.xml
datasourcemodules/bluetoothgpspositioningmodule/btgpsconfig/src/lbsbtgpsconfigimpl.cpp
datasourcemodules/defaultpositioningmodule/src/epos_cposexternalgpsmonitor.cpp
datasourcemodules/defaultpositioningmodule/src/epos_cpospsyfixstatemanager.cpp
datasourcemodules/defaultpositioningmodule/src/epos_cpospsylisthandler.cpp
datasourcemodules/defaultpositioningmodule/test/te_defproxy/group/te_defproxysuite.pkg
datasourcemodules/gpspositioningmodule/lbsagpspsy/src/cagpsenvironment.cpp
datasourcemodules/gpspositioningmodule/lbsagpspsy/test/group/te_lbsagpspsysuite.pkg
datasourcemodules/gpspositioningmodule/lbsgpspsy/test/group/te_lbsgpspsysuite.pkg
datasourcemodules/networkpositioningmodule/test/group/te_lbsnetpsysuite.pkg
datasourcemodules/simulationpositioningmodule/conf/simulationpsy.confml
datasourcemodules/simulationpositioningmodule/conf/simulationpsy_101F7A81.crml
datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.mmp
datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.pkg
lbstest/datasourcemodules/dummyagpsmodule/group/bld.inf
lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.iby
lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.ini
lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.mmp
lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.rss
lbstest/datasourcemodules/dummyagpsmodule/inc/dummyagpsmodule.h
lbstest/datasourcemodules/dummyagpsmodule/src/dummyagpsmodule.cpp
lbstest/datasourcemodules/dummyagpsmodule/src/plugindef.cpp
lbstest/datasourcemodules/group/bld.inf
lbstest/datasourcemodules/group/lbs_testdatasourcemodules.history.xml
lbstest/datasourcemodules/group/lbs_testdatasourcemodules.mrp
lbstest/lbstestproduct/LbsROMspecificSuites/group/bld.inf
lbstest/lbstestproduct/LbsROMspecificSuites/group/ctlbsromsuitetestserver.mmp
lbstest/lbstestproduct/LbsROMspecificSuites/group/ctlbsromsuitetestserver.pkg
lbstest/lbstestproduct/agpshaivalidate/lbsagpshaiassdata/group/ctlbsagpshaiassdata.pkg
lbstest/lbstestproduct/agpshaivalidate/lbsagpshaivalidate/group/ctlbsagpshaivalidateserver.pkg
lbstest/lbstestproduct/agpshybridmodule/group/bld.inf
lbstest/lbstestproduct/agpshybridmodule/inc/ctagpshybridmodule.h
lbstest/lbstestproduct/agpshybridmodule/src/ctagpshybridmodule.cpp
lbstest/lbstestproduct/agpshybridmodule/test/group/bld.inf
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/group/Te_agpshybridmodulesuite.mmp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/group/bld.inf
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/LocationRequestStep.h
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/Te_agpshybridmoduleSuiteServer.h
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/Te_agpshybridmoduleSuiteStepBase.h
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/assistancedatastep.h
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/testmanagerbase.h
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/scripts/te_agpshybridmoduleSuite.script
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/LocationRequestStep.cpp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/Te_agpshybridmoduleSuiteServer.cpp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/Te_agpshybridmoduleSuiteStepBase.cpp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/assistancedatastep.cpp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/testmanagerbase.cpp
lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/testdata/te_agpshybridmoduleSuite.ini
lbstest/lbstestproduct/agpsnpehybridmodule/group/bld.inf
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/bwins/npetestclientapiu.def
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/eabi/npetestclientapiu.def
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/bld.inf
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/npetestclientapi.iby
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/npetestclientapi.mmp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/inc/clocationengineapiimpl.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/inc/ctestharnesshandler.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/clocationengineapiimpl.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/ctestharnesshandler.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/locationengine_api.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/group/bld.inf
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/group/te_npetestclientapi.mmp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapilocreqstep.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapistepbase.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapitestserver.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_testnpeintegmodule.h
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/scripts/te_npetestclientapi.script
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapilocreqstep.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapistepbase.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapitestserver.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_testnpeintegmodule.cpp
lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/testdata/te_npetestclientapi.ini
lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource.ini
lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_exclusive.ini
lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_ta.ini
lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_tb.ini
lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.iby
lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.pkg
lbstest/lbstestproduct/common/group/ctlbscommon.mmp
lbstest/lbstestproduct/common/src/ctlbsactiveyield.cpp
lbstest/lbstestproduct/common/src/ctlbsserver.cpp
lbstest/lbstestproduct/common/testdata/lbssupltestconfig.txt
lbstest/lbstestproduct/common/testdata/lbstestconfig.txt
lbstest/lbstestproduct/extendedprotocolmodule/group/extendedprotocolmodule.iby
lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolproxy.mmp
lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub.mmp
lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub2.mmp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/src/lbsnetextendedprotocolproxy.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/Te_LbsNetProtocolProxyUnitTestsuite.mmp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/bld.inf
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/te_LbsNetProtocolProxyUnitTestsuite.iby
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/scripts/te_LbsNetProtocolProxyUnitTestSuite.script
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TCallStep.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TCallStep.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TExampleSequenceStep.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TExampleSequenceStep.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TGetArgsStep.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TGetArgsStep.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TWaitForResponseStep.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TWaitForResponseStep.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteDefs.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/testdata/te_LbsNetProtocolProxyUnitTestsuite.ini
lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolstub/src/lbsnetextendedprotocolstub.cpp
lbstest/lbstestproduct/group/bld.inf
lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/inc/LBSParamLogger.h
lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/src/PropPipe.cpp
lbstest/lbstestproduct/hybridprotocolmodule/group/lbsnetprotocolstub.mmp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/src/lbsnetprotocolproxy.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/Te_LbsNetProtocolProxyUnitTestsuite.mmp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/bld.inf
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/te_LbsNetProtocolProxyUnitTestsuite.iby
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/scripts/te_LbsNetProtocolProxyUnitTestSuite.script
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TCallStep.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TCallStep.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TExampleSequenceStep.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TExampleSequenceStep.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TGetArgsStep.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TGetArgsStep.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TWaitForResponseStep.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TWaitForResponseStep.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteDefs.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h
lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/testdata/te_LbsNetProtocolProxyUnitTestsuite.ini
lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.mmp
lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.pkg
lbstest/lbstestproduct/lbsbackuprestore/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsbackuprestore/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsbackuprestore/group/te_lbsbackuprestoresuite.pkg
lbstest/lbstestproduct/lbscalculation/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbscalculation/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbscalculation/group/lbscalculation.mmp
lbstest/lbstestproduct/lbscalculation/group/lbscalculation.pkg
lbstest/lbstestproduct/lbsclient/group/bld.inf
lbstest/lbstestproduct/lbsclient/group/ctlbsclientportedsuite.mmp
lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.iby
lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.mmp
lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.pkg
lbstest/lbstestproduct/lbsclient/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsclient/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_off.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_on.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientcellbasednpud_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownpos_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposarea.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposareasources.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodinfo.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodselect_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientmultireq_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientportedsuite.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientsrvversion_real.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclienttracking.script
lbstest/lbstestproduct/lbsclient/scripts/lbsclientupdateoptions_real.script
lbstest/lbstestproduct/lbsclient/src/ctlbsclientsteplastknownposarea.cpp
lbstest/lbstestproduct/lbsclient/src/ctlbsclientstepupdateoptions.cpp
lbstest/lbstestproduct/lbsclient/testdata/lbsclientconcurrent.ini
lbstest/lbstestproduct/lbsclient/testdata/lbsclientignoreaccuracysetting.ini
lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea.ini
lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea0003.txt
lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea0009.txt
lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.mmp
lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.pkg
lbstest/lbstestproduct/lbsclock/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsclock/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsclock/scripts/lbsclock_real.script
lbstest/lbstestproduct/lbsclock/scripts/lbsclockplugin_real.script
lbstest/lbstestproduct/lbsconflict/group/ctlbsconflictserver.mmp
lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.mmp
lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.pkg
lbstest/lbstestproduct/lbsextendedmtlr/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsextendedmtlr/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsextendedmtlr/group/lbsextendedmtlr.iby
lbstest/lbstestproduct/lbsextendedmtlr/scripts/extended_mtlr_cancel.script
lbstest/lbstestproduct/lbsextendedmtlr/src/ctlbshybridemergencycancel.cpp
lbstest/lbstestproduct/lbsfeatures/group/ctlbsfeaturesserver.pkg
lbstest/lbstestproduct/lbsfeatures/src/te_lbsfeaturespsystep.cpp
lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.mmp
lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.pkg
lbstest/lbstestproduct/lbshybridcombined/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbshybridcombined/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbshybridcombined/group/lbshybridcombined.iby
lbstest/lbstestproduct/lbshybridcombined/inc/ctlbshybridcombinedstep_base.h
lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_concurrent.script
lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_sequential.script
lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_tracking.script
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_base.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent01.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent02.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential01.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential02.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking01.cpp
lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking02.cpp
lbstest/lbstestproduct/lbshybridconflict/group/ctlbshybridconflictsrv.mmp
lbstest/lbstestproduct/lbshybridconflict/group/lbshybridconflict.iby
lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.mmp
lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.pkg
lbstest/lbstestproduct/lbshybridmolr/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbshybridmolr/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbshybridmolr/group/lbshybridmolr.iby
lbstest/lbstestproduct/lbshybridmolr/inc/ctlbsmolrtracking.h
lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile.script
lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile_ignore_accuracy.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_molr_futile.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_client_timeout.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_gpsok.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_no_gps_update.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_partial.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_posstatus.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_timeout.script
lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_uebased_molr_partial.script
lbstest/lbstestproduct/lbshybridmolr/scripts/molr_error_assistance.script
lbstest/lbstestproduct/lbshybridmolr/scripts/molr_gpsoptions.script
lbstest/lbstestproduct/lbshybridmolr/scripts/molr_reset_assistance.script
lbstest/lbstestproduct/lbshybridmolr/scripts/molr_tracking.script
lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_inaccurate_timeout.script
lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late.script
lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late_fac_timeout.script
lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self.script
lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self_internal_value_test.script
lbstest/lbstestproduct/lbshybridmolr/src/ctlbshybridueassistedmolrgpsok.cpp
lbstest/lbstestproduct/lbshybridmolr/src/ctlbsmolrtracking.cpp
lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr.ini
lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr_tracking.ini
lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.mmp
lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.pkg
lbstest/lbstestproduct/lbshybridmtlr/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbshybridmtlr/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbshybridmtlr/group/lbshybridmtlr.iby
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_mtlr_futile.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_cancel.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_gps_ok.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_no_gps.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_nw.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_posstatus.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_timeout.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_gpsok.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_oom.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_acc_ref_pos.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_gpsmodeoptions.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_network_induced.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_reset_assistance.script
lbstest/lbstestproduct/lbshybridmtlr/scripts/run_hw_mtlr.bat
lbstest/lbstestproduct/lbshybridmtlr/scripts/uebased_mtlr.script
lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.mmp
lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.pkg
lbstest/lbstestproduct/lbshybridmultiple/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbshybridmultiple/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbshybridmultiple/group/lbshybridmultiple.iby
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_onepm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_twopm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_x3p_nimtlr_onepm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_onepm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_twopm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_onepm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_twopm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_onepm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_twopm.script
lbstest/lbstestproduct/lbshybridmultiple/scripts/npp_psy_fallback.script
lbstest/lbstestproduct/lbshybridmultiple/src/clbstestsessionsequence.cpp
lbstest/lbstestproduct/lbshybridmultiple/src/ctlbshybridmultipletest.cpp
lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_onepm.ini
lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_twopm.ini
lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.mmp
lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.pkg
lbstest/lbstestproduct/lbshybridx3p/group/lbshybridx3p.iby
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps_timeout.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_client_timeout.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_gps_futile.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps_timeout.script
lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_uebased_x3p_gps_futile.script
lbstest/lbstestproduct/lbshybridx3p/scripts/uebased_x3p.script
lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_Acc_ref_pos.script
lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_gpsmodeoptions.script
lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_reset_assistance.script
lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.mmp
lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.pkg
lbstest/lbstestproduct/lbsmtlr/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsmtlr/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsmtlr/group/lbsmtlr.iby
lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_real.script
lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_reset_assistance_real.script
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/bld.inf
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.mmp
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.pkg
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/lbsprivacyfw.iby
lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.mmp
lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.pkg
lbstest/lbstestproduct/lbsptbmtlr/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsptbmtlr/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsptbmtlr/group/lbsptbmtlr.iby
lbstest/lbstestproduct/lbsptbmtlr/scripts/ptb_mtlr_cancel.script
lbstest/lbstestproduct/lbssimulationpsy/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbssimulationpsy/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.mmp
lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.pkg
lbstest/lbstestproduct/lbssimulationpsy/scripts/lbssimulationpsy.script
lbstest/lbstestproduct/lbssisinstall/group/te_lbssisinstall.pkg
lbstest/lbstestproduct/lbstestpsys/group/bld.inf
lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.mmp
lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.pkg
lbstest/lbstestproduct/lbsx3p/group/custom/postrun_custom.xml
lbstest/lbstestproduct/lbsx3p/group/custom/prerun_custom.xml
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pconflict_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3popenclose_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmit_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrent_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrentrefpos_real.script
lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitrefpos_real.script
lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp
lbstest/lbstestproduct/lbsx3p/src/ctlbsx3psteptransmit.cpp
lbstest/lbstestproduct/s60privacyfw/Td_PrivFW_TEF/group/td_privfw.mmp
lbstest/lbstestproduct/sf/core/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbsclient/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbsclient/group/ctsflbsclientserver.mmp
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientdefs.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclienteventtimer.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientgetlkpao.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientnotifyposupdao.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientobserver.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientperiodictester.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientpositionconstants.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientserver.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientshareddata.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstep.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepcellbasednpud.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientsteplastknownpos.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepmultireq.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepnotifyposupdate.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientsteptracking.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepupdateoptions.h
lbstest/lbstestproduct/sf/core/sflbsclient/inc/tctlbsclientmodulesobserver.h
lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientcellbasednpud.script
lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientlastknownpos.script
lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientmultireq.script
lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientnotifyposupdate.script
lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclienttracking.script
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclienteventtimer.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientgetlkpao.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientnotifyposupdao.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientobserver.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientperiodictester.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientserver.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientshareddata.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstep.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepcellbasednpud.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientsteplastknownpos.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepmultireq.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepnotifyposupdate.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientsteptracking.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepupdateoptions.cpp
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sf_xtestmodule_modselect.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientcellbasednpud.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientlastknownpos.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientmultireq.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientnotifyposupdate.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclienttracking.ini
lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sfothermodule.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/ctsflbshybridmolrserver.mmp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/sflbshybridmolr.iby
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbataearlycomplete.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrfutile.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrserver.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrshareddata.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrstep.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrclienttimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrgpsok.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrnogpsupdate.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrpartial.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrtimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybriduebasedmolrpartial.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsmolrgpsoptions.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsmolrtracking.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsnetprotocol.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbstestactivemanager.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsueassistedmolrselfgpsinaccuratetimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsueassistedmolrselfgpslate.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsuebasedmolrself.h
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_molr_futile.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_client_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_gpsok.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_no_gps_update.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_partial.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_uebased_molr_partial.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_molr_gpsoptions.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_molr_tracking.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_ueassisted_molr_self_gps_inaccurate_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_ueassisted_molr_self_gps_late.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_uebased_molr_self.script
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbataearlycomplete.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrfutile.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrserver.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrshareddata.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrstep.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrclienttimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrgpsok.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrnogpsupdate.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrpartial.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrtimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybriduebasedmolrpartial.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsmolrgpsoptions.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsmolrtracking.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsnetprotocol.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbstestactivemanager.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsueassistedmolrselfgpsinaccuratetimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsueassistedmolrselfgpslate.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsuebasedmolrself.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_futile_sp_on_1028224B.cre
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_futile_sp_on_1028224B.txt
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr_tracking.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr_variant2.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_timeout_off.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_timeout_on.ini
lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_values.ini
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/ctsflbshybridmtlrserver.mmp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/sflbshybridmtlr.iby
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrfutile.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrserver.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrshareddata.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrstep.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrgpsok.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrnogps.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrnw.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrtimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsmtlrAccRefPos.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsmtlrgpsoptions.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsnetworkinducedmtlr.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsoom.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsuebasedmtlr.h
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_mtlr_futile.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_gps_ok.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_no_gps.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_nw.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_lbs_gpsok.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_lbs_oom.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_acc_ref_pos.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_gpsmodeoptions.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_network_induced.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_uebased_mtlr.script
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrfutile.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrserver.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrshareddata.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrstep.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrgpsok.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrnogps.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrnw.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrtimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsmtlrAccRefPos.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsmtlrgpsoptions.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsnetworkinducedmtlr.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsoom.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsuebasedmtlr.cpp
lbstest/lbstestproduct/sf/core/sflbshybridmtlr/testdata/sf_lbs_mtlr.ini
lbstest/lbstestproduct/sf/core/sflbshybridx3p/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbshybridx3p/group/ctsflbshybridx3pserver.mmp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3paccurategps.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3paccurategpstimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pclienttimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pgpsfutile.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pnogps.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pnogpstimeout.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybriduebasedx3pgpsfutile.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridx3pserver.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridx3pstep.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsuebasedx3p.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsx3pAccRefPos.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsx3pgpsoptions.h
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_accurate_gps.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_client_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_gps_futile.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_no_gps.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_no_gps_timeout.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_uebased_x3p_gps_futile.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_uebased_x3p.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_x3p_Acc_ref_pos.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_x3p_gpsmodeoptions.script
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3paccurategps.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3paccurategpstimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pclienttimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pgpsfutile.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pnogps.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pnogpstimeout.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybriduebasedx3pgpsfutile.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridx3pserver.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridx3pstep.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsuebasedx3p.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsx3pAccRefPos.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsx3pgpsoptions.cpp
lbstest/lbstestproduct/sf/core/sflbshybridx3p/testdata/sf_lbs_x3p.ini
lbstest/lbstestproduct/sf/core/sflbsmtlr/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbsmtlr/group/ctsflbsmtlrserver.mmp
lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrprivcntrlstepmain.h
lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrserver.h
lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrshareddata.h
lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrstep.h
lbstest/lbstestproduct/sf/core/sflbsmtlr/scripts/sflbsmtlr.script
lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrprivcntrlstepmain.cpp
lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrserver.cpp
lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrshareddata.cpp
lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrstep.cpp
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_custom1behaviour_noextprofileinuse.cre
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_custom1behaviour_noextprofileinuse.txt
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_originalbehaviour_noextprofileinuse.cre
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_originalbehaviour_noextprofileinuse.txt
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_lbsmtlr_real.ini
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_lbstestprofile_valid_profilenotinuse.ini
lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sflbsmtlr.ini
lbstest/lbstestproduct/sf/core/sflbsx3p/group/bld.inf
lbstest/lbstestproduct/sf/core/sflbsx3p/group/ctsflbsx3pserver.mmp
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pdotransmitpos.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pdummyao.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pserver.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pshareddata.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstep.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepcancel.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepconflict.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepnegative.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepopenclose.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3psteptransmit.h
lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3psteptransmitconcurrent.h
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pcancel.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pcancelrefpos.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pconflict.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3popenclose.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmit.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitconcurrent.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitconcurrentrefpos.script
lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitrefpos.script
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pdotransmitpos.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pdummyao.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pserver.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pshareddata.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstep.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepcancel.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepconflict.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepnegative.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepopenclose.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3psteptransmit.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3psteptransmitconcurrent.cpp
lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3pcancel.ini
lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3pcancelrefpos.ini
lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3popenclose.ini
lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3ptransmit.ini
lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3ptransmitrefpos.ini
lbstest/lbstestproduct/sf/group/bld.inf
lbstest/lbstestproduct/supl/molr/simulation/group/custom/postrun_custom.xml
lbstest/lbstestproduct/supl/molr/simulation/group/custom/prerun_custom.xml
lbstest/lbstestproduct/suplproxy/group/custom/postrun_custom.xml
lbstest/lbstestproduct/suplproxy/group/custom/prerun_custom.xml
lbstest/lbstestproduct/tdxml/LbsSuite.txt
lbstest/lbstestproduct/tdxml/LbsSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsClientTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/lbsclientconcurrent.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/lbsclientlastknownposarea.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsExtendedMtlrSuite/TestExecuteServers/LbsExtendedMtlrTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMtlrSuite/TestExecuteServers/LbsHybridMTLRTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMultipleSuite/TestExecuteServers/LbsHybridMultipleTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridX3PSuite/TestExecuteServers/LbsHybridX3PTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsPtbMtlrSuite/TestExecuteServers/LbsPtbMtlrTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMolrSuite/TestExecuteServers/CTSuplMolrTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMtlrSuite/TestExecuteServers/CTSuplMtlrTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplOmaSuite/TestExecuteServers/SuplOmaTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplProxySuite/TestExecuteServers/CTSuplProxyTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/lbshybridcombinedsuite/TestExecuteServers/lbshybridcombinedtestserver.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/TestExecuteServers/SfLbsClientTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientcellbasednpud.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientlastknownpos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientmultireq.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientnotifyposupdate.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclienttracking.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/TestExecuteServers/SfLbsHybridMOLRTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_gps_futile.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_gpsoptions.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_tracking.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_client_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gps_inaccurate_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gps_late.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gpsok.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_molr_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_no_gps_update.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_partial.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_uebased.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_uebased_partial.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/TestExecuteServers/SfLbsHybridMTLRTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbs_oom.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_acc_ref_pos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_gps_futile.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_gps_ok.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_no_gps.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_nw.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_uebased.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbsmtlr_gpsmodeoptions.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbsmtlr_network_induced.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/TestExecuteServers/SfLbsHybridX3PTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_acc_ref_pos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_accurate_gps.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_accurate_gps_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_client_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_gps_futile.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_no_gps.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_no_gps_timeout.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_uebased.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_uebased_gps_futile.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbsx3p_gpsmodeoptions.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite/TestExecuteServers/SfLbsMtlrTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite/sflbsmtlr.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/TestExecuteServers/SfLbsX3PTestServer.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3pcancel.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3pcancelrefpos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3popenclose.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmit.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitconcurrent.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitconcurrentrefpos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitrefpos.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/result.txt
lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite/te_npeintegrationmoduletest.xml
lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite/testexecuteservers/te_npeintegrationmodule.xml
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/group/te_lbsbtgpsconfig.pkg
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_all.script
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_localservices.script
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_none.script
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.mmp
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.pkg
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/testdata/featuredatabase.xml
lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_settingsmanager/group/te_settingsmanager.pkg
lbstest/locationprotocoltest/group/lbsnetworktest.iby
locationmgmt/agpslocationmgr/test/te_agpsmanagersuite/group/te_agpsmanagersuite.pkg
locationmgmt/agpslocationmgr/test/te_man/group/te_mansuite.pkg
locationmgmt/locationcore/LbsADataCache/test/te_lbsadatacachetest/group/te_lbsadatacachetestsuite.pkg
locationmgmt/locationcore/LbsAssistanceData/test/group/te_lbsassistancedatasuite.pkg
locationmgmt/locationcore/LbsClient/LbsApi/test/te_lbsapi/group/te_lbsapisuite.pkg
locationmgmt/locationcore/LbsDebug/test/te_LbsDebug/group/te_lbsdebugsuite.pkg
locationmgmt/locationcore/LbsInternalApi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.mmp
locationmgmt/locationcore/LbsInternalApi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.pkg
locationmgmt/locationcore/LbsLocCommon/ServerFramework/src/claunchedprocess.cpp
locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/Te_ProcessLaunchTestsuite.mmp
locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/te_processlaunchtestsuite.pkg
locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/te_serverframework_server.mmp
locationmgmt/locationcore/LbsLogging/te_LbsLogging/group/te_lbslogger.pkg
locationmgmt/locationcore/LbsNetInternalApi/test/te_lbsnetinternaltest/group/te_lbsnetinternaltestsuite.pkg
locationmgmt/locationcore/LbsNetRegStatusInt/test/te_lbsnetregstatusinttest/group/te_lbsnetregstatusinttestsuite.pkg
locationmgmt/locationcore/LbsPartnerCommon/src/lbsdevlogger.cpp
locationmgmt/locationcore/LbsRefFnpInt/test/te_lbsreffnpinttest/group/te_lbsreffnpinttestsuite.pkg
locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/Te_LocIndicatorLibsuite.mmp
locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/te_locindicatorlibsuite.pkg
locationmgmt/locationcore/lbslocsettings/inc/epos_cpospluginslist.h
locationmgmt/locationcore/lbslocsettings/src/epos_cpospluginslist.cpp
locationmgmt/locationcore/lbspositioningstatus/test/te_lbspositioningstatus/group/te_lbspositioningstatus.pkg
locationmgmt/locationcore/lbsroot/src/lbsroot.cpp
locationmgmt/locationcore/lbsrootapi/test/group/te_lbsrootapitestsuite.pkg
locationmgmt/locationcore/test/group/custom/postrun_custom.xml
locationmgmt/locationcore/test/group/custom/prerun_custom.xml
locationmgmt/locationcore/test/group/te_lbsadminsuite.pkg
locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/BWINS/lbslocationinfodatatypesu.def
locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/EABI/lbslocationinfodatatypesu.def
locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/inc/lbslocationwcdmainfo.h
locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/src/lbslocationwcdmainfo.cpp
locationmgmt/locmonitor/lbslocmonitorserver/inc/clbslocmonitordbengine.h
locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitorareainfodefs.h
locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitordbenginedefs.h
locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorconversionhandler.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitordbengine.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitornetworkinfofinder.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorrequesthandler.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorserver.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/lbslocmonitorareainfodefs.cpp
locationmgmt/locmonitor/lbslocmonitorserver/src/rlbslocmonitordb.cpp
locationmgmt/locmonitor/test/ExampleLocationConverter/src/ExampleLocationConverter.cpp
locationmgmt/locmonitor/test/te_geolocmonitorsuite/group/te_geolocmonitorsuite.pkg
locationmgmt/locmonitor/test/te_lbslocationinforconvertertef/group/te_lbslocationinfoconverter.pkg
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/custom/postrun_custom.xml
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/custom/prerun_custom.xml
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/te_lbslocationmonitordb.pkg
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/inc/dbstep.h
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite.script
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite2.script
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/clearstep.cpp
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/dbstep.cpp
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/negativestep.cpp
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/persistencestep.cpp
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/replacestep.cpp
locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/timestampstep.cpp
locationmgmt/locmonitor/test/te_locmonitorsuite/group/custom/postrun_custom.xml
locationmgmt/locmonitor/test/te_locmonitorsuite/group/custom/prerun_custom.xml
locationmgmt/locmonitor/test/te_locmonitorsuite/group/te_locmonitorsuite.pkg
locationmgmt/locmonitor/test/testlocationmonitor/inc/lbslocmonitorareainfodefs.h
locationmgmt/networkgateway/src/netgateway.cpp
locationmgmt/networkgateway/src/netregstatusmonitor.cpp
locationmgmt/networkgateway/src/netrequestchannel.cpp
locationmgmt/networkgateway/test/netprotocoltest/src/lbsnetgatewayprotocoltestapi.cpp
locationmgmt/networkgateway/test/te_lbsnetgateway/group/custom/poststep_custom.xml
locationmgmt/networkgateway/test/te_lbsnetgateway/group/te_lbsnetgatewaysuite.pkg
locationmgmt/networkgateway/test/te_lbsnetgateway/scripts/te_lbsnetgatewaySuite.script
locationmgmt/networkgateway/test/te_lbsnetgateway/src/Te_lbsnetgatewaySuiteServer.cpp
locationmgmt/networklocationmgr/te_LbsNetworkLocationManager/group/te_lbsnetworklocationmanager.pkg
locationrequestmgmt/locationserver/LbsQualityProfileApi/test/te_QualityProfileApiSuite/group/te_qualityprofileapisuitesuite.pkg
locationrequestmgmt/locationserver/inc/EPos_CPosModulesStatus.h
locationrequestmgmt/locationserver/inc/EPos_CPositionRequest.h
locationrequestmgmt/locationserver/inc/EPos_ServerPanic.h
locationrequestmgmt/locationserver/src/EPos_CPosModulesStatus.cpp
locationrequestmgmt/locationserver/src/EPos_CPosServer.cpp
locationrequestmgmt/locationserver/src/EPos_CPositionRequest.cpp
locationrequestmgmt/locationserver/test/te_locsrv/group/te_locsrvsuite.pkg
locationrequestmgmt/locationserver/test/te_locsrv/src/te_locsrvsuitestepbase.cpp
locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/custom/postrun_custom.xml
locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/custom/prerun_custom.xml
locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/te_locsrvtestlocmonsuite.pkg
locationrequestmgmt/networkrequesthandler/src/ngmessageswitch.cpp
locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp
locationrequestmgmt/networkrequesthandler/src/privacyhandler.cpp
locationrequestmgmt/networkrequesthandler/test/group/t_lbsnetworkrequesthandler.mmp
locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/custom/postrun_custom.xml
locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/custom/prerun_custom.xml
locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.iby
locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.pkg
networkprotocolmodules/networkpmasn1_pub/group/lbs_networkpmasn1_pub.mrp
networkprotocolmodules/networkpmutils/supldevlogger/group/supldevlogger.iby
networkprotocolmodules/networkpmutils/supldevlogger/inc/supldevloggermacros.h
networkprotocolmodules/networkprotocolmodule/LbsNetSim/src/lbsnetsimassistancedataprovider.cpp
networkprotocolmodules/networkprotocolmodule/LbsProtocolModule/src/cconfigmanager.cpp
networkprotocolmodules/networkprotocolmodule/LbsProtocolModule/test/group/te_testprotocolmodulesuite.pkg
networkprotocolmodules/networkprotocolmodule/LbsSuplTestProtocol/data/naviethernetced.cfg
networkprotocolmodules/networkprotocolmodule/suplasn1/test/group/tsuplasn1.pkg
networkprotocolmodules/privacyprotocolmodule/test/te_lbsnetworkprivacy/group/te_networkprivacysuite.pkg
networkprotocolmodules/privacyprotocolmodule/test/te_lbsprivfwcap/group/lbsprivfwcap.pkg
networkprotocolmodules/suplprotocolmodule/HostSettingsApi/test/group/t_lbshostsettingssupl.pkg
networkprotocolmodules/suplprotocolmodule/SuplConnectionManager/src/socketwriter.cpp
networkprotocolmodules/suplprotocolmodule/SuplProtocol/src/suplmolrfsmsession.cpp
networkprotocolmodules/suplprotocolmodule/conf/suplprotocolmodule.confml
networkprotocolmodules/suplproxyprotocolmodule/clientapi/suplposmsgpluginapi/src/epos_comasuplreqasstdata.cpp
networkprotocolmodules/suplproxyprotocolmodule/suplproxyprotocolmodule/conf/suplproxyprotocolmodule.confml
networkprotocolmodules/suplproxyprotocolmodule/suplproxyprotocolmodule/src/suplproxymodule.cpp
networkprotocolmodules/suplproxyprotocolmodule/test/te_suplproxyprotocolmodule/group/te_suplproxypmsuite.pkg
package_definition.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build.config.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,415 @@
+<?xml version="1.0"?>
+<!DOCTYPE SystemDefinition [
+ <!ELEMENT SystemDefinition (systemModel?, build?)>
+ <!ATTLIST SystemDefinition
+  name CDATA #REQUIRED
+  schema CDATA #REQUIRED>
+ <!ELEMENT systemModel (layer+)>
+ <!ELEMENT layer (logicalset* | module*)*>
+ <!ATTLIST layer
+  name CDATA #REQUIRED
+  levels CDATA #IMPLIED
+  span CDATA #IMPLIED>
+ <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*>
+ <!ATTLIST logicalset 
+  name CDATA #REQUIRED
+  levels CDATA #IMPLIED  
+  span CDATA #IMPLIED
+  level CDATA #IMPLIED>
+ <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*>
+ <!ATTLIST logicalsubset name CDATA #REQUIRED>
+ <!ELEMENT module (component* | unit* | package* | prebuilt*)*>
+ <!ATTLIST module
+  name CDATA #REQUIRED
+  level CDATA #IMPLIED>
+ <!ELEMENT component (unit* | package* | prebuilt*)*>
+ <!ATTLIST component name CDATA #REQUIRED>
+ <!ELEMENT unit EMPTY>
+ <!ATTLIST unit
+  unitID ID #REQUIRED
+  name CDATA #REQUIRED
+  mrp CDATA #REQUIRED
+  filter CDATA #IMPLIED
+  bldFile CDATA #REQUIRED
+  priority CDATA #IMPLIED
+  contract CDATA #IMPLIED>
+ <!ELEMENT package EMPTY>
+ <!ATTLIST package
+  name CDATA #REQUIRED
+  mrp CDATA #REQUIRED
+  filter CDATA #IMPLIED
+  contract CDATA #IMPLIED>
+ <!ELEMENT prebuilt EMPTY>
+ <!ATTLIST prebuilt
+  name CDATA #REQUIRED
+  version CDATA #REQUIRED
+  late (Y|N) #IMPLIED
+  filter CDATA #IMPLIED
+  contract CDATA #IMPLIED>
+ <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*>
+ <!ELEMENT unitList (unitRef+)>
+ <!ATTLIST unitList
+  name ID #REQUIRED
+  description CDATA #REQUIRED>
+ <!ELEMENT unitRef EMPTY>
+ <!ATTLIST unitRef unit IDREF #REQUIRED>
+ <!ELEMENT targetList EMPTY>
+ <!ATTLIST targetList
+  name ID #REQUIRED
+  description CDATA #REQUIRED
+  target IDREFS #REQUIRED>
+ <!ELEMENT target EMPTY>
+ <!ATTLIST target
+  name ID #REQUIRED
+  abldTarget CDATA #REQUIRED
+  description CDATA #REQUIRED>
+ <!ELEMENT option EMPTY>
+ <!ATTLIST option
+  name ID #REQUIRED
+  abldOption CDATA #REQUIRED
+  description CDATA #REQUIRED
+  enable (Y | N | y | n) #REQUIRED>
+ <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*>
+ <!ATTLIST configuration
+  name ID #REQUIRED
+  description CDATA #REQUIRED
+  filter CDATA #REQUIRED>
+ <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))>
+ <!ELEMENT unitListRef EMPTY>
+ <!ATTLIST unitListRef unitList IDREF #REQUIRED>
+ <!ELEMENT layerRef EMPTY>
+ <!ATTLIST layerRef layerName CDATA #REQUIRED>
+ <!ELEMENT buildLayer EMPTY>
+ <!ATTLIST buildLayer
+  command CDATA #REQUIRED
+  targetList IDREFS #IMPLIED
+  unitParallel (Y | N | y | n) #REQUIRED
+  targetParallel (Y | N | y | n) #IMPLIED>
+ <!ELEMENT specialInstructions EMPTY>
+ <!ATTLIST specialInstructions
+  name CDATA #REQUIRED
+  cwd CDATA #REQUIRED
+  command CDATA #REQUIRED>
+ <!ENTITY layer_real_source_path "/sf/os/lbs" >
+]>
+<SystemDefinition name="LBS" schema="1.4.0">
+  <systemModel>
+		<layer name="os_layer">
+			<module name="Location Management">
+				<unit name="LocationMonitor" unitID="lsdo.locmonitor" bldFile="sf\os\lbs\locationmgmt\locmonitor\lbslocmonitorserver\group" mrp="sf\os\lbs\locationmgmt\locmonitor\lbslocmonitorserver\group\lbs_locationmonitor.mrp"/>
+				<unit name="A-GPS Location Manager" unitID="lsdo.agpslocationmgr" bldFile="sf\os\lbs\locationmgmt\agpslocationmgr\group" mrp="sf\os\lbs\locationmgmt\agpslocationmgr\group\lbs_agpslocationmanager.mrp"/>
+				<unit name="Network Location Manager" unitID="lsdo.networklocationmgr" bldFile="sf\os\lbs\locationmgmt\networklocationmgr\group" mrp="sf\os\lbs\locationmgmt\networklocationmgr\group\lbs_networklocationmanager.mrp"/>
+				<unit name="Location Core" unitID="lsdo.locationcore" bldFile="sf\os\lbs\locationmgmt\locationcore\group" mrp="sf\os\lbs\locationmgmt\locationcore\group\lbs_admin.mrp"/>
+				<unit name="Network Gateway" unitID="lsdo.networkgateway" bldFile="sf\os\lbs\locationmgmt\networkgateway\group" mrp="sf\os\lbs\locationmgmt\networkgateway\group\lbs_networkgateway.mrp"/>
+			</module>
+	
+			<module name="Generic Positioning Plugins">
+				<unit name="Default Positioning Module" unitID="lsdo.defaultpositioningmodule" bldFile="sf\os\lbs\datasourcemodules\defaultpositioningmodule\group" mrp="sf\os\lbs\datasourcemodules\defaultpositioningmodule\group\lbs_default_positioning_module.mrp"/>
+				<unit name="Bluetooth GPS Positioning Module" unitID="lsdo.bluetoothgpspositioningmodule" bldFile="sf\os\lbs\datasourcemodules\bluetoothgpspositioningmodule\group" mrp="sf\os\lbs\datasourcemodules\bluetoothgpspositioningmodule\group\lbs_bt_positioning_module.mrp"/>
+				<unit name="Simulation Positioning Module" unitID="lsdo.simulationpositioningmodule" bldFile="sf\os\lbs\datasourcemodules\simulationpositioningmodule\group" mrp="sf\os\lbs\datasourcemodules\simulationpositioningmodule\group\lbs_simulation_positioning_module.mrp"/>
+				<unit name="GPS/A-GPS Positioning Module" unitID="lsdo.gpspositioningmodule" bldFile="sf\os\lbs\datasourcemodules\gpspositioningmodule\group" mrp="sf\os\lbs\datasourcemodules\locationcore\group\lbs_agps_positioning_module.mrp"/>
+				<unit name="Network Positioning Module" unitID="lsdo.networkpositioningmodule" bldFile="sf\os\lbs\datasourcemodules\networkpositioningmodule\group" mrp="sf\os\lbs\datasourcemodules\networkpositioningmodule\group\lbs_network_positioning_module.mrp"/>
+				<unit name="APE SUPL Positioning Module" unitID="lsdo.locationapesuplpsy" bldFile="sf\os\lbs\datasourcemodules\locationapesuplpsy\group" mrp="sf\os\lbs\datasourcemodules\locationapesuplpsy\group\lbs_ape_supl_positioning_module.mrp"/>
+			</module>
+	
+			<module name="Data Source Adaptation">
+				<unit name="GPS Data Source Adaptation" unitID="lsdo.gpsdatasourceadaptation" bldFile="sf\os\lbs\datasourceadaptation\gpsdatasourceadaptation\group" mrp="sf\os\lbs\datasourceadaptation\gpsdatasourceadaptation\group\lbs_gps_data_source_adaptation.mrp"/>
+			</module>
+	
+			<module name="Location Request Management">
+				<unit name="Location Server" unitID="lsdo.locationserver" bldFile="sf\os\lbs\locationrequestmgmt\locationserver\group" mrp="sf\os\lbs\locationrequestmgmt\locationserver\group\lbs_locationserver.mrp"/>
+				<unit name="Network Request Handler" unitID="lsdo.networkrequesthandler" bldFile="sf\os\lbs\locationrequestmgmt\networkrequesthandler\group" mrp="sf\os\lbs\locationrequestmgmt\networkrequesthandler\group\lbs_networkrequesthandler.mrp"/>
+			</module>
+	
+			<module name="Network Protocol Modules">
+				<unit name="Privacy Protocol Module" unitID="lsdo.privacyprotocolmodule" bldFile="sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\group" mrp="sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\group\lbs_privacyprotocolmodule.mrp"/>
+				<unit name="SUPL Proxy Protocol Module" unitID="lsdo.suplproxyprotocolmodule" bldFile="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\group" mrp="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\group\lbs_suplproxyprotocolmodule.mrp"/>
+			</module>
+			
+			<module name="Locating Services Tests">
+				<unit name="Locating Services Tests" unitID="lsdo.locatingservicetests" bldFile="sf\os\lbs\lbstest\locationprotocoltest\group" mrp="sf\os\lbs\lbstest\locationprotocoltest\group\lbs_networktest.mrp"/>
+			</module>
+						
+			<module name="items NOT contained within package_definition.xml">
+				<!--	temp: can't build for now as lives in mw (sf\mw\locationsrv\genericpositioningplugins\locationnpppsy\group)
+				<unit name="NPP PSY" unitID="lsdo.npppsy" bldFile="sf\os\lbs\datasourcemodules\locationnpppsy\group" mrp=""/>
+				-->
+				<unit name="SUPL PSY" unitID="lsdo.suplpsy" bldFile="sf\os\lbs\datasourcemodules\locationapesuplpsy\group" mrp=""/>
+				<unit name="SUPL Protocol Module" unitID="lsdo.suplprotocolmodule" bldFile="sf\os\lbs\networkprotocolmodules\suplprotocolmodule\group" mrp="sf\os\lbs\networkprotocolmodules\suplprotocolmodule\group\lbs_suplprotocolmodule.mrp"/>
+				<!-- lrm: temp. Need to build this to export the hacked version that logs in urel -->
+				<unit name="SUPL DEV LOGGER" unitID="lsdo.supldevlogger" bldFile="sf\os\lbs\networkprotocolmodules\networkpmutils\supldevlogger\group" mrp=""/>					
+			</module>						
+								
+	 	</layer> <!-- os_layer-->
+
+
+	 	<layer name="api_test_layer">
+	 		
+			<!-- The following test components just need to be built (hence lbs_testhelpers build filter rather than a rom filter) -->
+			
+			<!-- test utilities -->	
+			<module name="LBS Test Utils">			
+				<unit name="lbstestutils" unitID="lsdo.testutils.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbstestutils\group" mrp="" filter="lbs_testhelpers" />
+			</module>
+			
+			<module name="LBS Test Channel"> <!-- lbstestutils needs this to be built -->		
+				<unit name="lbstestchannel" unitID="lsdo.testchannel.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbstestchannel\group" mrp="" filter="lbs_testhelpers" />
+			</module>							
+			
+			<module name="Location Protocol Test Components">		
+				<unit name="lbsnetworktest" unitID="lsdo.lbsnetworktest.test" bldFile="sf\os\lbs\lbstest\locationprotocoltest\group" mrp="" filter="lbs_testhelpers" />
+			</module>
+						
+			<module name="Test AGPS Module">		
+				<unit name="ctagpsmodule" unitID="lsdo.testagpsmod.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group" mrp="" filter="lbs_testhelpers" />
+			</module>			
+			
+			<module name="Test AGPS Hybrid Module">		
+				<unit name="ctagpshybridmodule" unitID="lsdo.testagpshybridmod.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\group" mrp="" filter="lbs_testhelpers" />
+			</module>			
+			
+			<module name="Simple Assistance Provider">			
+				<unit name="ctsimpleprovider" unitID="lsdo.simpleprovider.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpsdataproviders\simpleprovider\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="Supl Assistance Provider">			
+				<unit name="suplprovider" unitID="lsdo.suplprovider.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpsdataproviders\suplprovider\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="LBS Test Server">			
+				<unit name="lbstestserver" unitID="lsdo.lbstestserver.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\internal\lbstestserver\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+				
+			<module name="Developer Log Control">		
+				<unit name="t_devlogcontrol" unitID="lsdo.devlogcontrol.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\internal\devlogcontrol\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+																						
+			<module name="BT GPS Simulator">		
+				<unit name="btgpssim" unitID="lsdo.btgpssim.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\internal\btgpssim\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="Internal Test Utils">		
+				<unit name="te_lbstestutils" unitID="lsdo.internaltestutils.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\internal\lbstestutils\group" mrp="" filter="lbs_testhelpers" />
+			</module>							
+					
+			<module name="Privacy FW Support">			
+				<unit name="lbsprivacyfwsupport" unitID="lsdo.lbsprivacyfw.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\group" mrp="" filter="lbs_testhelpers" />
+			</module>							
+					
+			<module name="Network Simulator">	
+				<unit name="netsim" unitID="lsdo.netsim.test" bldFile="sf\os\lbs\networkprotocolmodules\networkprotocolmodule\LbsNetSim\group" mrp="" filter="lbs_testhelpers" />
+			</module>
+		
+			<module name="SUPL Utils">			
+				<unit name="suplutils" unitID="lsdo.suplutils.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\tools\suplutils\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="TMG (SUPL Message Generator)">			
+				<unit name="tmg" unitID="lsdo.tmg.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\tools\tmg\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="PSY Tester PSYs">			
+				<unit name="psytestertestpsys" unitID="lsdo.psytestertestpsys.test" bldFile="sf\os\lbs\datasourceadaptation\gpsdatasourceadaptation\psytester\test\testpsys\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<module name="CenRep Stub Sis">	
+				<!-- allows .cre installation for test psys -->		
+				<unit name="cenrepstubsisrom" unitID="lsdo.cenrepstubsisrom.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\common\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+	
+			<module name="S60 Privacy FW">			
+				<unit name="nilelbsplugin" unitID="lsdo.nilelbsplugin.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\s60privacyfw\group" mrp="" filter="lbs_testhelpers" />
+			</module>	
+			
+			<!-- these seem to be needed by sppm integration test -->
+			<module name="GetAFixUtils"> 
+				<unit name="getafixutils" unitID="lsdo.getafixutils.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\hybridprotocolmodule\group" mrp="" filter="lbs_testhelpers" />
+			</module>		
+			
+			<!-- Needed for the GPS, AGPS & NET PSY unit tests-->
+			<module name="Generic PSY Test"> 
+				<unit name="te_lbsgenericpsytest" unitID="lsdo.lbsgenericpsytest.test" bldFile="sf\os\lbs\datasourceadaptation\gpsdatasourceadaptation\common\test\lbsgenericpsytest\group" mrp="" filter="lbs_testhelpers" />
+			</module>					
+			<!--Added for te_lbsnrhsuite2 -->
+			<module name="Test NRH"> 
+				<unit name="testNRH" unitID="lsdo.testNRH.test" bldFile="sf\os\lbs\locationrequestmgmt\networkrequesthandler\test\group" mrp="" filter="lbs_testhelpers" />
+			</module>					
+			
+			<!-- Tests -->
+	
+			<!-- General Unit Test ROM -->		
+			<module name="LBS Unit ROM Tests">		
+				<!-- Loc Monitor Unit Tests -->
+				<!-- moved below (need integ rom?) <unit name="locmontests" unitID="lsdo.locmontests" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\group" mrp="" filter="lbs_integtest_rom" /> 			 -->
+				
+				<!-- Misc1 Unit Tests -->
+				<unit name="te_lbsadminsuite" unitID="lsdo.adminsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\test\group" mrp="" filter="lbs_integtest_rom"/>				
+				<unit name="te_lbsassistancedatasuite" unitID="lsdo.assistancedatasuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsassistancedata\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsapisuite" unitID="lsdo.clientapisuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsclient\lbsapi\test\te_lbsapi\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsdebugsuite" unitID="lsdo.debugtestsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsdebug\test\te_lbsdebug\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsinternalapitestsuite" unitID="lsdo.internalapisuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsinternalapi\te_lbsinternalapitest\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbslogger" unitID="lsdo.loggersuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbslogging\te_lbslogging\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsnetinternaltestsuite" unitID="lsdo.netinternalapisuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsnetinternalapi\test\te_lbsnetinternaltest\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_defproxysuite" unitID="lsdo.defproxysuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\defaultpositioningmodule\test\te_defproxy\group" mrp="" filter="lbs_integtest_rom" />	
+				<unit name="lbsnetgatewayprotocoltest" unitID="lsdo.netprotocol.test" bldFile="sf\os\lbs\locationmgmt\networkgateway\test\netprotocoltest\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="te_netgatewaysuite" unitID="lsdo.netgatewaysuite.unit.test" bldFile="sf\os\lbs\locationmgmt\networkgateway\test\te_lbsnetgateway\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_locindicatorlibsuite" unitID="lsdo.locindicatorlibsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbslocindicatorlib\test\te_locindicatorlib\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_locsrvsuite" unitID="lsdo.locsrvsuite.unit.test" bldFile="sf\os\lbs\locationrequestmgmt\locationserver\test\te_locsrv\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_qualityprofilesuite" unitID="lsdo.qualityprofilesuite.unit.test" bldFile="sf\os\lbs\locationrequestmgmt\locationserver\LbsQualityProfileApi\test\te_QualityProfileApiSuite\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="examplelocationconverter" unitID="lsdo.examplelocationconverter.unit" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\examplelocationconverter\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="testlocationconverter" unitID="lsdo.testlocationconverter.unit" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\testlocationconverter\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="testlocationconverter2" unitID="lsdo.testlocationconverter2.unit" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\testlocationconverter2\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="testlocationconverter3" unitID="lsdo.testlocationconverter3.unit" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\testlocationconverter3\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="locinfoconversionunittest" unitID="lsdo.locinfoconversionunittest.unit" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\locinfoconversionunittest\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="te_geolocmonitorsuite" unitID="lsdo.geolocmonitorsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\te_geolocmonitorsuite\group" mrp="" filter="lbs_integtest_rom" />				
+				<unit name="te_lbslocationinfoconverter" unitID="lsdo.lbslocationinfoconverter.unit.test" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\te_lbslocationinforconvertertef\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbspositioningstatus" unitID="lsdo.lbspositioningstatus.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbspositioningstatus\test\te_lbspositioningstatus\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_agpsmanagersuite" unitID="lsdo.agpsmanagersuite.unit.test" bldFile="sf\os\lbs\locationmgmt\agpslocationmgr\test\te_agpsmanagersuite\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsagpspsysuite" unitID="lsdo.lbsagpspsysuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsgpspsysuite" unitID="lsdo.lbsgpspsysuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsgpspsy\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsnetpsysuite" unitID="lsdo.lbsnetpsysuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\networkpositioningmodule\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsnetworklocationmanager" unitID="lsdo.lbsnetworklocationmanager.unit.test" bldFile="sf\os\lbs\locationmgmt\networklocationmgr\te_LbsNetworkLocationManager\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsnrhsuite2" unitID="lsdo.lbsnrhsuite.unit.test" bldFile="sf\os\lbs\locationrequestmgmt\networkrequesthandler\test\te_lbsnrhsuite2\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- Misc2 Unit Tests -->
+				<unit name="te_lbsadatacachetestsuite" unitID="lsdo.datacachesuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsadatacache\test\te_lbsadatacachetest\group" mrp="" filter="lbs_integtest_rom" />								
+				<unit name="te_lbsnetregstatusinttestsuite" unitID="lsdo.netregstatusintsuite.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsnetregstatusint\test\te_lbsnetregstatusinttest\group" mrp="" filter="lbs_integtest_rom" />					
+				<unit name="te_lbsreffnpinttestsuite" unitID="lsdo.reffnpintsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsreffnpint\test\te_lbsreffnpinttest\group" mrp="" filter="lbs_integtest_rom" />	
+				<unit name="te_lbsrootapitestsuite" unitID="lsdo.srootapisuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsrootapi\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbssimulationpsysuite" unitID="lsdo.simulationpsysuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\group" mrp="" filter="lbs_integtest_rom" />					
+				<unit name="te_settingsmanager" unitID="lsdo.settingsmanagersuite.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_settingsmanager\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_protocolsuite" unitID="lsdo.protocolsuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\agpsintegrationmodule\sirf\test\te_protocol\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_sirfgpsmainlogicsuite" unitID="lsdo.sirfgpsmainlogicsuite.unit.test" bldFile="sf\os\lbs\datasourcemodules\agpsintegrationmodule\sirf\test\te_sirfgpsmainlogic\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="test_lbsgpsmodule" unitID="lsdo.test_lbsgpsmodule.unit" bldFile="sf\os\lbs\locationmgmt\agpslocationmgr\test\test_lbsgpsmodule\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="test_lbsagpsmanager" unitID="lsdo.test_lbsagpsmanager.unit" bldFile="sf\os\lbs\locationmgmt\agpslocationmgr\test\test_lbsagpsmanager\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="te_mansuite" unitID="lsdo.mansuite.unit.test" bldFile="sf\os\lbs\locationmgmt\agpslocationmgr\test\te_man\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_testprotocolmodulesuite" unitID="lsdo.testprotocolmodulesuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\networkprotocolmodule\lbsprotocolmodule\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="tsuplasn1" unitID="lsdo.suplasn1.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- removing since not run on BATs: <unit name="te_processlaunchtestsuite" unitID="lsdo.processlaunchsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locationcore\lbsloccommon\serverframework\te_processlaunchtest\group" mrp="" filter="lbs_integtest_rom" />	-->	
+				<!-- sppm_unit -->
+				<unit name="te_sppm_dummynetgateway" unitID="lsdo.sppm_dummynetgateway.unit" bldFile="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\test\te_sppm_dummynetgateway\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="te_terminalplugin" unitID="lsdo.terminalplugin.unit" bldFile="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\test\te_terminalplugin\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="te_sppm_reflocplugin" unitID="lsdo.sppm_reflocplugin.unit" bldFile="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\test\te_sppm_reflocplugin\group" mrp="" filter="lbs_testhelpers" />				
+				<unit name="te_suplproxypmsuite" unitID="lsdo.suplproxypmsuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\test\te_suplproxyprotocolmodule\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- supl unit tests -->
+				<!-- temporarily removed since the packages no longer exist here (networkprotocolmodules was restructured), awaiting new packages
+				<unit name="suplspoofserver" unitID="lsdo.suplspoofserver.unit" bldFile="sf\os\lbs\networkprotocolmodules\common\test\suplspoofserver\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="t_lbshostsettingssupl" unitID="lsdo.lbshostsettingssupl.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\suplprotocolmodule\hostsettingsapi\test\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_suplrrlpasnsuite" unitID="lsdo.suplrrlpasnsuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\common\suplrrlpasn1\test\te_suplrrlpasn\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_suplconnectionmanagersuite" unitID="lsdo.suplconnectionmanagersuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\suplprotocolmodule\suplconnectionmanager\test\te_suplconnectionmanager\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_suplrrlpsuite" unitID="lsdo.suplrrlpsuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\suplcontrolplaneprotocols\common\suplrrlpprotocol\test\te_suplrrlp\group" mrp="" filter="lbs_integtest_rom" />
+				-->
+			</module>					
+				
+				
+			<!-- Privacy Test ROM -->
+			<module name="Privacy ROM Tests">	
+				<!-- privacy ut -->
+				<unit name="te_dummynetgateway" unitID="lsdo.dummynetgateway.test" bldFile="\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_dummynetgateway\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="te_networkprivacysuite" unitID="lsdo.networkprivacysuite.unit.test" bldFile="sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsnetworkprivacy\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- privacy cit -->
+				<unit name="lbsprivacyfwsupport" unitID="lsdo.lbsprivacyfwsupport.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\group" mrp="" filter="lbs_testhelpers" />			
+				<unit name="ctlbsprivfwtestserver" unitID="lsdo.lbsprivfwtestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- <unit name="lbsprivacyfwsupport" unitID="lsdo.lbsprivacyfwsupport.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\group" mrp="" filter="lbs_integtest_rom" />							 -->
+				<!-- standalone privacy cit removed -->
+				<!-- full rom suite -->
+				<unit name="ctlbsromsuitetestserver" unitID="lsdo.ctlbsromsuitetestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsromspecificsuites\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- privacy_ut_in_cit -->
+				<unit name="lbsprivfwcap" unitID="lsdo.lbsprivfwcap.integ.test" bldFile="sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\group" mrp="" filter="lbs_integtest_rom" />
+			</module>				
+			
+			<!-- 'Integ' ROM -->
+			<!--<module name="Integ ROM Tests">	temp: split integ tests into separate ATS drops to yield faster results while debugging -->
+				<!-- sppm cit -->
+				<module name="SPPM CIT">
+				<!-- <unit name="testqnnplugin" unitID="lsdo.testqnnplugin.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\suplproxy\testqnnplugin\group" mrp="" filter="lbs_testhelpers" /> -->
+				<unit name="ctlbssuplproxyserver" unitID="lsdo.ctlbssuplproxyserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\suplproxy\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				<!-- client cit -->
+				<module name="client CIT">
+				<unit name="lbstestpsys" unitID="lsdo.lbstestpsys.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbstestpsys\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="ctlbsclientserver" unitID="lsdo.ctlbsclientserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsclient\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				<!-- supl cit -->
+				<module name="supl CIT">
+				<unit name="supltools" unitID="lsdo.supltools.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="suplmolrtestserver" unitID="lsdo.suplmolrtestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\molr\simulation\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="suplmtlrtestserver" unitID="lsdo.suplmtlrtestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\mtlr\simulation\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="suplomatestserver" unitID="lsdo.suplomatestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\omaconformance\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="suplrealmolrtestserver" unitID="lsdo.suplrealmolrtestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\molr\real\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="suplrealmtlrtestserver" unitID="lsdo.suplrealmtlrtestserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\supl\mtlr\real\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				<!-- hybrid cit -->
+				<module name="hybrid CIT">
+				<unit name="lbsnetextendedprotocolproxy" unitID="lsdo.lbsnetextendedprotocolproxy.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\extendedprotocolmodule\group" mrp="" filter="lbs_testhelpers" />
+				<unit name="ctlbshybridcombinedserver" unitID="lsdo.ctlbshybridcombinedserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbshybridcombined\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbshybridmolrserver" unitID="lsdo.ctlbshybridmolrserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbshybridmtlrserver" unitID="lsdo.ctlbshybridmtlrserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbshybridmultipleserver" unitID="lsdo.ctlbshybridmultipleserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbshybridx3pserver" unitID="lsdo.ctlbshybridx3pserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\group" mrp="" filter="lbs_integtest_rom" />	
+				</module>
+				<!-- misc cit -->
+				<module name="misc CIT">
+				<!-- backuprestore temporarily commented out while running all tests on NCP since it has MW component dependency (BURTestserver.exe)-->
+				<!-- <unit name="te_lbsbackuprestoresuite" unitID="lsdo.te_lbsbackuprestoresuite.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsbackuprestore\group" mrp="" filter="lbs_integtest_rom" /> -->
+				<unit name="lbscalculation" unitID="lsdo.lbscalculation.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbscalculation\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsclockserver" unitID="lsdo.ctlbsclockserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsclock\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsextendedmtlrserver" unitID="lsdo.ctlbsextendedmtlrserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsextendedmtlr\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsmtlrserver" unitID="lsdo.ctlbsmtlrserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\group" mrp="" filter="lbs_integtest_rom" />		
+				<unit name="ctlbsptbmtlrserver" unitID="lsdo.ctlbsptbmtlrserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsptbmtlr\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="simulationpsytests" unitID="lsdo.simulationpsytests.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsx3pserver" unitID="lsdo.ctlbsx3pserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsx3p\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsassdataserver" unitID="lsdo.ctlbsassdataserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsassdata\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				<!-- bluetooth ut -->
+				<module name="bluetooth UT">
+				<!-- temp: te_lbsbtgpspsy removed until tests updated since there is a techview dependency (btuiutility.lib)-->
+				<unit name="te_lbsbtgpspsy" unitID="lsdo.lbsbtgpspsy.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="te_lbsbtgpsconfig" unitID="lsdo.lbsbtgpsconfig.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpsconfig\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				<!-- Bluetooth "Casira" Tests -->		
+				<module name="Bluetooth 'Casira' Tests">			
+				<!-- removed since not expected to work on Vasco (no way to plug in a casira)-->
+				<unit name="ctlbsbtgpspsytestserver" unitID="lsdo.ctlbsbtgpspsytestserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+			    
+				<!-- agpshaivalidate cit -->
+				<module name="Agpshaivalidate CIT">
+				<unit name="ctlbsagpshaiassdata" unitID="lsdo.ctlbsagpshaiassdata.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpshaivalidate\lbsagpshaiassdata\group" mrp="" filter="lbs_integtest_rom" />
+				<unit name="ctlbsagpshaivalidateserver" unitID="lsdo.ctlbsagpshaivalidateserver.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\agpshaivalidate\lbsagpshaivalidate\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+				
+				<!-- sis install tests -->
+				<module name="SisInstall Tests">
+				<unit name="lbssisinstall" unitID="lsdo.lbssisinstall.integ.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbssisinstall\group" mrp="" filter="lbs_integtest_rom" />
+				</module>
+								
+			<module name="Location Monitor Unit Tests (no watcher)">	
+				<!-- locsrv locmon ut -->
+				<unit name="te_locsrvtestlocmonsuite" unitID="lsdo.locsrvtestlocmonsuite.unit.test" bldFile="sf\os\lbs\locationrequestmgmt\locationserver\test\te_locsrvtestlocmonsuite\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- locmon db ut -->
+				<unit name="te_lbslocationmonitordb" unitID="lsdo.lbslocationmonitordb.unit.test" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\te_lbslocmonitordbsuite\group" mrp="" filter="lbs_integtest_rom" />
+				<!-- locmon ut -->
+				<unit name="te_locmonitorsuite" unitID="lsdo.lbslocmonitorsuite.unit.test" bldFile="sf\os\lbs\locationmgmt\locmonitor\test\te_locmonitorsuite\group" mrp="" filter="lbs_integtest_rom" />				
+			</module>	
+							
+			<!-- removed until these ROMs are created
+			<module name="Feature Manager All PSYs ROM">	
+				<unit name="ctlbsfeaturesserver" unitID="lsdo.ctlbsfeaturesserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\group" mrp="" filter="lbs_signaccallpsys_rom" />
+			</module>	
+			<module name="Feature Manager No PSYs ROM">	
+				<unit name="ctlbsfeaturesserver" unitID="lsdo.ctlbsfeaturesserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\group" mrp="" filter="lbs_lbsignaccnopsys_rom" />
+			</module>	
+			<module name="Feature Manager Auto PSY AGPS PSY ROM">	
+				<unit name="ctlbsfeaturesserver" unitID="lsdo.ctlbsfeaturesserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\group" mrp="" filter="lbs_lbsignaccautopsyagpspsy_rom" />
+			</module>	
+			<module name="Feature Manager Auto PSY NET PSY ROM">	
+				<unit name="ctlbsfeaturesserver" unitID="lsdo.ctlbsfeaturesserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\group" mrp="" filter="lbs_lbsignaccautopsynetpsy_rom" />
+			</module>	
+			<module name="Feature Manager FB PSY AGPS PSY ROM">	
+				<unit name="ctlbsfeaturesserver" unitID="lsdo.ctlbsfeaturesserver.unit.test" bldFile="sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\group" mrp="" filter="lbs_lbsignaccfbpsyagpspsy_rom" />
+			</module>														
+			-->
+					
+		</layer>	<!-- api test layer-->
+  </systemModel>
+</SystemDefinition>
--- a/datasourcemodules/bluetoothgpspositioningmodule/btgpsconfig/src/lbsbtgpsconfigimpl.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/bluetoothgpspositioningmodule/btgpsconfig/src/lbsbtgpsconfigimpl.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -323,7 +323,7 @@
 			devInfo->SetKey(devRecord.Key());
 			devInfo->SetAddress(devRecord.SocketAddress().BTAddr());
 			devInfo->SetType(devRecord.Type());
-			aList.Append(devInfo);
+			aList.AppendL(devInfo);
 			CleanupStack::Pop(devInfo);
 			}
 		
@@ -420,7 +420,7 @@
 		User::LeaveIfError(ReadDeviceRecord(index, *devRecord));
 
 		// Add to the passes list
-		aRecordList.Append(devRecord);
+		aRecordList.AppendL(devRecord);
 		
 		CleanupStack::Pop(devRecord);
 		}
--- a/datasourcemodules/defaultpositioningmodule/src/epos_cposexternalgpsmonitor.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/defaultpositioningmodule/src/epos_cposexternalgpsmonitor.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -272,7 +272,7 @@
             User::LeaveIfError( iExtGpsPsyArray.Append( requestor ) );
             
             //This function won't fail, since we have enough space already
-            iExtGpsPsyUsedArray.Append( 0 ); 
+            iExtGpsPsyUsedArray.AppendL( 0 ); 
             
             CleanupStack::Pop( requestor );
             }
--- a/datasourcemodules/defaultpositioningmodule/src/epos_cpospsyfixstatemanager.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/defaultpositioningmodule/src/epos_cpospsyfixstatemanager.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -157,9 +157,7 @@
         fixAndState.iPsyState = EPsyFixStateUnknown;
         fixAndState.iLocationRequestCount = 0;
         fixAndState.iTimer = timer;
-        User::LeaveIfError( 
-            iPsyStateArray.Append( fixAndState ) );
-            
+        iPsyStateArray.AppendL( fixAndState ) ;           
         CleanupStack::Pop( timer );
         }
     }
--- a/datasourcemodules/defaultpositioningmodule/src/epos_cpospsylisthandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/defaultpositioningmodule/src/epos_cpospsylisthandler.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -189,14 +189,14 @@
                 if ( !integratedGpsAdded )
                     {
                     TRACESTRING2( "PSY: %x", moduleInfo.ModuleId() )
-                    aPsyList.Append( moduleInfo.ModuleId() );
+                    aPsyList.AppendL( moduleInfo.ModuleId() );
                     integratedGpsAdded = ETrue;
                     }
                 }
             else
                 {
                 TRACESTRING2( "PSY: %x", moduleInfo.ModuleId() )
-                aPsyList.Append( moduleInfo.ModuleId() );
+                aPsyList.AppendL( moduleInfo.ModuleId() );
                 }
             }
         }
@@ -222,7 +222,7 @@
             moduleInfo.DeviceLocation() == TPositionModuleInfo::EDeviceExternal )
             {
             TRACESTRING2( "PSY: %x", moduleInfo.ModuleId() )
-            aPsyList.Append( moduleInfo.ModuleId() );
+            aPsyList.AppendL( moduleInfo.ModuleId() );
             }
         }
     }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datasourcemodules/defaultpositioningmodule/test/te_defproxy/group/te_defproxysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,72 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/datasourcemodules/defaultpositioningmodule/test/te_defproxy/group/te_defproxysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_defproxysuite.exe"-"c:\sys\bin\te_defproxysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\btpsy.dll"-"c:\sys\bin\btpsy.dll"
+"\epoc32\release\armv5\urel\extgpspsy1.dll"-"c:\sys\bin\extgpspsy1.dll"
+"\epoc32\release\armv5\urel\extgpspsy2.dll"-"c:\sys\bin\extgpspsy2.dll"
+"\epoc32\release\armv5\urel\instapsy.dll"-"c:\sys\bin\instapsy.dll"
+"\epoc32\release\armv5\urel\intgpspsy1.dll"-"c:\sys\bin\intgpspsy1.dll"
+"\epoc32\release\armv5\urel\intgpspsy2.dll"-"c:\sys\bin\intgpspsy2.dll"
+"\epoc32\release\armv5\urel\lcfpsy6.dll"-"c:\sys\bin\lcfpsy6.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy1.dll"-"c:\sys\bin\lcfpsydummy1.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy2.dll"-"c:\sys\bin\lcfpsydummy2.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy3.dll"-"c:\sys\bin\lcfpsydummy3.dll"
+"\epoc32\release\armv5\urel\leavingpsy.dll"-"c:\sys\bin\leavingpsy.dll"
+"\epoc32\release\armv5\urel\networkpsy1.dll"-"c:\sys\bin\networkpsy1.dll"
+"\epoc32\release\armv5\urel\networkpsy2.dll"-"c:\sys\bin\networkpsy2.dll"
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\data\Z\resource\plugins\btpsy.rsc"-"c:\resource\plugins\btpsy.rsc"
+"\epoc32\data\c\private\10202be9\0313300c.cre"-"c:\testdata\configs\0313300c.cre"
+"\epoc32\data\Z\resource\plugins\extgpspsy1.rsc"-"c:\resource\plugins\extgpspsy1.rsc"
+"\epoc32\data\c\private\10202be9\0313302a.cre"-"c:\testdata\configs\0313302a.cre"
+"\epoc32\data\Z\resource\plugins\extgpspsy2.rsc"-"c:\resource\plugins\extgpspsy2.rsc"
+"\epoc32\data\c\private\10202be9\0313800b.cre"-"c:\testdata\configs\0313800b.cre"
+"\epoc32\data\Z\resource\plugins\instapsy.rsc"-"c:\resource\plugins\instapsy.rsc"
+"\epoc32\data\c\private\10202be9\03133002.cre"-"c:\testdata\configs\03133002.cre"
+"\epoc32\data\Z\resource\plugins\intgpspsy1.rsc"-"c:\resource\plugins\intgpspsy1.rsc"
+"\epoc32\data\c\private\10202be9\03133004.cre"-"c:\testdata\configs\03133004.cre"
+"\epoc32\data\Z\resource\plugins\intgpspsy2.rsc"-"c:\resource\plugins\intgpspsy2.rsc"
+"\epoc32\data\c\private\10202be9\03133006.cre"-"c:\testdata\configs\03133006.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsy6.rsc"-"c:\resource\plugins\lcfpsy6.rsc"
+"\epoc32\data\c\private\10202be9\03133026.cre"-"c:\testdata\configs\03133026.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy1.rsc"-"c:\resource\plugins\lcfpsydummy1.rsc"
+"\epoc32\data\c\private\10202be9\03133028.cre"-"c:\testdata\configs\03133028.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy2.rsc"-"c:\resource\plugins\lcfpsydummy2.rsc"
+"\epoc32\data\c\private\10202be9\03138001.cre"-"c:\testdata\configs\03138001.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy3.rsc"-"c:\resource\plugins\lcfpsydummy3.rsc"
+"\epoc32\data\c\private\10202be9\03138003.cre"-"c:\testdata\configs\03138003.cre"
+"\epoc32\data\Z\resource\plugins\leavingpsy.rsc"-"c:\resource\plugins\leavingpsy.rsc"
+"\epoc32\data\c\private\10202be9\03138005.cre"-"c:\testdata\configs\03138005.cre"
+"\epoc32\data\Z\resource\plugins\networkpsy1.rsc"-"c:\resource\plugins\networkpsy1.rsc"
+"\epoc32\data\c\private\10202be9\03138007.cre"-"c:\testdata\configs\03138007.cre"
+"\epoc32\data\Z\resource\plugins\networkpsy2.rsc"-"c:\resource\plugins\networkpsy2.rsc"
+"\epoc32\data\c\private\10202be9\03138009.cre"-"c:\testdata\configs\03138009.cre"
+
+; test "te_lbsdefproxytest"
+;
+; test scripts
+"..\scripts\te_defproxysuite.script"-"c:\testdata\scripts\te_defproxysuite.script"
+
+; test dependencies
+"\sf\os\lbs\datasourcemodules\defaultpositioningmodule\test\te_defproxy\testdata\te_defproxysuite.ini"-"c:\testdata\configs\te_defproxysuite.ini"
+"\sf\os\lbs\datasourcemodules\defaultpositioningmodule\test\te_defproxy\testdata\defproxytestconfig.txt"-"c:\testdata\configs\defproxytestconfig.txt"
+
--- a/datasourcemodules/gpspositioningmodule/lbsagpspsy/src/cagpsenvironment.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/gpspositioningmodule/lbsagpspsy/src/cagpsenvironment.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -33,13 +33,13 @@
 CAgpsEnvironment::~CAgpsEnvironment()
 	{
     Dll::SetTls(NULL);
-    
     delete iRequestHandler;
     delete iResponseHandler;
     delete iModStatusHandler;
     delete iPositionerQ; //Should only be deleted after iRequestHandler
 	}
 
+
 /**
  * Constructor
  */
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datasourcemodules/gpspositioningmodule/lbsagpspsy/test/group/te_lbsagpspsysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,39 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/datasourcemodules/gpspositioningmodule/lbsagpspsy/test/group/te_lbsagpspsysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsagpspsysuite.exe"-"c:\sys\bin\te_lbsagpspsysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\release\armv5\urel\te_lbsgenericpsytest.dll"-"c:\sys\bin\te_lbsgenericpsytest.dll"
+
+; test "te_lbsagpspsytest"
+;
+; test scripts
+"..\scripts\te_lbsagpspsysuite.script"-"c:\testdata\scripts\te_lbsagpspsysuite.script"
+
+; test dependencies
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy.ini"-"c:\testdata\configs\te_lbsagpspsy.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_devicecaps_exclusive.ini"-"c:\testdata\configs\te_lbsagpspsy_devicecaps_exclusive.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_devicecaps_simultaneous.ini"-"c:\testdata\configs\te_lbsagpspsy_devicecaps_simultaneous.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_devicecaps_ta.ini"-"c:\testdata\configs\te_lbsagpspsy_devicecaps_ta.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_devicecaps_tb.ini"-"c:\testdata\configs\te_lbsagpspsy_devicecaps_tb.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_agpsintegmodule.ini"-"c:\testdata\configs\te_lbsagpspsy_agpsintegmodule.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsagpspsy\test\testdata\te_lbsagpspsy_lbsprofile.ini"-"c:\testdata\configs\te_lbsagpspsy_lbsprofile.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datasourcemodules/gpspositioningmodule/lbsgpspsy/test/group/te_lbsgpspsysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,35 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/datasourcemodules/gpspositioningmodule/lbsgpspsy/test/group/te_lbsgpspsysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsgpspsysuite.exe"-"c:\sys\bin\te_lbsgpspsysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\release\armv5\urel\te_lbsgenericpsytest.dll"-"c:\sys\bin\te_lbsgenericpsytest.dll"
+
+; test "te_lbsgpspsytest"
+;
+; test scripts
+"..\scripts\te_lbsgpspsysuite.script"-"c:\testdata\scripts\te_lbsgpspsysuite.script"
+
+; test dependencies
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsgpspsy\test\testdata\te_lbsgpspsy.ini"-"c:\testdata\configs\te_lbsgpspsy.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsgpspsy\test\te_lbsgpspsy_agpsintegmodule.ini"-"c:\testdata\configs\te_lbsgpspsy_agpsintegmodule.ini"
+"\sf\os\lbs\datasourcemodules\gpspositioningmodule\lbsgpspsy\test\testdata\te_lbsgpspsy_lbsprofile.ini"-"c:\testdata\configs\te_lbsgpspsy_lbsprofile.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datasourcemodules/networkpositioningmodule/test/group/te_lbsnetpsysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,35 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/datasourcemodules/networkpositioningmodule/test/group/te_lbsnetpsysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnetpsysuite.exe"-"c:\sys\bin\te_lbsnetpsysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\release\armv5\urel\te_lbsgenericpsytest.dll"-"c:\sys\bin\te_lbsgenericpsytest.dll"
+
+; test "te_lbsnetpsytest"
+;
+; test scripts
+"..\scripts\te_lbsnetpsysuite.script"-"c:\testdata\scripts\te_lbsnetpsysuite.script"
+
+; test dependencies
+"\sf\os\lbs\datasourcemodules\networkpositioningmodule\test\testdata\te_lbsnetpsy.ini"-"c:\testdata\configs\te_lbsnetpsy.ini"
+"\sf\os\lbs\datasourcemodules\networkpositioningmodule\test\testdata\te_lbsnetpsy_agpsintegmodule.ini"-"c:\testdata\configs\te_lbsnetpsy_agpsintegmodule.ini"
+"\sf\os\lbs\datasourcemodules\networkpositioningmodule\test\testdata\te_lbsnetpsy_lbsprofile.ini"-"c:\testdata\configs\te_lbsnetpsy_lbsprofile.ini"
+
Binary file datasourcemodules/simulationpositioningmodule/conf/simulationpsy.confml has changed
Binary file datasourcemodules/simulationpositioningmodule/conf/simulationpsy_101F7A81.crml has changed
--- a/datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -13,9 +13,9 @@
 // Description:
 //
 
-          TARGET      te_lbssimulationpsysuite.exe
-          TARGETTYPE  exe
-          UID             0x1000007A 0x1028375D
+TARGET      te_lbssimulationpsysuite.exe
+TARGETTYPE  exe
+UID             0x1000007A 0x1028375D
 
 MACRO SIMPSYTEST
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,63 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/datasourcemodules/simulationpositioningmodule/test/te_lbssimulationpsy/group/te_lbssimulationpsysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbssimulationpsysuite.exe"-"c:\sys\bin\te_lbssimulationpsysuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbssimulationpsytest"
+;
+; test scripts
+"..\scripts\te_lbssimulationpsysuite.script"-"c:\testdata\scripts\te_lbssimulationpsysuite.script"
+
+; test dependencies
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\te_lbssimulationpsysuite.ini"-"c:\testdata\configs\te_lbssimulationpsysuite.ini"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea.nme"-"c:\system\data\nmea.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_short.nme"-"c:\system\data\nmea_short.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_garmin3plus.nme"-"c:\system\data\nmea_garmin3plus.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_Magellantracker.nme"-"c:\system\data\nmea_magellantracker.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_PDOPMissing.nme"-"c:\system\data\nmea_pdopmissing.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_partial_updates.nme"-"c:\system\data\nmea_partial_updates.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_error1.nme"-"c:\system\data\nmea_error1.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_error2.nme"-"c:\system\data\nmea_error2.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_error3.nme"-"c:\system\data\nmea_error3.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\nmea_special_case.nme"-"c:\system\data\nmea_special_case.nme"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData.sps"-"c:\system\data\simulationdata.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_deterministic.sps"-"c:\system\data\simulationdata_deterministic.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_random.sps"-"c:\system\data\simulationdata_random.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_simmove_bund.sps"-"c:\system\data\simulationdata_simmove_bund.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_same_place.sps"-"c:\system\data\simulationdata_same_place.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_longwrap1.sps"-"c:\system\data\simulationdata_longwrap1.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_longwrap2.sps"-"c:\system\data\simulationdata_longwrap2.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongTTF_max.sps"-"c:\system\data\simulationdata_wrongttf_max.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongTTF_min.sps"-"c:\system\data\simulationdata_wrongttf_min.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrong_deterministic.sps"-"c:\system\data\simulationdata_wrong_deterministic.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrong_poweruptime.sps"-"c:\system\data\simulationdata_wrong_poweruptime.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongVerAcc.sps"-"c:\system\data\simulationdata_wrongveracc.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongHorAcc.sps"-"c:\system\data\simulationdata_wronghoracc.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongLongitude.sps"-"c:\system\data\simulationdata_wronglongitude.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongLatitude.sps"-"c:\system\data\simulationdata_wronglatitude.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongLongitudeMax.sps"-"c:\system\data\simulationdata_wronglongitudemax.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongLatitudeMax.sps"-"c:\system\data\simulationdata_wronglatitudemax.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongCourse.sps"-"c:\system\data\simulationdata_wrongcourse.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongSpeed.sps"-"c:\system\data\simulationdata_wrongspeed.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongNumberOfItems.sps"-"c:\system\data\simulationdata_wrongnumberofitems.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simulationData_wrongWordDoc.sps"-"c:\system\data\simulationdata_wrongworddoc.sps"
+"\sf\os\lbs\datasourcemodules\simulationpositioningmodule\test\te_lbssimulationpsy\testdata\simpsyconfig.txt"-"c:\testdata\configs\simpsyconfig.txt"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,21 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_TESTMMPFILES
+dummyagpsmodule.mmp
+
+PRJ_TESTEXPORTS
+dummyagpsmodule.iby /epoc32/rom/include/dummyagpsmodule.iby
+dummyagpsmodule.ini	z:/private/10282253/lbs/locmods/agpsintegmodule.ini
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __DUMMY_AGPS_MODULE_PLUGIN_IBY__
+#define __DUMMY_AGPS_MODULE_PLUGIN_IBY__
+
+REM LBS Test Dummy A-GPS integration module plugin
+
+#ifdef _DEBUG
+ECOM_PLUGIN_UDEB(dummyagpsmodule.dll, dummyagpsmodule.rsc)
+#else
+ECOM_PLUGIN(dummyagpsmodule.dll, dummyagpsmodule.rsc)
+#endif
+
+data=EPOCROOT##epoc32\data\z\private\10282253\lbs\locmods\agpsintegmodule.ini	private\10282253\lbs\locmods\agpsintegmodule.ini
+
+#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,20 @@
+# xtestmoudle.ini (copied to agpsintegmodule.ini)
+# Ini file with the module information for the test AGPS integration module (the old one)
+
+[1]
+Version= 1.2.3		#
+ModuleId= 271064388	# dec
+ModuleName= "TEST_Loc_Dummy_AGPS_Module"	# 
+TechnologyType= 0101	# binary
+DeviceLocation= 1	# binary
+Capabilities= 11111	# binary
+ClassesSupported= 1111	# binary
+TimeToFirstFix= 90000	# ms
+TimeToNextFix= 1000	# ms
+HorizontalAccuracy= 5.4 # real
+VerticalAccuracy= 5.4   # real
+CostIndicator= 2	# dec
+PowerConsumption= 2	# dec
+DataSourceId= 271086102	# dec
+ExecutableName= "lbsgpslocmanager.exe"
+DeviceGpsModeCaps=0100	# binary Simultaneous TA + TB (+ Autonomous)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,52 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file ctagpsmodule.mmp
+// 
+//
+
+TARGET			dummyagpsmodule.dll
+TARGETTYPE		PLUGIN
+CAPABILITY		ALL -TCB // TODO
+
+UID				0x10009D8D 0x10287215
+VENDORID		0x70000001
+
+MACRO ENABLE_LBS_DEV_LOGGER
+
+RESOURCE dummyagpsmodule.rss 
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+USERINCLUDE		../inc
+USERINCLUDE	    ../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
+
+SOURCEPATH		../src
+SOURCE			dummyagpsmodule.cpp
+SOURCE			plugindef.cpp
+
+
+// EPOC libraries.
+LIBRARY	euser.lib
+LIBRARY ecom.lib
+
+// LBS libraries.
+LIBRARY lbslocdatasource.lib
+
+#ifdef WINSCW
+LIBRARY		lbspartnercommon.lib
+#else
+DEBUGLIBRARY	lbspartnercommon.lib
+#endif
+
+SMPSAFE
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/group/dummyagpsmodule.rss	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,43 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// The Test AGPS Module resource file
+// 
+//
+
+#include "ecom/registryinfov2.rh"
+
+RESOURCE REGISTRY_INFO theInfo
+	{
+	resource_format_version = RESOURCE_FORMAT_VERSION_2;
+	dll_uid = 0x10287215;
+	interfaces =
+		{
+		INTERFACE_INFO
+			{
+			interface_uid = 0x10281D73;
+			implementations = 
+				{
+				IMPLEMENTATION_INFO
+					{
+					implementation_uid = 0x10287216;
+					version_no = 1;
+					display_name = "Test Dummy A-GPS Module";
+					default_data = "";
+					opaque_data = "";
+					rom_only = 0;
+					}
+				};
+			}
+		};
+	 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/inc/dummyagpsmodule.h	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,53 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This is the header file which contains the test version of a intergration module
+//
+
+//! @file dummyagpsmodule.h
+
+#ifndef __DUMMY_AGPS_MODULE_H__
+#define __DUMMY_AGPS_MODULE_H__
+
+
+// Epoc includes
+
+// LBS includes
+#include <lbs.h>
+#include <lbscommon.h>
+#include <lbspositioninfo.h>
+#include <lbs/lbslocdatasourcegpsbase.h>
+
+class CDummyAGpsModule : public CLbsLocationSourceGpsBase
+	{	
+public:
+	static CLbsLocationSourceGpsBase* NewL(MLbsLocationSourceGpsObserver& aObserver);
+	~CDummyAGpsModule();
+
+	// CLbsLocationSourceGpsBase functions.
+	void RequestLocationUpdate(const TTime& aTargetTime, const TLbsLocRequestQuality& aQuality);
+	void CancelLocationRequest();
+	void AdvisePowerMode(CLbsLocationSourceGpsBase::TPowerMode aMode);
+	void SetGpsOptions(const TLbsGpsOptions& aGpsOptions);
+	void AssistanceDataEvent(TInt aError, TLbsAsistanceDataGroup aDataMask);
+
+		
+private:
+	CDummyAGpsModule(MLbsLocationSourceGpsObserver& aObserver);
+	void ConstructL();
+
+private:
+	};
+
+#endif //__DUMMY_AGPS_MODULE_H__
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/src/dummyagpsmodule.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,86 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This is the cpp file which contains the
+//
+
+//! @file dummyapgsmodule.cpp
+
+// User includes
+#include "dummyagpsmodule.h"
+#include "lbsdevloggermacros.h"
+
+CDummyAGpsModule::CDummyAGpsModule(MLbsLocationSourceGpsObserver& aObserver)
+	: CLbsLocationSourceGpsBase(aObserver)
+	{
+	}
+
+
+CLbsLocationSourceGpsBase* CDummyAGpsModule::NewL(MLbsLocationSourceGpsObserver& aObserver)
+	{
+	CDummyAGpsModule* self = new(ELeave) CDummyAGpsModule(aObserver);
+
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	CleanupStack::Pop(self);
+
+	return self;
+	}
+
+void CDummyAGpsModule::ConstructL()
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::ConstructL()\n");
+
+	CLbsLocationSourceGpsBase::ConstructL();
+	}
+
+
+CDummyAGpsModule::~CDummyAGpsModule()
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::~CDummyAGpsModule()\n");
+	}	
+
+
+void CDummyAGpsModule::SetGpsOptions(const TLbsGpsOptions& /*aGpsOptions*/)
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::SetGpsOptions()\n");
+	}
+
+
+void CDummyAGpsModule::RequestLocationUpdate(const TTime& /*aTargetTime*/, const TLbsLocRequestQuality& /*aQuality*/)
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::RequestLocationUpdate()\n");
+	}
+
+
+void CDummyAGpsModule::CancelLocationRequest()
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::CancelLocationRequest()\n");	
+	}
+
+
+void CDummyAGpsModule::AdvisePowerMode(CLbsLocationSourceGpsBase::TPowerMode aMode)
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::AdvisePowerMode()\n");
+	if (aMode == CLbsLocationSourceGpsBase::EPowerModeClose)
+		{
+		iLocSourceGpsObserver.Shutdown();
+		}
+	}
+
+
+void CDummyAGpsModule::AssistanceDataEvent(TInt /*aError*/, TLbsAsistanceDataGroup /*aDataMask*/)
+	{
+	LBSLOG(ELogP1, "CDummyAGpsModule::AssistanceDataEvent()\n");
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/dummyagpsmodule/src/plugindef.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <ecom/implementationproxy.h>
+#include "dummyagpsmodule.h"
+
+const TInt KLbsDummyDataSourceImplementationUID = 0x10287216;
+
+const TImplementationProxy ImplementationTable[] = 
+	{
+	IMPLEMENTATION_PROXY_ENTRY(KLbsDummyDataSourceImplementationUID, CDummyAGpsModule::NewL)
+	};
+
+
+EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
+	{
+	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
+	return ImplementationTable;
+	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,17 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+// Main projects, in build order
+#include "../dummyagpsmodule/group/bld.inf"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/group/lbs_testdatasourcemodules.history.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<relnotes name="Location Based Services">
+  <purpose>
+  </purpose>
+</relnotes>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/datasourcemodules/group/lbs_testdatasourcemodules.mrp	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+#
+# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description: 
+#
+
+component	lbs_testdatasourcemodules
+source \sf\os\lbs\lbstest\datasourcemodules
+binary \sf\os\lbs\lbstest\datasourcemodules\group all
+exports	\sf\os\lbs\lbstest\datasourcemodules\group 
+
+notes_source	\component_defs\release.src
+
+ipr T 
--- a/lbstest/lbstestproduct/LbsROMspecificSuites/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/LbsROMspecificSuites/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,6 @@
 
 ./lbsromspecificsuite.iby   						/epoc32/rom/include/lbsromspecificsuite.iby
 
-
 ../testdata/lbsromspecificsuite.ini			c:/testdata/configs/lbsromspecificsuite.ini
                         
 PRJ_TESTMMPFILES
--- a/lbstest/lbstestproduct/LbsROMspecificSuites/group/ctlbsromsuitetestserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/LbsROMspecificSuites/group/ctlbsromsuitetestserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -34,15 +34,18 @@
 USERINCLUDE	  	../../internal/lbstestutils/inc
 
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
- 
+
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
-
 LIBRARY lbs.lib             // Location Client Library [EPOS LocServer]
 LIBRARY	lbsloccommon.lib
 LIBRARY	lbsadmin.lib
 LIBRARY lbsrootapi.lib
+LIBRARY lbsnetprotocol.lib
 
-LIBRARY lbsnetprotocol.lib
 // LBS test libraries.
 LIBRARY lbstestutils.lib
 LIBRARY lbsnetsim.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/LbsROMspecificSuites/group/ctlbsromsuitetestserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,43 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsromspecificsuites/group/ctlbsromsuitetestserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsromsuitetestserver.exe"-"c:\sys\bin\lbsromsuitetestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsfullrom"
+;
+; test scripts
+"..\scripts\lbsfullromsuite.script"-"c:\testdata\scripts\lbsfullromsuite.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsromspecificsuites\testdata\lbsromspecificsuite.ini"-"c:\testdata\configs\lbsromspecificsuite.ini"
+
+
+; test "lbsstandaloneprivacy"
+;
+; test scripts
+"..\scripts\lbsstandaloneprivacysuite.script"-"c:\testdata\scripts\lbsstandaloneprivacysuite.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsromspecificsuites\testdata\lbsromspecificsuite.ini"-"c:\testdata\configs\lbsromspecificsuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/agpshaivalidate/lbsagpshaiassdata/group/ctlbsagpshaiassdata.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,34 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/agpshaivalidate/lbsagpshaiassdata/group/ctlbsagpshaiassdata.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsagpshaiassdatatestserver.exe"-"c:\sys\bin\lbsagpshaiassdatatestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\CTSuplMolrRealTestServer.exe"-"c:\sys\bin\CTSuplMolrRealTestServer.exe"
+"\epoc32\release\armv5\urel\CTSuplMolrTestServer.exe"-"c:\sys\bin\CTSuplMolrTestServer.exe"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt"-"c:\testdata\configs\lbssupltestconfig.txt"
+
+; test "lbsagpshaivalidate_assisted"
+;
+; test scripts
+"..\scripts\lbsagpshaiassdata.script"-"c:\testdata\scripts\lbsagpshaiassdata.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\agpshaivalidate\lbsagpshaiassdata\testdata\lbsagpshaiassdata.ini"-"c:\testdata\configs\lbsagpshaiassdata.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/agpshaivalidate/lbsagpshaivalidate/group/ctlbsagpshaivalidateserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/agpshaivalidate/lbsagpshaivalidate/group/ctlbsagpshaivalidateserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsagpshaivalidatetestserver.exe"-"c:\sys\bin\lbsagpshaivalidatetestserver.exe"
+
+; TEF server dependencies
+
+; test "lbsagpshaivalidate_autonomous"
+;
+; test scripts
+"..\scripts\lbsagpshaivalidate.script"-"c:\testdata\scripts\lbsagpshaivalidate.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\agpshaivalidate\lbsagpshaivalidate\testdata\lbsagpshaivalidate.ini"-"c:\testdata\configs\lbsagpshaivalidate.ini"
+
--- a/lbstest/lbstestproduct/agpshybridmodule/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/agpshybridmodule/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -13,8 +13,6 @@
 // Description:
 //
 
-#include "../test/group/bld.inf"
-
 PRJ_TESTMMPFILES
 ctagpshybridmodule.mmp
 
--- a/lbstest/lbstestproduct/agpshybridmodule/inc/ctagpshybridmodule.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/agpshybridmodule/inc/ctagpshybridmodule.h	Fri Sep 17 08:37:32 2010 +0300
@@ -125,6 +125,7 @@
 	
 	TTimeIntervalMicroSeconds iTimeOut;
 	TInt iError;
+	TInt iImmediateMeasurements;
 	
 	/** Target time. */
 	TTime iTargetTime;
--- a/lbstest/lbstestproduct/agpshybridmodule/src/ctagpshybridmodule.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/agpshybridmodule/src/ctagpshybridmodule.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -28,6 +28,8 @@
 #include "LbsInternalInterface.h"
 #include "lbsdevloggermacros.h"
 
+#include <lbs/test/tlbsdefs.h>
+#define __ASSERT_ALWAYSX(c,p) (void)((c)||(RDebug::Printf("Assert at line %d in file %s ",__LINE__,__FILE__),p,0));
 
 // Literals Used
 const TInt KAssistanceDataTimeDelay = 1000000;
@@ -41,6 +43,39 @@
 const TInt KDelayUpdateTimerId = 2;
 const TInt KQuickPositionUpdate = 1000;
 
+const TInt KLbsModuleNumOfUpdates = 3;  // Can't be greater than 16
+
+#define POS_LAT                         49.2
+#define POS_LONG                        3.5
+#define POS_ALT                         50.0
+#define POS_HORZ_ACCURACY               2
+#define POS_VERT_ACCURACY               3
+#define SPEED                           26.0
+#define VERTICAL_SPEED                  20.0
+#define HEADING                         25.0
+#define COURSE                          30.0
+#define SPEED_ACCURACY                  2.0
+#define VERTICAL_SPEED_ACCURACY         3.0
+#define HEADING_ACCURACY                10.0    
+#define COURSE_ACCURACY                 4.0
+//TGpsTimingMeasurementData
+#define GPS_TIMING_OF_CELL_MsPart       16383                          
+#define GPS_TIMING_OF_CELL_LsPart       4294967295UL
+#define REFERENCE_IDENTITY              511
+#define SFN                             4095
+//TDetailedErrorReport
+#define SD_OF_LONG_ERROR                5.0 
+#define SD_OF_LAT_ERROR                 6.0
+#define SD_OF_ALT_ERROR                 7.0 
+#define SD_OF_SEMI_MAJOR_AXIS_ERROR     8.0
+#define SD_OF_SEMI_MINOR_AXIS_ERROR     9.0
+#define ORIEN_OF_SEMI_MAJOR_AXIS_ERROR  10.0
+#define RMS_VAL_OF_SD_OF_RANGE          11.0
+
+#define GEOIDAL_SEPARATION              12.0
+#define MAGNETIC_VARIATION              13.0
+#define COURSE_OVER_GROUND_MAGNETIC     14.0
+
 CT_AGpsHybridModule::CT_AGpsHybridModule(MLbsLocationSourceGpsObserver& aObserver)
 	:
 	CLbsLocationSourceGpsBase(aObserver), iGPSModeNotSupported(EFalse)
@@ -98,27 +133,24 @@
 	TInt error = RProperty::Define(KUidSystemCategory, ELbsTestAGpsModuleResetAssistanceDataFlag, RProperty::EInt);
 	error = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleResetAssistanceDataFlag, ELbsTestAGpsResetAssistanceDataNotReceived);
 	// Clear module update log.
+
+    error = RProperty::Define(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag, RProperty::EInt);
+    error = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag, ELbsTestAGpsModuleAssistanceDataExpected);
 	LBSDUMPNEWLOG();
 	}
 
 
-const TInt KLbsModuleNumOfUpdates = 3;	// Can't be greater than 16
-
-#define POS_LAT				49.2
-#define POS_LONG			3.5
-#define POS_ALT				50.0
-#define POS_HORZ_ACCURACY	2
-#define POS_VERT_ACCURACY	3
-
 
 void CT_AGpsHybridModule::PopulateUpdateArrayL()
 	{
 	TLbsModuleUpdateItem* update;
 	TPositionExtendedSatelliteInfo posInfo;
+    TCourse course;
 	TPosition pos;
 	TPositionGpsMeasurementInfo measureInfo;	
 	TPositionGpsMeasurementData measureData;
-	
+    TGpsTimingMeasurementData gpsTimingData;
+    TDetailedErrorReport detailedErrorReport;
 	for (TInt i = 0; i < KLbsModuleNumOfUpdates; i++)
 		{
 		// Create the update.
@@ -130,6 +162,41 @@
 		pos.SetCurrentTime();
 		posInfo.SetPosition(pos);
 
+        // Set Speed and Direction
+        course.SetSpeed(SPEED);
+        course.SetVerticalSpeed(VERTICAL_SPEED);
+        course.SetHeading(HEADING);
+        course.SetSpeedAccuracy(SPEED_ACCURACY);
+        course.SetVerticalSpeedAccuracy(VERTICAL_SPEED_ACCURACY);
+        course.SetHeadingAccuracy(HEADING_ACCURACY);
+        course.SetCourse(COURSE);
+        course.SetCourseAccuracy(COURSE_ACCURACY);
+        posInfo.SetCourse(course);
+        
+        // Set timing assistance measurement data
+        gpsTimingData.SetDataType(TGpsTimingMeasurementData::EGpsTimingDataTypeUtran);
+        gpsTimingData.SetNetworkMode(TGpsTimingMeasurementData::ENetworkModeFdd);
+        gpsTimingData.SetGPSTimingOfCellMsPart(GPS_TIMING_OF_CELL_MsPart);
+        gpsTimingData.SetGPSTimingOfCellLsPart(GPS_TIMING_OF_CELL_LsPart);
+        gpsTimingData.SetReferenceIdentity(REFERENCE_IDENTITY);
+        gpsTimingData.SetSfn(SFN);
+        posInfo.SetGpsTimingData(gpsTimingData);
+                
+        //Set GNSS Pseudorange Error Statistics 
+        detailedErrorReport.SetStanDeviOfLongitudeError(SD_OF_LONG_ERROR);
+        detailedErrorReport.SetStanDeviOfLatiitudeError(SD_OF_LAT_ERROR);
+        detailedErrorReport.SetStanDeviOfAltitudeError(SD_OF_ALT_ERROR);
+        detailedErrorReport.SetStanDeviOfSemiMajorAxisError(SD_OF_SEMI_MAJOR_AXIS_ERROR);
+        detailedErrorReport.SetStanDeviOfSemiMinorAxisError(SD_OF_SEMI_MINOR_AXIS_ERROR);
+        detailedErrorReport.SetOrientationOfSemiMajorAxisError(ORIEN_OF_SEMI_MAJOR_AXIS_ERROR);
+        detailedErrorReport.SetRmsValOfStanDeviOfRange(RMS_VAL_OF_SD_OF_RANGE);
+        posInfo.SetDetailedErrorReport(detailedErrorReport);
+        // Set Geoidal separation
+        posInfo.SetGeoidalSeparation(GEOIDAL_SEPARATION);
+        //Set Magnetic variation
+        posInfo.SetMagneticVariation(MAGNETIC_VARIATION);
+        //Set Course over ground
+        posInfo.SetCourseOverGroundMagnetic(COURSE_OVER_GROUND_MAGNETIC);
 		update->SetPosition(posInfo);				
 		
 		// Set measurement info.
@@ -396,8 +463,15 @@
 		iAssistanceDataRequested = EFalse;
 		iAssistanceDataAvailable = ETrue;
 		
+        // check the assistance data received was part of what was requested
+        if(iOutstandingAssistanceData & aDataMask != aDataMask)
+        	{
+            // NOTE: maybe panic - at the moment log a warning.
+            LBSLOG(ELogP1, "CT_AGpsHybridModule - WARNING assistance data did not verify.\n");
+        	}
 		//Remove the assistance data received from the outstanding mask
-		iOutstandingAssistanceData ^= aDataMask;
+
+        iOutstandingAssistanceData &= ~aDataMask;
 		
 		// Verify the error and the mask
 		if ((aError != KErrNone) || (aDataMask != iOutstandingAssistanceData))
@@ -492,6 +566,23 @@
 				{
 				// Request some simple assistance data.
 				iLocSourceGpsObserver.RequestAssistanceData(iOutstandingAssistanceData);
+				
+				//In some of the tests, Assistance Data is not supplied and position is expected.
+				//There is no way to notify Test client API of assistance data is not delivered so the code
+				//below is a work around for those scenarios - Need to find a better way to do this.
+			    RProperty assDataReqProperty;
+			    User::LeaveIfError(assDataReqProperty.Attach(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag));
+			    TInt assDataReqStatus;
+			    TInt error = assDataReqProperty.Get(assDataReqStatus);
+			    if (error == KErrNone && assDataReqStatus == ELbsTestAGpsModuleAssistanceDataNotExpected)
+			        {
+		            TTime time;
+		                            
+		            time.UniversalTime();
+		            time += TTimeIntervalMicroSeconds(KAssistanceDataTimeDelay);
+		            time += iTimeOut;
+		            iDelayUpdateTimer->SetTimer(time);
+			        }
 				}
 				
 			// Time stamp the request, to enable assistance data time stamp verfication.
@@ -620,6 +711,10 @@
 		TPositionGpsMeasurementInfo measurement = iUpdateArr[iUpdateArrIndex]->Measurement();
 
 		// Determine how and what to deliver.
+		if (iImmediateMeasurements)
+			{
+			measurement.SetPositionCalculationPossible(ETrue);
+			}
 		if (iGpsOptionsType & ELbsGpsOptionsArrayClass)
 			{
 			// ensure or warn 2 == iGpsOptions.NumOptionItems()
@@ -738,6 +833,9 @@
 	TReal64 nanValue = nan;
 			
 	TPosition pos;
+	TCourse course;
+	TDetailedErrorReport detailedErrorReport;
+	TGpsTimingMeasurementData gpsTimingData;
 	TPositionExtendedSatelliteInfo posInfo;
 	
 	pos.SetCoordinate(nanValue, nanValue, nanValue);			
@@ -746,7 +844,41 @@
 	
 	posInfo.SetPosition(pos);
 
-
+	course.SetSpeed(nanValue);
+    course.SetVerticalSpeed(nanValue);
+    course.SetHeading(nanValue);
+    course.SetSpeedAccuracy(nanValue);
+    course.SetVerticalSpeedAccuracy(nanValue);
+    course.SetHeadingAccuracy(nanValue);
+    course.SetCourse(nanValue);
+    course.SetCourseAccuracy(nanValue);
+    posInfo.SetCourse(course);
+    
+    // Set timing assistance measurement data
+    gpsTimingData.SetDataType(TGpsTimingMeasurementData::EGpsTimingDataTypeUtran);
+    gpsTimingData.SetNetworkMode(TGpsTimingMeasurementData::ENetworkModeFdd);
+    gpsTimingData.SetGPSTimingOfCellMsPart(nanValue);
+    gpsTimingData.SetGPSTimingOfCellLsPart(nanValue);
+    gpsTimingData.SetReferenceIdentity(nanValue);
+    gpsTimingData.SetSfn(nanValue);
+    posInfo.SetGpsTimingData(gpsTimingData);
+    
+    
+    //Set GNSS Pseudorange Error Statistics 
+    detailedErrorReport.SetStanDeviOfLongitudeError(nanValue);
+    detailedErrorReport.SetStanDeviOfLatiitudeError(nanValue);
+    detailedErrorReport.SetStanDeviOfAltitudeError(nanValue);
+    detailedErrorReport.SetStanDeviOfSemiMajorAxisError(nanValue);
+    detailedErrorReport.SetStanDeviOfSemiMinorAxisError(nanValue);
+    detailedErrorReport.SetOrientationOfSemiMajorAxisError(nanValue);
+    detailedErrorReport.SetRmsValOfStanDeviOfRange(nanValue);
+    posInfo.SetDetailedErrorReport(detailedErrorReport);
+    // Set Geoidal separation
+    posInfo.SetGeoidalSeparation(nanValue);
+    //Set Magnetic variation
+    posInfo.SetMagneticVariation(nanValue);
+    //Set Course over ground
+    posInfo.SetCourseOverGroundMagnetic(nanValue);
 	// Configure position info.
 
 	// Set base class items.
@@ -845,7 +977,7 @@
 
 void CT_AGpsHybridModule::ProcessImmediateMeasurements(TInt aImmediateMeasurements)
 	{
-	iError = aImmediateMeasurements;	
+	iImmediateMeasurements = aImmediateMeasurements;	
 	}
 
 
--- a/lbstest/lbstestproduct/agpshybridmodule/test/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include "../te_agpshybridmodule/group/bld.inf"
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/group/Te_agpshybridmodulesuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-TARGET		te_agpshybridmodulesuite.exe
-TARGETTYPE	exe
-UID		0x1000007A 0x1028229B
-CAPABILITY	all -TCB
-
-//MACRO LBS_DEV_LOGGER_MACROS_H
-
-
-// Test files
-SOURCEPATH	../src
-SOURCE		Te_agpshybridmoduleSuiteServer.cpp
-SOURCE		Te_agpshybridmoduleSuiteStepBase.cpp
-SOURCE		testmanagerbase.cpp
-
-
-// Test cases.
-SOURCE		assistancedatastep.cpp
-SOURCE		LocationRequestStep.cpp
-
-
-USERINCLUDE		../inc
-USERINCLUDE		../../../inc
-USERINCLUDE	   ../../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-// EPOC
-LIBRARY	euser.lib
-LIBRARY	ecom.lib
-
-// TEF
-LIBRARY	testexecuteutils.lib 
-LIBRARY	testexecutelogclient.lib
-
-// LBS LOGGER
-LIBRARY lbspartnercommon.lib
-LIBRARY	flogger.lib
-
-// LBS
-LIBRARY	lbslocdatasource.lib
-LIBRARY	lbs.lib
-LIBRARY	lbsassistancedata.lib
-
-// LBS TEST
-LIBRARY	lbstestutils.lib
-
-
-
-SMPSAFE
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-../scripts/te_agpshybridmoduleSuite.script		c:/testdata/scripts/te_agpshybridmodulesuite.script
-../testdata/te_agpshybridmoduleSuite.ini		c:/testdata/configs/te_agpshybridmodulesuite.ini
-
-PRJ_TESTMMPFILES
-Te_agpshybridmodulesuite.mmp
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/LocationRequestStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/**
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file LocationRequestStep.h
-*/
-#ifndef LOCATIONREQUESTSTEP_H
-#define LOCATIONREQUESTSTEP_H
-
-#include <test/testexecutestepbase.h>
-
-#include "Te_agpshybridmoduleSuiteStepBase.h"
-#include "testmanagerbase.h"
-
-
-//************************************************************************************************************
-//   CTestManagerLocReqStep
-//************************************************************************************************************
-class CTestManagerLocReqStep : public CTestManagerBase
-	{
-public:
-	static CTestManagerLocReqStep* NewL();
-	~CTestManagerLocReqStep();
-
-	void RunL();
-
-	// MT_ResponseObserver
-	void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-	
-protected:
-	CTestManagerLocReqStep();
-	void ConstructL();
-	
-private:
-	TBool iMultiUpdateOnDone;
-	};
-
-
-//************************************************************************************************************
-//   CLocationRequestStep
-//************************************************************************************************************
-class CLocationRequestStep : public CTe_agpshybridmoduleSuiteStepBase
-	{
-public:
-	CLocationRequestStep();
-	~CLocationRequestStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-private:
-	CTestManagerLocReqStep* iTestManager;
-	};
-
-_LIT(KLocationRequestStep,"LocationRequestStep");
-
-#endif	//	LOCATIONREQUESTSTEP_H
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/Te_agpshybridmoduleSuiteServer.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TE_AGPSHYBRIDMODULESERVER_H
-#define TE_AGPSHYBRIDMODULESERVER_H
-
-#include <test/testexecuteserverbase.h>
-
-class CTe_agpshybridmoduleSuite : public CTestServer
-	{
-public:
-	static CTe_agpshybridmoduleSuite* NewL();
-	// Base class pure virtual override
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	};
-
-#endif // TE_AGPSHYBRIDMODULESERVER_H
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/Te_agpshybridmoduleSuiteStepBase.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TE_AGPSHYBRIDMODULESUITESTEPBASE_H
-#define TE_AGPSHYBRIDMODULESUITESTEPBASE_H
-
-#include <test/testexecutestepbase.h>
-
-class CTe_agpshybridmoduleSuiteStepBase : public CTestStep
-	{
-public:
-	virtual ~CTe_agpshybridmoduleSuiteStepBase();
-	CTe_agpshybridmoduleSuiteStepBase();
-	virtual TVerdict doTestStepPreambleL(); 
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	HBufC8*				iReadData;
-	HBufC8*				iWriteData;
-	CActiveScheduler* 	iRootScheduler;
-	};
-
-#endif	//	TE_AGPSHYBRIDMODULESUITESTEPBASE_H
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/assistancedatastep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/**
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file AssistanceDataStep.h
-*/
-#ifndef ASSISTANCEDATASTEP_H
-#define ASSISTANCEDATASTEP_H
-
-#include <test/testexecutestepbase.h>
-
-#include "Te_agpshybridmoduleSuiteStepBase.h"
-#include "testmanagerbase.h"
-
-
-//************************************************************************************************************
-//   CTestManagerAssistDataStep
-//************************************************************************************************************
-class CTestManagerAssistDataStep : public CTestManagerBase
-	{
-public:
-	static CTestManagerAssistDataStep* NewL();
-	~CTestManagerAssistDataStep();
-
-	void RunL();
-
-	// MT_ResponseObserver
-	void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-	
-protected:
-	CTestManagerAssistDataStep();
-	void ConstructL();
-
-private:
-	TBool iAssistDataOnDone;
-	
-	// assistance data reader/builder... set to ref time, so we can verify, copy data provider...
-	};
-
-
-//************************************************************************************************************
-//   CAssistanceDataStep
-//************************************************************************************************************
-class CAssistanceDataStep : public CTe_agpshybridmoduleSuiteStepBase
-	{
-public:
-	CAssistanceDataStep();
-	~CAssistanceDataStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-private:
-	CTestManagerAssistDataStep* iTestManager;
-	};
-
-_LIT(KAssistanceDataStep,"AssistanceDataStep");
-
-#endif	// ASSISTANCEDATASTEP_H
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/inc/testmanagerbase.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TESTMANAGERBASE_H
-#define TESTMANAGERBASE_H
-
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <lbs/test/ctlbsagpshandler.h>
-
-const TUid	KAGpsHybridModuleUid	= {0x1028228E};
-
-//************************************************************************************************************
-//   CTestManagerBase
-//************************************************************************************************************
-class CTestManagerBase : public CTimer, public MLbsLocationSourceGpsObserver, MT_ResponseObserver 
-	{
-public:
-	~CTestManagerBase();
-	
-	//from MLbsLocationSourceGpsObserver
-	virtual void UpdateLocation(TInt aStatus, const TPositionInfoBase* aPosInfoArray[], TInt aNumItems, const TTime& aTargetTime);
-  	virtual void UpdateDeviceStatus(TPositionModuleStatus::TDeviceStatus aDeviceStatus);
-  	virtual void UpdateDataQualityStatus(TPositionModuleStatus::TDataQualityStatus aDataQuality);
-	virtual TInt GetAssistanceDataItem(TLbsAssistanceDataItem aItem, RDataReaderRootBase& aDataRoot, TTime& aTimeStamp);
-	virtual TInt GetAssistanceDataItemTimeStamp(TLbsAssistanceDataItem aItem, TTime& aTimeStamp);
-	virtual void RequestAssistanceData(TLbsAsistanceDataGroup aDataItemMask);
-  	virtual void Shutdown();
-
-	// from MT_ResponseObserver
-	virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-
-protected:
-	CTestManagerBase();
-	void ConstructL();
-	
-	void CompleteSelf(TInt aReason = KErrNone);
-	
-	void RequestLocation();
-	void CheckLocationUpdateReceived();
-	
-protected:
-	TBool 	iShutdown;
-	TBool	iInitDone;
-	TBool	iUpdateReceived;
-	TInt	iRequestCounter;
-	TBool	iExpectNanPosition;
-
-	TTime 						iTargetTime;
-	TLbsLocRequestQuality 		iQuality;
-	TLbsGpsOptionsArray 		iGpsOptions;
-	
-	CLbsLocationSourceGpsBase* iModule;
-
-	// Communication channel between A-Gps module and Test Harness
-	CT_LbsAGpsHandler* iAGpsHandler;
-	};
-
-
-#endif	//	TESTMANAGERBASE_H
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/scripts/te_agpshybridmoduleSuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-//
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-//
-PRINT Run all te_agpshybridmodule Suite Tests
-
-//
-LOAD_SUITE te_agpshybridmoduleSuite
-//
-
-START_TESTCASE LBS-AgpsHybrid-LocationRequest-0001
-//!@SYMTestCaseID	LBS-AgpsHybrid-LocationRequest-0001
-RUN_TEST_STEP 1500 te_agpshybridmoduleSuite LocationRequestStep
-END_TESTCASE LBS-AgpsHybrid-LocationRequest-0001
-
-
-START_TESTCASE LBS-AgpsHybrid-AssistanceData-0001
-//!@SYMTestCaseID	LBS-AgpsHybrid-AssistanceData-0001
-RUN_TEST_STEP 1500 te_agpshybridmoduleSuite AssistanceDataStep
-END_TESTCASE LBS-AgpsHybrid-AssistanceData-0001
-
-PRINT Complete te_agpshybridmodule Suite Tests
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/LocationRequestStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,305 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file LocationRequestStep.cpp
-*/
-
-// Project
-#include "lbsdevloggermacros.h"
-
-// LBS Test
-#include <lbs/test/tlbsutils.h>
-#include "LocationRequestStep.h"
-
-
-_LIT(KFileName, "c:\\testdata\\configs\\te_agpshybridmoduleSuite.ini");
-_LIT(KSection, "section0");
-
-
-//************************************************************************************************************
-//   CTestManagerLocReqStep
-//************************************************************************************************************
-CTestManagerLocReqStep* CTestManagerLocReqStep::NewL()
-   {
-	CTestManagerLocReqStep* self = new(ELeave) CTestManagerLocReqStep();
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-   };
-
-
-//------------------------------------------------------------------------------------------------------------
-CTestManagerLocReqStep::CTestManagerLocReqStep()
-	:CTestManagerBase()
-	{
-	CActiveScheduler::Add(this);
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerLocReqStep::ConstructL()
-	{
-	CTestManagerBase::ConstructL();
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-CTestManagerLocReqStep::~CTestManagerLocReqStep()
-	{
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerLocReqStep::RunL()
-	{
-	if (iShutdown)
-		{
-		CActiveScheduler::Stop();
-		return;
-		}
-
-	if (!iInitDone)
-		{
-		// Now publish the file and section names to the module, to inform the module it has to
-		// carry out a re-read of the ini file.
-		iAGpsHandler->SendRequestUpdateInitMsg(KFileName, KSection);		
-		}
-	
-	else
-		{
-		// Test Actions
-		// Single request with normal gps options.
-		if (iRequestCounter == 0)
-			// Start using a real time from now on
-			{
-			// Set gps options.
-			TLbsGpsOptions gpsOptions;
-			
-			iModule->SetGpsOptions(gpsOptions); // Note it's important we pass the old version (TLbsGpsOptions) of the options for this test
-			
-			// Also setup the test gps options, for verification.
-			iGpsOptions.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-			iGpsOptions.ClearOptionItems();
-			}
-
-		// Single request with new gps options. Options of position first, measurement second.
-		else if (iRequestCounter == 1)
-			{
-			// Check previous update.
-			CheckLocationUpdateReceived();
-			
-			// Set gps options. 
-			TLbsGpsOptionsItem optionsItem;
-
-			iGpsOptions.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-			iGpsOptions.ClearOptionItems();
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			iModule->SetGpsOptions(iGpsOptions);
-			}
-
-		// Single request with new gps options. Options of measurent first position second.
-		else if (iRequestCounter == 2)
-			{
-			// Check previous update.
-			CheckLocationUpdateReceived();
-			
-			// Set gps options. 
-			TLbsGpsOptionsItem optionsItem;
-
-			iGpsOptions.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-			iGpsOptions.ClearOptionItems();
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			iModule->SetGpsOptions(iGpsOptions);
-			}
-
-
-		// Multi-update test starts here.
-		else if ((iRequestCounter >= 3) && (iRequestCounter <= 5))
-			{
-			// Switch on multi-update module option.
-			if (!iMultiUpdateOnDone)
-				{
-				iAGpsHandler->SendRequestModuleOption(ELbsHybridModuleOptions_MultiUpdatesOn, ETrue);
-				
-				return;
-				}
-				
-			// First request.
-			else if (iRequestCounter == 3)
-				{
-				// now do update...
-				
-				// then we get 3 results, as a result fo the request at the bottom, ensure we
-				// don't keep re-requesting...
-
-				// Check previous update.
-				CheckLocationUpdateReceived();
-				
-				// Set gps options. 
-				TLbsGpsOptionsItem optionsItem;
-
-				iGpsOptions.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-				iGpsOptions.ClearOptionItems();
-
-				optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-				iGpsOptions.AppendOptionItem(optionsItem);
-
-				optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-				iGpsOptions.AppendOptionItem(optionsItem);
-
-				iModule->SetGpsOptions(iGpsOptions);
-				
-				// Set quality.
-				TTimeIntervalMicroSeconds maxFixTime(10000000); // 10 secs.
-				TLbsLocRequestQuality quality;
-
-				iQuality.SetMaxFixTime(maxFixTime);
-				}
-				
-			// Remaining requests.
-			else
-				{
-				// Check previous update.
-				CheckLocationUpdateReceived();
-
-				// Dummy request.
-				iRequestCounter++;
-				
-				return;
-				}
-			}
-
-		// Stop
-		else if (iRequestCounter == 6)
-			{
-			// Check previous update.
-			CheckLocationUpdateReceived();
-			
-			// Shutdown module which invokes test end.
-			iModule->AdvisePowerMode(CLbsLocationSourceGpsBase::EPowerModeClose);
-			return;
-			}
-
-		else
-			{
-			User::Leave(KErrGeneral);
-			}
-
-		RequestLocation();
-		}
-	}
-
-void CTestManagerLocReqStep::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (!iInitDone)
-		{
-		iInitDone = ETrue;
-		}
-	else
-		{
-		iMultiUpdateOnDone = ETrue;
-		}
-
-	CTestManagerBase::ProcessAGpsResponseMessage(aResponse);	
-	}	
-	
-	
-//************************************************************************************************************
-// CLocationRequestStep
-//************************************************************************************************************
-CLocationRequestStep::~CLocationRequestStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CLocationRequestStep::CLocationRequestStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KLocationRequestStep);
-	}
-
-TVerdict CLocationRequestStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Test Preamble. Creating the Main Logic"));
-	LBSNEWLOG(">>>>>>>>>>>>>>>>> A-GPS Hybrid Module Main Unit Test Started >>>>>>>>>>>>>>>>>");
-
-	__UHEAP_MARK;
-
-	iTestManager = CTestManagerLocReqStep::NewL();
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CLocationRequestStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		CActiveScheduler::Start();
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-TVerdict CLocationRequestStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	LBSLOG(ELogP5, "<<<<<<<<<<<<<<<<< A-GPS Hybrid Module Unit Test Terminating <<<<<<<<<<<<<<<<<");
-	INFO_PRINTF1(_L("Test Postamble. Deleting the module"));
-
-	delete iTestManager;
-	iTestManager = NULL;
-	
-	__UHEAP_MARKEND;
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/Te_agpshybridmoduleSuiteServer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the agpshybridmodule suite Test Server
-// 
-//
-
-#include "Te_agpshybridmoduleSuiteServer.h"
-#include "assistancedatastep.h"
-#include "LocationRequestStep.h"
-
-_LIT(KServerName,"Te_agpshybridmoduleSuite");
-
-CTe_agpshybridmoduleSuite* CTe_agpshybridmoduleSuite::NewL()
-/**
- * @return - Instance of the test server
- * Same code for Secure and non-secure variants
- * Called inside the MainL() function to create and start the
- * CTestServer derived server.
- */
-	{
-	CTe_agpshybridmoduleSuite * server = new (ELeave) CTe_agpshybridmoduleSuite();
-	CleanupStack::PushL(server);
-
-	server->ConstructL(KServerName);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-// Secure variants much simpler
-// For EKA2, just an E32Main and a MainL()
-LOCAL_C void MainL()
-/**
- * Secure variant
- * Much simpler, uses the new Rendezvous() call to sync with the client
- */
-	{
-	// Leave the hooks in for platform security
-#if (defined __DATA_CAGING__)
-	RProcess().DataCaging(RProcess::EDataCagingOn);
-	RProcess().DataCaging(RProcess::ESecureApiOn);
-#endif
-	CActiveScheduler* sched=NULL;
-	sched=new(ELeave) CActiveScheduler;
-	CActiveScheduler::Install(sched);
-	CTe_agpshybridmoduleSuite* server = NULL;
-	// Create the CTestServer derived server
-	TRAPD(err,server = CTe_agpshybridmoduleSuite::NewL());
-	if(!err)
-		{
-		// Sync with the client and enter the active scheduler
-		RProcess::Rendezvous(KErrNone);
-		sched->Start();
-		}
-	delete server;
-	delete sched;
-	}
-
-
-
-GLDEF_C TInt E32Main()
-/**
- * @return - Standard Epoc error code on process exit
- * Secure variant only
- * Process entry point. Called by client using RProcess API
- */
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-	TRAPD(err,MainL());
-	delete cleanup;
-	__UHEAP_MARKEND;
-	return err;
-    }
-
-
-
- CTestStep* CTe_agpshybridmoduleSuite::CreateTestStep(const TDesC& aStepName)
-/**
- * @return - A CTestStep derived instance
- * Secure and non-secure variants
- * Implementation of CTestServer pure virtual
- */
-	{
-	CTestStep* testStep = NULL;
-
-	if(aStepName == KLocationRequestStep)
-		{
-		testStep = new CLocationRequestStep();
-		}
-		                   
-	else if (aStepName == KAssistanceDataStep)
-		{
-		testStep = new CAssistanceDataStep();
-		}
-
-	return testStep;
-	}
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/Te_agpshybridmoduleSuiteStepBase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the agpshybridmodule suite Test Server
-// 
-//
-
-#include "Te_agpshybridmoduleSuiteStepBase.h"
-
-TVerdict CTe_agpshybridmoduleSuiteStepBase::doTestStepPreambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-	{
-	// process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CTe_agpshybridmoduleSuiteStepBase::doTestStepPostambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-	{
-	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-CTe_agpshybridmoduleSuiteStepBase::~CTe_agpshybridmoduleSuiteStepBase()
-	{
-	delete iRootScheduler;
-	}
-
-CTe_agpshybridmoduleSuiteStepBase::CTe_agpshybridmoduleSuiteStepBase()
-	{
-	iRootScheduler = new CActiveScheduler;
-	CActiveScheduler::Install(iRootScheduler);
-	}
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/assistancedatastep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,226 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file LocationRequestStep.cpp
-*/
-
-// LBS Project
-#include "lbsdevloggermacros.h"
-
-// LBS Test
-#include <lbs/test/tlbsutils.h>
-#include "assistancedatastep.h"
-
-
-_LIT(KFileName, "c:\\testdata\\configs\\te_agpshybridmoduleSuite.ini");
-_LIT(KSection, "section0");
-
-//************************************************************************************************************
-//   CTestManagerLocReqStep
-//************************************************************************************************************
-CTestManagerAssistDataStep* CTestManagerAssistDataStep::NewL()
-   {
-	CTestManagerAssistDataStep* self = new(ELeave) CTestManagerAssistDataStep();
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-   };
-
-
-//------------------------------------------------------------------------------------------------------------
-CTestManagerAssistDataStep::CTestManagerAssistDataStep()
-	:CTestManagerBase()
-	{
-	CActiveScheduler::Add(this);
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerAssistDataStep::ConstructL()
-	{
-	CTestManagerBase::ConstructL();
-	
-	iAssistDataOnDone = EFalse;
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-CTestManagerAssistDataStep::~CTestManagerAssistDataStep()
-	{
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerAssistDataStep::RunL()
-	{
-	if (iShutdown)
-		{
-		CActiveScheduler::Stop();
-		return;
-		}
-
-	// Setup module update data.
-	if (!iInitDone)
-		{
-		// Now publish the file and section names to the module, to inform the module it has to
-		// carry out a re-read of the ini file.
-		iAGpsHandler->SendRequestUpdateInitMsg(KFileName, KSection);
-		}
-		
-	// Switch on assistance data within the module.
-	else if (!iAssistDataOnDone)
-		{
-		iAGpsHandler->SendRequestModuleOption(ELbsHybridModuleOptions_AssistanceDataOn, ETrue);
-		}
-		
-	else
-		{
-		// Test Actions
-		// Single request with new gps options. Options of measurent first position second.
-		if (iRequestCounter == 0)
-			// Start using a real time from now on
-			{
-			// Set gps options.
-			TLbsGpsOptionsItem optionsItem;
-			
-			iGpsOptions.SetGpsMode(CLbsAdmin::EGpsPreferTerminalBased);
-			iGpsOptions.ClearOptionItems();
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			optionsItem.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-			iGpsOptions.AppendOptionItem(optionsItem);
-
-			iModule->SetGpsOptions(iGpsOptions);
-			
-			// Since Assistance is On and we are in PreferTerminal mode
-			// set this flag to let the test manager know we are not interested in the initial partial update.
-			iExpectNanPosition = ETrue;
-			}
-
-		// Stop
-		else if (iRequestCounter == 1)
-			{
-			// Check previous update.
-			CheckLocationUpdateReceived();
-			
-			// Shutdown module which invokes test end.
-			iModule->AdvisePowerMode(CLbsLocationSourceGpsBase::EPowerModeClose);
-			return;
-			}
-		else
-			{
-			User::Leave(KErrGeneral);
-			}
-
-		RequestLocation();
-		}
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerAssistDataStep::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (!iInitDone)
-		{
-		iInitDone = ETrue;
-		}
-	else
-		{
-		iAssistDataOnDone = ETrue;
-		}
-		
-	CTestManagerBase::ProcessAGpsResponseMessage(aResponse);	
-	}
-
-
-
-//************************************************************************************************************
-// CAssistanceDataStep
-//************************************************************************************************************
-CAssistanceDataStep::~CAssistanceDataStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CAssistanceDataStep::CAssistanceDataStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KAssistanceDataStep);
-	}
-
-TVerdict CAssistanceDataStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Test Preamble. Creating the Main Logic"));
-	LBSNEWLOG(">>>>>>>>>>>>>>>>> A-GPS Hybrid Module Main Logic Assistance Data Unit Test Started >>>>>>>>>>>>>>>>>");
-
-	__UHEAP_MARK;
-
-	iTestManager = CTestManagerAssistDataStep::NewL();
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CAssistanceDataStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		// Carry out the test.
-		CActiveScheduler::Start();
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-TVerdict CAssistanceDataStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	LBSLOG(ELogP5, "<<<<<<<<<<<<<<<<< A-GPS Hybrid Module Assistance Data Unit Test Terminating <<<<<<<<<<<<<<<<<");
-	INFO_PRINTF1(_L("Test Postamble. Deleting the module"));
-
-	delete iTestManager;
-	iTestManager = NULL;
-	
-	__UHEAP_MARKEND;
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/src/testmanagerbase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,395 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// System
-#include <ecom/ecom.h> 
-
-// Project
-#include "lbsdevloggermacros.h"
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS Test
-#include <lbs/test/tlbsutils.h>
-#include "testmanagerbase.h"
-
-_LIT(KTestMgrBase, "TestManagerBase");
-_LIT(KTimeFormat, "%H:%T:%S.%C");
-
-const TReal32						KTargetAccuracy		= 100;		// 100 metres
-const TTimeIntervalMicroSeconds32	KFirstRequestAfter	= 1000000;	//1s
-
-//************************************************************************************************************
-//   CTestManagerBase
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-CTestManagerBase::CTestManagerBase()
-	:CTimer(CActive::EPriorityHigh),
-	iShutdown(EFalse),
-	iInitDone(EFalse),
-	iUpdateReceived(EFalse),
-	iRequestCounter(0),
-	iExpectNanPosition(EFalse),
-	iTargetTime(0),
-	iModule(NULL)
-	{
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::ConstructL()
-	{
-	CTimer::ConstructL();
-
-	iModule = CLbsLocationSourceGpsBase::NewL(*this, KAGpsHybridModuleUid);
-
-	// create the test channel handler
-	iAGpsHandler = CT_LbsAGpsHandler::NewL(this);
-
-	After(KFirstRequestAfter);
-	}
-
-//------------------------------------------------------------------------------------------------------------
-CTestManagerBase::~CTestManagerBase()
-	{
-	delete iAGpsHandler;
-	iAGpsHandler = NULL;
-
-	delete iModule;
-	REComSession::FinalClose();
-	iModule = NULL;
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::CompleteSelf(TInt aReason)
-	{
-	TRequestStatus* pStat = &iStatus;
-	   
-	User::RequestComplete(pStat, aReason);
-	SetActive();
-	}
-
-//------------------------------------------------------------------------------------------------------------	
-void CTestManagerBase::RequestLocation()
-	{
-	TInt err = KErrNone;
-
-	// Set quality here
-	iQuality.SetMinHorizontalAccuracy(KTargetAccuracy);
-	iQuality.SetMinVerticalAccuracy(KTargetAccuracy);
-
-	iTargetTime.UniversalTime();
-	
-	// Logging
-	TBuf<100> tTimeStr;
-	TRAP(err, iTargetTime.FormatL(tTimeStr, KTimeFormat);)
-	if(err)
-		User::Panic(KTestMgrBase, err);
-	
-	LBSLOG(ELogP1, "");
-	LBSLOG3(ELogP5, "NEW TEST: Requesting Location[%d]. Target Time: %S.\n", iRequestCounter, &tTimeStr);
-	
-	// Request
-	iModule->RequestLocationUpdate(iTargetTime, iQuality);
-	iUpdateReceived = EFalse;
-	iRequestCounter++;	
-	}
-	
-//------------------------------------------------------------------------------------------------------------	
-void CTestManagerBase::CheckLocationUpdateReceived()
-	{
-	// Was update received
-	if (iUpdateReceived == EFalse)
-		{
-		LBSLOG_ERR(ELogP5, "NEW TEST: Location Update not received\n");
-		
-		TInt err = KErrNone;
-		
-		TRAP(err, User::Leave(KErrGeneral);)
-		if(err)
-			User::Panic(KTestMgrBase, err);
-		}
-		
-	iUpdateReceived = EFalse;
-	}
-
-
-//************************************************************************************************************
-//   From MLbsLocationSourceGpsObserver
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::UpdateLocation(TInt aStatus, const TPositionInfoBase* aPosInfoArray[], TInt aNumItems, const TTime& aTargetTime)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Location Update Received");
-
-	if (iExpectNanPosition)
-	{
-		iExpectNanPosition = EFalse;
-		return;
-	}
-
-	iUpdateReceived = ETrue;
-	
-
-	TInt err = KErrNone;
-	const TPositionSatelliteInfo* posInfo = NULL;
-
-
-	// Determine is measurements are present. We are making the assumption that if the option arr is empty with have no measurements.
-	TInt numUpdates = iGpsOptions.NumOptionItems();
-
-	// No measurements present. Position only available at index 0.
-	if (numUpdates == 0) 
-		{
-		posInfo = reinterpret_cast<const TPositionSatelliteInfo*>(aPosInfoArray[0]);
-		numUpdates++;
-		}
-
-	// Measurements should be present.
-	else if (numUpdates == 2)
-		{
-		const TPositionGpsMeasurementInfo* measurement = NULL;
-
-		// Determine/access measurement and position data.
-		for (TInt i = 0; i < numUpdates; i++)
-			{
-			TLbsGpsOptionsItem item;
-
-			// Decide which data to deliver, either measurement or position.
-			err = iGpsOptions.GetOptionItem(i, item);
-
-			if (err == KErrNone)
-				{
-				switch (item.PosUpdateType())
-					{
-					case TLbsGpsOptionsItem::EPosUpdateCalculation:
-						{
-						posInfo = reinterpret_cast<const TPositionSatelliteInfo*>(aPosInfoArray[i]);
-						}
-						break;
-					
-					case TLbsGpsOptionsItem::EPosUpdateMeasurement:
-						{
-						measurement = reinterpret_cast<const TPositionGpsMeasurementInfo*>(aPosInfoArray[i]);
-						}
-						break;
-					
-					default:
-						{
-						// err or something
-						err = KErrNotSupported;
-						}
-						break;
-					}
-				}
-			}
-
-		// Check measurment is correct type.
-		if (measurement->PositionClassType() != EPositionGpsMeasurementInfoClass)
-			{
-			LBSLOG_ERR2(ELogP5, "Measurement type is: %d\n", measurement->PositionClassType());
-			User::Panic(KTestMgrBase, KErrGeneral);
-			}
-		}
-
-	else
-		{
-		err = KErrNotSupported;
-		}
-
-	// Update err check
-	if (err)
-		{
-		LBSLOG_ERR2(ELogP5, "Update arr processing err is: %d\n", err);			
-		User::Panic(KTestMgrBase, err);
-		}
-
-	// Check posinfo is correct type.
-	if (!(posInfo->PositionClassType() & EPositionSatelliteInfoClass))
-		{
-		LBSLOG_ERR2(ELogP5, "Position type is: %d\n", posInfo->PositionClassType());
-		User::Panic(KTestMgrBase, KErrGeneral);
-		}
-
-
-	// Accuracy check
-	TPosition position;
-
-	posInfo->GetPosition(position);
-	TReal32 horAccur = position.HorizontalAccuracy();
-	TReal32 vertAccur = position.VerticalAccuracy();
-
-
-	// Logging
-	TInt minHorAccurInt = iQuality.MinHorizontalAccuracy();
-	TInt minVertAccurInt = iQuality.MinVerticalAccuracy();
-
-	LBSLOG5(ELogP5, "Location Update Received. Accuracy %d/%d [%d/%d]\n", horAccur, vertAccur, minHorAccurInt, minVertAccurInt);
-
-
-	// Status check.
-	if (aStatus != KErrNone)
-		{
-		LBSLOG_ERR2(ELogP5, "aStatus is: %d\n", aStatus);
-		User::Panic(KTestMgrBase, KErrGeneral);
-		}
-
-	// Number of updates got check.
-	if (aNumItems != numUpdates)
-		{
-		LBSLOG_ERR2(ELogP5, "aNumItems is: %d\n", aNumItems);
-		User::Panic(KTestMgrBase, KErrGeneral);
-		}
-
-	// Target time check.
-	if (aTargetTime != iTargetTime)
-		{
-		LBSLOG_ERR(ELogP5, "NEW TEST: aTargetTime != iTargetTime\n");
-		User::Panic(KTestMgrBase, KErrGeneral);
-		}
-
-	// Quality check and end of validation.
-	if (((Math::IsNaN(horAccur) && Math::IsNaN(vertAccur))) ||
-		((horAccur <= iQuality.MinHorizontalAccuracy()) &&
-		(vertAccur <= iQuality.MinVerticalAccuracy())))
-		{
-		Cancel();
-		CompleteSelf();
-		}
-
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::UpdateDeviceStatus(TPositionModuleStatus::TDeviceStatus aDeviceStatus)
-	{
-	(void)aDeviceStatus;
-	
-	LBSLOG2(ELogP5, "NEW TEST: <Device Status Update Received: %d", aDeviceStatus);
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::UpdateDataQualityStatus(TPositionModuleStatus::TDataQualityStatus aDataQuality)
-	{
-	(void)aDataQuality;
-	
-	LBSLOG2(ELogP5, "NEW TEST: <Quality Status Update Received: %d", aDataQuality);
-	}
-
-//------------------------------------------------------------------------------------------------------------
-TInt CTestManagerBase::GetAssistanceDataItem(TLbsAssistanceDataItem aItem, RDataReaderRootBase& aDataRoot, TTime& aTimeStamp)
-	{
-	TInt err = KErrNone;
-	
-	LBSLOG(ELogP1, "NEW TEST: <Get Assistance Data Item Received");
-
-	if (aItem == EAssistanceDataReferenceTime)
-		{
-		// so we have a builder set
-		RLbsAssistanceDataBuilderSet dataBuilderSet;
-		
-		TRAP(err, dataBuilderSet.OpenL());
-		
-		// access the ref time builder
-		RUEPositioningGpsReferenceTimeBuilder* refTimeBuilder = NULL;
-
-		dataBuilderSet.GetDataBuilder(refTimeBuilder);
-		if (refTimeBuilder)
-			{
-			refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsWeek, KAssistanceData_RefTime_Week);
-			refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsTow1Msec, KAssistanceData_RefTime_Tow1MSec);
-
-			// Time stamp the data.
-			aTimeStamp.UniversalTime();
-
-			refTimeBuilder->SetTimeStamp(aTimeStamp);
-
-			// populate the reader from the builder
-			aDataRoot.DataBuffer() = refTimeBuilder->DataBuffer();
-			
-			dataBuilderSet.Close();
-			}
-			
-		else
-			{
-			err = KErrNoMemory;	
-			}
-		}
-	
-	else
-		{
-		err = KErrNotSupported;		
-		}	
-
-
-	return err;
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-TInt CTestManagerBase::GetAssistanceDataItemTimeStamp(TLbsAssistanceDataItem /*aItem*/, TTime& /*aTimeStamp*/)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Get Assistance Data Item Time Stamp Received");
-
-	return KErrNotSupported;
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::RequestAssistanceData(TLbsAsistanceDataGroup aDataItemMask)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Request Assistance Data Received");
-
-	// Only support reference time.
-	if (aDataItemMask == EAssistanceDataReferenceTime)
-		{
-		iModule->AssistanceDataEvent(KErrNone, EAssistanceDataReferenceTime);
-		}
-		
-	else if (aDataItemMask == 0)
-		{
-		return;		
-		}
-		
-	else
-		{
-		iModule->AssistanceDataEvent(KErrNotSupported, aDataItemMask);
-		}
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::Shutdown()
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Shutdown Received");
-
-	iShutdown = ETrue;
-	
-	Cancel();
-	CompleteSelf();
-	}
-
-//************************************************************************************************************
-//   From MT_ResponseObserver
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-void CTestManagerBase::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Process AGps Response Message Received");
-
-	if (TT_LbsAGpsResponseMsg::EModuleResponseOk != aResponse)
-		{
-		CompleteSelf(KErrArgument);
-		}
-	else
-		{
-		CompleteSelf(KErrNone);
-		}
-	}
--- a/lbstest/lbstestproduct/agpshybridmodule/test/te_agpshybridmodule/testdata/te_agpshybridmoduleSuite.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[section0]
-
-$update,1,2,50.2454,0.1668,1.0,100,100*
-$update,1,4,51.2454,0.1668,1.0,100,100*
-$update,1,3,52.2454,0.1668,1.0,100,100*
-$update,1,2,53.2454,0.1668,1.0,100,100*
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include "../npetestclientapi/group/bld.inf"
-#include "../npetestintegmodule/group/bld.inf"
-
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/bwins/npetestclientapiu.def	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-EXPORTS
-	?DeleteAssistanceData@CNpeApi@@QAEXK@Z @ 1 NONAME ; void CNpeApi::DeleteAssistanceData(unsigned long)
-	?AdvisePowerMode@CNpeApi@@QAEXW4TNpePowerMode@@@Z @ 2 NONAME ; void CNpeApi::AdvisePowerMode(enum TNpePowerMode)
-	??1CNpeApi@@UAE@XZ @ 3 NONAME ; CNpeApi::~CNpeApi(void)
-	?NewL@CNpeApi@@SAPAV1@PAVMNpeObserver@@@Z @ 4 NONAME ; class CNpeApi * CNpeApi::NewL(class MNpeObserver *)
-	?Version@CNpeApi@@QAEXAAVTVersion@@@Z @ 5 NONAME ; void CNpeApi::Version(class TVersion &)
-	?ExtendedInterface@CNpeApi@@UAEPAXHPAX0@Z @ 6 NONAME ; void * CNpeApi::ExtendedInterface(int, void *, void *)
-	?CancelPositionRequest@CNpeApi@@QAEXXZ @ 7 NONAME ; void CNpeApi::CancelPositionRequest(void)
-	?SetGpsOptions@CNpeApi@@QAEXW4TNpeGpsMode@@H@Z @ 8 NONAME ; void CNpeApi::SetGpsOptions(enum TNpeGpsMode, int)
-	?SetClientUsage@CNpeApi@@QAEXW4TNpeClientInfo@@@Z @ 9 NONAME ; void CNpeApi::SetClientUsage(enum TNpeClientInfo)
-	?PositionRequest@CNpeApi@@QAEXABVTTime@@HHH@Z @ 10 NONAME ; void CNpeApi::PositionRequest(class TTime const &, int, int, int)
-	?NewLC@CNpeApi@@SAPAV1@PAVMNpeObserver@@@Z @ 11 NONAME ; class CNpeApi * CNpeApi::NewLC(class MNpeObserver *)
-	?DeliverAssistanceData@CNpeApi@@QAEXKAAVRLbsAssistanceDataReaderSet@@@Z @ 12 NONAME ; void CNpeApi::DeliverAssistanceData(unsigned long, class RLbsAssistanceDataReaderSet &)
-
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/eabi/npetestclientapiu.def	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-EXPORTS
-	_ZN7CNpeApi13SetGpsOptionsE11TNpeGpsModei @ 1 NONAME
-	_ZN7CNpeApi14SetClientUsageE14TNpeClientInfo @ 2 NONAME
-	_ZN7CNpeApi15AdvisePowerModeE13TNpePowerMode @ 3 NONAME
-	_ZN7CNpeApi15PositionRequestERK5TTimeiii @ 4 NONAME
-	_ZN7CNpeApi17ExtendedInterfaceEiPvS0_ @ 5 NONAME
-	_ZN7CNpeApi20DeleteAssistanceDataEm @ 6 NONAME
-	_ZN7CNpeApi21CancelPositionRequestEv @ 7 NONAME
-	_ZN7CNpeApi21DeliverAssistanceDataEmR27RLbsAssistanceDataReaderSet @ 8 NONAME
-	_ZN7CNpeApi4NewLEP12MNpeObserver @ 9 NONAME
-	_ZN7CNpeApi5NewLCEP12MNpeObserver @ 10 NONAME
-	_ZN7CNpeApi7VersionER8TVersion @ 11 NONAME
-	_ZN7CNpeApiD0Ev @ 12 NONAME
-	_ZN7CNpeApiD1Ev @ 13 NONAME
-	_ZN7CNpeApiD2Ev @ 14 NONAME
-	_ZTI11CNpeApiImpl @ 15 NONAME
-	_ZTI21CT_TestHarnessHandler @ 16 NONAME
-	_ZTI7CNpeApi @ 17 NONAME
-	_ZTV11CNpeApiImpl @ 18 NONAME
-	_ZTV21CT_TestHarnessHandler @ 19 NONAME
-	_ZTV7CNpeApi @ 20 NONAME
-
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-#include "../test/group/bld.inf"
-
-
-PRJ_TESTMMPFILES
-npetestclientapi.mmp
-
-PRJ_TESTEXPORTS
-npetestclientapi.iby /epoc32/rom/include/npetestclientapi.iby
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/npetestclientapi.iby	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef NPETESTCLIENTAPI_IBY
-#define NPETESTCLIENTAPI_IBY
-
-REM NPE test cliet API
-
-#include <lbstestutils.iby>
-
-file=ABI_DIR\DEBUG_DIR\npetestclientapi.dll		Sys\bin\npetestclientapi.dll
-
-#endif
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/group/npetestclientapi.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file npetestclientapi.mmp
-// 
-//
-
-TARGET			npetestclientapi.dll
-TARGETTYPE		DLL
-CAPABILITY		ALL -TCB // TODO
-
-UID				0x10009D8D 0x102871E6
-VENDORID		0x70000001
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-USERINCLUDE		../inc
-USERINCLUDE		../../../../../locationmgmt/locationcore/LbsInternalApi/inc
-USERINCLUDE		../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE		../../../../../locationmgmt/locationcore/LbsCommonInternalDataTypes/inc
-USERINCLUDE	   	../../../../../datasourcemodules/npeintegmodule/npeapi/inc
-
-SOURCEPATH		../src
-
-SOURCE			ctestharnesshandler.cpp
-SOURCE			clocationengineapiimpl.cpp
-SOURCE			locationengine_api.cpp
-
-// EPOC libraries.
-LIBRARY	euser.lib
-LIBRARY ecom.lib
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY lbsinternalapi.lib
-LIBRARY			lbslocdatasource.lib
-
-// LBS test libraries
-LIBRARY lbstestutils.lib
-LIBRARY	lbstestchannel.lib
-LIBRARY getafixutils.lib
-
-SMPSAFE
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/inc/clocationengineapiimpl.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,156 +0,0 @@
-/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  The locationengine API header file
-*
-*/
-
-
-#ifndef CTEST_LOCATIONENGINE_API_IMPL_H
-#define CTEST_LOCATIONENGINE_API_IMPL_H
-
-#include <e32base.h>
-#include <lbs.h>
-
-// LBS test includes
-#include <lbs/test/ctlbstimerutils.h>
-#include "locationengine_api.h"
-#include "ctestharnesshandler.h"
-
-
-class CNpeApiImpl : public CBase, MT_LbsTimerUtilsObserver, MT_RequestObserver
-    {
-public:
-    static CNpeApiImpl& NpeApiImpl();
-    static void InstantiateL(MNpeObserver* aObserver);
-    static void Cleanup();
-    
-public:
-    // API Version
-    void Version(TVersion& aApi);
-
-    // Misc. interfaces
-    void SetGpsOptions(TNpeGpsMode aGpsMode, TBool aGpsTimeRelationReq);
-    void AdvisePowerMode(TNpePowerMode aPowerMode);
-
-    // Position interface
-    void PositionRequest(const TTime& aTargetTime, TInt aMaxFixTime, TInt aHorUncertainty, TInt aVerUncertainty);
-    void CancelPositionRequest(void);
-
-    // Assistance data delivery interface
-    void DeliverAssistanceData(TLbsAsistanceDataGroup aDataGroup, RLbsAssistanceDataReaderSet& aDataReaderSet);
-    void DeleteAssistanceData(TNpeAdTypes aData);
-
-    // MT_AGpsModuleTimerObserver function.
-    void HandleTimerL(TInt aTimerId, const TTime& aTargetTime);
-
-    // MT_RequestObserver
-    TInt ProcessRequestUpdateInit(const TDesC& aConfigFileName, const TDesC& aConfigSection);
-    void ProcessRequestTimeOut(const TTimeIntervalMicroSeconds& aTimeOut);
-    void ProcessRequestError(TInt aError);
-    TInt ProcessRequestModuleOptions(TLbsHybridModuleOptions aModuleMode, TBool aValue);
-    void ProcessRequestForcedUpdate();
-    void ProcessImmediateMeasurements(TInt aImmediateMeasurements);
-
-    void SetClientUsage(TNpeClientInfo aClientInfo);
-
-private:
-    CNpeApiImpl(MNpeObserver* aObservers);
-    void ConstructL();
-    void DataCleanup();
-
-	// Helper function to return position info data.
-	void UpdateLocation();
-	void ReturnNanPosition();
-	void ReturnNanMeas();
-    void DumpUpdateToRefFile(const TPositionInfoBase* aPosInfoArray[], TInt aNumItems);
-    void ClearAssistanceData();
-    void PublishGpsMode(const TNpeGpsMode aGpsMode);
-
-	// Populates update with dummy data.
-	void PopulateUpdateArrayL();
-
-	// Module options functions.
-	void SetOption(TLbsHybridModuleOptions aModuleOption, TBool aValue);
-	TBool GetOption(TLbsHybridModuleOptions aModuleOption);
-
-	
-private:
-    //CNpeApiPrivate  *iApiImplementation;
-	MNpeObserver* iNpeObserver;
-	TUint32 iModuleOptions;
-	TNpeGpsMode iGpsMode;
-
-	/** Position update timer used to handle position update requests from manager. */
-	CT_LbsTimerUtils* iPosUpdateTimer;
-	
-	/** Used to cause the module to delay returning the actual position, to reflect a more
-		realistic behaviour when receiving assistance data and returning positions. */
-	CT_LbsTimerUtils* iDelayUpdateTimer;
-
-
-	/** Interval variables required by the multi-update module option.
-	*/
-	TTimeIntervalMicroSeconds iIntervalDelay;
-	TInt iExtraUpdatesCtr;
-
-
-	/** Communication channel between A-Gps module and Test Harness.
-	*/
-	CT_TestHarnessHandler* iTHHandler;
-
-	RPointerArray<TLbsModuleUpdateItem> iUpdateArr;
-	TInt iUpdateArrIndex;
-	
-	TTimeIntervalMicroSeconds iTimeOut;
-	TInt iError;
-	TInt iImmediateMeasurements;
-	
-	/** Target time. */
-	TTime iTargetTime;
-
-	/** Flag used to determine if a assistance data request is required.
-	
-	Set to ETrue if assistance data is required.
-	Set to EFalse if assistance is not required.
-	*/
-	TBool iAssistanceDataOn;
-
-	/** Flag used to determine if assistance has been requested.
-
-	Set to ETrue if assistance data has already been requested.
-	Set to EFalse if assistance data has not been requested.
-	*/
-	TBool iAssistanceDataRequested;
-	
-
-	/** Flag used to determine if a assistance data is already available.
-	
-	Set to ETrue if it is available.
-	Set to EFalse if assistance data has not been already received.
-	*/
-	TBool iAssistanceDataAvailable;
-	
-	/** Request time, used to record the time the request for assistance was made, to
-		allow validation of assistance data time stamp.
-	*/
-	//TTime iAssistanceDataRequestedTime;
-	
-	TBool iGPSModeNotSupported;
-	
-	/** List of the assistance data that we have requested but not yet received */
-	TLbsAsistanceDataGroup iOutstandingAssistanceData;
- 
-	};
-
-#endif /* CTEST_LOCATIONENGINE_API_IMPL_H */
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/inc/ctestharnesshandler.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Definition of Test A_Gps module request handler component.
-// 
-//
- 
-
-#ifndef CTESTHARNESSHANDLER_H
-#define CTESTHARNESSHANDLER_H
-
-#include <lbs/test/tlbschannel.h>
-
-
-/** Observer for TH Request Handler interface
-*/
-class MT_RequestObserver
-	{
-public:
-	virtual TInt ProcessRequestUpdateInit(const TDesC& aConfigFileName, const TDesC& aConfigSection) = 0;
-	virtual void ProcessRequestTimeOut(const TTimeIntervalMicroSeconds& aTimeOut) = 0;
-	virtual void ProcessRequestError(TInt aError) = 0;
-	virtual TInt ProcessRequestModuleOptions(TLbsHybridModuleOptions aModuleOption, TBool aModuleValue) = 0;
-	virtual void ProcessRequestForcedUpdate() = 0;
-	virtual void ProcessImmediateMeasurements(TInt ImmediateMeasurements) = 0;
-	};
-
-/** Gps Handler for the TH channel.
-
-This class handles sending and receiving messages on the Test Harness channel.
-It is implemented as an active object to allow it to asnychronously wait for 
-messages to arrive. Sending is synchronous.
-*/
-class CT_TestHarnessHandler : public CActive, 
-							  public MT_LbsChannelObserver
-	{
-public:
-	static CT_TestHarnessHandler* NewL(MT_RequestObserver* aObserver);
-	~CT_TestHarnessHandler();
-
-	void SendDataOutResponse(TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-	
-private:
-	CT_TestHarnessHandler(MT_RequestObserver* aObserver);
-	void ConstructL();
-	
-	// from CActive
-	void RunL();
-	void DoCancel();
-	TInt RunError(TInt aError);
-	
-	// Send a message.
-	void SendResponseMessage(const TT_LbsMsgBase* aMessage);
-
-	// Buffer a message.
-	void BufferMessage(const TT_LbsMsgBase* aMessage);
-	
-	// from MT_LbsChannelObserver
-	void ProcessChannelMessage(RT_LbsChannel::TT_LbsChannelId aChannelId, const TT_LbsMsgBase& aMessage);
-
-private:
-	MT_RequestObserver* iObserver;
-	RT_LbsChannel iTHChannel;
-	RPointerArray<TT_LbsMsgBase> iMsgBuffer;
-	};
-
-
-#endif // CTESTHARNESSHANDLER_H
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/clocationengineapiimpl.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1167 +0,0 @@
-/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Implementation of the locationengine API
-*
-*/
-
-
-//  Include Files
-#include <lbs/test/ctdumper.h>
-
-// Lbs includes
-#include <LbsPositionInfo.h>
-#include <lbs/lbsextendedsatellite.h>
-#include <lbs/test/lbsparamlogger.h>
-#include "LbsInternalInterface.h"
-#include "lbsdevloggermacros.h"
-
-#include <lbs/test/tlbsdefs.h>
-#include "clocationengineapiimpl.h"
-
-#define __ASSERT_ALWAYSX(c,p) (void)((c)||(RDebug::Printf("Assert at line %d in file %s ",__LINE__,__FILE__),p,0));
-
-const TInt KAssistanceDataTimeDelay = 1000000;
-const TInt KDelayUpdateTimeDelay = 500000;
-
-const TInt KExpectedNumOfEntries = 2;		// Expected number of update items to report when in hybird mode.
-const TInt KExtraUpdates = 2;				// Number of additional updates when in multi-update mode. NOTE: may allow user to update, via option.
-const TInt KIntervalOffset = 1000000;		// 1 second to ensure to ensure updates are not delivered too close to either 'target time' or 'max fix time'.
-
-const TInt KPosUpdateTimerId = 1;
-const TInt KDelayUpdateTimerId = 2;
-const TInt KQuickPositionUpdate = 1000;
-
-const TInt KLbsModuleNumOfUpdates = 3;  // Can't be greater than 16
-
-#define POS_LAT                         49.2
-#define POS_LONG                        3.5
-#define POS_ALT                         50.0
-#define POS_HORZ_ACCURACY               2
-#define POS_VERT_ACCURACY               3
-#define SPEED                           26.0
-#define VERTICAL_SPEED                  20.0
-#define HEADING                         25.0
-#define COURSE                          30.0
-#define SPEED_ACCURACY                  2.0
-#define VERTICAL_SPEED_ACCURACY         3.0
-#define HEADING_ACCURACY                10.0    
-#define COURSE_ACCURACY                 4.0
-//TGpsTimingMeasurementData
-#define GPS_TIMING_OF_CELL_MsPart       16383                          
-#define GPS_TIMING_OF_CELL_LsPart       4294967295UL
-#define REFERENCE_IDENTITY              511
-#define SFN                             4095
-//TDetailedErrorReport
-#define SD_OF_LONG_ERROR                5.0 
-#define SD_OF_LAT_ERROR                 6.0
-#define SD_OF_ALT_ERROR                 7.0 
-#define SD_OF_SEMI_MAJOR_AXIS_ERROR     8.0
-#define SD_OF_SEMI_MINOR_AXIS_ERROR     9.0
-#define ORIEN_OF_SEMI_MAJOR_AXIS_ERROR  10.0
-#define RMS_VAL_OF_SD_OF_RANGE          11.0
-
-#define GEOIDAL_SEPARATION              12.0
-#define MAGNETIC_VARIATION              13.0
-#define COURSE_OVER_GROUND_MAGNETIC     14.0
-
-
-CNpeApiImpl& CNpeApiImpl::NpeApiImpl()
-    {
-    RDebug::Print(_L("CNpeApiImpl::NpeApiImpl"));
-    CNpeApiImpl* self = static_cast<CNpeApiImpl*>(Dll::Tls());
-    // temp change jcm __ASSERT_DEBUG(self, User::Invariant());
-    __ASSERT_ALWAYSX(self, User::Invariant());
-  
-    
-    return *self;
-    }
-    
-void CNpeApiImpl::InstantiateL(MNpeObserver* aObserver)
-    {
-    RDebug::Print(_L("CNpeApiImpl::InstantiateL"));
-    CNpeApiImpl* self = static_cast<CNpeApiImpl*>(Dll::Tls());
-
-    // TEMP CHANGE jcm  __ASSERT_DEBUG(!self, User::Invariant());
-    __ASSERT_ALWAYSX(!self, User::Invariant());
-    self = new(ELeave) CNpeApiImpl(aObserver);
-
-    CleanupStack::PushL(self);
-    self->ConstructL();
-    CleanupStack::Pop(self);
-
-    Dll::SetTls(self);
-    }
-
-void CNpeApiImpl::Cleanup()
-    {
-    RDebug::Print(_L("CNpeApiImpl::Cleanup"));
-    CNpeApiImpl* self = static_cast<CNpeApiImpl*>(Dll::Tls());
-    // TEMP CHANGE jcm __ASSERT_DEBUG(self, User::Invariant());
-    __ASSERT_ALWAYSX(self, User::Invariant());
-
-    
-    self->DataCleanup();
-    delete self;
-    Dll::FreeTls();
-    }
-
-void CNpeApiImpl::DataCleanup()
-    {
-    iUpdateArr.ResetAndDestroy();
-
-    iTHHandler->Cancel();
-    delete iTHHandler;
-    
-    delete iDelayUpdateTimer;
-    delete iPosUpdateTimer;
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         RNpeApi
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-CNpeApiImpl::CNpeApiImpl(MNpeObserver* aObservers): iGPSModeNotSupported(EFalse)
-    {
-    iNpeObserver = aObservers;
-    }
-
-//=============================================================================
-//  Global methods
-//=============================================================================
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         ConstructL
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::ConstructL()
-    {
-    LBSLOG(ELogP1, "CNpeApiImpl::ConstructL()\n");
-
-    // Create position update and assistance data timers.
-    iPosUpdateTimer = CT_LbsTimerUtils::NewL(this, KPosUpdateTimerId);
-    iDelayUpdateTimer = CT_LbsTimerUtils::NewL(this, KDelayUpdateTimerId);  
-
-    // Create the AGPS2TH channel handler to listen for incoming data.  
-    iTHHandler = CT_TestHarnessHandler::NewL(this);
-
-    // Set default error code.
-    iError = KErrNone;
-    
-    // Assistance data processing on.
-    SetOption(ELbsHybridModuleOptions_AssistanceDataOn, ETrue);
-    
-    //Setup the assistance data that we need to request
-    ClearAssistanceData();
-
-    // Provide some default update data.
-    PopulateUpdateArrayL(); 
-    iUpdateArrIndex = 0;
-
-    iNpeObserver->GpsStatus(EGpsReady);
-
-    TInt error = RProperty::Define(KUidSystemCategory, ELbsTestAGpsModuleResetAssistanceDataFlag, RProperty::EInt);
-    error = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleResetAssistanceDataFlag, ELbsTestAGpsResetAssistanceDataNotReceived);
-    
-    error = RProperty::Define(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag, RProperty::EInt);
-    error = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag, ELbsTestAGpsModuleAssistanceDataExpected);
-    
-    error = RProperty::Define(KUidSystemCategory, ELbsTestAGpsModuleClientMode, RProperty::EInt);
-    error = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleClientMode, KErrNone);
-
-    LBSDUMPNEWLOG();
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         Version
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::Version(TVersion& aNpeVersion)
-    {
-    aNpeVersion = TVersion(1,0,0);
-    }
-
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         SetGpsOptions
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::SetGpsOptions(TNpeGpsMode aGpsMode, TBool /*aGpsTimeRelationReq*/)
-    {
-    LBSTESTLOG_METHOD1(INBOUND, "CNpeApiImpl::SetGpsOptions", aGpsMode);
-    LBSLOG(ELogP1, "CNpeApiImpl::SetGpsOptions()\n");
-
-    PublishGpsMode(aGpsMode);
-    
-    iGpsMode = aGpsMode;
-    iGPSModeNotSupported = EFalse;
-    
-    // Determine if assistance data will ever be required.
-    switch (iGpsMode)
-        {
-        case ETerminalBased:
-        case ETerminalAssisted:
-        case ETerminalBasedAndAssisted:
-            {
-            // Currently it is possible for the test harness to switch on/off assistance data requesting.
-            if (GetOption(ELbsHybridModuleOptions_AssistanceDataOn))
-                {
-                iAssistanceDataOn = ETrue;
-                }
-            else
-                {
-                iAssistanceDataOn = EFalse;
-                }   
-            }
-            break;
-        
-        case EAutonomousAndTerminalAssisted:
-        case EAutonomous:
-        default:
-            {
-            iAssistanceDataOn = EFalse;
-            }
-        }
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         AdvisePowerMode
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::AdvisePowerMode(TNpePowerMode aPowerMode)
-    {
-    LBSLOG(ELogP1, "CNpeApiImpl::AdvisePowerMode()\n");
-
-    // NOTE: could report device status on power mode change.
-    // TBD:
-    (void)aPowerMode;
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         PositionRequest
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::PositionRequest(const TTime& aTargetTime, TInt aMaxFixTime, TInt aHorUncertainty, TInt aVerUncertainty)
-    {
-    LBSTESTLOG_METHOD4(INBOUND, "CNpeApiImpl::PositionRequest", aTargetTime, aMaxFixTime, aHorUncertainty, aVerUncertainty);
-    LBSLOG(ELogP1, "CNpeApiImpl::PositionRequest()\n");
-    
-    // If there is currently a position request outstanding, cancel it.
-    if (iPosUpdateTimer->IsActive())
-        {
-        iPosUpdateTimer->Cancel();
-        }                                   
-    if (iDelayUpdateTimer->IsActive())
-        {
-        iDelayUpdateTimer->Cancel();
-        }
-
-    // Response with update at the required target time + any time out period. The time out allows
-    // the module to delay return giving a position update, normally it will be set to zero.
-    if (aTargetTime == TTime(0))
-        {
-        iTargetTime.UniversalTime();
-        }
-    else
-        {   
-        iTargetTime = aTargetTime + iTimeOut;
-        }
-        
-    // Is there a delay to add on!
-    if (iUpdateArrIndex < iUpdateArr.Count())
-        {
-        TInt delay = iUpdateArr[iUpdateArrIndex]->Delay() * 1000;
-        if (delay != 0)
-            {
-            if(delay < 0)
-                {
-                iTargetTime -= TTimeIntervalMicroSeconds(-delay);
-                }
-            else
-                {
-                iTargetTime += TTimeIntervalMicroSeconds(delay);
-                }   
-            }
-        }
-    
-    if(iGPSModeNotSupported)
-        {
-        iTargetTime = KQuickPositionUpdate;
-        }
-
-    iPosUpdateTimer->SetTimer(iTargetTime);
-    
-
-    // Reset interval update variables is multi-update module option is on.
-    if (GetOption(ELbsHybridModuleOptions_MultiUpdatesOn))
-        {
-        iExtraUpdatesCtr = KExtraUpdates;
-        iIntervalDelay = (aMaxFixTime - 2 * KIntervalOffset) / iExtraUpdatesCtr;
-        }
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         CancelPositionRequest
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::CancelPositionRequest(void)
-    {
-    LBSTESTLOG_METHOD(INBOUND, "CNpeApiImpl::CancelLocationRequest");
-    
-    T_LbsUtils utils;
-    utils.IncrementIntegrationModulesCountOfCancels();
-
-    iPosUpdateTimer->CancelTimer();
-    iDelayUpdateTimer->CancelTimer();
-    }
-
-/*
------------------------------------------------------------------------------
-    Class:          RNpeApi
-    Method:         DeliverAssistanceData
-    Description:    
-    Return Values:  
------------------------------------------------------------------------------
-*/
-void CNpeApiImpl::DeliverAssistanceData(TLbsAsistanceDataGroup aDataGroup, RLbsAssistanceDataReaderSet& /* aDataReaderSet*/)
-    {
-    //LBSTESTLOG_METHOD2(INBOUND, "CNpeApiImpl::DeliverAssistanceData", aType, aBaseReader);
-    LBSLOG(ELogP1, "CNpeApiImpl::DeliverAssistanceData()\n");
-
-    //Well, it looks like we just need to check if received requested Assistance Data
-    //TODO - Not sure what to do with aDataReaderSet - Ignore for now
-    
-    if (iAssistanceDataRequested)
-        {
-        iAssistanceDataRequested = EFalse;
-        iAssistanceDataAvailable = ETrue;
-
-        // check the assistance data received was part of what was requested
-        if(iOutstandingAssistanceData & aDataGroup != aDataGroup)
-        	{
-            // NOTE: maybe panic - at the moment log a warning.
-            LBSLOG(ELogP1, "CNpeApiImpl - WARNING assistance data did not verify.\n");
-        	}
-
-        iOutstandingAssistanceData &= ~aDataGroup;
-        
-        // Return position now the assistance data is available.
-        // Take some time to process the assistance data, before the position is actually returned.
-        TTime time;
-            
-        time.UniversalTime();
-        time += TTimeIntervalMicroSeconds(KAssistanceDataTimeDelay);
-        time += iTimeOut;
-        iDelayUpdateTimer->SetTimer(time);          
-        }
-    // Unsolicited, mark as data available and don't verify.
-    else
-        {
-        iAssistanceDataAvailable = ETrue;
-
-        // NOTE: may verify correct type.
-        }
-    }
-
-
-void CNpeApiImpl::DeleteAssistanceData(TNpeAdTypes aData)
-    {
-    TLbsAsistanceDataGroup data=0;
-    if (aData == ENpeAdAll)
-        {
-        data = 0xFFFFFFFF;
-        }
-    else
-        {
-        if (aData & ENpeAdEphemeris)
-            {data |= EAssistanceDataNavigationModel;}
-        if (aData & ENpeAdRefTime)
-            {data |=EAssistanceDataReferenceTime;}
-        if (aData & ENpeAdRefPosition)
-            {data |=EAssistanceDataReferenceLocation;}
-        if (aData & ENpeAdAlmanac)
-            {data |=EAssistanceDataAlmanac;}
-        }
-
-    //For test module, we only care about EAssistanceDataReferenceTime
-    if(data & EAssistanceDataReferenceTime)
-        {
-        if(iAssistanceDataAvailable && iDelayUpdateTimer->IsActive())
-            { 
-            // If the module was waiting to return a position and the reset affects it, then it will
-            // start waiting to ask for assistance data
-            iDelayUpdateTimer->CancelTimer();
-            iPosUpdateTimer->SetTimer(iTargetTime);
-            }
-        
-        // indicate that we need the full set of assistance data now
-        ClearAssistanceData();
-        }
-    //Setup the required assistance data here
-    RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleResetAssistanceDataFlag, ELbsTestAGpsResetAssistanceDataReceived);
-    }
-
-void CNpeApiImpl::SetClientUsage(TNpeClientInfo aClientInfo)
-    {
-    // publish the client usage flag 
-    TInt clientInfo = aClientInfo;
-    TInt err = RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleClientMode, clientInfo);
-    }
-
-void CNpeApiImpl::PublishGpsMode(const TNpeGpsMode aGpsMode)
-    {
-    TLbsGpsOptionsArray gpsOptionsArray; 
-    TLbsGpsOptions gpsOptions;
-
-    switch(aGpsMode)
-        {
-        case EAutonomous:
-            {
-            gpsOptions.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-            gpsOptionsArray = reinterpret_cast<const TLbsGpsOptionsArray&>(gpsOptions);
-            break;
-            }
-
-        case ETerminalAssisted:
-            {
-            gpsOptions.SetGpsMode(CLbsAdmin::EGpsPreferTerminalAssisted);
-            gpsOptionsArray = reinterpret_cast<const TLbsGpsOptionsArray&>(gpsOptions);
-            break;
-            }
-
-        case ETerminalBased:
-            {
-            gpsOptions.SetGpsMode(CLbsAdmin::EGpsPreferTerminalBased);
-            gpsOptionsArray = reinterpret_cast<const TLbsGpsOptionsArray&>(gpsOptions);
-            break;
-            }
-
-        case EAutonomousAndTerminalAssisted:
-            {
-            gpsOptionsArray.SetGpsMode(CLbsAdmin::EGpsAutonomous);
-            TLbsGpsOptionsItem item;
-            item.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-            gpsOptionsArray.AppendOptionItem(item);
-            item.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-            gpsOptionsArray.AppendOptionItem(item);
-            break;
-            }
-
-        case ETerminalBasedAndAssisted:
-            {
-            gpsOptionsArray.SetGpsMode(CLbsAdmin::EGpsPreferTerminalBased);
-            TLbsGpsOptionsItem item;
-            item.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateCalculation);
-            gpsOptionsArray.AppendOptionItem(item);
-            item.SetLocUpdateType(TLbsGpsOptionsItem::EPosUpdateMeasurement);
-            gpsOptionsArray.AppendOptionItem(item);
-            break;
-            }
-
-        default:
-            {
-            gpsOptionsArray.SetGpsMode(CLbsAdmin::EGpsModeUnknown);
-            }
-        }
-    
-    TPckgC<TLbsGpsOptionsArray> pckgOptions(gpsOptionsArray);
-    RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleModeChanges, pckgOptions);
-    }
-
-
-void CNpeApiImpl::HandleTimerL(TInt aTimerId, const TTime& aTargetTime)
-	{
-	if(iGPSModeNotSupported)
-		{
-		TPositionInfoBase* deliveryArr[1];
-		TPositionModuleInfoExtended::TDeviceGpsModeCapabilities deviceCapabilities;
-		TInt err = LbsModuleInfo::GetDeviceCapabilities(KLbsGpsLocManagerUid, deviceCapabilities);
-		TPositionGpsMeasurementInfo mes;
-		TPositionExtendedSatelliteInfo posInfo;
-		
-		if(err == KErrNone && deviceCapabilities == TPositionModuleInfoExtended::EDeviceGpsModeTerminalAssisted)
-			{ // return measurment with KErrNotSupported if the module can only do that
-			deliveryArr[0] = &mes;
-			}
-		else
-			{ // return a position with KErrNotSupported
-			deliveryArr[0] = &posInfo;			
-			}
-		iNpeObserver->PositionUpdate(KErrNotSupported, const_cast<const TPositionInfoBase**>(&deliveryArr[0]), 1, iTargetTime);
-		return;
-		}
-
-	(void)aTargetTime;
-
-	LBSLOG(ELogP1, "CNpeApiImpl::HandleTimerL()\n");
-	LBSLOG2(ELogP1, "\t\taTimerId = %d\n", aTimerId);
-	LBSLOG2(ELogP1, "\t\tiAssistanceDataOn = %d\n", iAssistanceDataOn);
-	LBSLOG2(ELogP1, "\t\tiAssistanceDataRequested = %d\n", iAssistanceDataRequested);
-	LBSLOG2(ELogP1, "\t\tiAssistanceDataAvailable = %d\n", iAssistanceDataAvailable);
-	LBSLOG(ELogP1, "\t\t\n");
-	
-	// Our timer fired, handle assistance data request and pos update.
-	if (aTimerId == KPosUpdateTimerId)
-	{
-		// Only request assistance data if it's not available and we have not asked before.
-		if ((iAssistanceDataOn) && (!iAssistanceDataAvailable) && (!iAssistanceDataRequested))
-			{
-			// Now requesting assistance data.
-			iAssistanceDataRequested = ETrue;
-
-			// cooment1
-			if (!GetOption(ELbsHybridModuleOptions_DisableReqAssistData))
-				{
-				// Request some simple assistance data.
-				iNpeObserver->AssistanceDataRequest(iOutstandingAssistanceData);
-				
-				//In some of the tests, Assistance Data is not supplied and position is expected.
-				//There is no way to notify Test client API of assistance data is not delivered so the code
-				//below is a work around for those scenarios - Need to find a better way to do this.
-			    RProperty assDataReqProperty;
-			    User::LeaveIfError(assDataReqProperty.Attach(KUidSystemCategory, ELbsTestAGpsModuleAssistanceDataRequestFlag));
-			    TInt assDataReqStatus;
-			    TInt error = assDataReqProperty.Get(assDataReqStatus);
-			    if (error == KErrNone && assDataReqStatus == ELbsTestAGpsModuleAssistanceDataNotExpected)
-			        {
-		            TTime time;
-		                            
-		            time.UniversalTime();
-		            time += TTimeIntervalMicroSeconds(KAssistanceDataTimeDelay);
-		            time += iTimeOut;
-		            iDelayUpdateTimer->SetTimer(time);
-			        }
-				}
-				
-			// Return an initial position. Once the assistance data is delivered, an additional update will be returned
-			// (read from the update array).
-			if(iGpsMode == ETerminalAssisted )
-				{
-				ReturnNanMeas();
-				}
-			else
-				{
-				ReturnNanPosition();
-				}
-			}
-		else
-			{
-			// For each location request, we must allways call AssistanceDataRequest if data is required or not,
-			// when no data is required use EAssistanceDataNone.
-			if (!GetOption(ELbsHybridModuleOptions_DisableReqAssistData))
-				{
-				//Check to see whether the Dynamic AssistanceData flag is enabled, if it is re-request
-				// any assistance data we have not yet received (this is required for SUPL)
-				if(GetOption(ELbsHybridModuleOptions_DynamicAssistanceData))
-					{
-					iNpeObserver->AssistanceDataRequest(iOutstandingAssistanceData);
-					}
-				else
-					{
-					iNpeObserver->AssistanceDataRequest(EAssistanceDataNone);
-					}
-				}
-
-			// Delay before returning the actual position.
-			TTime time;
-							
-			time.UniversalTime();
-			time += TTimeIntervalMicroSeconds(KDelayUpdateTimeDelay);
-			time += iTimeOut;
-			iDelayUpdateTimer->SetTimer(time);
-			}
-		}
-
-	// Done processing assistance data or delaying the update, return position.
-	else if (aTimerId == KDelayUpdateTimerId)
-		{
-		// Issue an update.
-		UpdateLocation();
-		
-		// If multi-updating is on, re-issue an update at interval time.
-		if (GetOption(ELbsHybridModuleOptions_MultiUpdatesOn) && (iExtraUpdatesCtr > 0))
-			{
-			TTime time;
-			
-			time.UniversalTime();
-			time += iIntervalDelay;
-			
-			iDelayUpdateTimer->SetTimer(time);
-			iExtraUpdatesCtr--;
-			}
-		}
-	}
-
-void CNpeApiImpl::UpdateLocation()
-	{
-	LBSTESTLOG_METHOD(OUTBOUND, "CNpeApiImpl::UpdateLocation");
-	LBSLOG(ELogP1, "CNpeApiImpl::UpdateLocation()\n");
-
-    // If updates available.
-	if (iUpdateArrIndex < iUpdateArr.Count())
-		{
-		TInt err = KErrNone;
-		TPositionInfoBase* deliveryArr[2];
-		TInt numOfEntries = 1;
-
-		// Configure position info.
-		TPositionExtendedSatelliteInfo posInfo = iUpdateArr[iUpdateArrIndex]->Position();
-
-		// Set base class items.
-		posInfo.SetModuleId(TUid::Uid(APGS_MODINFO_MODULE_ID));
-		posInfo.SetUpdateType(EPositionUpdateGeneral);
-		if (iAssistanceDataOn)
-			{
-			posInfo.SetPositionMode(TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-			}
-		else
-			{
-			posInfo.SetPositionMode(TPositionModuleInfo::ETechnologyTerminal);
-			}
-
-
-		posInfo.SetPositionModeReason(EPositionModeReasonNone);
-					
-		// Set the position timestamp.
-		TPosition position;
-		
-		posInfo.GetPosition(position);
-		position.SetCurrentTime();
-		if (iExtraUpdatesCtr) 
-			{
-			TRealX nan;
-			nan.SetNaN();			
-			TReal64 nanValue = nan;
-			position.SetCoordinate(nanValue, nanValue, nanValue);			
-			position.SetAccuracy(nanValue, nanValue);
-			}
-		posInfo.SetPosition(position);
-		
-		// Set the satelliteTime.
-		TTime timeStamp;
-		timeStamp.UniversalTime();
-		posInfo.SetSatelliteTime(timeStamp);
-		
-		// Access the measurement.
-		TPositionGpsMeasurementInfo measurement = iUpdateArr[iUpdateArrIndex]->Measurement();
-		if (iImmediateMeasurements)
-			{
-			measurement.SetPositionCalculationPossible(ETrue);
-			}
-        // Determine how and what to deliver.
-        if (iGpsMode == EAutonomousAndTerminalAssisted  || iGpsMode == ETerminalBasedAndAssisted )
-            {
-            numOfEntries = 2;
-            deliveryArr[0] = &measurement;
-            deliveryArr[1] = &posInfo;
-            }
-        else
-            {
-            numOfEntries = 1;
-            if(iGpsMode == ETerminalAssisted ) 
-                { // if in terminal assisted then return measurments
-                deliveryArr[0] = &measurement;
-                }
-            else
-                { // otherwise return positions
-                deliveryArr[0] = &posInfo;
-                }
-            }
-
-		err = iUpdateArr[iUpdateArrIndex]->Error();
-
-		// Deliver the required measurement and position data.
-		iNpeObserver->PositionUpdate(err, const_cast<const TPositionInfoBase**>(&deliveryArr[0]), numOfEntries, iTargetTime);
-
-		// Log update data.
-		DumpUpdateToRefFile(const_cast<const TPositionInfoBase**>(&deliveryArr[0]), numOfEntries);
-
-		// Select next update, for future request.
-		if (!iExtraUpdatesCtr) 
-			{
-			iUpdateArrIndex++;
-			}
-		}
-
-	// We have no more updates to return.
-	else
-		{
-		iNpeObserver->PositionUpdate(KErrGeneral, NULL, 0, iTargetTime);
-		}
-	}
-
-void CNpeApiImpl::PopulateUpdateArrayL()
-    {
-    TLbsModuleUpdateItem* update;
-    TPositionExtendedSatelliteInfo posInfo;
-    TCourse course;
-    TPosition pos;
-    TPositionGpsMeasurementInfo measureInfo;    
-    TPositionGpsMeasurementData measureData;
-    TGpsTimingMeasurementData gpsTimingData;
-    TDetailedErrorReport detailedErrorReport;
-    for (TInt i = 0; i < KLbsModuleNumOfUpdates; i++)
-        {
-        // Create the update.
-        update = new (ELeave) TLbsModuleUpdateItem();
-        
-        // Set position info.
-        pos.SetCoordinate(i + POS_LAT, i + POS_LONG, i + POS_ALT);
-        pos.SetAccuracy(POS_HORZ_ACCURACY, POS_VERT_ACCURACY);
-        pos.SetCurrentTime();
-        posInfo.SetPosition(pos);
-        
-        // Set Speed and Direction
-        course.SetSpeed(SPEED);
-        course.SetVerticalSpeed(VERTICAL_SPEED);
-        course.SetHeading(HEADING);
-        course.SetSpeedAccuracy(SPEED_ACCURACY);
-        course.SetVerticalSpeedAccuracy(VERTICAL_SPEED_ACCURACY);
-        course.SetHeadingAccuracy(HEADING_ACCURACY);
-        course.SetCourse(COURSE);
-        course.SetCourseAccuracy(COURSE_ACCURACY);
-        posInfo.SetCourse(course);
-        
-        // Set timing assistance measurement data
-        gpsTimingData.SetDataType(TGpsTimingMeasurementData::EGpsTimingDataTypeUtran);
-        gpsTimingData.SetNetworkMode(TGpsTimingMeasurementData::ENetworkModeFdd);
-        gpsTimingData.SetGPSTimingOfCellMsPart(GPS_TIMING_OF_CELL_MsPart);
-        gpsTimingData.SetGPSTimingOfCellLsPart(GPS_TIMING_OF_CELL_LsPart);
-        gpsTimingData.SetReferenceIdentity(REFERENCE_IDENTITY);
-        gpsTimingData.SetSfn(SFN);
-        posInfo.SetGpsTimingData(gpsTimingData);
-                
-        //Set GNSS Pseudorange Error Statistics 
-        detailedErrorReport.SetStanDeviOfLongitudeError(SD_OF_LONG_ERROR);
-        detailedErrorReport.SetStanDeviOfLatiitudeError(SD_OF_LAT_ERROR);
-        detailedErrorReport.SetStanDeviOfAltitudeError(SD_OF_ALT_ERROR);
-        detailedErrorReport.SetStanDeviOfSemiMajorAxisError(SD_OF_SEMI_MAJOR_AXIS_ERROR);
-        detailedErrorReport.SetStanDeviOfSemiMinorAxisError(SD_OF_SEMI_MINOR_AXIS_ERROR);
-        detailedErrorReport.SetOrientationOfSemiMajorAxisError(ORIEN_OF_SEMI_MAJOR_AXIS_ERROR);
-        detailedErrorReport.SetRmsValOfStanDeviOfRange(RMS_VAL_OF_SD_OF_RANGE);
-        posInfo.SetDetailedErrorReport(detailedErrorReport);
-        // Set Geoidal separation
-        posInfo.SetGeoidalSeparation(GEOIDAL_SEPARATION);
-        //Set Magnetic variation
-        posInfo.SetMagneticVariation(MAGNETIC_VARIATION);
-        //Set Course over ground
-        posInfo.SetCourseOverGroundMagnetic(COURSE_OVER_GROUND_MAGNETIC);
-        update->SetPosition(posInfo);               
-        
-        // Set measurement info.
-        for (TInt j = 0; j < i; j++)
-            {
-            measureData.SetSatelliteId(j + 1);
-            measureData.SetCarrierNoiseRatio((j+1) + 1);
-            measureData.SetDoppler((j+1) + 2);
-            measureData.SetWholeGpsChips((j+1) + 3);
-            measureData.SetFractionalGpsChips((j+1) + 4);
-            measureData.SetMultiPathIndicator(TPositionGpsMeasurementData::EMultiPathLow);
-            measureData.SetPseudoRangeRmsError((j+1) + 5);
-
-            User::LeaveIfError(measureInfo.AppendMeasurementData(measureData));
-            }
-        measureInfo.SetGpsTimeOfWeek(i + 1000);
-        update->SetMeasurement(measureInfo);
-        
-        // Set error.
-        update->SetError(KErrNone);
-
-        // Add new update to update array.
-        iUpdateArr.AppendL(update);
-
-        // Clear structs for next time around.
-        measureInfo.ClearMeasurementData();
-        }
-    }
-
-
-void CNpeApiImpl::ReturnNanPosition()
-	{
-	LBSTESTLOG_METHOD(OUTBOUND, "CNpeApiImpl::ReturnNanPosition");
-	LBSLOG(ELogP1, "CNpeApiImpl::ReturnNanPosition()\n");
-
-	// Module is in the in-correct state, for this call. Should be in prefer terminal, and non-hybrid mode.
-	if (iAssistanceDataOn == EFalse)
-		{
-		User::Invariant();
-		}
-
-	// Configure position.
-	TRealX nan;
-	nan.SetNaN();
-	TReal64 nanValue = nan;
-			
-	TPosition pos;
-	TCourse course;
-	TDetailedErrorReport detailedErrorReport;
-	TGpsTimingMeasurementData gpsTimingData;
-	TPositionExtendedSatelliteInfo posInfo;
-		
-	pos.SetCoordinate(nanValue, nanValue, nanValue);			
-	pos.SetAccuracy(nanValue, nanValue);
-	pos.SetCurrentTime();
-	posInfo.SetPosition(pos);
-
-	course.SetSpeed(nanValue);
-    course.SetVerticalSpeed(nanValue);
-    course.SetHeading(nanValue);
-    course.SetSpeedAccuracy(nanValue);
-    course.SetVerticalSpeedAccuracy(nanValue);
-    course.SetHeadingAccuracy(nanValue);
-    course.SetCourse(nanValue);
-    course.SetCourseAccuracy(nanValue);
-    posInfo.SetCourse(course);
-    
-    // Set timing assistance measurement data
-    gpsTimingData.SetDataType(TGpsTimingMeasurementData::EGpsTimingDataTypeUtran);
-    gpsTimingData.SetNetworkMode(TGpsTimingMeasurementData::ENetworkModeFdd);
-    gpsTimingData.SetGPSTimingOfCellMsPart(nanValue);
-    gpsTimingData.SetGPSTimingOfCellLsPart(nanValue);
-    gpsTimingData.SetReferenceIdentity(nanValue);
-    gpsTimingData.SetSfn(nanValue);
-    posInfo.SetGpsTimingData(gpsTimingData);
-    
-    
-    //Set GNSS Pseudorange Error Statistics 
-    detailedErrorReport.SetStanDeviOfLongitudeError(nanValue);
-    detailedErrorReport.SetStanDeviOfLatiitudeError(nanValue);
-    detailedErrorReport.SetStanDeviOfAltitudeError(nanValue);
-    detailedErrorReport.SetStanDeviOfSemiMajorAxisError(nanValue);
-    detailedErrorReport.SetStanDeviOfSemiMinorAxisError(nanValue);
-    detailedErrorReport.SetOrientationOfSemiMajorAxisError(nanValue);
-    detailedErrorReport.SetRmsValOfStanDeviOfRange(nanValue);
-    posInfo.SetDetailedErrorReport(detailedErrorReport);
-    // Set Geoidal separation
-    posInfo.SetGeoidalSeparation(nanValue);
-    //Set Magnetic variation
-    posInfo.SetMagneticVariation(nanValue);
-    //Set Course over ground
-    posInfo.SetCourseOverGroundMagnetic(nanValue);
-	// Configure position info.
-
-	// Set base class items.
-	//TODO: Might need to change module id
-	posInfo.SetModuleId(TUid::Uid(APGS_MODINFO_MODULE_ID));
-	posInfo.SetUpdateType(EPositionUpdateGeneral);
-	posInfo.SetPositionMode(TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-	posInfo.SetPositionModeReason(EPositionModeReasonNone);
-
-	// Set the satelliteTime.
-	TTime timeStamp;	
-	timeStamp.UniversalTime();
-	posInfo.SetSatelliteTime(timeStamp);
-
-
-	// Deliver the position data.
-	TInt err = KErrNone;
-	TPositionInfoBase* deliveryArr[KExpectedNumOfEntries];
-		
-	deliveryArr[0] = &posInfo;
-	iNpeObserver->PositionUpdate(err, const_cast<const TPositionInfoBase**>(&deliveryArr[0]), 1, iTargetTime);
-
-	// Log update data.
-	DumpUpdateToRefFile(const_cast<const TPositionInfoBase**>(&deliveryArr[0]), 1);
-	}
-
-
-void CNpeApiImpl::ReturnNanMeas()
-	{
-	LBSTESTLOG_METHOD(OUTBOUND, "CNpeApiImpl::ReturnNanMeasurement");
-	LBSLOG(ELogP1, "CNpeApiImpl::ReturnNanMeasurement()\n");	
-	
-	TRealX nan;
-	nan.SetNaN();
-	TReal64 nanValue = nan;
-		
-	TPositionGpsMeasurementData measureData;	
-	TPositionGpsMeasurementInfo measurement;
-	
-	measureData.SetSatelliteId(nan);
-	measureData.SetCarrierNoiseRatio(nan);
-	measureData.SetDoppler(nan);
-	measureData.SetWholeGpsChips(nan);
-	measureData.SetFractionalGpsChips(nan);
-	measureData.SetMultiPathIndicator(TPositionGpsMeasurementData::EMultiPathLow);
-	measureData.SetPseudoRangeRmsError(nan);
-
-    TInt err = KErrNone;
-	err = measurement.AppendMeasurementData(measureData);
-	if(err != KErrNone)
-	    {
-	    //It might be a good idea to log error : TBD
-	    }
-	
-	measurement.SetGpsTimeOfWeek(nan);
-
-	// Deliver the position data.
-	TPositionInfoBase* deliveryArr[KExpectedNumOfEntries];
-	deliveryArr[0] = &measurement;
-
-	iNpeObserver->PositionUpdate(err, const_cast<const TPositionInfoBase**>(&deliveryArr[0]), 1, iTargetTime);
-
-	// Log update data.
-	DumpUpdateToRefFile(const_cast<const TPositionInfoBase**>(&deliveryArr[0]), 1);
-	}
-
-/** Dump update to a log file (useful for test verification required).
-*/  
-void CNpeApiImpl::DumpUpdateToRefFile(const TPositionInfoBase* aPosInfoArray[], TInt aNumItems)
-    {
-    LBSDUMP("New Update:\n");   
-
-    for (TInt i = 0; i < aNumItems; i++)
-        {
-        if (aPosInfoArray[i]->PositionClassType() & EPositionExtendedSatelliteInfoClass)
-            {
-            LBSDUMP("   TPositionExtendedSatelliteInfo\n"); 
-            TPosition position;
-            const TPositionExtendedSatelliteInfo* posInfo = reinterpret_cast<const TPositionExtendedSatelliteInfo*>(aPosInfoArray[i]);
-            posInfo->GetPosition(position);
-            LBSDUMP2("\tHorizontalAccuracy: %f\n", position.HorizontalAccuracy());
-            LBSDUMP2("\tVerticalAccuracy: %f\n", position.VerticalAccuracy());
-            LBSDUMP2("\tLatitude: %f\n", position.Latitude());
-            LBSDUMP2("\tLongitude: %f\n", position.Longitude());
-            LBSDUMP2("\tAltitude: %f\n", position.Altitude());
-            LBSDUMP2("\tTimeStamp: %d\n", position.Time().Int64());
-            TCourse course;
-            posInfo->GetCourse(course);
-            LBSDUMP2("\tSpeed: %f\n", course.Speed());
-            LBSDUMP2("\tVerticalSpeed: %f\n", course.VerticalSpeed());
-            LBSDUMP2("\tHeading: %f\n", course.Heading());
-            LBSDUMP2("\tCourse: %f\n", course.Course());
-            LBSDUMP2("\tSpeedAccuracy: %f\n", course.SpeedAccuracy());
-            LBSDUMP2("\tVerticalSpeedAccuracy: %f\n", course.VerticalSpeedAccuracy());
-            LBSDUMP2("\tHeadingAccuracy: %f\n", course.HeadingAccuracy());
-            LBSDUMP2("\tCourseAccuracy: %f\n", course.CourseAccuracy());
-            
-            TGpsTimingMeasurementData gpsTimingData;
-            posInfo->GetGpsTimingData(gpsTimingData);
-            
-            LBSDUMP2("\tDataType: %f\n", gpsTimingData.DataType());
-            LBSDUMP2("\tNetworkMode: %f\n", gpsTimingData.NetworkMode());
-            LBSDUMP2("\tGPSTimingOfCellMsPart: %f\n", gpsTimingData.GPSTimingOfCellMsPart());
-            LBSDUMP2("\tGPSTimingOfCellLsPart: %f\n", gpsTimingData.GPSTimingOfCellLsPart());
-            LBSDUMP2("\tReferenceIdentity: %f\n", gpsTimingData.ReferenceIdentity());
-            LBSDUMP2("\tSfn: %f\n", gpsTimingData.Sfn());
-            
-                        
-            TDetailedErrorReport detailedErrorReport;
-            posInfo->GetDetailedErrorReport(detailedErrorReport);
-            LBSDUMP2("\tStanDeviOfLongitudeError: %f\n", detailedErrorReport.StanDeviOfLongitudeError());
-            LBSDUMP2("\tStanDeviOfLatiitudeError: %f\n", detailedErrorReport.StanDeviOfLatiitudeError());
-            LBSDUMP2("\tStanDeviOfAltitudeError: %f\n", detailedErrorReport.StanDeviOfAltitudeError());
-            LBSDUMP2("\tStanDeviOfSemiMajorAxisError: %f\n",detailedErrorReport.StanDeviOfSemiMajorAxisError());
-            LBSDUMP2("\tStanDeviOfAltitudeError: %f\n", detailedErrorReport.StanDeviOfAltitudeError());
-            LBSDUMP2("\tStanDeviOfSemiMajorAxisError: %f\n",detailedErrorReport.StanDeviOfSemiMajorAxisError());
-            LBSDUMP2("\tStanDeviOfSemiMinorAxisError: %f\n", detailedErrorReport.StanDeviOfSemiMinorAxisError());
-            LBSDUMP2("\tOrientationOfSemiMajorAxisError: %f\n",detailedErrorReport.OrientationOfSemiMajorAxisError());
-            LBSDUMP2("\tRmsValOfStanDeviOfRange: %f\n",detailedErrorReport.RmsValOfStanDeviOfRange());
-            
-            LBSDUMP2("\tGeoidalSeparation: %f\n", posInfo->GeoidalSeparation());
-            LBSDUMP2("\tMagneticVariation: %f\n",posInfo->MagneticVariation());
-            LBSDUMP2("\tCourseOverGroundMagnetic: %f\n",posInfo->CourseOverGroundMagnetic());
-            }                       
-
-        if (aPosInfoArray[i]->PositionClassType() & EPositionGpsMeasurementInfoClass)
-            {
-            LBSDUMP("   TPositionGpsMeasurementInfo\n");    
-            const TPositionGpsMeasurementInfo* measurement = reinterpret_cast<const TPositionGpsMeasurementInfo*>(aPosInfoArray[i]);
-            TInt numMeasurements = measurement->NumMeasurements();
-            
-            for(TInt n = 0; n < numMeasurements; n++)
-                {
-                TPositionGpsMeasurementData measurementData;
-                measurement->GetMeasurementData(n, measurementData);
-                LBSDUMP2("      SatelliteId: %d\n", measurementData.SatelliteId());
-                LBSDUMP2("\tCarrierNoiseRatio: %d\n", measurementData.CarrierNoiseRatio());
-                LBSDUMP2("\tDoppler: %d\n", measurementData.Doppler());
-                LBSDUMP2("\tWholeGpsChips: %d\n", measurementData.WholeGpsChips());
-                LBSDUMP2("\tFractionalGpsChips: %d\n", measurementData.FractionalGpsChips());
-                LBSDUMP2("\tMultiPathIndicator: %d\n", measurementData.MultiPathIndicator());
-                LBSDUMP2("\tPseudoRangeRmsError: %u\n", measurementData.PseudoRangeRmsError());
-                }                           
-            }               
-        }
-    }
-
-void CNpeApiImpl::ClearAssistanceData()
-    {
-    iAssistanceDataAvailable = EFalse;
-    iAssistanceDataRequested = EFalse;
-    //Setup the required assistance data here
-    iOutstandingAssistanceData = EAssistanceDataReferenceTime;
-    }
-
-
-
-TInt CNpeApiImpl::ProcessRequestUpdateInit(const TDesC& aConfigFileName, const TDesC& aConfigSection)
-	{
-	LBSLOG(ELogP1, "CNpeApiImpl::ProcessRequestConfigL()\n");
-
-	T_LbsUtils utils;
-
-	TInt err = KErrNone;
-	// Reset the update array, before we re-assign new updates.
-	iUpdateArr.ResetAndDestroy();
-	iUpdateArrIndex = 0;
-
-	// Read the configuration ini file to update the update data items.
-	TRAP(err, utils.GetConfigured_UpdateArrayL(aConfigFileName, aConfigSection, iUpdateArr));
-						
-	// NOTE: in the old module we used to reset everything, this maybe required here also.
-
-	return err;
-	}
- 
-
-// We're being asked to update the current time out value.
-void CNpeApiImpl::ProcessRequestTimeOut(const TTimeIntervalMicroSeconds& aTimeOut)
-	{
-	iTimeOut = aTimeOut;
-	}
-			
-// We're being asked to update the current error
-void CNpeApiImpl::ProcessRequestError(TInt aError)
-	{
-	iError = aError;	
-	}
-
-/* We're being asked to send all measurements as immediate ones */
-void CNpeApiImpl::ProcessImmediateMeasurements(TInt aImmediateMeasurements)
-	{
-	iImmediateMeasurements = aImmediateMeasurements;	
-	}
-
-
-// We're being asked to update  the test module options
-TInt CNpeApiImpl::ProcessRequestModuleOptions(TLbsHybridModuleOptions aModuleOption, TBool aValue)
-	{
-	TInt err = KErrNone;
-	
-	//Reset the assistance Data the may have previously been requested
-	ClearAssistanceData();
-
-	switch (aModuleOption)
-		{
-		case EHybridModuleOptions_ClearAll:
-		case ELbsHybridModuleOptions_SetAll:
-			{
-			// We're being asked to update all the test module options
-			iModuleOptions = aModuleOption;
-			break;				
-			}
-		case ELbsHybridModuleOptions_AssistanceDataOn:
-			{
-			// We're being asked to update a particular test mode options
-			SetOption(aModuleOption, aValue);	
-			break;				
-			}
-		case ELbsHybridModuleOptions_MultiUpdatesOn:
-			{
-			// We're being asked to update a particular test mode options
-			SetOption(aModuleOption, aValue);	
-			// If MultiUpdates is being switch off reset the counter
-			if (!aValue)
-				{
-				iExtraUpdatesCtr = 0;	
-				}
-			break;		
-			}
-		case ELbsHybridModuleOptions_DisableReqAssistData:
-			{
-			// We're being asked to update a particular test mode options
-			SetOption(aModuleOption, aValue);	
-			break;
-			}
-		case ELbsHybridModuleOptions_DynamicAssistanceData:
-			{
-			//Turn on dynamic assistance data to always re-request assistance data we have not received
-			SetOption(aModuleOption, aValue);
-			break;
-			}
-		default:
-			{
-			err = KErrNotSupported;
-			break;				
-			}
-		}
-
-	return err;
-	}
-
-
-/** Force the agps module to send the next update in the array to LBS.
-
-This function is used to force an update even if there is no outstanding
-request from LBS.
-*/
-void CNpeApiImpl::ProcessRequestForcedUpdate()
-	{
-	UpdateLocation();
-	}
-
-/** Enable or disable a particular module option.
-*/
-void CNpeApiImpl::SetOption(TLbsHybridModuleOptions aModuleOption, TBool aValue)
-	{
-	if (aValue)
-		{
-		iModuleOptions |= aModuleOption; // Set bit.
-		}
-		
-	else
-		{
-		iModuleOptions &= ~aModuleOption; // Clear bit.
-		}
-	}
-
-
-/** Determine if a particular module option is enabled.
-*/	
-TBool CNpeApiImpl::GetOption(TLbsHybridModuleOptions aModuleOption)
-	{
-	if (aModuleOption & iModuleOptions)
-		{
-		return ETrue;
-		}
-	return EFalse;
-	}
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/ctestharnesshandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,172 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Implementation of Test A_Gps module request handler component.
-// 
-//
-
-#include "ctestharnesshandler.h"
-
-const TInt KBufferedMsgMaxCount = 6;
-
-CT_TestHarnessHandler::CT_TestHarnessHandler(MT_RequestObserver* aObserver) : 
-	CActive(EPriorityHigh),
-	iObserver(aObserver)
-	{
-	}
-	
-CT_TestHarnessHandler::~CT_TestHarnessHandler()
-	{
-	Cancel();
-	iTHChannel.Close();
-	iMsgBuffer.ResetAndDestroy();
-	}
-
-CT_TestHarnessHandler* CT_TestHarnessHandler::NewL(MT_RequestObserver* aObserver)
-	{
-	CT_TestHarnessHandler* self = new (ELeave) CT_TestHarnessHandler(aObserver);
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-	}
-	
-void CT_TestHarnessHandler::ConstructL()
-	{
-    RT_LbsChannel::InitializeL(RT_LbsChannel::EChannelTAGPS2TH);
-	iMsgBuffer.ReserveL(KBufferedMsgMaxCount);
-	iTHChannel.OpenL(RT_LbsChannel::EChannelTAGPS2TH, *this);
-	CActiveScheduler::Add(this);
-	}
-
-void CT_TestHarnessHandler::SendDataOutResponse(TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
- 	TT_LbsAGpsResponseMsg* aMsg = new TT_LbsAGpsResponseMsg(aResponse);
-
- 	BufferMessage(aMsg);	
-	}
-	
-void CT_TestHarnessHandler::RunL()
-	{
-	User::LeaveIfError(iStatus.Int());
-		
-	if (iMsgBuffer.Count() > 0)
-		{	
-		SendResponseMessage(iMsgBuffer[0]);
-		iMsgBuffer.Remove(0);
-		}
-	}
-	
-void CT_TestHarnessHandler::DoCancel()
-	{
-	iTHChannel.CancelSendMessageNotification();
-	}
-	
-TInt CT_TestHarnessHandler::RunError(TInt aError)
-	{
-	return aError;
-	}
-
-void CT_TestHarnessHandler::SendResponseMessage(const TT_LbsMsgBase* aMessage)
-	{
-	iTHChannel.SendMessage(*aMessage, iStatus);
-	// The msg has now been sent to the channel. We can now delete it.
-	delete(aMessage);
-	SetActive();
-	}
-
-void CT_TestHarnessHandler::BufferMessage(const TT_LbsMsgBase* aMessage)
-	{	
-	if (!IsActive())
-		{
-		// The AO is not active, so there should be no buffered messages.
-		__ASSERT_DEBUG(iMsgBuffer.Count() == 0, User::Invariant());
-		
-		// Immediately send the new message.
-		SendResponseMessage(aMessage);
-		}
-	else
-		{
-		__ASSERT_ALWAYS(iMsgBuffer.Count() < KBufferedMsgMaxCount, User::Invariant());
-
-		// Still waiting for acknowledgement that a previous message
-		// was read, so buffer this new message.
-		iMsgBuffer.Append(aMessage);
-		}
-	}
-
-/** Process requests from the test step. Test data is passed to the test module via the input
-	data bus.
-*/
-void CT_TestHarnessHandler::ProcessChannelMessage(RT_LbsChannel::TT_LbsChannelId /*aChannelId*/, 
-												 const TT_LbsMsgBase& aMessage)
-	{
-	TInt err = KErrNone;
-	
-	switch (aMessage.Type())
-		{
-		case TT_LbsMsgBase::EModuleRequestUpdateInit:
-			{
-			const TT_LbsAGpsRequestUpdateInitMsg& msg = static_cast<const TT_LbsAGpsRequestUpdateInitMsg&>(aMessage);
-			err = iObserver->ProcessRequestUpdateInit(msg.ConfigFileName(), msg.ConfigSection());
-			break;				
-			}
-		case TT_LbsMsgBase::EModuleRequestTimeOut:
-			{
-			const TT_LbsAGpsRequestTimeOut& msg = static_cast<const TT_LbsAGpsRequestTimeOut&>(aMessage);
-			iObserver->ProcessRequestTimeOut(msg.TimeOut());
-			break;				
-			}
-		case TT_LbsMsgBase::EModuleRequestOptions:
-			{
-			const TT_LbsAGpsRequestOptions& msg = static_cast<const TT_LbsAGpsRequestOptions&>(aMessage);
-			err = iObserver->ProcessRequestModuleOptions(msg.ModuleOption(), msg.ModuleValue());		
-			break;				
-			}
-		case TT_LbsMsgBase::EModuleRequestError:
-			{
-			const TT_LbsAGpsRequestError& msg = static_cast<const TT_LbsAGpsRequestError&>(aMessage);
-			iObserver->ProcessRequestError(msg.Error());
-			break;
-			}
-		case TT_LbsMsgBase::EModuleRequestForcedUpdate:
-			{
-			iObserver->ProcessRequestForcedUpdate();
-			break;
-			}
-		case TT_LbsMsgBase::EModuleImmediateMeasurements:
-			{
-			const TT_LbsAGpsImmediateMeasurements& msg = static_cast<const TT_LbsAGpsImmediateMeasurements&>(aMessage);
-				
-			iObserver->ProcessImmediateMeasurements(msg.ImmediateMeasurements());
-			break;
-			}
-		default:
-			{
-			err = KErrNotSupported;									
-			break;										
-			}
-		}		
-
-	// Publish a response to the in coming data, now that we have handled it.
-	if (err == KErrNone)
-		{
-		SendDataOutResponse(TT_LbsAGpsResponseMsg::EModuleResponseOk);
-		}
-	else
-		{
-		SendDataOutResponse(TT_LbsAGpsResponseMsg::EModuleErr);
-		}
-
-	}
-
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/src/locationengine_api.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// 
-//
-
-/**
- @file npeclientstub.cpp
-*/
-#include <e32base.h>
-#include "clocationengineapiimpl.h"
-
-EXPORT_C CNpeApi::~CNpeApi()
-    {
-	RDebug::Print(_L("CNpeApi::~CNpeApi"));
-  
-    CNpeApiImpl::Cleanup();
-    // Do nothing
-    }
-
-/**
- * Two-phased constructor.
- */
-EXPORT_C CNpeApi* CNpeApi::NewL(MNpeObserver* aObservers)
-    {
-    CNpeApi* self = new(ELeave) CNpeApi(aObservers);
-    return self;
-    }
-
-/**
- * Two-phased constructor.
- */
-EXPORT_C CNpeApi* CNpeApi::NewLC(MNpeObserver* aObservers)
-    {
-    CNpeApi* self = new(ELeave) CNpeApi(aObservers);
-    CleanupStack::PushL(self);
-    return self;
-    }
-
-// API Version
-EXPORT_C void CNpeApi::Version(TVersion& aApi)
-    {
-    CNpeApiImpl::NpeApiImpl().Version(aApi);
-    }
-
-
-// Delete Assistance Data
-EXPORT_C void CNpeApi::DeleteAssistanceData(TNpeAdTypes aData)
-    {
-    CNpeApiImpl::NpeApiImpl().DeleteAssistanceData(aData);
-    }
-
-// Misc. interfaces
-EXPORT_C void CNpeApi::SetClientUsage(TNpeClientInfo aClientInfo)
-    {
-    CNpeApiImpl::NpeApiImpl().SetClientUsage(aClientInfo);
-    }
-
-EXPORT_C void CNpeApi::SetGpsOptions(TNpeGpsMode aGpsMode, TBool aGpsTimeRelationReq)
-    {
-    CNpeApiImpl::NpeApiImpl().SetGpsOptions(aGpsMode, aGpsTimeRelationReq);
-    }
-
-EXPORT_C void CNpeApi::AdvisePowerMode(TNpePowerMode aPowerMode)
-    {
-    CNpeApiImpl::NpeApiImpl().AdvisePowerMode(aPowerMode);    
-    }
-
-// Position interface
-EXPORT_C void CNpeApi::PositionRequest(const TTime& aTargetTime, TInt aMaxFixTime, TInt aHorUncertainty, TInt aVerUncertainty)
-    {
-    CNpeApiImpl::NpeApiImpl().PositionRequest(aTargetTime, aMaxFixTime, aHorUncertainty, aVerUncertainty);
-    }
-
-EXPORT_C void CNpeApi::CancelPositionRequest(void)
-    {
-    CNpeApiImpl::NpeApiImpl().CancelPositionRequest();
-    }
-
-// Assistance data delivery interface
-EXPORT_C void CNpeApi::DeliverAssistanceData(TLbsAsistanceDataGroup aDataGroup, RLbsAssistanceDataReaderSet &aDataReaderSet)
-    {
-    CNpeApiImpl::NpeApiImpl().DeliverAssistanceData(aDataGroup, aDataReaderSet);
-    }
-
-/**
- * Constructor for performing 1st stage construction
- */
-CNpeApi::CNpeApi(MNpeObserver* aObservers)
-    {
-    CNpeApiImpl::InstantiateL(aObservers);
-    }
-
-EXPORT_C TAny* CNpeApi::ExtendedInterface(TInt /*aFunctionNumber*/, TAny* /*aPtr1*/, TAny* /*aPtr2*/)
-	{
-	return NULL;
-	}
-
-// end of file
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-../scripts/te_npetestclientapi.script		c:/testdata/scripts/te_npetestclientapi.script
-../testdata/te_npetestclientapi.ini		c:/testdata/configs/te_npetestclientapi.ini
-
-PRJ_TESTMMPFILES
-te_npetestclientapi.mmp
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/group/te_npetestclientapi.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-TARGET		te_npetestclientapi.exe
-TARGETTYPE	exe
-UID		0x1000007A 0x102871E7
-CAPABILITY	all -TCB
-
-//MACRO LBS_DEV_LOGGER_MACROS_H
-
-// Test files
-SOURCEPATH	../src
-SOURCE		te_npetestclientapitestserver.cpp
-SOURCE		te_npetestclientapistepbase.cpp
-SOURCE		te_testnpeintegmodule.cpp
-
-// Test cases.
-SOURCE		te_npetestclientapilocreqstep.cpp
-
-USERINCLUDE	../inc
-USERINCLUDE	../../inc
-USERINCLUDE	../../../../../../datasourcemodules/npeintegmodule/npeapi/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsNetInternalApi/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsInternalApi/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsCommonInternalDataTypes/inc
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-// EPOC
-LIBRARY	euser.lib
-LIBRARY	ecom.lib
-
-// TEF
-LIBRARY	testexecuteutils.lib 
-LIBRARY	testexecutelogclient.lib
-
-// LBS LOGGER
-LIBRARY lbspartnercommon.lib
-LIBRARY	flogger.lib
-
-// LBS
-LIBRARY	lbslocdatasource.lib
-LIBRARY	lbs.lib
-LIBRARY	lbsassistancedata.lib
-
-// LBS TEST
-LIBRARY	lbstestutils.lib
-LIBRARY npetestclientapi.lib
-
-// LBS libraries.
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsnetsim.lib
-LIBRARY lbsnetinternalapi.lib
-LIBRARY lbsinternalapi.lib
-
-// LBS test libraries.
-LIBRARY	lbstestclient.lib
-LIBRARY lbsnetprotocolproxy.lib
-LIBRARY getafixutils.lib
-
-
-
-SMPSAFE
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapilocreqstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/**
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-#ifndef TE_NPETESTCLIENTAPILOCREQSTEP_H
-#define TE_NPETESTCLIENTAPILOCREQSTEP_H
-
-#include <test/testexecutestepbase.h>
-
-#include "te_npetestclientapistepbase.h"
-#include "te_testnpeintegmodule.h"
-
-
-//************************************************************************************************************
-//   CTe_LocReqTestNpiModule
-//************************************************************************************************************
-
-class CTe_LocReqTestNpiModule : public CTe_TestNpeIntegModule 
-	{
-public:
-	static CTe_LocReqTestNpiModule* NewL();
-	~CTe_LocReqTestNpiModule();
-
-	void RunL();
-
-	// MT_ResponseObserver
-	void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-	
-protected:
-    CTe_LocReqTestNpiModule();
-	void ConstructL();
-	
-private:
-	TBool iMultiUpdateOnDone;
-    TBool iAssistDataOnDone;
-	};
-
-
-//************************************************************************************************************
-//   CTe_NpeTestClientApiLocReqStep
-//************************************************************************************************************
-class CTe_NpeTestClientApiLocReqStep : public CTe_NpeTestClientApiStepBase
-	{
-public:
-    CTe_NpeTestClientApiLocReqStep();
-	~CTe_NpeTestClientApiLocReqStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-private:
-    CTe_LocReqTestNpiModule* iTestManager;
-	};
-
-_LIT(KNpeTestClientApiLocReqStep,"NpeTestClientApiLocReqStep");
-
-#endif	//	TE_NPETESTCLIENTAPILOCREQSTEP_H
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapistepbase.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TE_NPETESTCLIENTAPISTEPBASE_H
-#define TE_NPETESTCLIENTAPISTEPBASE_H
-
-#include <test/testexecutestepbase.h>
-
-class CTe_NpeTestClientApiStepBase : public CTestStep
-	{
-public:
-	virtual ~CTe_NpeTestClientApiStepBase();
-	CTe_NpeTestClientApiStepBase();
-	virtual TVerdict doTestStepPreambleL(); 
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	HBufC8*				iReadData;
-	HBufC8*				iWriteData;
-	CActiveScheduler* 	iRootScheduler;
-	};
-
-#endif	//	TE_NPETESTCLIENTAPISTEPBASE_H
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_npetestclientapitestserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TE_NPETESTCLIENTAPITESTSERVER_H
-#define TE_NPETESTCLIENTAPITESTSERVER_H
-
-#include <test/testexecuteserverbase.h>
-
-class CTe_NpeTestClientApiTestServer : public CTestServer
-	{
-public:
-	static CTe_NpeTestClientApiTestServer* NewL();
-	// Base class pure virtual override
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	};
-
-#endif // TE_NPETESTCLIENTAPITESTSERVER_H
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/inc/te_testnpeintegmodule.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef TE_TESTNPEINTEGMODULE_H
-#define TE_TESTNPEINTEGMODULE_H
-
-#include <lbs/test/ctlbsagpshandler.h>
-#include "locationengine_api.h"
-
-//************************************************************************************************************
-//   CTestManagerBase
-//************************************************************************************************************
-class CTe_TestNpeIntegModule : public CTimer, public MNpeObserver, MT_ResponseObserver 
-	{
-public:
-	~CTe_TestNpeIntegModule();
-	
-	//from MNpeObserver
-    void PositionUpdate(TInt aStatus, const TPositionInfoBase *aPositionDataArray[], TInt aNumItems, const TTime &aTargetTime);
-    void AssistanceDataRequest(TLbsAssistanceDataGroup aAssistanceData);
-    void GpsStatus(TNpeGpsStatus aStatus);
-	void GpsQualityStatus(TNpeGpsQualityStatus aQualityStatus);
-
-	// from MT_ResponseObserver
-	virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-
-	
-protected:
-	CTe_TestNpeIntegModule();
-	void ConstructL();
-	
-	void CompleteSelf(TInt aReason = KErrNone);
-	
-	void RequestLocation();
-	void CheckLocationUpdateReceived();
-	
-    void Shutdown();
-protected:
-	TBool 	iShutdown;
-	TBool	iInitDone;
-	TBool	iUpdateReceived;
-	TInt	iRequestCounter;
-	TBool	iExpectNanPosition;
-
-	TTime 						iTargetTime;
-	TLbsLocRequestQuality 		iQuality;
-	TLbsGpsOptionsArray 		iGpsOptions;
-	TNpeGpsMode            iGpsMode;
-	
-	CNpeApi* iModule;
-
-	// Communication channel between A-Gps module and Test Harness
-	CT_LbsAGpsHandler* iAGpsHandler;
-	};
-
-
-#endif	//	TE_TESTNPEINTEGMODULE_H
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/scripts/te_npetestclientapi.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-//
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-//
-PRINT Run all te_npetestclientapi Suite Tests
-
-//
-LOAD_SUITE te_npetestclientapi
-//
-
-START_TESTCASE LBS-NPETESTCLIENTAPI-LocReq-0001
-//!@SYMTestCaseID	LBS-NPETESTCLIENTAPI-LocReq-0001
-RUN_TEST_STEP 300 te_npetestclientapi NpeTestClientApiLocReqStep
-END_TESTCASE LBS-NPETESTCLIENTAPI-LocReq-0001
-
-PRINT Complete te_npetestclientapi Suite Tests
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapilocreqstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,321 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include "lbsdevloggermacros.h"
-
-#include <lbs/test/tlbsutils.h>
-#include "te_npetestclientapilocreqstep.h"
-#include "LbsExtendModuleInfo.h"
-//#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-
-
-_LIT(KFileName, "c:\\testdata\\configs\\te_npetestclientapi.ini");
-_LIT(KSection, "section0");
-
-
-//************************************************************************************************************
-//   CTe_LocReqTestNpiModule
-//************************************************************************************************************
-CTe_LocReqTestNpiModule* CTe_LocReqTestNpiModule::NewL()
-   {
-	CTe_LocReqTestNpiModule* self = new(ELeave) CTe_LocReqTestNpiModule();
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-   };
-
-
-//------------------------------------------------------------------------------------------------------------
-CTe_LocReqTestNpiModule::CTe_LocReqTestNpiModule()
-	:CTe_TestNpeIntegModule()
-	{
-   iAssistDataOnDone = EFalse;
-
-	CActiveScheduler::Add(this);
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_LocReqTestNpiModule::ConstructL()
-	{
-	CTe_TestNpeIntegModule::ConstructL();
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-CTe_LocReqTestNpiModule::~CTe_LocReqTestNpiModule()
-	{
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_LocReqTestNpiModule::RunL()
-	{
-	if (iShutdown)
-		{
-		CActiveScheduler::Stop();
-		return;
-		}
-
-	if (!iInitDone)
-		{
-		// Now publish the file and section names to the module, to inform the module it has to
-		// carry out a re-read of the ini file.
-		iAGpsHandler->SendRequestUpdateInitMsg(KFileName, KSection);		
-		}
-	else
-		{
-		// Test Actions
-		// Single request with normal gps options.
-		switch(iRequestCounter)
-		    {
-		    case 0:
-		        {
-	            iGpsMode = EAutonomous;
-                break;
-		        }
-            case 1:
-                {
-                // Check previous update.
-                CheckLocationUpdateReceived();
-                iGpsMode = ETerminalAssisted;
-                break;
-                }
-            case 2:
-                {
-                // Check previous update.
-                CheckLocationUpdateReceived();
-                iGpsMode = ETerminalBased;
-                break;
-                }
-            case 3:
-                {
-                // Check previous update.
-                CheckLocationUpdateReceived();
-                iGpsMode = EAutonomousAndTerminalAssisted;
-                break;
-                }
-            case 4:
-                {
-                // Check previous update.
-                CheckLocationUpdateReceived();
-                iGpsMode = ETerminalBasedAndAssisted;
-                break;
-                }
-            case 5:
-                {
-                if (!iAssistDataOnDone)
-                    {
-                    iAGpsHandler->SendRequestModuleOption(ELbsHybridModuleOptions_AssistanceDataOn, ETrue);
-                    return;
-                    }
-                iGpsMode = ETerminalBased;
-                
-                // Since Assistance is On and we are in PreferTerminal mode
-                // set this flag to let the test manager know we are not interested in the initial partial update.
-                iExpectNanPosition = ETrue;
-                break;
-                }
-            case 6:
-            case 7:
-            case 8:
-                {
-                // Switch on multi-update module option.
-                if (!iMultiUpdateOnDone)
-                    {
-                    iAGpsHandler->SendRequestModuleOption(ELbsHybridModuleOptions_MultiUpdatesOn, ETrue);
-                    return;
-                    }
-                    
-                // First request.
-                if (iRequestCounter == 6)
-                    {
-                    // now do update...
-                    
-                    // then we get 3 results, as a result fo the request at the bottom, ensure we
-                    // don't keep re-requesting...
-
-                    // Check previous update.
-                    CheckLocationUpdateReceived();
-                    
-                    // Set gps options. 
-                    iGpsMode = EAutonomous;
-                    
-                    // Set quality.
-                    TTimeIntervalMicroSeconds maxFixTime(10000000); // 10 secs.
-                    TLbsLocRequestQuality quality;
-
-                    iQuality.SetMaxFixTime(maxFixTime);
-                    }
-                    
-                // Remaining requests.
-                else
-                    {
-                    // Check previous update.
-                    CheckLocationUpdateReceived();
-
-                    // Dummy request.
-                    iRequestCounter++;
-                    
-                    return;
-                    }
-                break;
-                }
-            case 9:
-                {
-                // Check previous update.
-                CheckLocationUpdateReceived();
-                
-                // Shutdown which invokes test end.
-                Shutdown();
-                return;
-                }
-            default:
-                {
-                User::Leave(KErrGeneral);
-                }
-		    }
-		
-        iModule->SetGpsOptions(iGpsMode, ETrue);
-		RequestLocation();
-		}
-	}
-
-void CTe_LocReqTestNpiModule::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (!iInitDone)
-		{
-		iInitDone = ETrue;
-		}
-	else
-		{
-		if(iRequestCounter == 5)
-		    {
-		    iAssistDataOnDone  = ETrue;
-		    }
-		else if(iRequestCounter == 6)
-            {
-            iMultiUpdateOnDone = ETrue;
-            }
-		else
-		    {
-		    //Some Error???
-		    }
-		}
-
-	CTe_TestNpeIntegModule::ProcessAGpsResponseMessage(aResponse);	
-	}	
-	
-	
-//************************************************************************************************************
-// CLocationRequestStep
-//************************************************************************************************************
-CTe_NpeTestClientApiLocReqStep::~CTe_NpeTestClientApiLocReqStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTe_NpeTestClientApiLocReqStep::CTe_NpeTestClientApiLocReqStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KNpeTestClientApiLocReqStep);
-	}
-
-TVerdict CTe_NpeTestClientApiLocReqStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Test Preamble. Creating the Main Logic"));
-	LBSNEWLOG(">>>>>>>>>>>>>>>>> A-GPS Hybrid Module Main Unit Test Started >>>>>>>>>>>>>>>>>");
-
-	__UHEAP_MARK;
-	
-	INFO_PRINTF1(_L("Test Preamble. Creating test manager"));
-	iTestManager = CTe_LocReqTestNpiModule::NewL();
-	
-	TPositionModuleInfoExtended moduleInfo1;
-		
-	const TUid KModuleUid1 = {0x10281d44};
-		
-	TPositionModuleInfo* posModInfo;
-	posModInfo = 	(TPositionModuleInfo*)(&moduleInfo1.iPositionModuleInfoBytes[0]);
-	posModInfo->SetModuleId(TPositionModuleId(KModuleUid1));
-	moduleInfo1.iModuleId = KModuleUid1;
-		
-	const TPositionModuleInfoExtended* KModuleInfoArray[] =
-		{
-		&moduleInfo1
-		};
-	
-	INFO_PRINTF1(_L("Test Preamble. LbsModuleInfo::InitializeL"));
-	LbsModuleInfo::InitializeL(KModuleInfoArray, 1);
-	INFO_PRINTF1(_L("Test Preamble. LbsModuleInfo::Initialized"));
-	
-	TUint numModules = 0;
-		
-	TInt err = LbsModuleInfo::GetNumModules(numModules);
-	INFO_PRINTF3(_L("numModules: %d, err: %d"), numModules, err);
-	
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CTe_NpeTestClientApiLocReqStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		CActiveScheduler::Start();
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-TVerdict CTe_NpeTestClientApiLocReqStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	LBSLOG(ELogP5, "<<<<<<<<<<<<<<<<< A-GPS Hybrid Module Unit Test Terminating <<<<<<<<<<<<<<<<<");
-	INFO_PRINTF1(_L("Test Postamble. Deleting the module"));
-
-	delete iTestManager;
-	iTestManager = NULL;
-	
-	__UHEAP_MARKEND;
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapistepbase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the npetestclient suite Test Server
-// 
-//
-
-#include "te_npetestclientapistepbase.h"
-
-TVerdict CTe_NpeTestClientApiStepBase::doTestStepPreambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-	{
-	// process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CTe_NpeTestClientApiStepBase::doTestStepPostambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-	{
-	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-CTe_NpeTestClientApiStepBase::~CTe_NpeTestClientApiStepBase()
-	{
-	delete iRootScheduler;
-	}
-
-CTe_NpeTestClientApiStepBase::CTe_NpeTestClientApiStepBase()
-	{
-	iRootScheduler = new CActiveScheduler;
-	CActiveScheduler::Install(iRootScheduler);
-	}
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_npetestclientapitestserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the npetestclientapi suite Test Server
-// 
-//
-
-#include "te_npetestclientapitestserver.h"
-#include "te_npetestclientapilocreqstep.h"
-
-_LIT(KServerName,"te_npetestclientapi");
-
-CTe_NpeTestClientApiTestServer* CTe_NpeTestClientApiTestServer::NewL()
-/**
- * @return - Instance of the test server
- * Same code for Secure and non-secure variants
- * Called inside the MainL() function to create and start the
- * CTestServer derived server.
- */
-	{
-	CTe_NpeTestClientApiTestServer * server = new (ELeave) CTe_NpeTestClientApiTestServer();
-	CleanupStack::PushL(server);
-
-	server->ConstructL(KServerName);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-// Secure variants much simpler
-// For EKA2, just an E32Main and a MainL()
-LOCAL_C void MainL()
-/**
- * Secure variant
- * Much simpler, uses the new Rendezvous() call to sync with the client
- */
-	{
-	// Leave the hooks in for platform security
-#if (defined __DATA_CAGING__)
-	RProcess().DataCaging(RProcess::EDataCagingOn);
-	RProcess().DataCaging(RProcess::ESecureApiOn);
-#endif
-	CActiveScheduler* sched=NULL;
-	sched=new(ELeave) CActiveScheduler;
-	CActiveScheduler::Install(sched);
-	CTe_NpeTestClientApiTestServer* server = NULL;
-	// Create the CTestServer derived server
-	TRAPD(err,server = CTe_NpeTestClientApiTestServer::NewL());
-	if(!err)
-		{
-		// Sync with the client and enter the active scheduler
-		RProcess::Rendezvous(KErrNone);
-		sched->Start();
-		}
-	delete server;
-	delete sched;
-	}
-
-
-
-GLDEF_C TInt E32Main()
-/**
- * @return - Standard Epoc error code on process exit
- * Secure variant only
- * Process entry point. Called by client using RProcess API
- */
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-	TRAPD(err,MainL());
-	delete cleanup;
-	__UHEAP_MARKEND;
-	return err;
-    }
-
-
-
- CTestStep* CTe_NpeTestClientApiTestServer::CreateTestStep(const TDesC& aStepName)
-/**
- * @return - A CTestStep derived instance
- * Secure and non-secure variants
- * Implementation of CTestServer pure virtual
- */
-	{
-	CTestStep* testStep = NULL;
-
-	if(aStepName == KNpeTestClientApiLocReqStep)
-		{
-		testStep = new CTe_NpeTestClientApiLocReqStep();
-		}
-		                   
-	return testStep;
-	}
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/src/te_testnpeintegmodule.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,285 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// System
-#include <ecom/ecom.h> 
-
-// Project
-#include "lbsdevloggermacros.h"
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS Test
-#include <lbs/test/tlbsutils.h>
-#include "te_testnpeintegmodule.h"
-
-_LIT(KTestNpeIntegModule, "TestNpeInteg");
-_LIT(KTimeFormat, "%H:%T:%S.%C");
-
-const TReal32						KTargetAccuracy		= 100;		// 100 metres
-const TTimeIntervalMicroSeconds32	KFirstRequestAfter	= 1000000;	//1s
-
-//************************************************************************************************************
-//   CTestManagerBase
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-CTe_TestNpeIntegModule::CTe_TestNpeIntegModule()
-	:CTimer(CActive::EPriorityHigh),
-	iShutdown(EFalse),
-	iInitDone(EFalse),
-	iUpdateReceived(EFalse),
-	iRequestCounter(0),
-	iExpectNanPosition(EFalse),
-	iTargetTime(0),
-	iModule(NULL)
-	{
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::ConstructL()
-	{
-	CTimer::ConstructL();
-
-	iModule = CNpeApi::NewL(this);
-
-	// create the test channel handler
-	iAGpsHandler = CT_LbsAGpsHandler::NewL(this);
-
-	After(KFirstRequestAfter);
-	}
-
-//------------------------------------------------------------------------------------------------------------
-CTe_TestNpeIntegModule::~CTe_TestNpeIntegModule()
-	{
-	delete iAGpsHandler;
-	iAGpsHandler = NULL;
-
-	delete iModule;
-	//REComSession::FinalClose();
-	iModule = NULL;
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::CompleteSelf(TInt aReason)
-	{
-	TRequestStatus* pStat = &iStatus;
-	   
-	User::RequestComplete(pStat, aReason);
-	SetActive();
-	}
-
-//------------------------------------------------------------------------------------------------------------	
-void CTe_TestNpeIntegModule::RequestLocation()
-	{
-	TInt err = KErrNone;
-
-	// Set quality here
-	iQuality.SetMinHorizontalAccuracy(KTargetAccuracy);
-	iQuality.SetMinVerticalAccuracy(KTargetAccuracy);
-
-	iTargetTime.UniversalTime();
-	
-	// Logging
-	TBuf<100> tTimeStr;
-	TRAP(err, iTargetTime.FormatL(tTimeStr, KTimeFormat);)
-	if(err)
-		User::Panic(KTestNpeIntegModule, err);
-	
-	LBSLOG(ELogP1, "");
-	LBSLOG3(ELogP5, "NEW TEST: Requesting Location[%d]. Target Time: %S.\n", iRequestCounter, &tTimeStr);
-	
-	// Request
-	iModule->PositionRequest(iTargetTime, 0, KTargetAccuracy, KTargetAccuracy);
-	iUpdateReceived = EFalse;
-	iRequestCounter++;	
-	}
-	
-//------------------------------------------------------------------------------------------------------------	
-void CTe_TestNpeIntegModule::CheckLocationUpdateReceived()
-	{
-	// Was update received
-	if (iUpdateReceived == EFalse)
-		{
-		LBSLOG_ERR(ELogP5, "NEW TEST: Location Update not received\n");
-		
-		TInt err = KErrNone;
-		
-		TRAP(err, User::Leave(KErrGeneral);)
-		if(err)
-			User::Panic(KTestNpeIntegModule, err);
-		}
-		
-	iUpdateReceived = EFalse;
-	}
-
-
-//************************************************************************************************************
-//   From MLbsLocationSourceGpsObserver
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::PositionUpdate(TInt aStatus, const TPositionInfoBase* aPosInfoArray[], TInt aNumItems, const TTime& aTargetTime)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Location Update Received");
-
-	if (iExpectNanPosition)
-	{
-		iExpectNanPosition = EFalse;
-		return;
-	}
-
-	iUpdateReceived = ETrue;
-	
-	TInt err = KErrNone;
-	const TPositionSatelliteInfo* posInfo = NULL;
-
-	// No measurements present (unless mode is EAssisted). Position only available at index 0.
-	if (aNumItems == 1) 
-		{
-		posInfo = reinterpret_cast<const TPositionSatelliteInfo*>(aPosInfoArray[0]);
-		}
-	// Measurements should be present.
-	else if (aNumItems == 2)
-		{
-        const TPositionGpsMeasurementInfo* measurement = NULL;
-        measurement = reinterpret_cast<const TPositionGpsMeasurementInfo*>(aPosInfoArray[0]);
-        posInfo = reinterpret_cast<const TPositionSatelliteInfo*>(aPosInfoArray[1]);
-        
-		// Check measurment is correct type.
-		if (measurement->PositionClassType() != EPositionGpsMeasurementInfoClass)
-			{
-			LBSLOG_ERR2(ELogP5, "Measurement type is: %d\n", measurement->PositionClassType());
-			User::Panic(KTestNpeIntegModule, KErrGeneral);
-			}
-		}
-	else
-		{
-		err = KErrNotSupported;
-		}
-
-	// Update err check
-	if (err)
-		{
-		LBSLOG_ERR2(ELogP5, "Update arr processing err is: %d\n", err);			
-		User::Panic(KTestNpeIntegModule, err);
-		}
-
-	// Check posinfo is correct type.
-	if (!(posInfo->PositionClassType() & EPositionSatelliteInfoClass) && !(iGpsMode == ETerminalAssisted))
-		{
-		LBSLOG_ERR2(ELogP5, "Position type is: %d\n", posInfo->PositionClassType());
-		User::Panic(KTestNpeIntegModule, KErrGeneral);
-		}
-
-	// Accuracy check
-	TPosition position;
-	posInfo->GetPosition(position);
-	TReal32 horAccur = position.HorizontalAccuracy();
-	TReal32 vertAccur = position.VerticalAccuracy();
-
-	// Logging
-	TInt minHorAccurInt = iQuality.MinHorizontalAccuracy();
-	TInt minVertAccurInt = iQuality.MinVerticalAccuracy();
-
-	LBSLOG5(ELogP5, "Location Update Received. Accuracy %d/%d [%d/%d]\n", horAccur, vertAccur, minHorAccurInt, minVertAccurInt);
-
-	// Status check.
-	if (aStatus != KErrNone)
-		{
-		LBSLOG_ERR2(ELogP5, "aStatus is: %d\n", aStatus);
-		User::Panic(KTestNpeIntegModule, aStatus); //panic should be KErrGeneral aStatus is currently return for debug purposes
-		}
-
-	// Target time check.
-	if (aTargetTime != iTargetTime)
-		{
-		LBSLOG_ERR(ELogP5, "NEW TEST: aTargetTime != iTargetTime\n");
-		User::Panic(KTestNpeIntegModule, KErrGeneral);
-		}
-
-	// Quality check and end of validation.
-	if (((Math::IsNaN(horAccur) && Math::IsNaN(vertAccur))) ||
-		((horAccur <= iQuality.MinHorizontalAccuracy()) &&
-		(vertAccur <= iQuality.MinVerticalAccuracy())))
-		{
-		Cancel();
-		CompleteSelf();
-		}
-
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::GpsStatus(TNpeGpsStatus aGpsStatus)
-	{
-	(void)aGpsStatus;
-	
-	LBSLOG2(ELogP5, "NEW TEST: <Device Status Update Received: %d", aDeviceStatus);
-	}
-	
-void CTe_TestNpeIntegModule::GpsQualityStatus(TNpeGpsQualityStatus aQualityStatus)
-	{
-	(void)aQualityStatus;
-	LBSLOG2(ELogP5, "NEW TEST: <Device Status Update Received: %d", aQualityStatus);
-	}
-
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::AssistanceDataRequest(TLbsAsistanceDataGroup aDataItemMask)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Request Assistance Data Received");
-
-	// Only support reference time.
-	if (aDataItemMask == EAssistanceDataReferenceTime)
-		{
-        RLbsAssistanceDataReaderSet  aDataReader;
-		iModule->DeliverAssistanceData(EAssistanceDataReferenceTime, aDataReader);
-		}
-		
-	else if (aDataItemMask == 0)
-		{
-		return;		
-		}
-		
-	else
-		{
-		//Should we raise error????
-		}
-	}
-
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::Shutdown()
-    {
-    iShutdown = ETrue;
-    
-    Cancel();
-    CompleteSelf();
-    }
-
-
-//************************************************************************************************************
-//   From MT_ResponseObserver
-//************************************************************************************************************
-//------------------------------------------------------------------------------------------------------------
-void CTe_TestNpeIntegModule::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	LBSLOG(ELogP1, "NEW TEST: <Process AGps Response Message Received");
-
-	if (TT_LbsAGpsResponseMsg::EModuleResponseOk != aResponse)
-		{
-		CompleteSelf(KErrArgument);
-		}
-	else
-		{
-		CompleteSelf(KErrNone);
-		}
-	}
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestclientapi/test/testdata/te_npetestclientapi.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-[section0]
-
-$update,1,2,50.2454,0.1668,1.0,100,100*
-$update,1,4,51.2454,0.1668,1.0,100,100*
-$update,1,3,52.2454,0.1668,1.0,100,100*
-$update,1,2,53.2454,0.1668,1.0,100,100*
-$update,1,2,53.2454,0.1668,1.0,100,100*
-$update,1,4,51.2454,0.1668,1.0,100,100*
-$update,1,3,52.2454,0.1668,1.0,100,100*
-$update,1,2,53.2454,0.1668,1.0,100,100*
-$update,1,2,53.2454,0.1668,1.0,100,100*
-$update,1,4,51.2454,0.1668,1.0,100,100*
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-# ctagpsnpetestmoduledatasource.ini (copied to agpsintegmodule.ini)
-# Ini file with the module information for the test NPE AGPS integration module (TB and TA capabilities)
-
-[1]
-Version= 0.2.1		#
-ModuleId= 271064388	# dec
-ModuleName= "Test_NPE_Loc_AGPS_Module"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 111111	# binary
-TimeToFirstFix= 90000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 5.4 # real
-VerticalAccuracy= 5.4   # real
-CostIndicator= 2	# dec
-PowerConsumption= 2	# dec
-DataSourceId= 271086056	# dec
-ExecutableName= "lbsgpslocmanager.exe"
-
-
-
-#positioning capabilities of an AGPS Integration Module intended to be used as a bitmask.
-#
-#Currently only the following combinations are supported:
-#  - EDeviceGpsModeTerminalBased
-#  - EDeviceGpsModeTerminalAssisted
-#  - EDeviceGpsModeTerminalBased | EDeviceGpsModeTerminalAssisted
-#  - EDeviceGpsModeSimultaneousTATB
-#
-#Specifying a bitmask with more than one mode enabled means that all the modes are supported, but not simultaneously. 
-#For example “EDeviceGpsModeTerminalBased | EDeviceGpsModeTerminalAssisted” means that a module can support both, 
-#Terminal Assisted and Terminal Based positioning, but only one at a time.
-#                                                                                                
-#No capabilities. Also used to initialise variables:                                                                           
-#EDeviceGpsModeNone = 0x0,         
-#                                                                   
-#Device supports Terminal Based positioning and is also able to
-#calculate position autonomously if assistance data is unavailable,
-#or does not arrive on time (e.g. a fix is obtained before assistance data
-#delivery).                                                     
-#EDeviceGpsModeTerminalBased = 0x0001,                                                                
-#
-#Device supports Terminal Assisted positioning.
-#The module may, but does not have to be able to calculate position autonomously
-#if Terminal Assisted positioning does not succeed (e.g. network is unavailable):                                                  
-#EDeviceGpsModeTerminalAssisted = 0x0002,                                          
-#                   
-#Device can perform Terminal Assisted and Terminal Based positioning at the same time. 
-#It is also able to calculate position autonomously if assistance data is unavailable (e.g. network error), 
-#or does not arrive on time (e.g. a fix is obtained before assistance data delivery). 
-#NOTE: If you set this bit then it is not necessary to set either of the previous 2 bits as they are implied:                                                       
-#EDeviceGpsModeSimultaneousTATB = 0x0004,                                                   
-#                    
-#Device supports autonomous mode.
-#This value is currently not supported and has no effect on the behaviour of the LBS subsystem:                                                           
-#EDeviceGpsModeAutonomous = 0x0008,                                                                    
-
-
-DeviceGpsModeCaps=0100	# binary - simultaneous TA + TB ( + autonomous) - EDeviceGpsModeSimultaneousTATB
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_exclusive.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# ctagpsnpetestmoduledatasource_exclusive.ini (copied to agpsintegmodule.ini)
-# Ini file with the module information for the test NPE AGPS integration module (TB or TA capabilities)
-
-[1]
-Version= 0.2.1		#
-ModuleId= 271064388	# dec
-ModuleName= "Test_NPE_Loc_AGPS_Module"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 111111	# binary
-TimeToFirstFix= 90000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 5.4 # real
-VerticalAccuracy= 5.4   # real
-CostIndicator= 2	# dec
-PowerConsumption= 2	# dec
-DataSourceId= 271086056	# dec
-ExecutableName= "lbsgpslocmanager.exe"
-
-
-
-DeviceGpsModeCaps=0011	# binary - exclusive TA or TB (+ autonomous)
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_ta.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# ctagpsnpetestmoduledatasource_ta.ini (copied to agpsintegmodule.ini)
-# Ini file with the module information for the test NPE AGPS integration module (TA only capabilities)
-
-[1]
-Version= 0.2.1		#
-ModuleId= 271064388	# dec
-ModuleName= "Test_NPE_Loc_AGPS_Module"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 111111	# binary
-TimeToFirstFix= 90000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 5.4 # real
-VerticalAccuracy= 5.4   # real
-CostIndicator= 2	# dec
-PowerConsumption= 2	# dec
-DataSourceId= 271086056	# dec
-ExecutableName= "lbsgpslocmanager.exe"
-
-
-
-DeviceGpsModeCaps=0010	# binary - TA only 
--- a/lbstest/lbstestproduct/agpsnpehybridmodule/npetestintegmodule/testdata/ctagpsnpetestmoduledatasource_tb.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# ctagpsnpetestmoduledatasource_tb.ini (copied to agpsintegmodule.ini)
-# Ini file with the module information for the test NPE AGPS integration module (TB only capabilities)
-
-[1]
-Version= 0.2.1		#
-ModuleId= 271064388	# dec
-ModuleName= "Test_NPE_Loc_AGPS_Module"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 111111	# binary
-TimeToFirstFix= 90000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 5.4 # real
-VerticalAccuracy= 5.4   # real
-CostIndicator= 2	# dec
-PowerConsumption= 2	# dec
-DataSourceId= 271086056	# dec
-ExecutableName= "lbsgpslocmanager.exe"
-
-
-DeviceGpsModeCaps=0001	# binary - TB only (+ Autonomous)
-
--- a/lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -19,6 +19,8 @@
 #define __CT_LBSBTGPSPSY_SUITE_IBY__
 
 #include <testexecute.iby>
+#include <te_lbstestutils.iby>
+#include <cinidata.iby>
 
 file=ABI_DIR\DEBUG_DIR\ctlbsbtgpspsytestserver.exe										sys\bin\ctlbsbtgpspsytestserver.exe
 data=EPOCROOT##epoc32\data\c\testdata\configs\setupdevicelist_real.ini 				testdata\configs\setupdevicelist_real.ini
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,93 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/cit/basic/lbsbtgpspsy/group/ctlbsbtgpspsytestserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\ctlbsbtgpspsytestserver.exe"-"c:\sys\bin\ctlbsbtgpspsytestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+
+; test "btgpspsy_locationrequest"
+;
+; test scripts
+"..\scripts\btgpspsy_locationrequest.script"-"c:\testdata\scripts\btgpspsy_locationrequest.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist.ini"-"c:\testdata\configs\setupdevicelist.ini"
+
+; test "btgpspsy_pnok"
+;
+; test scripts
+"..\scripts\btgpspsy_pnok.script"-"c:\testdata\scripts\btgpspsy_pnok.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_pnok.ini"-"c:\testdata\configs\setupdevicelist_pnok.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
+; test "btgpspsy_invalid"
+;
+; test scripts
+"..\scripts\btgpspsy_invalid.script"-"c:\testdata\scripts\btgpspsy_invalid.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_invalid.ini"-"c:\testdata\configs\setupdevicelist_invalid.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
+; test "btgpspsy_notifier"
+;
+; test scripts
+"..\scripts\btgpspsy_notifier.script"-"c:\testdata\scripts\btgpspsy_notifier.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_notifier.ini"-"c:\testdata\configs\setupdevicelist_notifier.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
+; test "btgpspsy_reconnection"
+;
+; test scripts
+"..\scripts\btgpspsy_reconnection.script"-"c:\testdata\scripts\btgpspsy_reconnection.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_reconnection.ini"-"c:\testdata\configs\setupdevicelist_reconnection.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
+; test "btgpspsy_listupdates"
+;
+; test scripts
+"..\scripts\btgpspsy_listupdates.script"-"c:\testdata\scripts\btgpspsy_listupdates.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_listupdates.ini"-"c:\testdata\configs\setupdevicelist_listupdates.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
+; test "btgpspsy_locationrequest_real"
+;
+; test scripts
+"..\scripts\btgpspsy_locationrequest_real.script"-"c:\testdata\scripts\btgpspsy_locationrequest_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist_real.ini"-"c:\testdata\configs\btgpsdevicelist_real.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist_real.ini"-"c:\testdata\configs\setupdevicelist_real.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpspsy_locationrequest.ini"-"c:\testdata\configs\btgpspsy_locationrequest.ini"
+
--- a/lbstest/lbstestproduct/common/group/ctlbscommon.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/common/group/ctlbscommon.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -14,11 +14,13 @@
 // @file ctlbscommon.mmp
 // 
 //
-
+MACRO ENABLE_LBS_DEV_LOGGER
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 
 USERINCLUDE	../inc
 USERINCLUDE	../../../../locationmgmt/locationcore/LbsLogging/inc
+USERINCLUDE ../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
+
 USERINCLUDE	../../lbstestutils/inc
 
 
@@ -70,11 +72,12 @@
 SOURCE		ctlbsstepconfigsuplpsy.cpp
 
 
-
 // EPOC + Test Execute libraries.
 LIBRARY	euser.lib
-LIBRARY	testexecuteutils.lib 
-LIBRARY	testexecutelogclient.lib 
+// NOTE: these must be included directly by test server .mmp files due to a limitation of helium
+// which determines the test harness by looking for these libs but doesn't look in included .mmp files
+//LIBRARY	testexecuteutils.lib 
+//LIBRARY	testexecutelogclient.lib 
 
 // For logging
 LIBRARY			logcli.lib
@@ -83,7 +86,7 @@
 LIBRARY 		efsrv.lib
 LIBRARY			centralrepository.lib
 LIBRARY 		bafl.lib // BaflUtils
-
+LIBRARY		    lbspartnercommon.lib
 // Lbs Libraries
 LIBRARY eposmodset.lib
 SMPSAFE
--- a/lbstest/lbstestproduct/common/src/ctlbsactiveyield.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/common/src/ctlbsactiveyield.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,6 @@
 
 #include <test/testexecutestepbase.h>
 
-
 void CheckForObserverEventTestsL(TTimeIntervalMicroSeconds32 aTimeout, CTestStep& aStep)
 	{
 	class CTimeout : public CTimer
@@ -33,7 +32,7 @@
 
 		void RunL()  
 	    	{
-	    	iStep.SetTestStepError(KErrTimedOut);
+			iStep.SetTestStepError(KErrTimedOut);
 	    	CActiveScheduler::Stop();
 			}
 
--- a/lbstest/lbstestproduct/common/src/ctlbsserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/common/src/ctlbsserver.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -51,7 +51,6 @@
 #include "ctlbsstepsetuppsy.h"
 #include "ctlbsstepconfignpppsy.h"
 #include "ctlbsstepconfigsuplpsy.h"
-
 CT_LbsServer::~CT_LbsServer()
 	{
 	delete iSharedData;
@@ -240,6 +239,5 @@
         {
         return CT_LbsStep_ConfigSuplPsy::New(*this);
         }
-    
-	return NULL;
+    return NULL;
 	}
--- a/lbstest/lbstestproduct/common/testdata/lbssupltestconfig.txt	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/common/testdata/lbssupltestconfig.txt	Fri Sep 17 08:37:32 2010 +0300
@@ -17,7 +17,8 @@
 NetworkInfo= 234, 456, Vodafone, Voda, Vodafone_UK, 0
 
 //Sync switch
-RegStatus= 5,5,0
+# RegStatus = <Duration>, <RegStatus>, <NetworkIndex>
+RegStatus=        0,           5,               0
 
 # LocationArea = <AreaKnown>, <LocationAreaCode>, <CellId> . Where <AreaKnown> is -1 for true and 0 for false. 
 LocationArea= -1, 10, 10
--- a/lbstest/lbstestproduct/common/testdata/lbstestconfig.txt	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/common/testdata/lbstestconfig.txt	Fri Sep 17 08:37:32 2010 +0300
@@ -15,16 +15,28 @@
 SubscriberId= 56789012345678
 
 # Current Network Name
-
-NetworkInfo= ABCD, Network0, Vodafone, Voda, Vodafone_UK, 2
+# Note that network type 2 is GSM, network type 6 is CDMA.
+# NetworkInfo= <CountryCode>, <NetworkId>, <DisplayTag>, <NetworkShortName>, <NetworkLongName> , <NetworkAccess> <Network Type>"
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   2
 
 # Network Registration Status
+# duration of 0 => does not change
 #RegStatus= <Duration>, <RegStatus>, <NetworkIndex>
- 
-RegStatus= 0,5,0 
+RegStatus=     0,           5,                0 
+
+# LocationArea = <AreaKnown>, <LocationAreaCode>, <CellId> . Where <AreaKnown> is -1 for true and 0 for false?! 
+LocationArea =    -1,          1911,              65530
 
 # ONStore= <max number of entries>, <max size of telephone number>, <max text length>
 ONStore= 5, 50, 60
-# ONStoreEntry= <index>, <telephone number>, <TMobileTON type of number>, <TMobileService service type>, <Number Plan>, <name>
-ONStoreEntry= 1, 07747012341, 2, 0, 8, OwnNumber1
+
+# ONStoreEntry= <index>, <telephone number>, <TMobileTON type of number>, <TMobileService service type>, <Number Plan>,   <name>
+ONStoreEntry=       1,        07747012341,        2,                              0,                           8,        OwnNumber1
 
+# <Timeout> is time in sec while this status is valid. The last record lasts until shutdown.
+# <NetworkMode> - the set here has no effect. Please use NetworkInfo records instead.
+# <CellId> set here applies only to GetCellInfo/NotifyCellInfoChanges calls, which are not used. 
+# for getting CellId by our code. We use LocationArea records and GetCurrentNetwork/NotifyCurrentNetworkChange instead.
+# <CellInfoStatus> - The status of cell info. Look at TCellInfoStatus for the list of values.
+# CellInfo = <Timeout>, <NetworkMode>, <CellId>, <TimingAdvance>, <CellInfoStatus> .
+CellInfo =    0,         2,             0,        0,               2
--- a/lbstest/lbstestproduct/extendedprotocolmodule/group/extendedprotocolmodule.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/group/extendedprotocolmodule.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,6 @@
 #endif
 
 file=ABI_DIR\DEBUG_DIR\lbsnetextendedprotocolproxy.dll		System\libs\lbsnetextendedprotocolproxy.dll
-file=ABI_DIR\DEBUG_DIR\lbsnetextendedprotocolproxy2.dll		System\libs\lbsnetextendedprotocolproxy2.dll
 file=ABI_DIR\DEBUG_DIR\getafixutils.dll		System\libs\getafixutils.dll
 data=EPOCROOT##epoc32\data\C\testdata\configs\pminfo.ini	  testdata\configs\pminfo.ini
 
--- a/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolproxy.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolproxy.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -30,6 +30,6 @@
 
 LIBRARY		euser.lib
 LIBRARY		getafixutils.lib
-LIBRARY		cinidata.lib
+LIBRARY	    iniparser.lib
 
 SMPSAFE
--- a/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -42,6 +42,6 @@
 LIBRARY		lbsassistancedata.lib
 LIBRARY		lbs.lib
 LIBRARY		getafixutils.lib
-LIBRARY		cinidata.lib
+LIBRARY	    iniparser.lib
 
 SMPSAFE
--- a/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub2.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/group/lbsnetextendedprotocolstub2.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -41,6 +41,7 @@
 LIBRARY		lbsassistancedata.lib
 LIBRARY		lbs.lib
 LIBRARY		getafixutils.lib
-LIBRARY		cinidata.lib
+LIBRARY	    iniparser.lib
+
 
 SMPSAFE
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/src/lbsnetextendedprotocolproxy.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/src/lbsnetextendedprotocolproxy.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -20,7 +20,7 @@
 #include "lbsnetextendedprotocolproxy.h"
 #include <lbs/lbsnetprotocolbase.h>
 #include <lbs/test/lbsmarshallingstubs.h>
-#include <cinidata.h>
+#include <iniparser.h>
 #include <lbs/test/memorymanager.h>
 
 EXPORT_C CNetProtocolProxy* CNetProtocolProxy::NewL()
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/Te_LbsNetProtocolProxyUnitTestsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-          TARGET      Te_LbsNetProtocolProxyUnitTestSuite.exe
-          TARGETTYPE  exe
-          UID             0x1000007A 0x101F7784
-
-CAPABILITY ALL -TCB
-
-//Please add any change under here
-SOURCEPATH  ../src
-SOURCE	              Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
-SOURCE	              Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
-SOURCE              TCallStep.cpp
-SOURCE              TGetArgsStep.cpp
-SOURCE              TWaitForResponseStep.cpp
-SOURCE				TExampleSequenceStep.cpp
-	
-
-USERINCLUDE   ../src
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-LIBRARY     euser.lib
-LIBRARY		testexecuteutils.lib 
-LIBRARY		testexecutelogclient.lib 
-
-//Please add your libraries under here. For example:
-LIBRARY		lbsnetprotocolproxy.lib
-LIBRARY		lbsnetprotocol.lib
-LIBRARY		lbspartnercommon.lib
-LIBRARY		lbsloccommon.lib
-LIBRARY		lbsassistancedata.lib
-LIBRARY		lbs.lib
-LIBRARY		getafixutils.lib
-SMPSAFE
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_EXPORTS
-
-PRJ_TESTEXPORTS
-../scripts/te_LbsNetProtocolProxyUnitTestSuite.script		c:/testdata/scripts/te_LbsNetProtocolProxyUnitTestSuite.script
-../testdata/te_LbsNetProtocolProxyUnitTestSuite.ini			c:/testdata/configs/te_LbsNetProtocolProxyUnitTestSuite.ini
-./te_LbsNetProtocolProxyUnitTestSuite.iby   				/epoc32/rom/include/te_LbsNetProtocolProxyUnitTestSuite.iby
-
-PRJ_MMPFILES
-
-PRJ_TESTMMPFILES
-te_LbsNetProtocolProxyUnitTestSuite.mmp
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/group/te_LbsNetProtocolProxyUnitTestsuite.iby	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITE_IBY__
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITE_IBY__
-
-#include <testexecute.iby>
-
-file=ABI_DIR\BUILD_DIR\te_LbsNetProtocolProxyUnitTestSuite.exe		sys\bin\te_LbsNetProtocolProxyUnitTestSuite.exe
-data=EPOCROOT##Epoc32\data\c\TestData\configs\te_LbsNetProtocolProxyUnitTestSuite.ini TestData\configs\te_LbsNetProtocolProxyUnitTestSuite.ini
-data=EPOCROOT##Epoc32\data\c\TestData\scripts\te_LbsNetProtocolProxyUnitTestSuite.script TestData\Scripts\te_LbsNetProtocolProxyUnitTestSuite.Script
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/scripts/te_LbsNetProtocolProxyUnitTestSuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-//
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-//
-PRINT Run all te_LbsNetProtocolProxyUnitTest Suite Tests
-
-//
-LOAD_SUITE te_LbsNetProtocolProxyUnitTestSuite
-
-RUN_UTILS MkDir c:\logs\lbs
-
-
-CONCURRENT
-RUN_PROGRAM -1 lbsnetprotocolstubtest
-
-START_TESTCASE LBS-HybridProtocol-NetProtocolProxy-Call-0001
-//!@SYMTestCaseID	LBS-HybridProtocol-NetProtocolProxy-Call-0001
-RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TCallStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section0
-END_TESTCASE LBS-HybridProtocol-NetProtocolProxy-Call-0001
-
-
-START_TESTCASE LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-//!@SYMTestCaseID	LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TGetArgsStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section1
-END_TESTCASE LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-
-//RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TWaitForResponseStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section2
-//RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TExampleSequenceStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section3
-
-PRINT Complate_te_LbsNetProtocolProxyUnitTest_Tests
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TCallStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,217 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TCallStep.cpp
- @internalTechnology
-*/
-#include "TCallStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTCallStep::~CTCallStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTCallStep::CTCallStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTCallStep);
-	}
-
-TVerdict CTCallStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Test Step Preamble in Class CTCallStep"));
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-LOCAL_C void Populate(TLbsNetSessionId& aSessionId)
-	{
-	aSessionId.SetSessionOwner(TUid::Uid(0x8008));
-	aSessionId.SetSessionNum(0x3030);	
-	}
-	
-LOCAL_C void Populate(TLbsNetPosRequestPrivacy& aPrivacy)
-	{
-	aPrivacy.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceNotify);
-	aPrivacy.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow);
-	}
-	
-LOCAL_C void Populate(TLbsExternalRequestInfo& aRequestInfo)
-	{
-	aRequestInfo.SetRequesterId(_L8("TCallStepRequestor"));
-	aRequestInfo.SetClientName(_L8("TCallStepClient"));
-	aRequestInfo.SetClientExternalId(_L8("TCallStepExternalId"));
-	}
-	
-LOCAL_C void Populate(TLbsNetPosRequestQuality& aQuality)
-	{
-	aQuality.SetMaxFixTime(102030405);
-	aQuality.SetMaxFixAge(3322110011);
-	aQuality.SetMinHorizontalAccuracy(179.535);
-	aQuality.SetMinVerticalAccuracy(22.3344);
-	}
-
-LOCAL_C void Populate(TLbsNetPosRequestMethod& aMethod)
-	{
-	TLbsNetPosMethod method1;
-	TLbsNetPosMethod method2;
-	method1.SetPosMethod(TUid::Uid(0x9999), 0x01);
-	method2.SetPosMethod(TUid::Uid(0x2222), 0x04);
-	const TLbsNetPosMethod posMethods [] =
-		{
-		method1,method2
-		};
-	
-	aMethod.SetPosMethods(posMethods, 2);
-	}
-
-LOCAL_C void Populate(RLbsAssistanceDataBuilderSet& aData)
-	{
-	aData.OpenL();
-
-	// Access the Gps Reference Time which is the only data we support in this simple provider.
-	RUEPositioningGpsReferenceTimeBuilder* refTimeBuilder = NULL;
-
-	aData.GetDataBuilder(refTimeBuilder);
-	if (refTimeBuilder)
-		{
-		const TUint KAssistanceData_RefTime_Week = 12;
-		const TUint KAssistanceData_RefTime_Tow1MSec = 567;
-		// Fill out the reference time items we support - note the builder set is already open.
-		refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsWeek, KAssistanceData_RefTime_Week);
-		refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsTow1Msec, KAssistanceData_RefTime_Tow1MSec);
-
-		// Time stamp the data.
-		TTime timeStamp;
-		timeStamp.UniversalTime();
-
-		refTimeBuilder->SetTimeStamp(timeStamp);
-		}
-	}
-
-LOCAL_C void Populate(TPositionInfo& aPositionInfo)
-	{
-	TCoordinate coordinate(3.14159265359, 2.71828183);
-	TLocality locality(coordinate, 99.99);
-	TTime time(101010101);
-	TPosition position(locality, time);
-	aPositionInfo.SetPosition(position);
-	}
-
-LOCAL_C void Populate(TLbsNetPosCapabilities& aNetPosCapabilities)
-	{
-	const TUid posProtocols [] = 
-		{
-		TUid::Uid(0x01234),TUid::Uid(0x02345),TUid::Uid(0x3456),TUid::Uid(0x4567),TUid::Uid(0x5678)
-		};
-	aNetPosCapabilities.SetPosProtocols(posProtocols, 5);
-	
-	TLbsNetPosMethod method1;
-	TLbsNetPosMethod method2;
-	method1.SetPosMethod(TUid::Uid(0x9999), 0x01);
-	method2.SetPosMethod(TUid::Uid(0x2222), 0x04);
-	const TLbsNetPosMethod posMethods [] =
-		{
-		method1,method2
-		};
-	aNetPosCapabilities.SetPosMethods(posMethods,2);
-	}
-
-TVerdict CTCallStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		TLbsNetSessionId sessionId;
-		TBool emergency = ETrue;
-		TLbsNetPosRequestPrivacy privacy;
-		TLbsExternalRequestInfo requestInfo;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-		TLbsNetPosRequestQuality quality;
-		TLbsNetPosRequestMethod method;
-		TInt reason = KErrNotSupported;
-		TLbsAsistanceDataGroup dataRequestMask1 = EAssistanceDataBadSatList;
-		RLbsAssistanceDataBuilderSet data;
-		TPositionInfo positionInfo;
-		TLbsNetPosCapabilities netPosCapabilities;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = 0x0100;
-		Populate(sessionId);
-		Populate(privacy);
-		Populate(requestInfo);
-		Populate(quality);
-		Populate(method);
-		Populate(data);
-		Populate(positionInfo);
-		Populate(netPosCapabilities);
-
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &sessionId, &emergency, &privacy, &requestInfo);
-		iProxy->CallL(ENetMsgProcessLocationRequest, &sessionId, &emergency, &service, &quality, &method);
-		iProxy->CallL(ENetMsgProcessSessionComplete, &sessionId, &reason);
-		iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask1, &data, &reason);
-		iProxy->CallL(ENetMsgProcessLocationUpdate, &sessionId, &positionInfo);
-		iProxy->CallL(ENetMsgGetCurrentCapabilitiesRequest, &netPosCapabilities);
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-//		Extended interface functino not used
-//		iProxy->CallL(ENetMsgActionExtendedInterface, NULL);
-
-		data.Close();
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-TVerdict CTCallStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTCallStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TCallStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TCallStep.h
- @internalTechnology
-*/
-#if (!defined __TCALL_STEP_H__)
-#define __TCALL_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTCallStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTCallStep();
-	~CTCallStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTCallStep,"TCallStep");
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TExampleSequenceStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TExampleSequenceStep.cpp
- @internalTechnology
-*/
-#include "TExampleSequenceStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTExampleSequenceStep::~CTExampleSequenceStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTExampleSequenceStep::CTExampleSequenceStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTExampleSequenceStep);
-	}
-
-TVerdict CTExampleSequenceStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTExampleSequenceStep"));
-	// uncomment the following 3 lines if you have common pre setting to all the test steps in there
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-TVerdict CTExampleSequenceStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	INFO_PRINTF1(_L("CTExampleSequenceStep::doTestStepL"));
-/*	if (TestStepResult()==EPass)
-		{
-		TLbsNetSessionId sessionId(TUid::Uid(0x87654321), 0x1111);
-		
-		//	function: PrivacyCheck() //
-		TNetProtocolActionType a1 = ENetMsgProcessStatusUpdate;
-		TNetProtocolActionType a2 = ENetMsgProcessPrivacyRequest;
-		iProxy->Call(a1, MLbsNetworkProtocolObserver::EServiceMobileTerminated);
-		iProxy->Call(a2, sessionId);
-		// sessionId = 4 // type sessionId is TLbsNetSessionId
-
-		TInt someTimeOut(60*1000*1000);
-
-		ASSERT_TRUE(iProxy->WaitForResponse(someTimeOut) == ENetMsgRespondPrivacyRequest);
-
-/*		SData data;
-		iProxy->GetArgs(ENetMsgRespondPrivacyRequest, &data);
-		// 
-		ASSERT_TRUE(data.sessionId.SessionNum()==sessionId);
-		ASSERT_TRUE(data.response == CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-*/
-/*		// function: ProcessLocationUpdate??? //
-		TNetProtocolActionType a3 = ENetMsgProcessLocationUpdate;
-		TNetProtocolActionType a4 = ENetMsgProcessAssistanceData;
-		iProxy->Call(a3, sessionId);
-		iProxy->Call(a4);
-
-		TNetProtocolActionType a5 = ENetMsgProcessLocationRequest;
-		iProxy->Call(a5, sessionId);
-	
-		ASSERT_TRUE(iProxy->WaitForResponse(someTimeOut) == ENetMsgRespondLocationRequest);
-
-/*
-		iProxy->GetArgs(ENetMsgRespondLocationRequest, &data);
-		ASSERT_TRUE(data.sessionId.SessionNum()==sessionId);
-		//
-*/
-/*		TNetProtocolActionType a6 = ENetMsgProcessSessionComplete;
-		iProxy->Call(a6, sessionId);
-
-		TNetProtocolActionType a7 = ENetMsgProcessStatusUpdate;
-		iProxy->Call(a7, MLbsNetworkProtocolObserver::EServiceNone);
-
-		SetTestStepResult(EPass);
-		}
-*/	return TestStepResult();
-	}
-
-
-
-TVerdict CTExampleSequenceStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTExampleSequenceStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TExampleSequenceStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TExampleSequenceStep.h
- @internalTechnology
-*/
-#if (!defined __TEXAMPLESEQUENCE_STEP_H__)
-#define __TEXAMPLESEQUENCE_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTExampleSequenceStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTExampleSequenceStep();
-	~CTExampleSequenceStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTExampleSequenceStep,"TExampleSequenceStep");
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TGetArgsStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,248 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TGetArgsStep.cpp
- @internalTechnology
-*/
-#include "TGetArgsStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTGetArgsStep::~CTGetArgsStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTGetArgsStep::CTGetArgsStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTGetArgsStep);
-	}
-
-TVerdict CTGetArgsStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTGetArgsStep"));
-	// uncomment the following 3 lines if you have common pre setting to all the test steps in there
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-		return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-void CTGetArgsStep::ProcessArgsL(TNetProtocolResponseType aResponse)
-	{
-	TInt cleanupStackCount = 0;
-	switch(aResponse)
-		{
-		case ENetMsgRespondPrivacyRequest :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			CLbsNetworkProtocolBase::TLbsPrivacyResponse privacy;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &privacy);
-			INFO_PRINTF2(_L("RespondPrivacyRequest(sessionId, %d)"), privacy);			
-			break;
-			}
-
-		case ENetMsgRespondLocationRequest :
-			{
-			TLbsNetSessionId* pSessionId = NULL;			
-			TInt reason = KErrNone;
-			TPositionInfo* pPositionInfo = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason, &pPositionInfo);
-			INFO_PRINTF2(_L("RespondLocationRequest(sessionId, %d, positionInfo)"), reason);
-			break;
-			}
-			
-		case ENetMsgRequestTransmitLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;			
-			TDesC* pDestination = NULL;
-			TInt priority = 0;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pDestination, &priority);
-			INFO_PRINTF4(_L("RequestTransmitLocation(sessionId, %S, %d)"), pSessionId, pDestination, priority);
-			break;
-			}
-			
-		case ENetMsgCancelTransmitLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelTransmitLocation(sessionId, %d)"), reason);
-			break;
-			}
-						
-		case ENetMsgRequestAssistanceData :
-			{
-			TLbsAssistanceDataItem dataRequestMask;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &dataRequestMask);
-			INFO_PRINTF2(_L("RequestAssistanceData(%d)"), dataRequestMask);			
-			break;
-			}
-			
-		case ENetMsgRequestSelfLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;				
-			TLbsNetPosRequestOptionsAssistance* pOptions = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pOptions);
-			INFO_PRINTF1(_L("RequestSelfLocation()"));
-			break;
-			}
-
-		case ENetMsgCancelSelfLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelSelfLocation(sessionId, %d)"), reason);
-			break;
-			}
-		case ENetMsgRequestNetworkLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;				
-			TLbsNetPosRequestOptionsAssistance* pOptions = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pOptions);
-			INFO_PRINTF1(_L("RequestNetworkLocation()"));
-			break;
-			}
-
-		case ENetMsgCancelNetworkLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelNetworkLocation(sessionId, %d)"), reason);
-			break;
-			}
-			
-		case ENetMsgGetCurrentCapabilitiesResponse :	//assumed to map onto 	ENetMsgAdviceSystemStatus
-			{
-			CLbsNetworkProtocolBase::TLbsSystemStatus status;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &status);
-			INFO_PRINTF2(_L("AdviceSystemStatus(%d)"), status);
-			break;
-			}
-			
-		default:
-			break;
-		}
-	CleanupStack::PopAndDestroy(cleanupStackCount);
-	}
-
-
-TVerdict CTGetArgsStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-
-		const TInt KTestTimeout = 60*1000*1000;
-		TNetProtocolResponseType response;
-		
-		TInt expectedResponse = ENetMsgRespondPrivacyRequest;
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-
-TVerdict CTGetArgsStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTGetArgsStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TGetArgsStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TGetArgsStep.h
- @internalTechnology
-*/
-#if (!defined __TGETARGS_STEP_H__)
-#define __TGETARGS_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTGetArgsStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTGetArgsStep();
-	~CTGetArgsStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	void ProcessArgsL(TNetProtocolResponseType aResponse);
-	};
-
-_LIT(KTGetArgsStep,"TGetArgsStep");
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TWaitForResponseStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TWaitForResponseStep.cpp
- @internalTechnology
-*/
-#include "TWaitForResponseStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTWaitForResponseStep::~CTWaitForResponseStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTWaitForResponseStep::CTWaitForResponseStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTWaitForResponseStep);
-	}
-
-TVerdict CTWaitForResponseStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTWaitForResponseStep"));
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-TVerdict CTWaitForResponseStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		const TInt KTestTimeout = 60*1000*1000;
-		TNetProtocolResponseType response;
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-TVerdict CTWaitForResponseStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTWaitForResponseStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/TWaitForResponseStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TWaitForResponseStep.h
- @internalTechnology
-*/
-#if (!defined __TWAITFORRESPONSE_STEP_H__)
-#define __TWAITFORRESPONSE_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTWaitForResponseStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTWaitForResponseStep();
-	~CTWaitForResponseStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTWaitForResponseStep,"TWaitForResponseStep");
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteDefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-* This file define all the common values thoughout your test project
-* 
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteDefs.h
- @internalTechnology
-*/
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITEDEFS_H__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITEDEFS_H__
-
-// Please modify below value with your project and must match with your configuration ini file which is required to be modified as well
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteString,"TheString");
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteInt,"TheInt");
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteBool,"TheBool");
-
-// For test step panics
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuitePanic,"Te_LbsNetProtocolProxyUnitTestSuite");
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example file/test code to demonstrate how to develop a TestExecute Server
-// Developers should take this project as a template and substitute their own
-// for (WINS && !EKA2) versions will be xxxServer.Dll and require a thread to be started
-// in the process of the client. The client initialises the server by calling the
-// one and only ordinal.
-// 
-//
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
- @internalTechnology
-*/
-
-#include "Te_LbsNetProtocolProxyUnitTestSuiteServer.h"
-#include "TCallStep.h"
-#include "TGetArgsStep.h"
-#include "TWaitForResponseStep.h"
-#include "TExampleSequenceStep.h"
-
-_LIT(KServerName,"Te_LbsNetProtocolProxyUnitTestSuite");
-CTe_LbsNetProtocolProxyUnitTestSuite* CTe_LbsNetProtocolProxyUnitTestSuite::NewL()
-/**
- * @return - Instance of the test server
- * Same code for Secure and non-secure variants
- * Called inside the MainL() function to create and start the
- * CTestServer derived server.
- */
-	{
-	CTe_LbsNetProtocolProxyUnitTestSuite * server = new (ELeave) CTe_LbsNetProtocolProxyUnitTestSuite();
-	CleanupStack::PushL(server);
-
-	server->ConstructL(KServerName);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-// Secure variants much simpler
-// For EKA2, just an E32Main and a MainL()
-LOCAL_C void MainL()
-/**
- * Secure variant
- * Much simpler, uses the new Rendezvous() call to sync with the client
- */
-	{
-	// Leave the hooks in for platform security
-#if (defined __DATA_CAGING__)
-	RProcess().DataCaging(RProcess::EDataCagingOn);
-	RProcess().DataCaging(RProcess::ESecureApiOn);
-#endif
-	CActiveScheduler* sched=NULL;
-	sched=new(ELeave) CActiveScheduler;
-	CActiveScheduler::Install(sched);
-	CTe_LbsNetProtocolProxyUnitTestSuite* server = NULL;
-	// Create the CTestServer derived server
-	TRAPD(err,server = CTe_LbsNetProtocolProxyUnitTestSuite::NewL());
-	if(!err)
-		{
-		// Sync with the client and enter the active scheduler
-		RProcess::Rendezvous(KErrNone);
-		sched->Start();
-		}
-	delete server;
-	delete sched;
-	}
-
-
-
-GLDEF_C TInt E32Main()
-/**
- * @return - Standard Epoc error code on process exit
- * Secure variant only
- * Process entry point. Called by client using RProcess API
- */
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-	TRAPD(err,MainL());
-	delete cleanup;
-	__UHEAP_MARKEND;
-	return err;
-    }
-
-
-CTestStep* CTe_LbsNetProtocolProxyUnitTestSuite::CreateTestStep(const TDesC& aStepName)
-/**
- * @return - A CTestStep derived instance
- * Secure and non-secure variants
- * Implementation of CTestServer pure virtual
- */
-	{
-	CTestStep* testStep = NULL;
-
-	if(aStepName == KTCallStep)
-	    testStep = new CTCallStep();
-	else if(aStepName == KTGetArgsStep)
-	    testStep = new CTGetArgsStep();
-	else if(aStepName == KTWaitForResponseStep)
-	    testStep = new CTWaitForResponseStep();
-	else if(aStepName == KTExampleSequenceStep)
-		testStep = new CTExampleSequenceStep();
-
-	return testStep;
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteServer.h
- @internalTechnology
-*/
-
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_SERVER_H__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SERVER_H__
-#include <test/testexecuteserverbase.h>
-
-
-class CTe_LbsNetProtocolProxyUnitTestSuite : public CTestServer
-	{
-public:
-	static CTe_LbsNetProtocolProxyUnitTestSuite* NewL();
-	// Base class pure virtual override
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-
-// Please Add/modify your class members
-private:
-	};
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
- @internalTechnology
-*/
-
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-// Device driver constants
-
-TVerdict CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-	{
-	INFO_PRINTF1(_L("Constructing CNetProtocolProxy"));
-	iProxy = CNetProtocolProxy::NewL();
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-	{
-
-	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_LbsNetProtocolProxyUnitTestSuiteStepBase!"));
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::~CTe_LbsNetProtocolProxyUnitTestSuiteStepBase()
-	{
-	}
-
-CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::CTe_LbsNetProtocolProxyUnitTestSuiteStepBase()
-	{
-	}
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h
- @internalTechnology
-*/
-
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_STEP_BASE__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_STEP_BASE__
-#include <test/TestExecuteStepBase.h>
-// Please add your include here if you have 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbspositioninfo.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsassistancereferencetime.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-
-/****************************************************************************
-* The reason to have a new step base is that it is very much possible
-* that the all individual test steps have project related common variables 
-* and members 
-* and this is the place to define these common variable and members.
-* 
-****************************************************************************/
-class CTe_LbsNetProtocolProxyUnitTestSuiteStepBase : public CTestStep
-	{
-public:
-	virtual ~CTe_LbsNetProtocolProxyUnitTestSuiteStepBase();
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase();
-	virtual TVerdict doTestStepPreambleL(); 
-	virtual TVerdict doTestStepPostambleL();
-
-//Please add your class members which will be common to all individual test steps:
-protected:
-	HBufC8*		iReadData;
-	HBufC8*		iWriteData;
-	CNetProtocolProxy* iProxy;
-	};
-
-#endif
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolproxy/test/testdata/te_LbsNetProtocolProxyUnitTestsuite.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-
-[Section0]
-TheString=TCallStep
-TheInt=0
-TheBool=False
-
-[Section1]
-TheString=TGetArgsStep
-TheInt=1
-TheBool=True
-
-[Section2]
-TheString=TWaitForResponseStep
-TheInt=2
-TheBool=False
-
-[Section3]
-TheString=TWaitForResponseStep
-TheInt=2
-TheBool=False
--- a/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolstub/src/lbsnetextendedprotocolstub.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/extendedprotocolmodule/lbsnetextendedprotocolstub/src/lbsnetextendedprotocolstub.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -23,7 +23,7 @@
 #include <lbs/test/lbsmarshallingstubs.h>
 #include <lbs/test/lbsparamlogger.h>
 #include <lbs/test/lbstestlogger.h>
-#include <cinidata.h>
+#include <iniparser.h>
 #include <lbs/test/memorymanager.h>
 /** The unique ID of this plug-in interface.
 This corresponds to the interface UID specified in the .rss file
--- a/lbstest/lbstestproduct/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -39,9 +39,6 @@
 #include "../hybridprotocolmodule/group/bld.inf"
 #include "../agpshybridmodule/group/bld.inf"
 
-//NPE support
-#include "../agpsnpehybridmodule/group/bld.inf"
-
 // Extended Protocol Moulde
 #include "../extendedprotocolmodule/group/bld.inf"
 
@@ -63,5 +60,3 @@
 //Features tests
 #include "../lbsfeatures/group/bld.inf"
 
-// Symbian Foundation Core Tests
-#include "../sf/group/bld.inf"
--- a/lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/inc/LBSParamLogger.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/inc/LBSParamLogger.h	Fri Sep 17 08:37:32 2010 +0300
@@ -85,7 +85,9 @@
 	};
 
 
-#ifndef _DISABLE_TEST_LOGGING
+
+
+#ifdef _ENABLE_TEST_LOGGING
 	#define INBOUND  _L("<-")
 	#define OUTBOUND _L("->")
 	
@@ -99,12 +101,12 @@
 	#define INBOUND
 	#define OUTBOUND
 	
-	#define LBSTESTLOG_METHOD (d,m)				    { }
-	#define LBSTESTLOG_METHOD1(d,m,p1)				{ }
-	#define LBSTESTLOG_METHOD2(d,m,p1,p2)    		{ }
-	#define LBSTESTLOG_METHOD3(d,m,p1,p2,p3)		{ }
-	#define LBSTESTLOG_METHOD4(d,m,p1,p2,p3,p4)		{ }
-	#define LBSTESTLOG_METHOD5(d,m,p1,p2,p3,p4,p5)	{ }
+	#define LBSTESTLOG_METHOD(d,m)
+	#define LBSTESTLOG_METHOD1(d,m,p1)
+	#define LBSTESTLOG_METHOD2(d,m,p1,p2)
+	#define LBSTESTLOG_METHOD3(d,m,p1,p2,p3)
+	#define LBSTESTLOG_METHOD4(d,m,p1,p2,p3,p4)
+	#define LBSTESTLOG_METHOD5(d,m,p1,p2,p3,p4,p5)
 #endif // _DISABLE_TEST_LOGGING
 
 #endif // __LBS_GETAFIX_TEST_PARAMETER_LOGGER_H__
--- a/lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/src/PropPipe.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/hybridprotocolmodule/getafixutils/src/PropPipe.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -22,7 +22,8 @@
 
 #include "PropPipe.h"
 #include "../../lbsnetprotocolproxy/inc/lbsnetprotocolproxydefs.h"
-
+#include <lbs/test/lbstestlogger.h>
+#include <lbs/test/lbsparamlogger.h>
 //Size of the buffer to store incoming messages.  This currently is sufficient for up to
 // 6 simultaneous sequences and may need to be increased in the future.
 const TInt KDefPropBufSize = 6000;
@@ -120,16 +121,22 @@
 		
 		iPropPipe.Set(KNullDesC8);
 		iPropFlow.Set(EReadyToWrite);
+		   LBSTESTLOG_METHOD(_L("--"), "jcmi PropFlow.Set(EReadyToWrite)"); 
+
 		}
 	}
 
 
 TBool CPropPipeBase::WaitForStateL(TFlowControl aDesiredState, TInt32 aTimeout)
 	{
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL a"); 
+
 	TInt flowState = (aDesiredState == EReadyToRead)?EReadyToWrite:EReadyToRead;
 	
 	User::LeaveIfError(iPropFlow.Get(flowState));
 	
+	LBSTESTLOG_METHOD2(_L("--"), "flowstate is and desired state is ",flowState,aDesiredState); 
+
 	if(aDesiredState != flowState)
 		{
 		RTimer timeout;
@@ -141,9 +148,14 @@
 					   	
 		timeout.After(statTime, aTimeout);
 		iPropFlow.Subscribe(statProp);
+		   LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL b"); 
+
 		User::LeaveIfError(iPropFlow.Get(flowState));
+	     LBSTESTLOG_METHOD1(_L("--"), "iPropFlow.Get(flowState) c",flowState); 
 		if(aDesiredState == flowState)
 			{ // if the flow property was changed while subscribing then cancel the subscribtion and return
+		     LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL x"); 
+		    
 			iPropFlow.Cancel();
 			User::WaitForRequest(statProp);
 			timeout.Cancel();
@@ -151,17 +163,23 @@
 			}
 		else
 			{
+		     LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL y"); 
 			User::WaitForRequest(statProp, statTime);
 			
 			if(KRequestPending == statProp.Int())
 				{
+			      LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL y1"); 
+			    
 				iPropFlow.Cancel();
 				}
 			else
 				{
+	               LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL y2"); 
+
 				timeout.Cancel();
-				
+			       LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WaitForStateL d"); 
 				User::LeaveIfError(iPropFlow.Get(flowState));
+			       LBSTESTLOG_METHOD1(_L("--"), "xx iPropFlow.Get(flowState) e",flowState); 
 				
 				__ASSERT_DEBUG(aDesiredState == flowState, User::Invariant());
 				}
@@ -174,29 +192,48 @@
 		
 		CleanupStack::PopAndDestroy(&timeout);
 		}
+    LBSTESTLOG_METHOD2(_L("--"), "return",aDesiredState,flowState); 
 	
 	return (aDesiredState == flowState);
 	}
 
 void CPropPipeBase::WriteL(const TDesC8& aBuf, TInt32 aTimeout)
 	{
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WriteL a"); 
+
 	if(!WaitForStateL(EReadyToWrite, aTimeout))
+	    
+	    {
+        LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WriteL KErrNotRdy"); 
+
 		User::Leave(KErrNotReady);
-	
+	    }
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WriteL b"); 
 	User::LeaveIfError(iPropPipe.Set(aBuf));
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WriteL c"); 
 	User::LeaveIfError(iPropFlow.Set(EReadyToRead));
+    LBSTESTLOG_METHOD(_L("--"), "de WriteL iPropFlow.Set(EReadyToRead)"); 
+
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::WriteL d"); 
 	}
 	
 void CPropPipeBase::ReadL(TDes8& aBuf, TInt32 aTimeout)
 	{
 	__ASSERT_DEBUG(aBuf.MaxLength() >= KDefPropBufSize, User::Invariant());
 	__ASSERT_DEBUG(!aBuf.Length(), User::Invariant());
-	
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::ReadL a");
 	if(!WaitForStateL(EReadyToRead, aTimeout))
+	    {
+        LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::ReadLKErrNotRdy");
 		User::Leave(KErrNotReady);
-	
+	    }
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::ReadL b");
 	User::LeaveIfError(iPropPipe.Get(aBuf));
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::ReadL c");
 	User::LeaveIfError(iPropFlow.Set(EReadyToWrite));
+	   LBSTESTLOG_METHOD(_L("--"), "pp ReadL iPropFlow.Set(EReadyToWrite)"); 
+
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::ReadL d");
 	}
 
 void CPropPipeBase::ReadL(HBufC8* aBuf, TInt32 aTimeout, TRequestStatus& aStatus)
@@ -208,22 +245,31 @@
 	__ASSERT_DEBUG(!iTimeOut, User::Invariant());
 	__ASSERT_DEBUG(!iWatcher, User::Invariant());
 
+	  LBSTESTLOG_METHOD(_L("--"), "CCPropPipeBase::ReadL 2"); 
+
 	aStatus = KRequestPending;
 	iReadBuf = aBuf;
 
 	TInt flowState = EReadyToWrite;
 	
 	User::LeaveIfError(iPropFlow.Get(flowState));
+    LBSTESTLOG_METHOD1(_L("--"), "qw ReadL iPropFlow.Get(flowState)",flowState); 
+
+	
 	iTimeOut = CPropPipeBaseTimeOut::NewL(*this);
 	iWatcher = new(ELeave) CPropPipeBaseWatcher(*this, iPropFlow);
 	
 	if(EReadyToRead != flowState)
 		{
+	    LBSTESTLOG_METHOD2(_L("--"), "(EReadyToRead != flowState)",EReadyToRead,flowState); 
+
 		iTimeOut->After(aTimeout);
 		iWatcher->Watch();
 		}
 	else
 		{
+	    LBSTESTLOG_METHOD2(_L("--"), "(EReadyToRead == flowState)",EReadyToRead,flowState); 
+
 		iTimeOut->After(aTimeout);
 		iWatcher->CompleteRequest();
 		}
@@ -257,11 +303,14 @@
 
 void CPropPipeBase::StateChangedL()
 	{
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::StateChangedL a"); 
 	iTimeOut->Cancel();
 	TPtr8 p = iReadBuf->Des();
 	User::LeaveIfError(iPropPipe.Get(p));
+    LBSTESTLOG_METHOD(_L("--"), "CPropPipeBase::StateChangedL b"); 
 	iReadBuf = NULL;
 	User::LeaveIfError(iPropFlow.Set(EReadyToWrite));
+    LBSTESTLOG_METHOD(_L("--"), "wer CPropPipeBase::StateChangedL c"); 
 	SendResponse();
 	delete iWatcher;
 	iWatcher = NULL;
--- a/lbstest/lbstestproduct/hybridprotocolmodule/group/lbsnetprotocolstub.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/hybridprotocolmodule/group/lbsnetprotocolstub.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -26,6 +26,10 @@
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 
 USERINCLUDE		../lbsnetprotocolstub/inc
+
+
+USERINCLUDE	    ../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
+
 SOURCEPATH		../lbsnetprotocolstub/src
 SOURCE			lbsnetprotocolstub.cpp
 
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/src/lbsnetprotocolproxy.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/src/lbsnetprotocolproxy.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -21,6 +21,9 @@
 #include <lbs/lbsnetprotocolbase.h>
 #include <lbs/test/lbsmarshallingstubs.h>
 #include <lbs/test/memorymanager.h>
+#include <lbs/test/lbstestlogger.h>
+#include <lbs/test/lbsparamlogger.h>
+
 EXPORT_C CNetProtocolProxy* CNetProtocolProxy::NewL()
 	{
 	CNetProtocolProxy* self = new (ELeave) CNetProtocolProxy;
@@ -46,6 +49,9 @@
 	__ASSERT_ALWAYS(e == KErrNone, User::Panic(_L("ActionWriteFail"), aAction));
 	
 	r << aAction;
+	
+//	LBSTESTLOG_METHOD1(_L("--"), "CNetProtocolProxy::CallL", (TUint32)aAction); 
+
 	switch(aAction)
 		{
 		case ENetMsgProcessPrivacyRequest:  CallProcessPrivacyRequestL(r, list);
@@ -91,11 +97,13 @@
 
 void CNetProtocolProxy::CallProcessPrivacyRequestL(CWritePropPipe& aPipe, VA_LIST aList)
 	{
-	TLbsNetSessionId* aSessionId		= VA_ARG(aList, TLbsNetSessionId*); 
+
+    TLbsNetSessionId* aSessionId		= VA_ARG(aList, TLbsNetSessionId*); 
 	TBool* aEmergency					= VA_ARG(aList, TBool*); 
 	TLbsNetPosRequestPrivacy* pPrivacy 	= VA_ARG(aList, TLbsNetPosRequestPrivacy*);
 	TLbsExternalRequestInfo* pReqInfo 	= VA_ARG(aList, TLbsExternalRequestInfo*);
 	
+  
 	LBSTestMarshaller::WriteL(aPipe, *aSessionId);
 	LBSTestMarshaller::WriteL(aPipe, *aEmergency);
 	LBSTestMarshaller::WriteL(aPipe, *pPrivacy);
@@ -183,6 +191,12 @@
 
 TNetProtocolResponseType CNetProtocolProxy::WaitForResponse(TInt aTimeout, TUint aResponseFilterMask)
 	{
+    TUint32 temp = (TUint32)aResponseFilterMask;
+    
+    LBSTESTLOG_METHOD(_L("--"), "jcm testing"); 
+
+ //   LBSTESTLOG_METHOD2(_L("--"), "CNetProtocolProxy::WaitForResponse", aTimeout, temp); 
+
 	CReadPropPipe& r = *iResponseReader;	
 	
  	TTime timeStart;
@@ -193,15 +207,20 @@
 	while (!done)
 		{
 		TRAPD(e, r.RefreshL(aTimeout));
+       LBSTESTLOG_METHOD1(_L("--"), "TRAPD(e, r.RefreshL(aTimeout));",e); 
+
 		if (KErrNone == e)
 			{
 			TInt32 response;
 			r >> response;
 			
 			TNetProtocolResponseType protocolResponse = static_cast<TNetProtocolResponseType>(response);
-
+	 //       LBSTESTLOG_METHOD1(_L("--"), "response has been returned",protocolResponse); 
+			   LBSTESTLOG_METHOD(_L("--"), "jcm testing 1");
 			if (Filtered(protocolResponse, aResponseFilterMask))
 				{
+		//	    LBSTESTLOG_METHOD(_L("--"), "CNetProtocolProxy::WaitForResponse - response is being discarded because of filter"); 
+			    LBSTESTLOG_METHOD(_L("--"), "jcm testing 2");
 			 	TTime timeNow;
 				timeNow.UniversalTime();
 				TTimeIntervalMicroSeconds delay(0);
@@ -213,22 +232,32 @@
 					{
 					iLastResponse = ENetMsgTimeoutExpired;
 					done = ETrue;
+			//        LBSTESTLOG_METHOD1(_L("--"), "returning ENetMsgTimeoutExpired",iLastResponse); 
+					   LBSTESTLOG_METHOD1(_L("--"), "jcm testing 3",iLastResponse);
 					}
 				}
 			else
 				{
 				iLastResponse = protocolResponse;
+           //     LBSTESTLOG_METHOD1(_L("--"), "CNetProtocolProxy::WaitForResponse - no filering here, response is ", iLastResponse); 
+				   LBSTESTLOG_METHOD1(_L("--"), "jcm testing 4",iLastResponse);
 				done = ETrue;
 				}
 			}
 		else
 			{
+       //     LBSTESTLOG_METHOD1(_L("--"), "RefreshL(aTimeout) returned erorr",e); 
+		    LBSTESTLOG_METHOD(_L("--"), "jcm testing 5");
 			iLastResponse = ENetMsgTimeoutExpired;
 			done = ETrue;
+       //    LBSTESTLOG_METHOD1(_L("--"), "returning ENetMsgTimeoutExpired",iLastResponse); 
+			   LBSTESTLOG_METHOD1(_L("--"), "jcm testing 6",iLastResponse);
 			}
 		
 		}
 
+   // LBSTESTLOG_METHOD1(_L("--"), "CNetProtocolProxy::WaitForResponse returning", iLastResponse); 
+	   LBSTESTLOG_METHOD1(_L("--"), "jcm testing 7",iLastResponse);
 	return iLastResponse;
 	}
 
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/Te_LbsNetProtocolProxyUnitTestsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-          TARGET      Te_LbsNetProtocolProxyUnitTestSuite.exe
-          TARGETTYPE  exe
-          UID             0x1000007A 0x101F7784
-
-CAPABILITY ALL -TCB
-
-//Please add any change under here
-SOURCEPATH  ../src
-SOURCE	              Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
-SOURCE	              Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
-SOURCE              TCallStep.cpp
-SOURCE              TGetArgsStep.cpp
-SOURCE              TWaitForResponseStep.cpp
-SOURCE				TExampleSequenceStep.cpp
-	
-USERINCLUDE   ../src
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-LIBRARY     euser.lib
-LIBRARY		testexecuteutils.lib 
-LIBRARY		testexecutelogclient.lib 
-
-//Please add your libraries under here. For example:
-LIBRARY		lbsnetprotocolproxy.lib
-LIBRARY		lbsnetprotocol.lib
-LIBRARY		lbspartnercommon.lib
-LIBRARY		lbsloccommon.lib
-LIBRARY		lbsassistancedata.lib
-LIBRARY		lbs.lib
-LIBRARY		getafixutils.lib
-SMPSAFE
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_EXPORTS
-
-PRJ_TESTEXPORTS
-../scripts/te_LbsNetProtocolProxyUnitTestSuite.script		c:/testdata/scripts/te_LbsNetProtocolProxyUnitTestSuite.script
-../testdata/te_LbsNetProtocolProxyUnitTestSuite.ini			c:/testdata/configs/te_LbsNetProtocolProxyUnitTestSuite.ini
-./te_LbsNetProtocolProxyUnitTestSuite.iby   				/epoc32/rom/include/te_LbsNetProtocolProxyUnitTestSuite.iby
-
-PRJ_MMPFILES
-
-PRJ_TESTMMPFILES
-te_LbsNetProtocolProxyUnitTestSuite.mmp
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/group/te_LbsNetProtocolProxyUnitTestsuite.iby	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITE_IBY__
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITE_IBY__
-
-#include <testexecute.iby>
-
-file=ABI_DIR\DEBUG_DIR\te_LbsNetProtocolProxyUnitTestSuite.exe		sys\bin\te_LbsNetProtocolProxyUnitTestSuite.exe
-data=EPOCROOT##Epoc32\data\c\TestData\configs\te_LbsNetProtocolProxyUnitTestSuite.ini TestData\configs\te_LbsNetProtocolProxyUnitTestSuite.ini
-data=EPOCROOT##Epoc32\data\c\TestData\scripts\te_LbsNetProtocolProxyUnitTestSuite.script TestData\Scripts\te_LbsNetProtocolProxyUnitTestSuite.Script
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/scripts/te_LbsNetProtocolProxyUnitTestSuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-//
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-//
-PRINT Run all te_LbsNetProtocolProxyUnitTest Suite Tests
-
-//
-LOAD_SUITE te_LbsNetProtocolProxyUnitTestSuite
-
-RUN_UTILS MkDir c:\logs\lbs
-
-
-CONCURRENT
-RUN_PROGRAM -1 lbsnetprotocolstubtest
-
-START_TESTCASE LBS-HybridProtocol-NetProtocolProxy-Call-0001
-//!@SYMTestCaseID	LBS-HybridProtocol-NetProtocolProxy-Call-0001
-RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TCallStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section0
-END_TESTCASE LBS-HybridProtocol-NetProtocolProxy-Call-0001
-
-
-START_TESTCASE LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-//!@SYMTestCaseID	LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TGetArgsStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section1
-END_TESTCASE LBS-HybridProtocol-NetProtocolProxy-GetArgs-0001
-
-//RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TWaitForResponseStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section2
-//RUN_TEST_STEP 100 te_LbsNetProtocolProxyUnitTestSuite TExampleSequenceStep c:\testdata\configs\te_LbsNetProtocolProxyUnitTestSuite.ini Section3
-
-PRINT Complate_te_LbsNetProtocolProxyUnitTest_Tests
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TCallStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,217 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TCallStep.cpp
- @internalTechnology
-*/
-#include "TCallStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTCallStep::~CTCallStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTCallStep::CTCallStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTCallStep);
-	}
-
-TVerdict CTCallStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Test Step Preamble in Class CTCallStep"));
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-LOCAL_C void Populate(TLbsNetSessionId& aSessionId)
-	{
-	aSessionId.SetSessionOwner(TUid::Uid(0x8008));
-	aSessionId.SetSessionNum(0x3030);	
-	}
-	
-LOCAL_C void Populate(TLbsNetPosRequestPrivacy& aPrivacy)
-	{
-	aPrivacy.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceNotify);
-	aPrivacy.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow);
-	}
-	
-LOCAL_C void Populate(TLbsExternalRequestInfo& aRequestInfo)
-	{
-	aRequestInfo.SetRequesterId(_L8("TCallStepRequestor"));
-	aRequestInfo.SetClientName(_L8("TCallStepClient"));
-	aRequestInfo.SetClientExternalId(_L8("TCallStepExternalId"));
-	}
-	
-LOCAL_C void Populate(TLbsNetPosRequestQuality& aQuality)
-	{
-	aQuality.SetMaxFixTime(102030405);
-	aQuality.SetMaxFixAge(3322110011);
-	aQuality.SetMinHorizontalAccuracy(179.535);
-	aQuality.SetMinVerticalAccuracy(22.3344);
-	}
-
-LOCAL_C void Populate(TLbsNetPosRequestMethod& aMethod)
-	{
-	TLbsNetPosMethod method1;
-	TLbsNetPosMethod method2;
-	method1.SetPosMethod(TUid::Uid(0x9999), 0x01);
-	method2.SetPosMethod(TUid::Uid(0x2222), 0x04);
-	const TLbsNetPosMethod posMethods [] =
-		{
-		method1,method2
-		};
-	
-	aMethod.SetPosMethods(posMethods, 2);
-	}
-
-LOCAL_C void Populate(RLbsAssistanceDataBuilderSet& aData)
-	{
-	aData.OpenL();
-
-	// Access the Gps Reference Time which is the only data we support in this simple provider.
-	RUEPositioningGpsReferenceTimeBuilder* refTimeBuilder = NULL;
-
-	aData.GetDataBuilder(refTimeBuilder);
-	if (refTimeBuilder)
-		{
-		const TUint KAssistanceData_RefTime_Week = 12;
-		const TUint KAssistanceData_RefTime_Tow1MSec = 567;
-		// Fill out the reference time items we support - note the builder set is already open.
-		refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsWeek, KAssistanceData_RefTime_Week);
-		refTimeBuilder->SetField(TUEPositioningGpsReferenceTime::EGpsTow1Msec, KAssistanceData_RefTime_Tow1MSec);
-
-		// Time stamp the data.
-		TTime timeStamp;
-		timeStamp.UniversalTime();
-
-		refTimeBuilder->SetTimeStamp(timeStamp);
-		}
-	}
-
-LOCAL_C void Populate(TPositionInfo& aPositionInfo)
-	{
-	TCoordinate coordinate(3.14159265359, 2.71828183);
-	TLocality locality(coordinate, 99.99);
-	TTime time(101010101);
-	TPosition position(locality, time);
-	aPositionInfo.SetPosition(position);
-	}
-
-LOCAL_C void Populate(TLbsNetPosCapabilities& aNetPosCapabilities)
-	{
-	const TUid posProtocols [] = 
-		{
-		TUid::Uid(0x01234),TUid::Uid(0x02345),TUid::Uid(0x3456),TUid::Uid(0x4567),TUid::Uid(0x5678)
-		};
-	aNetPosCapabilities.SetPosProtocols(posProtocols, 5);
-	
-	TLbsNetPosMethod method1;
-	TLbsNetPosMethod method2;
-	method1.SetPosMethod(TUid::Uid(0x9999), 0x01);
-	method2.SetPosMethod(TUid::Uid(0x2222), 0x04);
-	const TLbsNetPosMethod posMethods [] =
-		{
-		method1,method2
-		};
-	aNetPosCapabilities.SetPosMethods(posMethods,2);
-	}
-
-TVerdict CTCallStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		TLbsNetSessionId sessionId;
-		TBool emergency = ETrue;
-		TLbsNetPosRequestPrivacy privacy;
-		TLbsExternalRequestInfo requestInfo;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-		TLbsNetPosRequestQuality quality;
-		TLbsNetPosRequestMethod method;
-		TInt reason = KErrNotSupported;
-		TLbsAsistanceDataGroup dataRequestMask1 = EAssistanceDataBadSatList;
-		RLbsAssistanceDataBuilderSet data;
-		TPositionInfo positionInfo;
-		TLbsNetPosCapabilities netPosCapabilities;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = 0x0100;
-		Populate(sessionId);
-		Populate(privacy);
-		Populate(requestInfo);
-		Populate(quality);
-		Populate(method);
-		Populate(data);
-		Populate(positionInfo);
-		Populate(netPosCapabilities);
-
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &sessionId, &emergency, &privacy, &requestInfo);
-		iProxy->CallL(ENetMsgProcessLocationRequest, &sessionId, &emergency, &service, &quality, &method);
-		iProxy->CallL(ENetMsgProcessSessionComplete, &sessionId, &reason);
-		iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask1, &data, &reason);
-		iProxy->CallL(ENetMsgProcessLocationUpdate, &sessionId, &positionInfo);
-		iProxy->CallL(ENetMsgGetCurrentCapabilitiesRequest, &netPosCapabilities);
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-//		Extended interface functino not used
-//		iProxy->CallL(ENetMsgActionExtendedInterface, NULL);
-
-		data.Close();
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-TVerdict CTCallStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTCallStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TCallStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TCallStep.h
- @internalTechnology
-*/
-#if (!defined __TCALL_STEP_H__)
-#define __TCALL_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTCallStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTCallStep();
-	~CTCallStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTCallStep,"TCallStep");
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TExampleSequenceStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TExampleSequenceStep.cpp
- @internalTechnology
-*/
-#include "TExampleSequenceStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTExampleSequenceStep::~CTExampleSequenceStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTExampleSequenceStep::CTExampleSequenceStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTExampleSequenceStep);
-	}
-
-TVerdict CTExampleSequenceStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTExampleSequenceStep"));
-	// uncomment the following 3 lines if you have common pre setting to all the test steps in there
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-TVerdict CTExampleSequenceStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	INFO_PRINTF1(_L("CTExampleSequenceStep::doTestStepL"));
-/*	if (TestStepResult()==EPass)
-		{
-		TLbsNetSessionId sessionId(TUid::Uid(0x87654321), 0x1111);
-		
-		//	function: PrivacyCheck() //
-		TNetProtocolActionType a1 = ENetMsgProcessStatusUpdate;
-		TNetProtocolActionType a2 = ENetMsgProcessPrivacyRequest;
-		iProxy->Call(a1, MLbsNetworkProtocolObserver::EServiceMobileTerminated);
-		iProxy->Call(a2, sessionId);
-		// sessionId = 4 // type sessionId is TLbsNetSessionId
-
-		TInt someTimeOut(60*1000*1000);
-
-		ASSERT_TRUE(iProxy->WaitForResponse(someTimeOut) == ENetMsgRespondPrivacyRequest);
-
-/*		SData data;
-		iProxy->GetArgs(ENetMsgRespondPrivacyRequest, &data);
-		// 
-		ASSERT_TRUE(data.sessionId.SessionNum()==sessionId);
-		ASSERT_TRUE(data.response == CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-*/
-/*		// function: ProcessLocationUpdate??? //
-		TNetProtocolActionType a3 = ENetMsgProcessLocationUpdate;
-		TNetProtocolActionType a4 = ENetMsgProcessAssistanceData;
-		iProxy->Call(a3, sessionId);
-		iProxy->Call(a4);
-
-		TNetProtocolActionType a5 = ENetMsgProcessLocationRequest;
-		iProxy->Call(a5, sessionId);
-	
-		ASSERT_TRUE(iProxy->WaitForResponse(someTimeOut) == ENetMsgRespondLocationRequest);
-
-/*
-		iProxy->GetArgs(ENetMsgRespondLocationRequest, &data);
-		ASSERT_TRUE(data.sessionId.SessionNum()==sessionId);
-		//
-*/
-/*		TNetProtocolActionType a6 = ENetMsgProcessSessionComplete;
-		iProxy->Call(a6, sessionId);
-
-		TNetProtocolActionType a7 = ENetMsgProcessStatusUpdate;
-		iProxy->Call(a7, MLbsNetworkProtocolObserver::EServiceNone);
-
-		SetTestStepResult(EPass);
-		}
-*/	return TestStepResult();
-	}
-
-
-
-TVerdict CTExampleSequenceStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTExampleSequenceStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TExampleSequenceStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TExampleSequenceStep.h
- @internalTechnology
-*/
-#if (!defined __TEXAMPLESEQUENCE_STEP_H__)
-#define __TEXAMPLESEQUENCE_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTExampleSequenceStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTExampleSequenceStep();
-	~CTExampleSequenceStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTExampleSequenceStep,"TExampleSequenceStep");
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TGetArgsStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,248 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TGetArgsStep.cpp
- @internalTechnology
-*/
-#include "TGetArgsStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTGetArgsStep::~CTGetArgsStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTGetArgsStep::CTGetArgsStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTGetArgsStep);
-	}
-
-TVerdict CTGetArgsStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTGetArgsStep"));
-	// uncomment the following 3 lines if you have common pre setting to all the test steps in there
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-		return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-void CTGetArgsStep::ProcessArgsL(TNetProtocolResponseType aResponse)
-	{
-	TInt cleanupStackCount = 0;
-	switch(aResponse)
-		{
-		case ENetMsgRespondPrivacyRequest :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			CLbsNetworkProtocolBase::TLbsPrivacyResponse privacy;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &privacy);
-			INFO_PRINTF2(_L("RespondPrivacyRequest(sessionId, %d)"), privacy);			
-			break;
-			}
-
-		case ENetMsgRespondLocationRequest :
-			{
-			TLbsNetSessionId* pSessionId = NULL;			
-			TInt reason = KErrNone;
-			TPositionInfo* pPositionInfo = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason, &pPositionInfo);
-			INFO_PRINTF2(_L("RespondLocationRequest(sessionId, %d, positionInfo)"), reason);
-			break;
-			}
-			
-		case ENetMsgRequestTransmitLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;			
-			TDesC* pDestination = NULL;
-			TInt priority = 0;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pDestination, &priority);
-			INFO_PRINTF4(_L("RequestTransmitLocation(sessionId, %S, %d)"), pSessionId, pDestination, priority);
-			break;
-			}
-			
-		case ENetMsgCancelTransmitLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelTransmitLocation(sessionId, %d)"), reason);
-			break;
-			}
-						
-		case ENetMsgRequestAssistanceData :
-			{
-			TLbsAssistanceDataItem dataRequestMask;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &dataRequestMask);
-			INFO_PRINTF2(_L("RequestAssistanceData(%d)"), dataRequestMask);			
-			break;
-			}
-			
-		case ENetMsgRequestSelfLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;				
-			TLbsNetPosRequestOptionsAssistance* pOptions = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pOptions);
-			INFO_PRINTF1(_L("RequestSelfLocation()"));
-			break;
-			}
-
-		case ENetMsgCancelSelfLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelSelfLocation(sessionId, %d)"), reason);
-			break;
-			}
-		case ENetMsgRequestNetworkLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;				
-			TLbsNetPosRequestOptionsAssistance* pOptions = NULL;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &pOptions);
-			INFO_PRINTF1(_L("RequestNetworkLocation()"));
-			break;
-			}
-
-		case ENetMsgCancelNetworkLocation :
-			{
-			TLbsNetSessionId* pSessionId = NULL;
-			TInt reason = KErrNone;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &pSessionId, &reason);
-			INFO_PRINTF2(_L("CancelNetworkLocation(sessionId, %d)"), reason);
-			break;
-			}
-			
-		case ENetMsgGetCurrentCapabilitiesResponse :	//assumed to map onto 	ENetMsgAdviceSystemStatus
-			{
-			CLbsNetworkProtocolBase::TLbsSystemStatus status;
-			cleanupStackCount = iProxy->GetArgsLC(aResponse, &status);
-			INFO_PRINTF2(_L("AdviceSystemStatus(%d)"), status);
-			break;
-			}
-			
-		default:
-			break;
-		}
-	CleanupStack::PopAndDestroy(cleanupStackCount);
-	}
-
-
-TVerdict CTGetArgsStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-
-		const TInt KTestTimeout = 60*1000*1000;
-		TNetProtocolResponseType response;
-		
-		TInt expectedResponse = ENetMsgRespondPrivacyRequest;
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		TEST(response == expectedResponse++);
-		ProcessArgsL(response);
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-
-TVerdict CTGetArgsStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTGetArgsStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TGetArgsStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TGetArgsStep.h
- @internalTechnology
-*/
-#if (!defined __TGETARGS_STEP_H__)
-#define __TGETARGS_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTGetArgsStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTGetArgsStep();
-	~CTGetArgsStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	void ProcessArgsL(TNetProtocolResponseType aResponse);
-	};
-
-_LIT(KTGetArgsStep,"TGetArgsStep");
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TWaitForResponseStep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example CTestStep derived implementation
-// 
-//
-
-/**
- @file TWaitForResponseStep.cpp
- @internalTechnology
-*/
-#include "TWaitForResponseStep.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-CTWaitForResponseStep::~CTWaitForResponseStep()
-/**
- * Destructor
- */
-	{
-	}
-
-CTWaitForResponseStep::CTWaitForResponseStep()
-/**
- * Constructor
- */
-	{
-	// **MUST** call SetTestStepName in the constructor as the controlling
-	// framework uses the test step name immediately following construction to set
-	// up the step's unique logging ID.
-	SetTestStepName(KTWaitForResponseStep);
-	}
-
-TVerdict CTWaitForResponseStep::doTestStepPreambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CTWaitForResponseStep"));
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL();
-	if (TestStepResult()!=EPass)
-	   return   TestStepResult();
-	// process some pre setting to this test step then set SetTestStepResult to EFail or Epass.
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-
-TVerdict CTWaitForResponseStep::doTestStepL()
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-	{
-	  if (TestStepResult()==EPass)
-		{
-		const TInt KTestTimeout = 60*1000*1000;
-		TNetProtocolResponseType response;
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-		
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		response = iProxy->WaitForResponse(KTestTimeout);
-		INFO_PRINTF2(_L("Response %d"), response);
-
-		SetTestStepResult(EPass);
-		}
-	  return TestStepResult();
-	}
-
-
-
-TVerdict CTWaitForResponseStep::doTestStepPostambleL()
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-	{
-	INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CTWaitForResponseStep"));
-	// process something post setting to the test step
-	// uncomment the following line if you have common post setting to all the test steps in there
-	// CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL();
-	// uncomment the following line if you have post process or remove the following line if no post process
-	// SetTestStepResult(EPass);		// or EFail
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/TWaitForResponseStep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/**
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file TWaitForResponseStep.h
- @internalTechnology
-*/
-#if (!defined __TWAITFORRESPONSE_STEP_H__)
-#define __TWAITFORRESPONSE_STEP_H__
-#include <test/TestExecuteStepBase.h>
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-
-class CTWaitForResponseStep : public CTe_LbsNetProtocolProxyUnitTestSuiteStepBase
-	{
-public:
-	CTWaitForResponseStep();
-	~CTWaitForResponseStep();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPostambleL();
-
-// Please add/modify your class members here:
-private:
-	};
-
-_LIT(KTWaitForResponseStep,"TWaitForResponseStep");
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteDefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-* This file define all the common values thoughout your test project
-* 
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteDefs.h
- @internalTechnology
-*/
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITEDEFS_H__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SUITEDEFS_H__
-
-// Please modify below value with your project and must match with your configuration ini file which is required to be modified as well
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteString,"TheString");
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteInt,"TheInt");
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuiteBool,"TheBool");
-
-// For test step panics
-_LIT(KTe_LbsNetProtocolProxyUnitTestSuitePanic,"Te_LbsNetProtocolProxyUnitTestSuite");
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Example file/test code to demonstrate how to develop a TestExecute Server
-// Developers should take this project as a template and substitute their own
-// for (WINS && !EKA2) versions will be xxxServer.Dll and require a thread to be started
-// in the process of the client. The client initialises the server by calling the
-// one and only ordinal.
-// 
-//
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteServer.cpp
- @internalTechnology
-*/
-
-#include "Te_LbsNetProtocolProxyUnitTestSuiteServer.h"
-#include "TCallStep.h"
-#include "TGetArgsStep.h"
-#include "TWaitForResponseStep.h"
-#include "TExampleSequenceStep.h"
-
-_LIT(KServerName,"Te_LbsNetProtocolProxyUnitTestSuite");
-CTe_LbsNetProtocolProxyUnitTestSuite* CTe_LbsNetProtocolProxyUnitTestSuite::NewL()
-/**
- * @return - Instance of the test server
- * Same code for Secure and non-secure variants
- * Called inside the MainL() function to create and start the
- * CTestServer derived server.
- */
-	{
-	CTe_LbsNetProtocolProxyUnitTestSuite * server = new (ELeave) CTe_LbsNetProtocolProxyUnitTestSuite();
-	CleanupStack::PushL(server);
-
-	server->ConstructL(KServerName);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-// Secure variants much simpler
-// For EKA2, just an E32Main and a MainL()
-LOCAL_C void MainL()
-/**
- * Secure variant
- * Much simpler, uses the new Rendezvous() call to sync with the client
- */
-	{
-	// Leave the hooks in for platform security
-#if (defined __DATA_CAGING__)
-	RProcess().DataCaging(RProcess::EDataCagingOn);
-	RProcess().DataCaging(RProcess::ESecureApiOn);
-#endif
-	CActiveScheduler* sched=NULL;
-	sched=new(ELeave) CActiveScheduler;
-	CActiveScheduler::Install(sched);
-	CTe_LbsNetProtocolProxyUnitTestSuite* server = NULL;
-	// Create the CTestServer derived server
-	TRAPD(err,server = CTe_LbsNetProtocolProxyUnitTestSuite::NewL());
-	if(!err)
-		{
-		// Sync with the client and enter the active scheduler
-		RProcess::Rendezvous(KErrNone);
-		sched->Start();
-		}
-	delete server;
-	delete sched;
-	}
-
-
-
-GLDEF_C TInt E32Main()
-/**
- * @return - Standard Epoc error code on process exit
- * Secure variant only
- * Process entry point. Called by client using RProcess API
- */
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-	TRAPD(err,MainL());
-	delete cleanup;
-	__UHEAP_MARKEND;
-	return err;
-    }
-
-
-CTestStep* CTe_LbsNetProtocolProxyUnitTestSuite::CreateTestStep(const TDesC& aStepName)
-/**
- * @return - A CTestStep derived instance
- * Secure and non-secure variants
- * Implementation of CTestServer pure virtual
- */
-	{
-	CTestStep* testStep = NULL;
-
-	if(aStepName == KTCallStep)
-	    testStep = new CTCallStep();
-	else if(aStepName == KTGetArgsStep)
-	    testStep = new CTGetArgsStep();
-	else if(aStepName == KTWaitForResponseStep)
-	    testStep = new CTWaitForResponseStep();
-	else if(aStepName == KTExampleSequenceStep)
-		testStep = new CTExampleSequenceStep();
-
-	return testStep;
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteServer.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteServer.h
- @internalTechnology
-*/
-
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_SERVER_H__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_SERVER_H__
-#include <test/testexecuteserverbase.h>
-
-
-class CTe_LbsNetProtocolProxyUnitTestSuite : public CTestServer
-	{
-public:
-	static CTe_LbsNetProtocolProxyUnitTestSuite* NewL();
-	// Base class pure virtual override
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-
-// Please Add/modify your class members
-private:
-	};
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteStepBase.cpp
- @internalTechnology
-*/
-
-#include "Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h"
-#include "Te_LbsNetProtocolProxyUnitTestSuiteDefs.h"
-
-// Device driver constants
-
-TVerdict CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPreambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-	{
-	INFO_PRINTF1(_L("Constructing CNetProtocolProxy"));
-	iProxy = CNetProtocolProxy::NewL();
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-
-TVerdict CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::doTestStepPostambleL()
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-	{
-
-	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_LbsNetProtocolProxyUnitTestSuiteStepBase!"));
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::~CTe_LbsNetProtocolProxyUnitTestSuiteStepBase()
-	{
-	}
-
-CTe_LbsNetProtocolProxyUnitTestSuiteStepBase::CTe_LbsNetProtocolProxyUnitTestSuiteStepBase()
-	{
-	}
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/src/Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/**
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file Te_LbsNetProtocolProxyUnitTestSuiteStepBase.h
- @internalTechnology
-*/
-
-#if (!defined __TE_LBSNETPROTOCOLPROXYUNITTEST_STEP_BASE__)
-#define __TE_LBSNETPROTOCOLPROXYUNITTEST_STEP_BASE__
-#include <test/TestExecuteStepBase.h>
-// Please add your include here if you have 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbspositioninfo.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsassistancereferencetime.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-
-/****************************************************************************
-* The reason to have a new step base is that it is very much possible
-* that the all individual test steps have project related common variables 
-* and members 
-* and this is the place to define these common variable and members.
-* 
-****************************************************************************/
-class CTe_LbsNetProtocolProxyUnitTestSuiteStepBase : public CTestStep
-	{
-public:
-	virtual ~CTe_LbsNetProtocolProxyUnitTestSuiteStepBase();
-	CTe_LbsNetProtocolProxyUnitTestSuiteStepBase();
-	virtual TVerdict doTestStepPreambleL(); 
-	virtual TVerdict doTestStepPostambleL();
-
-//Please add your class members which will be common to all individual test steps:
-protected:
-	HBufC8*		iReadData;
-	HBufC8*		iWriteData;
-	CNetProtocolProxy* iProxy;
-	};
-
-#endif
--- a/lbstest/lbstestproduct/hybridprotocolmodule/lbsnetprotocolproxy/test/testdata/te_LbsNetProtocolProxyUnitTestsuite.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-
-[Section0]
-TheString=TCallStep
-TheInt=0
-TheBool=False
-
-[Section1]
-TheString=TGetArgsStep
-TheInt=1
-TheBool=True
-
-[Section2]
-TheString=TWaitForResponseStep
-TheInt=2
-TheBool=False
-
-[Section3]
-TheString=TWaitForResponseStep
-TheInt=2
-TheBool=False
--- a/lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -39,6 +39,10 @@
 SOURCE		ctlbsassdatastepmain.cpp
 SOURCE		ctlbsroamingstep.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,41 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsassdata/group/ctlbsassdataserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsassdatatestserver.exe"-"c:\sys\bin\lbsassdatatestserver.exe"
+
+; TEF server dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "LbsAssData"
+;
+; test scripts
+"..\scripts\lbsassdata.script"-"c:\testdata\scripts\lbsassdata.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsassdata\testdata\lbsassdata.ini"-"c:\testdata\configs\lbsassdata.ini"
+
+; test "LbsRoaming"
+;
+; test scripts
+"..\scripts\lbsroaming.script"-"c:\testdata\scripts\lbsroaming.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsassdata\testdata\lbsroaming.ini"-"c:\testdata\configs\lbsroaming.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsbackuprestore/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsbackuprestore/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,7 @@
+<!-- ATS4 -->
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsbackuprestore/group/te_lbsbackuprestoresuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsbackuprestore/group/te_lbsbackuprestoresuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsbackuprestoresuite.exe"-"c:\sys\bin\te_lbsbackuprestoresuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\BURTestServer.exe"-"c:\sys\bin\BURTestServer.exe"
+
+; test "te_lbsbackuprestoretest"
+;
+; test scripts
+"..\scripts\te_lbsbackuprestoresuite.script"-"c:\testdata\scripts\te_lbsbackuprestoresuite.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsbackuprestore\testdata\te_lbsbackuprestoresuite.ini"-"c:\testdata\configs\te_lbsbackuprestoresuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbscalculation/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbscalculation/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbscalculation/group/lbscalculation.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbscalculation/group/lbscalculation.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -37,6 +37,10 @@
 SOURCE		ctlbscalculationtp235.cpp
 SOURCE		ctlbscalculationtp236.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.  
 LIBRARY		lbs.lib // lbs.lib should be used instead of lbsselflocate.lib for these tests
 LIBRARY		lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbscalculation/group/lbscalculation.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbscalculation/group/lbscalculation.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbscalculationtestserver.exe"-"c:\sys\bin\lbscalculationtestserver.exe"
+
+; TEF server dependencies
+
+; test "lbscalculationtest"
+;
+; test scripts
+"..\scripts\lbscalculation.script"-"c:\testdata\scripts\lbscalculation.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbscalculation\testdata\testvaluescalculation.txt"-"c:\system\data\testvaluescalculation.txt"
+
--- a/lbstest/lbstestproduct/lbsclient/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -77,13 +77,17 @@
 ../testdata/lbsclientupdateoptions_real.ini			c:/testdata/configs/lbsclientupdateoptions_real.ini
 ../testdata/lbsclientcellbasednpud.ini			c:/testdata/configs/lbsclientcellbasednpud.ini
 ../testdata/lbsclientcellbasednpud_real.ini			c:/testdata/configs/lbsclientcellbasednpud_real.ini
+../testdata/lbsclientconcurrent.ini			c:/testdata/configs/lbsclientconcurrent.ini
 
 
 ../testdata/lbsclientlastknownposareacommon.txt	c:/testdata/configs/lbsclientlastknownposareacommon.txt
 ../testdata/lbsclientlastknownposarea0001.txt	c:/testdata/configs/lbsclientlastknownposarea0001.txt
 ../testdata/lbsclientlastknownposarea0003.txt	c:/testdata/configs/lbsclientlastknownposarea0003.txt
+../testdata/lbsclientlastknownposarea0009.txt	c:/testdata/configs/lbsclientlastknownposarea0009.txt
 ../testdata/lbsclientlastknownposareasources.txt	c:/testdata/configs/lbsclientlastknownposareasources.txt
 
+// Rom
+ctlbsclientserver.iby /epoc32/rom/include/ctlbsclientserver.iby
 
 PRJ_TESTMMPFILES
 ctlbsclientserver.mmp
--- a/lbstest/lbstestproduct/lbsclient/group/ctlbsclientportedsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/group/ctlbsclientportedsuite.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -97,6 +97,10 @@
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 MW_LAYER_SYSTEMINCLUDE_SYMBIAN
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 LIBRARY 	lbs.lib
 LIBRARY		lbsnetsim.lib
 LIBRARY 	cone.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,33 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __CTLBS_CLIENT__
+#define __CTLBS_CLIENT__
+
+#include <testexecute.iby>
+
+
+file=ABI_DIR\DEBUG_DIR\lbsclienttestserver.exe sys\bin\lbsclienttestserver.exe
+file=ABI_DIR\DEBUG_DIR\te_lbsportedsuite.exe sys\bin\te_lbsportedsuite.exe
+
+data=EPOCROOT##epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc	  resource\plugins\ctagpshybridmodule.rsc
+
+file=ABI_DIR\DEBUG_DIR\getafixutils.dll sys\bin\getafixutils.dll
+file=ABI_DIR\DEBUG_DIR\ctagpshybridmodule.dll sys\bin\ctagpshybridmodule.dll
+
+
+#endif
\ No newline at end of file
--- a/lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -59,6 +59,10 @@
 SOURCE		ctlbsclientstep_reset_assistance.cpp
 SOURCE		ctlbsclientstepconcurrent.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,345 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsclient/group/ctlbsclientserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsclienttestserver.exe"-"c:\sys\bin\lbsclienttestserver.exe"
+"\epoc32\release\armv5\urel\te_lbsportedsuite.exe"-"c:\sys\bin\te_lbsportedsuite.exe"
+; following removed until the test requiring them (lbsclientlastknownposareasources) are made to clean up after themselves
+; apparently (jm) "it breaks the root and the root will not work for any tests which run after it"
+;"\epoc32\release\armv5\urel\ctlbsbtgpspsytestserver.exe"-"c:\sys\bin\ctlbsbtgpspsytestserver.exe"
+;"\epoc32\release\armv5\urel\lbshybridmolrtestserver.exe"-"c:\sys\bin\lbshybridmolrtestserver.exe"
+"\epoc32\release\armv5\urel\CTSuplMolrRealTestServer.exe"-"c:\sys\bin\CTSuplMolrRealTestServer.exe"
+
+; TEF server dependencies
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt"-"c:\testdata\configs\lbssupltestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+
+"\epoc32\release\armv5\urel\stubpositioner.dll"-"c:\sys\bin\stubpositioner.dll"
+"\epoc32\release\armv5\urel\testpsy1.dll"-"c:\sys\bin\testpsy1.dll"
+"\epoc32\release\armv5\urel\testpsy2.dll"-"c:\sys\bin\testpsy2.dll"
+"\epoc32\release\armv5\urel\testpsy3.dll"-"c:\sys\bin\testpsy3.dll"
+"\epoc32\release\armv5\urel\testpsy4.dll"-"c:\sys\bin\testpsy4.dll"
+"\epoc32\release\armv5\urel\testpsy9.dll"-"c:\sys\bin\testpsy9.dll"
+"\epoc32\release\armv5\urel\testpsy12.dll"-"c:\sys\bin\testpsy12.dll"
+"\epoc32\release\armv5\urel\testpsytp176.dll"-"c:\sys\bin\testpsytp176.dll"
+"\epoc32\release\armv5\urel\testpsy5.dll"-"c:\sys\bin\testpsy5.dll"
+"\epoc32\release\armv5\urel\testpsy6.dll"-"c:\sys\bin\testpsy6.dll"
+"\epoc32\release\armv5\urel\testpsy11.dll"-"c:\sys\bin\testpsy11.dll"
+"\epoc32\release\armv5\urel\TestPSY256_HasAFileNameOf32Chars.dll"-"c:\sys\bin\TestPSY256_HasAFileNameOf32Chars.dll"
+"\epoc32\release\armv5\urel\multipsy.dll"-"c:\sys\bin\multipsy.dll"
+"\epoc32\release\armv5\urel\teststatuspsy.dll"-"c:\sys\bin\teststatuspsy.dll"
+"\epoc32\release\armv5\urel\InstallTestPsy.dll"-"c:\sys\bin\InstallTestPsy.dll"
+"\epoc32\release\armv5\urel\testpsysimulateisa.dll"-"c:\sys\bin\testpsysimulateisa.dll"
+"\epoc32\release\armv5\urel\testtimerpsy.dll"-"c:\sys\bin\testtimerpsy.dll"
+"\epoc32\release\armv5\urel\panicpsy.dll"-"c:\sys\bin\panicpsy.dll"
+"\epoc32\release\armv5\urel\testrangepsy.dll"-"c:\sys\bin\testrangepsy.dll"
+"\epoc32\release\armv5\urel\testsingpsy.dll"-"c:\sys\bin\testsingpsy.dll"
+"\epoc32\release\armv5\urel\testpsymaxage.dll"-"c:\sys\bin\testpsymaxage.dll"
+"\epoc32\release\armv5\urel\testpsypartialupdate.dll"-"c:\sys\bin\testpsypartialupdate.dll"
+"\epoc32\release\armv5\urel\testtrackingpsy.dll"-"c:\sys\bin\testtrackingpsy.dll"
+"\epoc32\release\armv5\urel\testproxypsy1.dll"-"c:\sys\bin\testproxypsy1.dll"
+"\epoc32\release\armv5\urel\testproxypsy2.dll"-"c:\sys\bin\testproxypsy2.dll"
+"\epoc32\release\armv5\urel\testproxypsy3.dll"-"c:\sys\bin\testproxypsy3.dll"
+"\epoc32\release\armv5\urel\testproxypsy4.dll"-"c:\sys\bin\testproxypsy4.dll"
+"\epoc32\release\armv5\urel\installpsytp273.dll"-"c:\sys\bin\installpsytp273.dll"
+"\epoc32\release\armv5\urel\DynDbTestPsy.dll"-"c:\sys\bin\DynDbTestPsy.dll"
+"\epoc32\release\armv5\urel\testpsypartialupdate2.dll"-"c:\sys\bin\testpsypartialupdate2.dll"
+"\epoc32\release\armv5\urel\SatInfoPsy.dll"-"c:\sys\bin\SatInfoPsy.dll"
+"\epoc32\release\armv5\urel\testproxypsy5.dll "-"c:\sys\bin\testproxypsy5.dll"
+"\epoc32\release\armv5\urel\ctlbsdelayedresponsepsy.dll"-"c:\sys\bin\ctlbsdelayedresponsepsy.dll"
+"\epoc32\release\armv5\urel\ctlbsexeclient.exe"-"c:\sys\bin\ctlbsexeclient.exe"
+"\epoc32\data\z\resource\plugins\stubpositioner.rsc"-"c:\resource\plugins\stubpositioner.rsc"
+"\epoc32\data\z\private\10202BE9\01000019.txt"-"c:\testdata\configs\01000019.txt"
+"\epoc32\data\z\resource\plugins\testpsy1.rsc"-"c:\resource\plugins\testpsy1.rsc"
+"\epoc32\data\z\private\10202BE9\01000001.txt"-"c:\testdata\configs\01000001.txt"
+"\epoc32\data\z\resource\plugins\testpsy2.rsc"-"c:\resource\plugins\testpsy2.rsc"
+"\epoc32\data\z\private\10202BE9\01000002.txt"-"c:\testdata\configs\01000002.txt"
+"\epoc32\data\z\resource\plugins\testpsy3.rsc"-"c:\resource\plugins\testpsy3.rsc"
+"\epoc32\data\z\private\10202BE9\01000003.txt"-"c:\testdata\configs\01000003.txt"
+"\epoc32\data\z\resource\plugins\testpsy4.rsc"-"c:\resource\plugins\testpsy4.rsc"
+"\epoc32\data\z\private\10202BE9\01000004.txt"-"c:\testdata\configs\01000004.txt"
+"\epoc32\data\z\resource\plugins\testpsy9.rsc"-"c:\resource\plugins\testpsy9.rsc"
+"\epoc32\data\z\private\10202BE9\01000009.txt"-"c:\testdata\configs\01000009.txt"
+"\epoc32\data\z\resource\plugins\testpsy12.rsc"-"c:\resource\plugins\testpsy12.rsc"
+"\epoc32\data\z\private\10202BE9\01000012.txt"-"c:\testdata\configs\01000012.txt"
+"\epoc32\data\z\resource\plugins\testpsytp176.rsc"-"c:\resource\plugins\testpsytp176.rsc"
+"\epoc32\data\z\private\10202BE9\01000176.txt"-"c:\testdata\configs\01000176.txt"
+"\epoc32\data\z\resource\plugins\testpsy5.rsc"-"c:\resource\plugins\testpsy5.rsc"
+"\epoc32\data\z\private\10202BE9\01000005.txt"-"c:\testdata\configs\01000005.txt"
+"\epoc32\data\z\resource\plugins\testpsy6.rsc"-"c:\resource\plugins\testpsy6.rsc"
+"\epoc32\data\z\private\10202BE9\01000006.txt"-"c:\testdata\configs\01000006.txt"
+"\epoc32\data\z\resource\plugins\testpsy11.rsc"-"c:\resource\plugins\testpsy11.rsc"
+"\epoc32\data\z\private\10202BE9\01000011.txt"-"c:\testdata\configs\01000011.txt"
+"\epoc32\data\z\resource\plugins\TestPSY256_HasAFileNameOf32Chars.rsc"-"c:\resource\plugins\TestPSY256_HasAFileNameOf32Chars.rsc"
+"\epoc32\data\z\private\10202BE9\01000017.txt"-"c:\testdata\configs\01000017.txt"
+"\epoc32\data\z\resource\plugins\multipsy.rsc"-"c:\resource\plugins\multipsy.rsc"
+"\epoc32\data\z\private\10202BE9\01010176.txt"-"c:\testdata\configs\01010176.txt"
+"\epoc32\data\z\resource\plugins\teststatuspsy.rsc"-"c:\resource\plugins\teststatuspsy.rsc"
+"\epoc32\data\z\private\10202BE9\01000191.txt"-"c:\testdata\configs\01000191.txt"
+"\epoc32\data\z\resource\plugins\InstallTestPsy.rsc"-"c:\resource\plugins\InstallTestPsy.rsc"
+"\epoc32\data\z\private\10202BE9\01000015.txt"-"c:\testdata\configs\01000015.txt"
+"\epoc32\data\z\resource\plugins\testpsysimulateisa.rsc"-"c:\resource\plugins\testpsysimulateisa.rsc"
+"\epoc32\data\z\private\10202BE9\01000018.txt"-"c:\testdata\configs\01000018.txt"
+"\epoc32\data\z\resource\plugins\testtimerpsy.rsc"-"c:\resource\plugins\testtimerpsy.rsc"
+"\epoc32\data\z\private\10202BE9\01000192.txt"-"c:\testdata\configs\01000192.txt"
+"\epoc32\data\z\resource\plugins\panicpsy.rsc"-"c:\resource\plugins\panicpsy.rsc"
+"\epoc32\data\z\private\10202BE9\01010210.txt"-"c:\testdata\configs\01010210.txt"
+"\epoc32\data\z\resource\plugins\testrangepsy.rsc"-"c:\resource\plugins\testrangepsy.rsc"
+"\epoc32\data\z\private\10202BE9\01000022.txt"-"c:\testdata\configs\01000022.txt"
+"\epoc32\data\z\resource\plugins\testsingpsy.rsc"-"c:\resource\plugins\testsingpsy.rsc"
+"\epoc32\data\z\private\10202BE9\01f0ff23.txt"-"c:\testdata\configs\01f0ff23.txt"
+"\epoc32\data\z\resource\plugins\testpsymaxage.rsc"-"c:\resource\plugins\testpsymaxage.rsc"
+"\epoc32\data\z\private\10202BE9\01000020.txt"-"c:\testdata\configs\01000020.txt"
+"\epoc32\data\z\resource\plugins\testpsypartialupdate.rsc"-"c:\resource\plugins\testpsypartialupdate.rsc"
+"\epoc32\data\z\private\10202BE9\01000021.txt"-"c:\testdata\configs\01000021.txt"
+"\epoc32\data\z\resource\plugins\testtrackingpsy.rsc"-"c:\resource\plugins\testtrackingpsy.rsc"
+"\epoc32\data\z\private\10202BE9\01f0ff24.txt"-"c:\testdata\configs\01f0ff24.txt"
+"\epoc32\data\z\resource\plugins\testproxypsy1.rsc"-"c:\resource\plugins\testproxypsy1.rsc"
+"\epoc32\data\z\private\10202BE9\01f0e001.txt"-"c:\testdata\configs\01f0e001.txt"
+"\epoc32\data\z\resource\plugins\testproxypsy2.rsc"-"c:\resource\plugins\testproxypsy2.rsc"
+"\epoc32\data\z\private\10202BE9\01f0e002.txt"-"c:\testdata\configs\01f0e002.txt"
+"\epoc32\data\z\resource\plugins\testproxypsy3.rsc"-"c:\resource\plugins\testproxypsy3.rsc"
+"\epoc32\data\z\private\10202BE9\01f0e003.txt"-"c:\testdata\configs\01f0e003.txt"
+"\epoc32\data\z\resource\plugins\testproxypsy4.rsc"-"c:\resource\plugins\testproxypsy4.rsc"
+"\epoc32\data\z\private\10202BE9\01f0e004.txt"-"c:\testdata\configs\01f0e004.txt"
+"\epoc32\data\z\resource\plugins\installpsytp273.rsc"-"c:\resource\plugins\installpsytp273.rsc"
+"\epoc32\data\z\private\10202BE9\01f0e005.txt"-"c:\testdata\configs\01f0e005.txt"
+"\epoc32\data\z\resource\plugins\DynDbTestPsy.rsc"-"c:\resource\plugins\DynDbTestPsy.rsc"
+"\epoc32\data\z\private\10202BE9\01000016.txt"-"c:\testdata\configs\01000016.txt"
+"\epoc32\data\z\resource\plugins\testpsypartialupdate2.rsc"-"c:\resource\plugins\testpsypartialupdate2.rsc"
+"\epoc32\data\z\private\10202BE9\01000023.txt"-"c:\testdata\configs\01000023.txt"
+"\epoc32\data\z\resource\plugins\SatInfoPsy.rsc"-"c:\resource\plugins\SatInfoPsy.rsc"
+"\epoc32\data\z\private\10202BE9\01010177.txt"-"c:\testdata\configs\01010177.txt"
+"\epoc32\data\z\resource\plugins\ctlbsdelayedresponsepsy.rsc"-"c:\resource\plugins\ctlbsdelayedresponsepsy.rsc"
+"\epoc32\data\z\private\10202BE9\102869db.cre"-"c:\testdata\configs\102869db.cre"
+"\epoc32\data\z\resource\plugins\testproxypsy5.rsc"-"c:\resource\plugins\testproxypsy5.rsc"
+"\epoc32\data\z\private\10202BE9\102869dd.cre"-"c:\testdata\configs\102869dd.cre"
+
+
+; test "lbsclientcellbasednpud"
+;
+; test scripts
+"..\scripts\lbsclientcellbasednpud.script"-"c:\testdata\scripts\lbsclientcellbasednpud.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientcellbasednpud.ini"-"c:\testdata\configs\lbsclientcellbasednpud.ini"
+
+; test "lbsclientignoreaccurracysetting"
+;
+; test scripts
+"..\scripts\lbsclient_ignore_accuracy_on.script"-"c:\testdata\scripts\lbsclient_ignore_accuracy_on.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientignoreaccuracysetting.ini"-"c:\testdata\configs\lbsclientignoreaccuracysetting.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\1028224b_ignacc_on.cre"-"c:\testdata\configs\1028224b_ignacc_on.cre"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\1028224b_ignacc_off.cre"-"c:\testdata\configs\1028224b_ignacc_off.cre"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\1028224b_ignacc_absent.cre"-"c:\testdata\configs\1028224b_ignacc_absent.cre"
+
+; test "lbsclientlastknownpos"
+;
+; test scripts
+"..\scripts\LbsClientLastKnownPos.script"-"c:\testdata\scripts\LbsClientLastKnownPos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientLastKnownPos.ini"-"c:\testdata\configs\LbsClientLastKnownPos.ini"
+
+; test "lbsclientmodinfo"
+;
+; test scripts
+"..\scripts\LbsClientModInfo.script"-"c:\testdata\scripts\LbsClientModInfo.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientModInfo.ini"-"c:\testdata\configs\LbsClientModInfo.ini"
+
+; test "lbsclientmodstatus"
+;
+; test scripts
+"..\scripts\LbsClientModStatus.script"-"c:\testdata\scripts\LbsClientModStatus.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientModStatus.ini"-"c:\testdata\configs\LbsClientModStatus.ini"
+
+; test "lbsclientmodstatusevent"
+;
+; test scripts
+"..\scripts\LbsClientModStatusEvent.script"-"c:\testdata\scripts\LbsClientModStatusEvent.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientModStatusEvent.ini"-"c:\testdata\configs\LbsClientModStatusEvent.ini"
+
+; test "lbsclientmultireq"
+;
+; test scripts
+"..\scripts\LbsClientMultiReq.script"-"c:\testdata\scripts\LbsClientMultiReq.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientMultiReq.ini"-"c:\testdata\configs\LbsClientMultiReq.ini"
+
+; test "lbsclientnotifyposupdate"
+;
+; test scripts
+"..\scripts\LbsClientNotifyPosUpdate.script"-"c:\testdata\scripts\LbsClientNotifyPosUpdate.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientNotifyPosUpdate.ini"-"c:\testdata\configs\LbsClientNotifyPosUpdate.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientupdateoptions.ini"-"c:\testdata\configs\lbsclientupdateoptions.ini"
+
+; test "lbsclientpartialupdate"
+;
+; test scripts
+"..\scripts\lbsclientpartialupdate.script"-"c:\testdata\scripts\lbsclientpartialupdate.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientpartialupdate.ini"-"c:\testdata\configs\lbsclientpartialupdate.ini"
+
+; test "LbsClientSrvConnectClose"
+;
+; test scripts
+"..\scripts\LbsClientSrvConnectClose.script"-"c:\testdata\scripts\LbsClientSrvConnectClose.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\LbsClientSrvConnectClose.ini"-"c:\testdata\configs\LbsClientSrvConnectClose.ini"
+
+; test "lbsclienttracking"
+;
+; test scripts
+"..\scripts\lbsclienttracking.script"-"c:\testdata\scripts\lbsclienttracking.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclienttracking.ini"-"c:\testdata\configs\lbsclienttracking.ini"
+
+; test "lbsclientupdateoptions"
+;
+; test scripts
+"..\scripts\lbsclientupdateoptions.script"-"c:\testdata\scripts\lbsclientupdateoptions.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientupdateoptions.ini"-"c:\testdata\configs\lbsclientupdateoptions.ini"
+
+; test "lbsclientvariant"
+;
+; test scripts
+"..\scripts\lbsclientportedsuite.script"-"c:\testdata\scripts\lbsclientportedsuite.script"
+
+; test dependencies
+
+; test "lbsclientlastknownposarea"
+;
+; test scripts
+"..\scripts\lbsclientlastknownposarea.script"-"c:\testdata\scripts\lbsclientlastknownposarea.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea.ini"-"c:\testdata\configs\lbsclientlastknownposarea.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposareacommon.txt"-"c:\testdata\configs\lbsclientlastknownposareacommon.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea0001.txt"-"c:\testdata\configs\lbsclientlastknownposarea0001.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea0003.txt"-"c:\testdata\configs\lbsclientlastknownposarea0003.txt"
+
+; test "lbsclientlastknownposareasources"
+;
+; test scripts
+"..\scripts\lbsclientlastknownposareasources.script"-"c:\testdata\scripts\lbsclientlastknownposareasources.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposareasources.ini"-"c:\testdata\configs\lbsclientlastknownposareasources.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea.ini"-"c:\testdata\configs\lbsclientlastknownposarea.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposareasources.txt"-"c:\testdata\configs\lbsclientlastknownposareasources.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\btgpsdevicelist.ini"-"c:\testdata\configs\btgpsdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\cit\basic\lbsbtgpspsy\testdata\setupdevicelist.ini"-"c:\testdata\configs\setupdevicelist.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientcellbasednpud.ini"-"c:\testdata\configs\lbsclientcellbasednpud.ini"
+
+; test "lbsclientconcurrent.script"
+;
+; test scripts
+"..\scripts\lbsclientconcurrent.script"-"c:\testdata\scripts\lbsclientconcurrent.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientconcurrent.ini"-"c:\testdata\configs\lbsclientconcurrent.ini"
+
+; test "lbsclientnotifyposupdate_real"
+;
+; test scripts
+"..\scripts\lbsclientnotifyposupdate_real.script"-"c:\testdata\scripts\lbsclientnotifyposupdate_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientnotifyposupdate_real.ini"-"c:\testdata\configs\lbsclientnotifyposupdate_real.ini"
+
+; test "lbsclientcellbasednpud_real"
+;
+; test scripts
+"..\scripts\lbsclientcellbasednpud_real.script"-"c:\testdata\scripts\lbsclientcellbasednpud_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientcellbasednpud_real.ini"-"c:\testdata\configs\lbsclientcellbasednpud_real.ini"
+
+; test "lbsclientlastknownpos_real"
+;
+; test scripts
+"..\scripts\lbsclientlastknownpos_real.script"-"c:\testdata\scripts\lbsclientlastknownpos_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownpos_real.ini"-"c:\testdata\configs\lbsclientlastknownpos_real.ini"
+
+; test "lbsclientmodselect_real"
+;
+; test scripts
+"..\scripts\lbsclientmodselect_real.script"-"c:\testdata\scripts\lbsclientmodselect_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientmodselect_real.ini"-"c:\testdata\configs\lbsclientmodselect_real.ini"
+
+; test "lbsclientmultireq_real"
+;
+; test scripts
+"..\scripts\lbsclientmultireq_real.script"-"c:\testdata\scripts\lbsclientmultireq_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientmultireq_real.ini"-"c:\testdata\configs\lbsclientmultireq_real.ini"
+
+
+; test "lbsclientsrvversion_real"
+;
+; test scripts
+"..\scripts\lbsclientsrvversion_real.script"-"c:\testdata\scripts\lbsclientsrvversion_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientsrvversion_real.ini"-"c:\testdata\configs\lbsclientsrvversion_real.ini"
+
+; test "lbsclientupdateoptions_real"
+;
+; test scripts
+"..\scripts\lbsclientupdateoptions_real.script"-"c:\testdata\scripts\lbsclientupdateoptions_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclient\testdata\lbsclientupdateoptions_real.ini"-"c:\testdata\configs\lbsclientupdateoptions_real.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,66 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\epos\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\epos\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\epos\" />
+    </parameters>
+</task>
+
+<!--
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\dpsy\*"/>
+</parameters>
+</task>
+-->
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Fetch lbs test logs" significant="false">
+<command>fetch-log</command>
+<params>
+<param type="text"/>
+<param delete="true"/>
+<param path="c:\logs\lbs\*"/>
+</params>
+</step>
+-->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+<!-- ATS4 -->
+
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\epos"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\dpsy"/>
+	</parameters>
+</task>
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
+<command>makedir</command>
+<params>
+<param dir="c:\logs\lbs"/>
+</params>
+</step>
+-->
\ No newline at end of file
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_off.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_off.script	Fri Sep 17 08:37:32 2010 +0300
@@ -397,7 +397,7 @@
 END_TESTCASE  LBS-IGNORE-ACC-IgnoreAccuracyOff-0013
 
 // Use the hybrid AGPS module
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 
 
 RUN_TEST_STEP 030 LbsClientTestServer LbsStep_StopLbs
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_on.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclient_ignore_accuracy_on.script	Fri Sep 17 08:37:32 2010 +0300
@@ -361,7 +361,7 @@
 
 
 // Use the hybrid AGPS module
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 
 RUN_TEST_STEP 030 LbsClientTestServer LbsStep_StopLbs
 DELAY 2000
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientcellbasednpud_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientcellbasednpud_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,13 +25,8 @@
 PRINT
 
 //Before we start LBS, select the network reg status txt file to use.
+RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 
 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_ResetDefaultAdmin 
 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StartLbs
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownpos_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownpos_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,12 +24,6 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
 
 // Regenerate SUPLHostSettings from the text file in case a previous crashed test corrupts it
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposarea.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposarea.script	Fri Sep 17 08:37:32 2010 +0300
@@ -112,11 +112,22 @@
 //! @SYMTestCaseID              LBS-Client-LastKnownPosArea-0003
 //! @SYMTestCaseDesc            verify that the last position is returned if current network position is unavailable
 //! @SYMTestPriority            Medium
-//! @SYMTestActions             1. Set up SIM TSY so that the cell id is unknown
+//! @SYMTestActions             1. Set up SIM TSY so that the cell area is unknown
 //!                             2. NPUD
-//!                             3. LastKnown Pos Area
-//!                             7. Clear Database
-//! @SYMTestExpectedResults     Step 3: Lastknown Pos Area should return position from 2, with match level unknown
+//!                             3. LastKnown Pos Area, to check position with invalid area params didn't go into database
+//!                             4. Move to GSM cell 234.15.1911.36463 (all valid) and do a NPUD
+//!								5. Do LastKnownPosArea and check match level
+//!                             6. Move to 'invalid' WCDMA cell 234.15.1911.36463 and do lastknown pos area
+//!                             7. Move to invalid GSM cell of 234.15.1911.90000 and do lastknown pos area
+//!                             8. Move to valid GSM cell of 234.15.1911.36000 and do lastknown pos area 
+//!                             9. Clear Database
+//! @SYMTestExpectedResults     Generally all methods should return KErrNone unless stated otherwise. Note the following:
+//!								Step 3: Lastknown Pos Area should return KErrUnknown
+//!                             Step 5: Lastknown Pos Area should return position from 4, with match level EAreaCity
+//!                             Step 6: Lastknown Pos Area should return position from 4, with match level EAreaCountry (match country and network)
+//!                             Step 7: Lastknown Pos Area should return position from 4, with match level EAreaUknown
+//!								Step 8: LastKnown Pos Area shoulr return position from 4, with match level EAreaRegion (match on all except cell)
+
 //! @SYMTestType                CIT
 //! @SYMCreationDate            13/2/2009
 //! @SymTestReq	REQ11527
@@ -273,6 +284,55 @@
 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StopLbs
 END_TESTCASE                  LBS-Client-LastKnownPosArea-0008
 
+DELAY 5000
+
+START_TESTCASE                LBS-Client-LastKnownPosArea-0009
+//! @SYMTestCaseID              LBS-Client-LastKnownPosArea-0009
+//! @SYMTestCaseDesc            With both GSM and WCDMA positions in the database, we check that GetLastKnownPosArea returns the correct 
+//!                             position and match level as we switch between GSM and WCDMA cells.
+//! @SYMTestPriority            Medium
+//! @SYMTestActions             1.  NPUD at 234.15.1911.65535 (GSM)
+//!                             2.  NPUD at 234.15.1913.65536 (WCDMA)
+//!                             3.  LastKnownPosInfo without change of cell
+//!                             4.  LastknownPosArea at 234.15.1913.32121
+//!                             5.  LastKnownPosArea at 234.15.1911.88880
+//!                             6.  LastKnownPosArea at 234.15.1913.76554
+//!                             7.  LastKnownPosArea at 234.15.1911.19980
+//!                             8.  LastKnownPosArea at 234.30.1511.66003
+//!                             9.  NPUD at 234.15.1911.100
+//!                             10. LastKnownPosArea at 234.15.1911.88880
+//!                             11. Clear Database
+//!
+//! @SYMTestExpectedResults     for LbsClientStep_LastKnownPosArea step
+//!                             1.  Completes successfully
+//!                             2.  Completes successfully
+//!								3.  WCDMA position with EAreaCity (all area fields match)
+//!                             4.  Get WCDMA position, accuracy EAreaCountry
+//!                             5.  Get WCDMA position, accuracy EAreaCountry
+//!                             6.  Get WCDMA position, accuracy EAreaRegion
+//!								7.  Get GSM position, accuracy EAreaRegion
+//!								8.  Get WCDMA position, accuracy EAreaCountry
+//!                             9.  Completes Sucessfully
+//!                             10. Gets GSM position with EAreaCountry.
+//!                             11. Completes successfully 
+//!
+//! @SYMTestType                CIT
+//! @SYMCreationDate            12/10/2010
+//! @SYMAuthor                  ajw
+RUN_UTILS CopyFile c:\testdata\configs\lbsclientlastknownposarea0009.txt c:\config.txt
+RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StartLbs
+RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetAutonomousMode
+RUN_TEST_STEP 010 LbsClientTestServer LbsStep_InstallScheduler
+RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea
+RUN_TEST_STEP 020 LbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea-0009
+RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPosArea c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea-0009
+//RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos
+RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StopLbs
+END_TESTCASE                  LBS-Client-LastKnownPosArea-0009
+
+
+
+
 
 PREFIX RUN_UTILS
 	DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposareasources.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownposareasources.script	Fri Sep 17 08:37:32 2010 +0300
@@ -36,7 +36,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 //	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
 REMOVE_PREFIX
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodinfo.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodinfo.script	Fri Sep 17 08:37:32 2010 +0300
@@ -158,7 +158,7 @@
 //RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 //RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 //RUN_UTILS CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-//RUN_UTILS CopyFile c:\testdata\configs\agpsnpeintegmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+//RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 
 // Restart LBS
 //RUN_TEST_STEP 030 LbsClientTestServer LbsStep_StartLbs
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodselect_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmodselect_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,12 +20,7 @@
 PRINT
 
 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
+
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmultireq_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientmultireq_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,12 +24,8 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
+
+RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate.script	Fri Sep 17 08:37:32 2010 +0300
@@ -38,7 +38,6 @@
 REMOVE_PREFIX
 
 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_ResetDefaultAdmin
-
 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StartLbs
 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetAutonomousMode
 
@@ -466,6 +465,8 @@
 //RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyLogInfo c:\testdata\configs\lbsclientnotifyposupdate.ini LBS-NotifyPosUpdate-0101
 END_TESTCASE                  LBS-Client-NotifyPosUpdate-0020
 
+PRINT Stop LBS
+RUN_TEST_STEP 020 LbsClientTestServer LbsStep_StopLbs
 
 // Re-select the real A-GPS integration module.
 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientnotifyposupdate_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -23,12 +23,6 @@
 PRINT
 
 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 // Re-select the profile ini
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientportedsuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientportedsuite.script	Fri Sep 17 08:37:32 2010 +0300
@@ -2408,7 +2408,7 @@
 
 END_TESTCASE                   LBS-ClientV2-0052
 
-START_TESTCASE                  LBS-ClientV2-0053
+//START_TESTCASE                  LBS-ClientV2-0053
 //!@SYMTestCaseID               LBS-ClientV2-0053
 //!@SYMTestCaseDesc		Install Event Notification
 //!
@@ -2439,11 +2439,11 @@
 //!@SYMTestStatus             Implemented
 //! @SYMAuthor                LornaM
  
-RUN_TEST_STEP 20 te_LbsPortedSuite TP300	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
+//RUN_TEST_STEP 20 te_LbsPortedSuite TP300	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
  
-END_TESTCASE                   LBS-ClientV2-0053
+//END_TESTCASE                   LBS-ClientV2-0053
  
-START_TESTCASE                  LBS-ClientV2-0054
+//START_TESTCASE                  LBS-ClientV2-0054
 //!@SYMTestCaseID               LBS-ClientV2-0054
 //!@SYMTestCaseDesc		Error on Uninstall
 //!
@@ -2473,13 +2473,13 @@
 //!@SYMTestStatus             Implemented
 //! @SYMAuthor                LornaM
  
-RUN_TEST_STEP 60 te_LbsPortedSuite TP301	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
+//RUN_TEST_STEP 60 te_LbsPortedSuite TP301	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
  
-END_TESTCASE                   LBS-ClientV2-0054
+//END_TESTCASE                   LBS-ClientV2-0054
  
  
  
-START_TESTCASE                  LBS-ClientV2-0055
+//START_TESTCASE                  LBS-ClientV2-0055
 //!@SYMTestCaseID               LBS-ClientV2-0055
 //!@SYMTestCaseDesc		Install during Fallback
 //!
@@ -2507,12 +2507,12 @@
 //!@SYMTestStatus             Implemented
 //! @SYMAuthor                LornaM
  
-RUN_TEST_STEP 30 te_LbsPortedSuite TP302	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
+//RUN_TEST_STEP 30 te_LbsPortedSuite TP302	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
  
-END_TESTCASE                   LBS-ClientV2-0055
+//END_TESTCASE                   LBS-ClientV2-0055
  
  
-START_TESTCASE                  LBS-ClientV2-0056
+//START_TESTCASE                  LBS-ClientV2-0056
 //!@SYMTestCaseID               LBS-ClientV2-0056
 //!@SYMTestCaseDesc		Uninstall during Fallback
 //!
@@ -2546,12 +2546,12 @@
 //! @SYMAuthor                LornaM
  
  
-RUN_TEST_STEP 60 te_LbsPortedSuite TP301	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
+//RUN_TEST_STEP 60 te_LbsPortedSuite TP301	c:\testdata\configs\ctlbsinstallabletrackingpsy.ini
  
-END_TESTCASE                   LBS-ClientV2-0056
+//END_TESTCASE                   LBS-ClientV2-0056
  
  
-START_TESTCASE                  LBS-ClientV2-0057
+//START_TESTCASE                  LBS-ClientV2-0057
 //!@SYMTestCaseID               LBS-ClientV2-0057
 //!@SYMTestCaseDesc		Avoid Multiple Integrated GPS Positioning Modules in Fallback
 //!
@@ -2578,9 +2578,9 @@
 //!@SYMTestStatus             Implemented
 //! @SYMAuthor                LornaM
  
-RUN_TEST_STEP 100 te_LbsPortedSuite TP304
+//RUN_TEST_STEP 100 te_LbsPortedSuite TP304
  
-END_TESTCASE                   LBS-ClientV2-0057
+//END_TESTCASE                   LBS-ClientV2-0057
  
 PRINT Stop LBS 
 RUN_TEST_STEP 020 te_LbsPortedSuite LbsStep_StopLbs
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientsrvversion_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientsrvversion_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,12 +20,6 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclienttracking.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclienttracking.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	DeleteFile c:\private\10202be9\1028224b.cre
 	DeleteFile c:\private\10202be9\persists\1028224b.cre 
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
--- a/lbstest/lbstestproduct/lbsclient/scripts/lbsclientupdateoptions_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/scripts/lbsclientupdateoptions_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,12 +24,6 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 
--- a/lbstest/lbstestproduct/lbsclient/src/ctlbsclientsteplastknownposarea.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/src/ctlbsclientsteplastknownposarea.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -97,7 +97,12 @@
  * @return - TVerdict code
  * Override of base class pure virtual
  * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
+ * not leave. That being the case, the current test result value will be EPass. 
+ * Here we will test the lastknownposarea call as we switch between a variety of network
+ * paremeters. All of these will be held in the config.txt file used by the Sim tsy.
+ * This file is overwritten by test steps as necessary. We set the KPSSimTsyTimersReduceTime
+ * property to initiate a change.in the network parameters.
+ * 
  */
 TVerdict CT_LbsClientStep_LastKnownPosArea::doTestStepL()
 	{
@@ -132,8 +137,24 @@
 					TRequestStatus emptyStatus;
 					iServer.EmptyLastKnownPositionStore(emptyStatus);
 					User::WaitForRequest(emptyStatus);
+
+					TPositionInfo posInfo2;
+					TPositionAreaExtendedInfo matchLevel;
+					TPositionAreaExtendedInfo expectedMatchLevel;
+
 					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
 					posInfoArr.Append(posInfo);
+
+					// Check that last known position is completed correctly with no known area and nothing in cache.
+					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+
+					// no position so database returns KErrUnknown, probably 'wrong' error, but will be standard behaviour now.
+					if (KErrUnknown != err)
+						{
+						ERR_PRINTF2(_L("Expected KErrUnknown, incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+				
 					//1. Move to cell 234.15.1911.36464
 					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
 					User::After(KSimTsyTransitionDelay);
@@ -145,8 +166,6 @@
 						SetTestStepResult(EFail);
 						}
 					//3. LastKnown Pos Area
-					TPositionInfo posInfo2;
-					TPositionAreaExtendedInfo matchLevel, expectedMatchLevel;
 					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
 					if (KErrNone != err)
 						{
@@ -181,6 +200,7 @@
 					User::After(KSimTsyTransitionDelay);
 					//9. Lastknown Pos Area
 					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+
 					if (KErrNone != err)
 						{
 						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
@@ -251,29 +271,70 @@
 				// Verify that the last position is returned if current network position is unavailable
 				case 3:
 					{
+					// The SIM config file used by this test switches between valid and non-valid area configs.
+					// If we move from a valid config to an invalid config,	GetLastKnownPositionArea should return
+					// with the last stored position (posInfo) together with area information that shows the
+                    // area accuracy to be TPositionAreaInfo::EAreaUnknown.
+
 					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
 					posInfoArr.Append(posInfo);
 					TInt err = KErrNone;
 					
-					// The SIM config file used by this test contains an
-					// invalid global cell-id (LAC is zero). A transition to
-					// a new valid cell is not provoked by this test. Therefore
-					// the Location Monitor never gets to know a valid cell in this test.
+	                // Empty Database					
+                    TRequestStatus emptyStatus;
+                    iServer.EmptyLastKnownPositionStore(emptyStatus);
+                    User::WaitForRequest(emptyStatus);
+					
+					// Whilst the area is not known, request a position. This shouldn't go into the database.
+					// Therefore a subsequent getlastknownposarea will return KErrUnknown
+					INFO_PRINTF1(_L("Check invalid positions don't go into the database"));
 
-					// Request a position so that the position goes into the database
 					err = DoNotifyUpdateL(*posInfo);
 					if (KErrNone != err)
 						{
 						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
 						SetTestStepResult(EFail);
 						}
+                    
+					TPositionInfo posInfo2;
+					TPositionAreaExtendedInfo matchLevel;
+					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+					if (KErrUnknown != err)
+						{
+						ERR_PRINTF2(_L("Expected KErrUnknown, incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
 
-					// Since the Location Monitor never received a valid value of
-					// GCI, the call to GetLastKnownPositionArea should return 
-					// the last stored position (posInfo) together with area information
-					// that shows the "rough area accuracy" to be TPositionAreaInfo::EAreaUnknown.
-					TPositionInfo posInfo2;
-					TPositionAreaExtendedInfo matchLevel, expectedMatchLevel;
+					//1. Move to GSM cell 234.15.1911.36463 - all valid
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+						
+					// Request a position so that the position goes into the database 
+					// then call GetLastKnownPosArea and check everything now matches.
+					INFO_PRINTF1(_L("Check that we get EAreaCity once a position is available"));
+					err = DoNotifyUpdateL(*posInfo);
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*posInfo, posInfo2, matchLevel, TPositionAreaInfo::EAreaCity, ETrue, ETrue, ETrue, ETrue);
+
+					// Next error condition, WCDMA network and cell id is too low...
+					INFO_PRINTF1(_L("Check that invalid current WCDMA cell id is accepted and we get EAreaCountry match"));
+
+					//1. Move to WCDMA cell 234.15.1911.36463 - the WCDMA spec expects a non-zero
+					//   RNC ID which implies the cell id should be greater than 0x10000. However,
+					//   certain networks break the rule, so check this 'illegal' cell id accepted. 
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+
 					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
 					if (KErrNone != err)
 						{
@@ -281,13 +342,44 @@
 						SetTestStepResult(EFail);
 						}
 						
-					// Verify that the position received in the call to GLKPA is the last known position
-					// due to the NPUD and also that the accuracy is set to TPositionAreaInfo::EAreaUnknown
-					// (in this case the rest of boolean values passed in Validate() are irrelevant).
+					// Expect EAreaCountry. The current 'broken' cell position should have been accepted
+					// and we match on country and network code (but not LAC as earlier one was GSM LAC!).
+					Validate(*posInfo, posInfo2, matchLevel, TPositionAreaInfo::EAreaCountry, ETrue, ETrue, EFalse, EFalse);
+
+					// Next error condition, GSM network with too high a cell id. In this case, the cell will
+					// have been rejected and effectively we are unregistered, so EAreaUnknown is correct.
+					INFO_PRINTF1(_L("Check that invalid GSM cell id is identified and we get EAreaUnknown returned"));
+
+					//1. Move to GSM cell 234.15.1911.90000 - 90000 is too high a cell id for GSM
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+
+					err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}						
+                    // As current position information is broken, expect area EAreaUknown etc.
 					Validate(*posInfo, posInfo2, matchLevel, TPositionAreaInfo::EAreaUnknown, EFalse, EFalse, EFalse, EFalse);
 					
+					// Go back to a valid cell, differing only in the cell-id, check that the 
+					//correct accuracy is returned.
+					INFO_PRINTF1(_L("Valid GSM area, only cell id varies from earlier location, so should return EAreaRegion"));
+					
+                    //1. Move to GSM cell 234.15.1911.36000 
+                    err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+                    User::After(KSimTsyTransitionDelay);
+
+                    err = DoLastKnownPosAreaL(posInfo2, matchLevel);
+                    if (KErrNone != err)
+                        {
+                        ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+                        SetTestStepResult(EFail);
+                        }                    
+                    Validate(*posInfo, posInfo2, matchLevel, TPositionAreaInfo::EAreaRegion, ETrue, ETrue, ETrue, EFalse);
+                                        
 					//7. Clear Database
-					TRequestStatus emptyStatus;
 					iServer.EmptyLastKnownPositionStore(emptyStatus);
 					User::WaitForRequest(emptyStatus);
 					break;
@@ -519,6 +611,194 @@
 					User::WaitForRequest(emptyStatus);
 					break;
 					}
+
+				case 9:
+					{
+					// Here we have both GSM and WCDMA positions in the database and we check that GetLastKnownPosArea returns the correct
+					// position and match level as we switch between GSM and WCDMA cells.
+
+					// Empty Database
+					TRequestStatus emptyStatus;
+					iServer.EmptyLastKnownPositionStore(emptyStatus);
+					User::WaitForRequest(emptyStatus);
+
+					TPositionInfo lastKnownPosInfo;
+					TPositionAreaExtendedInfo matchLevel;
+
+					//1. Get a position in the database.for a GSM cell of 234.15.1911.65535. Note that
+					//this is the highest possible GSM cell id)
+					INFO_PRINTF1(_L("Get a position in the database.for a GSM cell of 234.15.1911.65535"));
+	                TPositionInfo* gsmPosInfo = new(ELeave) TPositionInfo();
+	                posInfoArr.Append(gsmPosInfo);
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoNotifyUpdateL(*gsmPosInfo);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+
+					//2. Move to WCDMA cell 234.15.1913.65536 (lowest possible WCDMA cell id) and get this in the database
+                    TPositionInfo* wcdmaPosInfo = new(ELeave) TPositionInfo();
+                    posInfoArr.Append(wcdmaPosInfo);
+					INFO_PRINTF1(_L("Move to WCDMA cell 234.15.1913.65536 and get this in the database"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+
+					//2. NPUD
+					if (KErrNone == err)
+						{
+						err = DoNotifyUpdateL(*wcdmaPosInfo);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+
+					// Check that GetLastKnownPosArea returns the WCDMA position with area as TPositionAreaInfo::EAreaCity.
+                    INFO_PRINTF1(_L("check GetLastKnownPosArea returns WCDMA position - all area fields matching"));					
+					err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*wcdmaPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaCity, ETrue, ETrue, ETrue, ETrue);
+
+
+					// Move to GSM cell 234.15.1913.32121 and check GetLastKnownPosArea returns the WCDMA 
+					// position (as it is the most recent) with area as TPositionAreaInfo::EAreaCountry
+					INFO_PRINTF1(_L("Move to GSM cell 234.15.1913.32121 and check GetLastKnownPosArea returns the WCDMA position"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*wcdmaPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaCountry, ETrue, ETrue,
+							EFalse, EFalse);
+
+					// Move to WDCMA cell 234.15.1911.88880 and check GetLastKnownPosArea returns the WDCMA position
+					// (as it is the most recent) with area as TPositionAreaInfo::EAreaCountry.
+					INFO_PRINTF1(_L("Move to WDCMA cell 234.15.1911.88880 and check GetLastKnownPosArea returns the WDCMA position"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*wcdmaPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaCountry, ETrue, ETrue,
+							EFalse, EFalse);
+
+					// Move to WDCMA cell 234.15.1913.76554 and check GetLastKnownPosArea returns the WDCMA position
+					// (since it matches with most fields) with area as TPositionAreaInfo::EAreaRegion. 
+					INFO_PRINTF1(_L("Move to WDCMA cell 234.15.1913.76554 and check GetLastKnownPosArea returns the WDCMA position"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*wcdmaPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaRegion, ETrue, ETrue,
+							ETrue, EFalse);
+
+
+					// Move to GSM cell 234.15.1911.19980 and check GetLastKnownPosArea returns the GSM position
+					// (since it matches on most fields) with area as TPositionAreaInfo::EAreaRegion. 
+					INFO_PRINTF1(_L("Move to GSM cell 234.15.1911.19980 and check GetLastKnownPosArea returns the GSM position"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*gsmPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaRegion, ETrue, ETrue,
+							ETrue, EFalse);
+
+					// Move to an ENetworkModeTdcdma cell 234.15.1911.66003 on a different  network and check GetLastKnownPosArea
+					// returns the WCDMA position (the most recent matching on 'Country') with area as TPositionAreaInfo::EAreaCountry. 
+					INFO_PRINTF1(_L("Move to an ENetworkModeTdcdma cell 234.15.1911.66003 on a different network"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*wcdmaPosInfo, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaCountry, ETrue, EFalse,
+							EFalse, EFalse);
+
+					//1. Now get a position in the database.for a GSM cell of 234.15.1911.100. 
+					INFO_PRINTF1(_L("Now get a position in the database.for a GSM cell of 234.15.1911.100"));
+                    TPositionInfo* gsmPosInfo2 = new(ELeave) TPositionInfo();
+                    posInfoArr.Append(gsmPosInfo2);
+
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoNotifyUpdateL(*gsmPosInfo2);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+
+					// Move to WDCMA cell 234.15.1911.88880 and check GetLastKnownPosArea returns the most recent
+					// GSM position with area as TPositionAreaInfo::EAreaCountry.
+					INFO_PRINTF1(_L("Move to WDCMA cell 234.15.1911.88880, check GetLastKnownPosArea returns recent GSM position"));
+					err = RProperty::Set(KUidPSSimTsyCategory, KPSSimTsyTimersReduceTime, KReduceSimTsyTimers);
+					User::After(KSimTsyTransitionDelay);
+					if (KErrNone == err)
+						{
+						err = DoLastKnownPosAreaL(lastKnownPosInfo, matchLevel);
+						}
+					if (KErrNone != err)
+						{
+						ERR_PRINTF2(_L("Incorrect err %d returned"), err);
+						SetTestStepResult(EFail);
+						}
+					Validate(*gsmPosInfo2, lastKnownPosInfo, matchLevel, TPositionAreaInfo::EAreaCountry, ETrue, ETrue,
+							EFalse, EFalse);
+
+					//7. Clear Database
+					iServer.EmptyLastKnownPositionStore(emptyStatus);
+					User::WaitForRequest(emptyStatus);
+					break;
+
+					}
+
 				default:
 					User::Panic(KLbsClientStepLastKnownPosArea, KErrUnknown);					
     		    }
@@ -550,7 +830,8 @@
 		{
 		if (aActualArea.Area() != TPositionAreaInfo::EAreaUnknown)
 			{
-			ERR_PRINTF1(_L("Incorrect area reported when EAreaUnknown was expected"));	
+			ERR_PRINTF2(_L("Incorrect area of %d reported when EAreaUnknown was expected"), aActualArea.Area());	
+			SetTestStepResult(EFail);
 			}
 		}
 
--- a/lbstest/lbstestproduct/lbsclient/src/ctlbsclientstepupdateoptions.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/src/ctlbsclientstepupdateoptions.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -1129,6 +1129,7 @@
   					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;
 					updateOpts.SetUpdateInterval(0);
 					updateOpts.SetMaxUpdateAge(0);
+					updateOpts.SetUpdateTimeOut(4000000);
 					//Second call to NPU should have maxupdateage set.
 					iPositioner.SetUpdateOptions(updateOpts);
    					
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/testdata/lbsclientconcurrent.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,30 @@
+[LBS-Client-Concurrent]
+psy_uid=0x101FE98C
+concurrency_mode=concurrent
+pos_infos_file=c:\testdata\configs\lbsclientconcurrent.ini
+$position,1,50.0,0.5,10,0,100,100*
+$position,1,50.0,0.5,10,0,100,100*
+$position,1,50.0,0.5,10,0,100,100*
+$position,1,50.0,0.5,10,0,100,100*
+type / repeat / lat / long / alt / dat / H / V /...
+
+[LBS-Client-Concurrent-0000]
+tc_id=0
+
+[LBS-Client-Concurrent-0001]
+tc_id=1
+
+[LBS-Client-Concurrent-0002]
+tc_id=2
+
+[LBS-Client-Concurrent-0003]
+tc_id=3
+
+[LBS-Client-Concurrent-0031]
+tc_id=31
+
+[LBS-Client-Concurrent-0004]
+tc_id=4
+
+[LBS-Client-Concurrent-0041]
+tc_id=41
--- a/lbstest/lbstestproduct/lbsclient/testdata/lbsclientignoreaccuracysetting.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/testdata/lbsclientignoreaccuracysetting.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -40,47 +40,47 @@
 [LBS-IGNORE-ACCURACY-ENABLED-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=1
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-DISABLED-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=2
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ABSENT-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=3
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-ACCURATE-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=101
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-ACCURATE-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=102
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-ACCURATE-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=103
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-INACCURATE-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=104
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-INACCURATE-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=105
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-INACCURATE-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=106
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-TIMEOUT-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
@@ -95,18 +95,18 @@
 [LBS-IGNORE-ACCURACY-ON-TIMEOUT-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=109
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-PARTL-UPD-001]
 expected_api_behaviour = 1
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=110
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-PARTL-UPD-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=111
-$updateoptions,0,3000000,0,true*
+$updateoptions,0,6000000,0,true*
 
 [LBS-IGNORE-ACCURACY-ON-TRACKING-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
@@ -120,83 +120,83 @@
 expected_api_behaviour = 1
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=114
-$updateoptions,0,3000000,0,true*
+$updateoptions,0,6000000,0,true*
 
 [LBS-IGNORE-ACCURACY-ON-TERMINAL-BASED-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=151
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-TERMINAL-BASED-002]
 expected_api_behaviour = 1
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=152
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-ON-TERMINAL-BASED-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=153
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-ACCURATE-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=201
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-ACCURATE-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=202
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-ACCURATE-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=203
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-INACCURATE-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=204
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-INACCURATE-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=205
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-INACCURATE-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=206
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-TIMEOUT-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=207
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-TIMEOUT-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=208
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-TIMEOUT-003]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=209
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-PARTL-UPD-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=210
-$updateoptions,0,3000000,0,false*
+$updateoptions,0,6000000,0,false*
 
 [LBS-IGNORE-ACCURACY-OFF-PARTL-UPD-002]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=211
-$updateoptions,0,3000000,0,true*
+$updateoptions,0,6000000,0,true*
 
 [LBS-IGNORE-ACCURACY-OFF-TRACKING-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=212
-$updateoptions,2000000,3000000,0,false*
+$updateoptions,2000000,6000000,0,false*
 
 agps_module_update_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 
@@ -205,4 +205,4 @@
 [LBS-IGNORE-ACCURACY-OFF-EARLY-COMPLETE-001]
 pos_infos_file = c:\testdata\configs\lbsclientignoreaccuracysetting.ini
 tc_id=214
-$updateoptions,0,3000000,0,true*
+$updateoptions,0,6000000,0,true*
--- a/lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -51,3 +51,11 @@
 $position,1,52.2,0.2,10,0,100,100*
 $position,1,50.0,0.5,10,0,100,100*
 type / repeat / lat / long / alt / dat / H / V /...
+
+[LBS-Client-LastKnownPosArea-0009]
+tc_id=9
+pos_infos_file=c:\testdata\configs\lbsclientlastknownposarea.ini
+$position,1,52.2,0.2,10,0,100,100*
+$position,1,50.2,0.4,10,0,101,101*
+$position,1,50.6,0.5,10,0,105,103*
+type / repeat / lat / long / alt / dat / H / V /...
--- a/lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea0003.txt	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea0003.txt	Fri Sep 17 08:37:32 2010 +0300
@@ -5,13 +5,16 @@
 // sim.tsy config used for simulating only the network registration
 // status
 //
-//! @SYMTestActions             1. Move to cell 234.15.1911.36464
+//! @SYMTestActions             1. Set up SIM TSY so that the cell area is unknown
 //!                             2. NPUD
-//!                             3. Move to cell 234.15.1911.47622
-//!                             4. NPUD
-//!                             5. Move to cell unknown
-//!                             6. LastKnown Pos Area
-//!                             7. Clear Database
+//!                             3. LastKnown Pos Area
+//!                             4. Move to GSM cell 234.15.1911.36463 (all valid) and do a NPUD
+//!                             5. Do LastKnownPosArea and check match level
+//!                             6. Move to 'invalid' WCDMA cell 234.15.1911.36463 and do lastknown pos area
+//!                             7. Move to invalid GSM cell of 234.15.1911.90000 and do lastknown pos area
+//!                             8. Move to valid GSM cell of 234.15.1911.36000 and do lastknown pos area 
+//!                             9. Clear Database
+//!
 // Original name file: lbsclientlastknownposarea0003.txt
 
 [TEST0]
@@ -25,11 +28,13 @@
 
 # multiple
 # Current Network Name
-# NetworkInfo= <CountryCode>, <NetworkId>, <DisplayTag>, <NetworkShortName>, <NetworkLongName> , <NetworkAccess> "
-NetworkInfo = 0,              0,          Unknown,      UnKn,               Unknown_Network,    0
-NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,        0
-NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,        0
-NetworkInfo = 0,              0,          Unknown,      UnKn,               Unknown_Network,    0
+# Note that network type 2 is GSM, network type 6 is CDMA.
+# NetworkInfo= <CountryCode>, <NetworkId>, <DisplayTag>, <NetworkShortName>, <NetworkLongName> , <NetworkAccess> <Network Type>"
+NetworkInfo = 0,              0,          Unknown,      UnKn,               Unknown_Network,		0,                 2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,	        0,                 2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,                0,                 6
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,                0,                 2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,                0,                 2
 
 
 # multiple
@@ -39,13 +44,15 @@
 RegStatus =    5000,       5,           1
 RegStatus =    5000,       5,           2
 RegStatus =    5000,       5,           3
+RegStatus =    5000,       5,           4
 
 
 # LocationArea = <AreaKnown>, <LocationAreaCode>, <CellId> . Where <AreaKnown> is -1 for true and 0 for false?! 
 LocationArea =    0,           0,                 0
 LocationArea =    -1,          1911,              36463
-LocationArea =    -1,          1911,              47622
-LocationArea =    0,           0,                 0
+LocationArea =    -1,          1911,              36463
+LocationArea =    -1,          1911,              90000
+LocationArea =    -1,          1911,              36000
 
 
 # ONStore= <max number of entries>, <max size of telephone number>, <max text length>
@@ -64,3 +71,4 @@
 CellInfo =    0,         2,             0,        0,               2
 CellInfo =    0,         2,             0,        0,               2
 CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/testdata/lbsclientlastknownposarea0009.txt	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,96 @@
+// lbsclientlastknownposarea0009.txt
+//
+// Copyright (c) 2009 Symbian Software Ltd.  All rights reserved.
+//
+// sim.tsy config used for simulating only the network registration
+// status
+//
+//! @SYMTestActions             1. NPUD at 234.15.1911.65535 (GSM)
+//!                             2. NPUD at 234.15.1913.65536 (WCDMA)
+//!                             3. LastKnownPosInfo without change of cell
+//!                             3. LastknownPosArea at 234.15.1913.32121
+//!                             4. LastKnownPosArea at 234.15.1911.88880
+//!                             5. LastKnownPosArea at 234.15.1913.76554
+//!                             6. LastKnownPosArea at 234.15.1911.19980
+//!				7. LastKnownPosArea at 234.30.1511.66003
+//!                             8. NPUD at 234.15.1911.100
+//!                             9. LastKnownPosArea at 234.15.1911.88880
+//!                             10. Clear Database
+
+// Original file name: lbsclientlastknownposarea0001.txt
+
+[TEST0]
+#single
+# PhoneId = <manufacturer>,<model>,<revision>, <serialnumber>, <error>
+PhoneId =    Generic,       123,    1.1,        1234567890
+
+#single
+#SubscriberId = <Id>, <err>
+SubscriberId = 56789012345678
+
+# multiple
+# Current Network Name
+# Note that network type 2 is GSM, network type 6 is CDMA.
+# NetworkInfo= <CountryCode>, <NetworkId>, <DisplayTag>, <NetworkShortName>, <NetworkLongName> , <NetworkAccess> <Network Type>"
+NetworkInfo = 0,              0,          Unknown,      UnKn,               Unknown_Network,      0,                   2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   6
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   6
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   6
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   2
+NetworkInfo = 234,            30,         T-Mobile,     T-M,                T-Mobile_UK,          0,                   6
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   2
+NetworkInfo = 234,            15,         Vodafone,     Voda,               Vodafone_UK,          0,                   6
+
+# multiple
+# <NetworkIndex> is one of above
+# RegStatus = <Duration>, <RegStatus>, <NetworkIndex>
+RegStatus =    50,       5,           0
+RegStatus =    50,       5,           1
+RegStatus =    50,       5,           2
+RegStatus =    50,       5,           3
+RegStatus =    50,       5,           4
+RegStatus =    50,       5,           5
+RegStatus =    50,       5,           6
+RegStatus =    50,       5,           7
+RegStatus =    50,       5,           8
+RegStatus =    50,       5,           9
+
+
+# LocationArea = <AreaKnown>, <LocationAreaCode>, <CellId> . Where <AreaKnown> is -1 for true and 0 for false?! 
+LocationArea =    0,           0,                 0
+LocationArea =    -1,          1911,              65535
+LocationArea =    -1,          1913,              65536
+LocationArea =    -1,          1913,              32121
+LocationArea =    -1,          1911,              88880
+LocationArea =    -1,          1913,              76554
+LocationArea =    -1,          1911,              19980
+LocationArea =    -1,          1511,              66003
+LocationArea =    -1,          1911,              100
+LocationArea =    -1,          1911,              88880
+
+
+
+# ONStore= <max number of entries>, <max size of telephone number>, <max text length>
+ONStore=    5,                       50,                             60
+# ONStoreEntry= <index>, <telephone number>, <TMobileTON type of number>, <TMobileService service type>, <Number Plan>,<name>
+ONStoreEntry =   1,       447511699393,       2,                           0,                            8,       OwnNumber1
+
+
+# <Timeout> is time in sec while this status is valid. The last record lasts until shutdown.
+# <NetworkMode> - the set here has no effect. Please use NetworkInfo records instead.
+# <CellId> set here applies only to GetCellInfo/NotifyCellInfoChanges calls, which are not used. 
+# for getting CellId by our code. We use LocationArea records and GetCurrentNetwork/NotifyCurrentNetworkChange instead.
+# <CellInfoStatus> - The status of cell info. Look at TCellInfoStatus for the list of values.
+# CellInfo = <Timeout>, <NetworkMode>, <CellId>, <TimingAdvance>, <CellInfoStatus> .
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
+CellInfo =    0,         2,             0,        0,               2
--- a/lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -36,6 +36,9 @@
 // Lbs Data Source test step code.
 SOURCE		ctlbsclockstepmain.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
 
 // LBS libraries.
 LIBRARY	lbs.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,59 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsclock/group/ctlbsclockserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsclocktestserver.exe"-"c:\sys\bin\lbsclocktestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\ctlbsclockplugin.dll"-"c:\sys\bin\ctlbsclockplugin.dll"
+"\epoc32\data\Z\resource\plugins\ctlbsclockplugin.rsc"-"c:\resource\plugins\ctlbsclockplugin.rsc"
+
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "LbsClock"
+;
+; test scripts
+"..\scripts\lbsclock.script"-"c:\testdata\scripts\lbsclock.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclock\testdata\lbsclock.ini"-"c:\testdata\configs\lbsclock.ini"
+
+; test "LbsClockPlugin"
+;
+; test scripts
+"..\scripts\lbsclockplugin.script"-"c:\testdata\scripts\lbsclockplugin.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclock\testdata\lbsclockplugin.ini"-"c:\testdata\configs\lbsclockplugin.ini"
+
+; test "lbsclock_real"
+;
+; test scripts
+"..\scripts\lbsclock_real.script"-"c:\testdata\scripts\lbsclock_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclock\testdata\lbsclock_real.ini"-"c:\testdata\configs\lbsclock_real.ini"
+
+; test "lbsclockplugin_real"
+;
+; test scripts
+"..\scripts\lbsclockplugin_real.script"-"c:\testdata\scripts\lbsclockplugin_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsclock\testdata\lbsclockplugin_real.ini"-"c:\testdata\configs\lbsclockplugin_real.ini"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclock/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclock/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbsclock/scripts/lbsclock_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclock/scripts/lbsclock_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,12 +20,6 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 
--- a/lbstest/lbstestproduct/lbsclock/scripts/lbsclockplugin_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsclock/scripts/lbsclockplugin_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,12 +20,6 @@
 
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 // Re-select the profile ini
 RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 
--- a/lbstest/lbstestproduct/lbsconflict/group/ctlbsconflictserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsconflict/group/ctlbsconflictserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -54,6 +54,10 @@
 SOURCE		ctlbsconflictstepcanceltrackingconflictb.cpp
 SOURCE		ctlbsconflictstepmtlrnetlocreq.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- a/lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -38,6 +38,10 @@
 SOURCE		ctlbscancelbeforereq.cpp
 SOURCE		ctlbsemergencycancel.cpp ctlbsexthybridmtlrcancel.cpp ctlbshybridemergencycancel.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,44 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsextendedmtlr/group/ctlbsextendedmtlrserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsextendedmtlrtestserver.exe"-"c:\sys\bin\lbsextendedmtlrtestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetextendedprotocolproxy.dll"-"c:\sys\bin\lbsnetextendedprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetextendedprotocolstub.dll"-"c:\sys\bin\lbsnetextendedprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub.rsc"-"c:\resource\plugins\lbsnetextendedprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\extendedprotocolmodule\group\pminfo.ini"-"c:\testdata\configs\pminfo.ini"
+
+; test "lbsextendedmtlr"
+;
+; test scripts
+"..\scripts\extended_mtlr_cancel.script"-"c:\testdata\scripts\extended_mtlr_cancel.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsextendedmtlr\testdata\lbs_extended_mtlr.ini"-"c:\testdata\configs\lbs_extended_mtlr.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbsextendedmtlr/group/lbsextendedmtlr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/group/lbsextendedmtlr.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -18,23 +18,9 @@
 #define __LBS_EXTENDED_MTLR__
 
 #include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
-#include <ctlbsclockplugin.iby>
-#include <hybridprotocolmodule.iby>
-//#include <simtsy.iby>
-
-file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
+#include <extendedprotocolmodule.iby>
+#include <ctagpshybridmodule.iby>
 
 file=ABI_DIR\DEBUG_DIR\lbsextendedmtlrtestserver.exe sys\bin\lbsextendedmtlrtestserver.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_extended_mtlr.ini	  testdata\configs\lbs_extended_mtlr.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\extended_mtlr_cancel.script	  testdata\scripts\extended_mtlr_cancel.script
 
 #endif
--- a/lbstest/lbstestproduct/lbsextendedmtlr/scripts/extended_mtlr_cancel.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/scripts/extended_mtlr_cancel.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 REMOVE_PREFIX
--- a/lbstest/lbstestproduct/lbsextendedmtlr/src/ctlbshybridemergencycancel.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsextendedmtlr/src/ctlbshybridemergencycancel.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -83,7 +83,7 @@
 	// Stop the test if the preable failed
 	TESTL(TestStepResult() == EPass);
 
-	const TInt KTimeOut = 60*1000*1000;
+	const TInt KTimeOut = 80*1000*1000;
 	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
 	
 	// reset integration modules count of number of cancels recieved from LBS 
@@ -191,8 +191,8 @@
 	InitiateCancelMTLR(iSessionId.SessionNum());
 	
 //NHR's timer alpha2 times out -> Hybrid Positioning Start
-	quality = ArgUtils::Quality();  // set timeout t 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
+//	quality = ArgUtils::Quality();  // set timeout t 
+//	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
 
 	// >> RequestAssistanceData(0)
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
@@ -208,8 +208,12 @@
 	// Verify that the last callback was to ProcessSessionComplete()
 	TESTL(iState==EGpsLocReceived);
 	
-	
-// MTLR Session Completion Start
+   // and finally check that no cancels were sent to test integration module
+	TInt cancelCount  = utils.IntegrationModulesCountOfCancelsL();
+	INFO_PRINTF2(_L("--- cancel count = %d"), cancelCount);
+	TESTL(cancelCount== 0);
+
+   // MTLR Session Completion Start
 	// << ProcessSessionComplete()
 	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
 
@@ -220,14 +224,10 @@
 	// >> Callback from ProcessRequestComplete()
 	CheckForObserverEventTestsL(KTimeOut, *this);
 
+	INFO_PRINTF2(_L("iState = 0x%x. Expecting ERequestComplete"), iState);    
 	// Verify that the last callback was to ProcessSessionComplete()
 	TESTL(iState==ERequestComplete);
-
-	// and finally check that no cancels were sent to test integration module
-	TInt cancelCount  = utils.IntegrationModulesCountOfCancelsL();
-	INFO_PRINTF2(_L("--- cancel count = %d"), cancelCount);
-	TESTL(cancelCount== 0);
-	
+		
 // MTLR Session Completion Stop
 
 
@@ -246,6 +246,12 @@
    
 void CT_LbsHybridEmergencyCancel::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& aPosInfo)
 	{
+	TPosition getPos;
+	aPosInfo.GetPosition(getPos);
+	INFO_PRINTF2(_L("latitude=%f"), getPos.Latitude());
+	INFO_PRINTF2(_L("Longitude=%f"), getPos.Longitude());
+	INFO_PRINTF2(_L("HorizontalAccuracy=%f"), getPos.HorizontalAccuracy());
+	INFO_PRINTF2(_L("PositionMode=%d"), aPosInfo.PositionMode());
 	if(iState==EPrivacyCheckOk)
 		{
 		iState=ERefLocReceived;	
@@ -253,8 +259,6 @@
 		}
 	else if(iState==ERefLocReceived)
 		{
-		TPosition getPos;
-		aPosInfo.GetPosition(getPos);
 		if(getPos.Latitude()==49.2 && getPos.Longitude()==3.5 && getPos.Altitude()==50 && getPos.HorizontalAccuracy()==2 && getPos.VerticalAccuracy()==3) 		
 			{
 			INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridEmergencyCancel::ProcessNetworkPositionUpdate(GpsPosition)"));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsfeatures/group/ctlbsfeaturesserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,66 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsfeatures/group/ctlbsfeaturesserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\ctlbsfeaturesserver.exe"-"c:\sys\bin\ctlbsfeaturesserver.exe"
+
+; TEF server dependencies
+
+; test "lbsignaccnopsys"
+;
+; test scripts
+"..\scripts\te_lbsfeatures_ignacc_nopsys.script"-"c:\testdata\scripts\te_lbsfeatures_ignacc_nopsys.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\testdata\te_lbsfeatures.ini"-"c:\testdata\configs\te_lbsfeatures.ini"
+
+
+; test "lbsignaccallpsys"
+;
+; test scripts
+"..\scripts\te_lbsfeatures_ignacc_allpsys.script"-"c:\testdata\scripts\te_lbsfeatures_ignacc_allpsys.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\testdata\te_lbsfeatures.ini"-"c:\testdata\configs\te_lbsfeatures.ini"
+
+
+; test "lbsignaccautopsyagpspsy"
+;
+; test scripts
+"..\scripts\te_lbsfeatures_ignacc_autopsy_agpspsy.script"-"c:\testdata\scripts\te_lbsfeatures_ignacc_autopsy_agpspsy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\testdata\te_lbsfeatures.ini"-"c:\testdata\configs\te_lbsfeatures.ini"
+
+
+; test "lbsignaccautopsynetpsy"
+;
+; test scripts
+"..\scripts\te_lbsfeatures_ignacc_autopsy_netpsy.script"-"c:\testdata\scripts\te_lbsfeatures_ignacc_autopsy_netpsy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\testdata\te_lbsfeatures.ini"-"c:\testdata\configs\te_lbsfeatures.ini"
+
+
+; test "lbsignaccfbpsyagpspsy"
+;
+; test scripts
+"..\scripts\te_lbsfeatures_ignacc_fbpsy_agpspsy.script"-"c:\testdata\scripts\te_lbsfeatures_ignacc_fbpsy_agpspsy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsfeatures\testdata\te_lbsfeatures.ini"-"c:\testdata\configs\te_lbsfeatures.ini"
--- a/lbstest/lbstestproduct/lbsfeatures/src/te_lbsfeaturespsystep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsfeatures/src/te_lbsfeaturespsystep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -104,19 +104,19 @@
 	if(aFeatureUid == NFeature::KGPSPositioningPlugin)
 		{
 		featureConsistent =  (featureSupported==IsFilePresent(_L("z:\\resource\\lbsgpspsy_name.rsc"))) &&
-							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98a.cre")));
+							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98a.txt")));
 		}
 	else if(aFeatureUid == NFeature::KAGPSPositioningPlugin)
 		{
 		featureConsistent =  (featureSupported==IsFilePresent(_L("z:\\resource\\lbsagpspsy_name.rsc"))) &&
-							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98c.cre")));
+							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98c.txt")));
 				
 		}
 	else if(aFeatureUid == NFeature::KNetworkPositioningPlugin)
 		{
 		featureConsistent = (featureSupported==IsFilePresent(_L("z:\\sys\\bin\\lbsnetpsy.dll"))) && 
 							(featureSupported==IsFilePresent(_L("z:\\resource\\lbsnetpsy_name.rsc"))) &&
-							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98e.cre")));
+							(featureSupported==IsFilePresent(_L("z:\\private\\10202be9\\101fe98e.txt")));
 				
 		}
 	else if(aFeatureUid == NFeature::KLocationAPIVariant2)
--- a/lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -28,7 +28,6 @@
 USERINCLUDE		../../../../locationmgmt/locationcore/LbsNetInternalApi/inc
 USERINCLUDE		../../../../locationmgmt/locationcore/LbsInternalApi/inc
 USERINCLUDE		../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE		../../../../datasourcemodules/npeintegmodule/npeapi/inc
 
 // Lbs Hybrid MoLr framework code.
 SOURCEPATH	../src
@@ -45,6 +44,10 @@
 
 
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,59 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbshybridcombined/group/ctlbshybridcombinedserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbshybridcombinedtestserver.exe"-"c:\sys\bin\lbshybridcombinedtestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbshybridcombined_concurrent"
+;
+; test scripts
+"..\scripts\hybrid_combined_concurrent.script"-"c:\testdata\scripts\hybrid_combined_concurrent.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridcombined\testdata\lbs_combined.ini"-"c:\testdata\configs\lbs_combined.ini"
+
+; test "lbshybridcombined_sequential"
+;
+; test scripts
+"..\scripts\hybrid_combined_sequential.script"-"c:\testdata\scripts\hybrid_combined_sequential.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridcombined\testdata\lbs_combined.ini"-"c:\testdata\configs\lbs_combined.ini"
+
+; test "lbshybridcombined_tracking"
+;
+; test scripts
+"..\scripts\hybrid_combined_tracking.script"-"c:\testdata\scripts\hybrid_combined_tracking.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridcombined\testdata\lbs_combined.ini"-"c:\testdata\configs\lbs_combined.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridcombined/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\data\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridcombined/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,7 @@
+<!-- ATS4 -->
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbshybridcombined/group/lbshybridcombined.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/group/lbshybridcombined.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -19,22 +19,9 @@
 #define __LBS_HYBRID_COMBINED__
 
 #include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
-#include <ctlbsclockplugin.iby>
+#include <ctagpshybridmodule.iby>
 #include <hybridprotocolmodule.iby>
 
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
-
-file=ABI_DIR\DEBUG_DIR\LbsHybridMOLRTestServer.exe sys\bin\LbsHybridMOLRTestServer.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_combined.ini	  testdata\configs\lbs_combined.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_combined_sequential.script	  testdata\scripts\hybrid_combined_sequential.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_combined_concurrent.script	  testdata\scripts\hybrid_combined_concurrent.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_combined_tracking.script	  testdata\scripts\hybrid_combined_tracking.script
+file=ABI_DIR\DEBUG_DIR\lbshybridcombinedtestserver.exe sys\bin\lbshybridcombinedtestserver.exe
 
 #endif
--- a/lbstest/lbstestproduct/lbshybridcombined/inc/ctlbshybridcombinedstep_base.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/inc/ctlbshybridcombinedstep_base.h	Fri Sep 17 08:37:32 2010 +0300
@@ -23,7 +23,6 @@
 #include <lbs/lbsnetcommon.h>
 #include <lbs/test/ctlbsagpsmoduleeventlistener.h>
 #include <lbs/lbsprivacycontroller.h>
-#include "locationengine_api.h"
 
 #include <lbs/test/lbsnetprotocolproxy.h>
 #include "ctlbshybridcombinedserver.h"
@@ -47,8 +46,6 @@
 	
 	CT_LbsHybridCombinedServer& iParent;
 	
-    TInt ReadClientUsageProperty();
-
 private: // from MT_AgpsModuleEventHandler
 	void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions);
 	
--- a/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_concurrent.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_concurrent.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 DeleteFile c:\private\10282253\lbs\lbsprofile.ini
 REMOVE_PREFIX
@@ -65,26 +65,3 @@
 RUN_TEST_STEP 020 LbsHybridCombinedTestServer LbsStep_StopLbs
 
 
-START_TESTCASE                LBS-HybridCombined-Concurrent-0002
-//! @SYMTestCaseID              LBS-HybridCombined-Concurrent-0002
-//! @SYMTestCaseDesc            Checks that the GPS Module is correctly updated with the presence of a Client Assisted GPS request.
-//!                             Client generates MOLR request GPS Module generates an accurate position in Autonomous mode
-//!                             An MTLR is requested concurrently (immediately after second client NPUD), and an accurate position is returned in TB mode.
-//!                             client a-gps flag is checked to be NOT SET throughout the MOLR session
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  ralphs
-//! @SYMTestStatus              2. Functional
-RUN_TEST_STEP 020 LbsHybridCombinedTestServer LbsStep_SetAutonomousMode
-RUN_TEST_STEP 030 LbsHybridCombinedTestServer LbsStep_StartLbs
-RUN_TEST_STEP 010 LbsHybridCombinedTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 LbsHybridCombinedTestServer LbsStep_SetUpPsy c:\testdata\configs\lbs_combined.ini LBS-COMBINED
-RUN_TEST_STEP 120 LbsHybridCombinedTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_combined.ini CombinedConcurrent02
-RUN_TEST_STEP 120 LbsHybridCombinedTestServer LbsHybridCombinedStep_Concurrent02
-END_TESTCASE  					LBS-HybridCombined-Concurrent-0002
-RUN_TEST_STEP 020 LbsHybridCombinedTestServer LbsStep_StopLbs
-
-
--- a/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_sequential.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_sequential.script	Fri Sep 17 08:37:32 2010 +0300
@@ -28,7 +28,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_tracking.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/scripts/hybrid_combined_tracking.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_base.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_base.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -141,15 +141,3 @@
 		}
 	}
 
-
-/**
- * returns the client agps usage flag as updated by the NPE Hybrid Module
- */
-TInt CT_LbsHybridCombinedStep_Base::ReadClientUsageProperty()
-    {
-    // check client usage here
-    TInt mode;
-    TEST(KErrNone == RProperty::Get(KUidSystemCategory, ELbsTestAGpsModuleClientMode,mode));
-    return mode;
-    }
-
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent01.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent01.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -110,12 +110,13 @@
     
     // receive the cababilities message
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
+	INFO_PRINTF1(_L("ENetMsgGetCurrentCapabilitiesResponse got"));
 	CLbsNetworkProtocolBase::TLbsSystemStatus status;
 	TInt cleanupCnt;
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
 	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
-
+    
 	// Create the client objects...
 	RPositionServer server;
 	TInt connectError = server.Connect();
@@ -130,12 +131,13 @@
 
 	// <<(App) NotifyPositionUpdate().
 	pWatch->IssueNotifyPositionUpdate();
-
+    INFO_PRINTF1(_L("NotifyPositionUpdate sent"));
+	
 	// >> RequestSelfLocation()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
+    INFO_PRINTF1(_L("RequestSelfLocation got"));
+	
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-	TESTL(EClientAgps == ReadClientUsageProperty());
 	
 	// Process the response.
 	TLbsNetSessionId* 					sessionId = NULL;
@@ -166,67 +168,66 @@
 	// << ProcessStatusUpdate(EServiceSelfLocation)
 	activeServiceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
 	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
-	
+	INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
 	// << ProcessLocationUpdate(SessionId, RefPosition)
 	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
 	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
+    INFO_PRINTF1(_L("ProcessLocationUpdate sent"));
 	// TEST: Get NotifyPositionUpdate app side - get the ref pos.
 	CheckForObserverEventTestsL(KTimeOut, *this);
 
 		
-		INFO_PRINTF1(_L("Starting an MTLR..."));   
-		TESTL(TestStepResult() == EPass);
-
-		// << ProcessStatusUpdate() EServiceSelfLocation | EServiceMobileTerminated
-		activeServiceMask1 |= MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
-
-		// << ProcessPrivacyRequest()
-		emergency = EFalse;
-		privacy    = ArgUtils::Privacy();
-		requestInfo = ArgUtils::RequestInfo();
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId2, &emergency, &privacy, &requestInfo);
+	INFO_PRINTF1(_L("Starting an MTLR..."));   
+	TESTL(TestStepResult() == EPass);
 
-		// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		
-		// >> Respond Privacy Request
-		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-		
-		TLbsNetSessionId* getSessionId = NULL;
-		CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-		cleanupCnt = 0;
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-		TESTL(getSessionId->SessionNum()==iSessionId2.SessionNum());
-		TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		
-	// second client NPUD
-	pWatch->IssueNotifyPositionUpdate();
+	// << ProcessStatusUpdate() EServiceSelfLocation | EServiceMobileTerminated
+	activeServiceMask1 |= MLbsNetworkProtocolObserver::EServiceMobileTerminated;
+	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
+    INFO_PRINTF1(_L("ProcessStatusUpdate sent")); 
+	// << ProcessPrivacyRequest()
+	emergency = EFalse;
+	privacy    = ArgUtils::Privacy();
+	requestInfo = ArgUtils::RequestInfo();
+	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId2, &emergency, &privacy, &requestInfo);
+    INFO_PRINTF1(_L("ProcessPrivacyRequest sent"));
+	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
+	CheckForObserverEventTestsL(KTimeOut, *this);
 	
-	    // << ProcessLocationUpdate() - the MT-LR
-		TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-		iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId2, &positionInfo);
-		
-	    // << ProcessAssistanceData() - network may supply non-requested info
-	    TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	    RLbsAssistanceDataBuilderSet assistanceData2;
-	    ArgUtils::PopulateLC(assistanceData2);
-	    reason = KErrNone;
-	    iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData2, &reason);
-	    CleanupStack::PopAndDestroy();
-
+	// >> Respond Privacy Request
+	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
+	INFO_PRINTF1(_L("RespondPrivacyRequest got")); 
+	TLbsNetSessionId* getSessionId = NULL;
+	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
+	cleanupCnt = 0;
+	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
+	TESTL(getSessionId->SessionNum()==iSessionId2.SessionNum());
+	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
+	CleanupStack::PopAndDestroy(cleanupCnt);
+	
+    // second client NPUD
+    pWatch->IssueNotifyPositionUpdate();
+    INFO_PRINTF1(_L("second NotifyPositionUpdate sent"));
+    // << ProcessLocationUpdate() - the MT-LR
+	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
+	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId2, &positionInfo);
+	INFO_PRINTF1(_L("ProcessLocationUpdate sent"));
+    // << ProcessAssistanceData() - network may supply non-requested info
+    TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
+    RLbsAssistanceDataBuilderSet assistanceData2;
+    ArgUtils::PopulateLC(assistanceData2);
+    reason = KErrNone;
+    iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData2, &reason);
+    CleanupStack::PopAndDestroy();
+    INFO_PRINTF1(_L("ProcessAssistanceData sent"));
 	// >> RequestAssistanceData - as a result of the second client request.
 	TLbsAsistanceDataGroup dataMask;	
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
 	TESTL(dataMask == EAssistanceDataNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
-	
+	INFO_PRINTF1(_L("RequestAssistanceData got"));
     // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
-
+		
 	// << ProcessAssistanceData()
 	dataMask = EAssistanceDataReferenceTime;
 	RLbsAssistanceDataBuilderSet assistanceData;
@@ -234,22 +235,21 @@
 	reason = KErrNone;
 	iProxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
 	CleanupStack::PopAndDestroy(); // assistanceData
-	
+	INFO_PRINTF1(_L("ProcessAssistanceData sent"));
 	// << ProcessLocationRequest() - this will cancel the client req.
     service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
 	quality = ArgUtils::Quality();
 	method   = ArgUtils::RequestHybridMethod();
 	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
+    INFO_PRINTF1(_L("ProcessLocationRequest sent"));
+    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
+	
 	// >> RequestAssistanceData - as a result of the NRH request.
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
 	TESTL(dataMask == EAssistanceDataNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
-
+	INFO_PRINTF1(_L("RequestAssistanceData got"));
 	// >> RespondLocationRequest()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
 	sessionId = NULL;
@@ -258,10 +258,10 @@
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &getPositionInfo);
 	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
 	TESTL(reason == KErrNone);
-
+    INFO_PRINTF1(_L("RespondLocationRequest got")); 
  	// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
 	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, getPositionInfo);
-
+    INFO_PRINTF1(_L("ProcessLocationUpdate sent")); 
 	CleanupStack::PopAndDestroy(cleanupCnt);
 	
 	// Client recv - the gps position determined by the gps module.
@@ -272,11 +272,11 @@
 	// << ProcessSessionComplete()
 	reason = KErrNone;
 	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
+    INFO_PRINTF1(_L("ProcessSessionComplete sent")); 
 	// << ProcessStatusUpdate()
 	activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
 	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
+    INFO_PRINTF1(_L("ProcessStatusUpdate sent")); 
 	// Wait for 10 seconds to ensure no additional responses turn up.
 	TInt delta = 10 * 1000 * 1000;
 	TNetProtocolResponseType mType = iProxy->WaitForResponse(delta);
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent02.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_concurrent02.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -68,7 +68,8 @@
 	iSessionId2.SetSessionNum(0x0002);
 	iClientPosUpdateCount =0;
 	iNetworkPosUpdateCount =0;
-	}
+	iState = EInitializing;
+    }
 
 
 void CT_LbsHybridCombinedStep_Concurrent02::ConstructL()
@@ -94,7 +95,7 @@
  	INFO_PRINTF1(_L("CT_LbsHybridCombinedStep_Concurrent02::doTestStepL()"));	
 	// Stop the test if the preable failed
 	TESTL(TestStepResult() == EPass);
-	const TInt KTimeOut = 60*1000*1000;
+	const TInt KTimeOut = 80*1000*1000;
 
 	// data declarations common to MOLR & MTLR
     TBool emergency = EFalse;
@@ -110,6 +111,7 @@
     
     // Protocol Module receives the cababilities message as LBS starts up...
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
+	INFO_PRINTF1(_L("ENetMsgGetCurrentCapabilitiesResponse got"));
 	CLbsNetworkProtocolBase::TLbsSystemStatus status;
 	TInt cleanupCnt;
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
@@ -129,14 +131,13 @@
 	
 	// Client Send - self locate request... Autonomous mode selected in Admin...
 	pWatch->IssueNotifyPositionUpdate();
-
+    INFO_PRINTF1(_L("NotifyPositionUpdate sent"));
 	// LBS->PM :: RequestSelfLocation()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
+    INFO_PRINTF1(_L("RequestSelfLocation got"));
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
 	// TODO: this test is being queried - should the flag indicate any client request,
 	//       or just AGPS client requests...
-	//TESTL(EClientNoAgps == ReadClientUsageProperty());
 	
 	// Process the response.
 	TLbsNetSessionId* 					sessionId = NULL;
@@ -162,24 +163,30 @@
 	// PM->LBS :: ProcessStatusUpdate()
 	serviceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
 	iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask1);
+	INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
+	// Check client has received the gps position determined by the gps module
+	// Callback  from OnNotifyPositionUpdate
+	CheckForObserverEventTestsL(KTimeOut, *this);
 	
-	// The AGPS Hybrid Module is now processing a position request...
 	// Start an MT-LR (TB requested...)
         
         // PM->LBS :: ProcessStatusUpdate()
         serviceMask1 |= MLbsNetworkProtocolObserver::EServiceMobileTerminated;
         iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask1);
-    
+        INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
         // PM->LBS :: ProcessPrivacyRequest()
         emergency = ETrue;
         privacy    = ArgUtils::Privacy();
         requestInfo = ArgUtils::RequestInfo();
         iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId2, &emergency, &privacy, &requestInfo);
-    
-        // LBS->PM :: RespondNetworkLocationRequest(ERequestAccepted)
+        INFO_PRINTF1(_L("ProcessPrivacyRequest sent"));
+        
+		// LBS->PM :: ProcessNetworkLocationRequest
         CheckForObserverEventTestsL(KTimeOut, *this);
-        TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-
+        TEST(iState == EPrivacyCheckOk);
+        INFO_PRINTF2(_L("iState=%d"),iState);
+		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
+        INFO_PRINTF1(_L("RespondPrivacyRequest got"));
         // Check the privacy response (not really necessary here...)
         TLbsNetSessionId* getSessionId = NULL;
         CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
@@ -192,7 +199,7 @@
         // LBS->PM :: ProcessLocationUpdate() (will this result in the client NPUD being completed?!)
         TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
         iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId2, &positionInfo);
-
+        INFO_PRINTF1(_L("ProcessLocationUpdate sent"));
         // LBS->PM :: ProcessAssistanceData()
         TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
         RLbsAssistanceDataBuilderSet assistanceData2;
@@ -200,24 +207,26 @@
         reason = KErrNone;
         iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData2, &reason);
         CleanupStack::PopAndDestroy();
-
-        // LBS->PM :: ProcessLocationRequest()
+        INFO_PRINTF1(_L("ProcessAssistanceData sent"));
+        
+		// LBS->PM :: ProcessLocationRequest()
         service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
         quality = ArgUtils::QualityAlpha2();
         method   = ArgUtils::RequestHybridMethod();
         iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId2, &emergency, &service, &quality, &method);
-        
+        INFO_PRINTF1(_L("ProcessLocationRequest sent"));
         // >> Callback from ProcessNetworkPostionUpdate(refPosition)
         CheckForObserverEventTestsL(KTimeOut, *this);
-        TEST(iNetworkPosUpdateCount==1);
+        INFO_PRINTF2(_L("iNetworkPosUpdateCount is %d."), iNetworkPosUpdateCount);
+		TEST(iNetworkPosUpdateCount==1);
 
         // >> Callback from ProcessNetworkPostionUpdate(GPS Location)
         CheckForObserverEventTestsL(KTimeOut, *this);
-        TEST(iNetworkPosUpdateCount==2);
+        INFO_PRINTF2(_L("iNetworkPosUpdateCount is %d."), iNetworkPosUpdateCount);
+		TEST(iNetworkPosUpdateCount==2);
         
         // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
         // TODO: uncomment this out when fixed...
-        //TESTL(EClientNoAgps == ReadClientUsageProperty());
         
         // LBS->PM RequestAssistanceData(0)
         TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
@@ -234,30 +243,27 @@
         TESTL(getSessionId->SessionNum() == iSessionId2.SessionNum());
         TESTL(getReason == KErrNone);
         CleanupStack::PopAndDestroy(cleanupCnt);
-        
+        INFO_PRINTF1(_L("RespondLocationRequest got"));
         
 	// Wait for AGPs module to send update
     //TInt KTimeout = 1000000; // 1 seconds
     //TESTL(iProxy->WaitForResponse(KTimeout) == ENetMsgTimeoutExpired);
 	
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    //TESTL(EClientNoAgps == ReadClientUsageProperty());
 	
 	// PM->LBS :: ProcessSessionComplete (session1)
 	reason = KErrNone;
 	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	
+	INFO_PRINTF1(_L("ProcessSessionComplete for session1 sent"));
     // PM->LBS :: ProcessSessionComplete (session2)
     reason = KErrNone;
     iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId2, &reason);
-
+    INFO_PRINTF1(_L("ProcessSessionComplete for session2 sent"));
     // PM->LBS :: ProcessStatusUpdate()
     serviceMask2 = MLbsNetworkProtocolObserver::EServiceNone; 
     iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask2);
-
-	// Check client has received the gps position determined by the gps module
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
+    INFO_PRINTF1(_L("ProcessStatusUpdate got"));
+		
 	TEST(iClientPosUpdateCount==1);
     TEST(iNetworkPosUpdateCount==2);
 	
@@ -290,6 +296,7 @@
 
 void CT_LbsHybridCombinedStep_Concurrent02::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& /*aPosInfo*/)
 	{
+	INFO_PRINTF1(_L("CT_LbsHybridCombinedStep_Concurrent02::OnNotifyPositionUpdate()"));
 	// Verify error.
 	TEST(aErr == KErrNone);
 	iClientPosUpdateCount++;
@@ -302,7 +309,8 @@
 {
     INFO_PRINTF1(_L("&gt;&gt;CT_LbsUEBasedMTLR::ProcessNetworkLocationRequest()"));
     iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-    iState = EPrivacyCheckOk;
+    INFO_PRINTF1(_L("RespondNetworkLocationRequest sent"));
+	iState = EPrivacyCheckOk;
     ReturnToTestStep();
 }
 
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential01.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential01.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -133,9 +133,8 @@
 
 	// >> RequestSelfLocation()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
+ 
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-	TESTL(EClientAgps == ReadClientUsageProperty());
 	
 	// Process the response.
 	TLbsNetSessionId* 					sessionId = NULL;
@@ -183,8 +182,7 @@
 	TESTL(dataMask == EAssistanceDataNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
 	
-    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
+	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
 
 	// << ProcessAssistanceData()
 	dataMask = EAssistanceDataReferenceTime;
@@ -199,17 +197,17 @@
 	quality = ArgUtils::Quality();
 	method   = ArgUtils::RequestHybridMethod();
 	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
+  
+	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
 
+	
 	// >> RequestAssistanceData - as a result of the NRH request.
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
 	TESTL(dataMask == EAssistanceDataNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
 
-	// >> RespondLocationRequest()
+   	// >> RespondLocationRequest()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
 	sessionId = NULL;
 	reason = KErrNone;
@@ -302,7 +300,6 @@
     CheckForObserverEventTestsL(KTimeOut, *this);
     
     // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientNoAgps == ReadClientUsageProperty());
     
     // >> RequestAssistanceData(0)
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential02.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_sequential02.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -136,7 +136,6 @@
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
 	// TODO: this test is being queried - should the flag indicate any client request,
 	//       or just AGPS client requests...
-	//TESTL(EClientNoAgps == ReadClientUsageProperty());
 	
 	// Process the response.
 	TLbsNetSessionId* 					sessionId = NULL;
@@ -172,7 +171,6 @@
     TESTL(iProxy->WaitForResponse(KTimeout) == ENetMsgTimeoutExpired);
 	
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    //TESTL(EClientNoAgps == ReadClientUsageProperty());
 	
 	// Protocol Module Send <-- ProcessSessionComplete.
 	reason = KErrNone;
@@ -251,7 +249,6 @@
     CheckForObserverEventTestsL(KTimeOut, *this);
     
     // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientNoAgps == ReadClientUsageProperty());
     
     // >> RequestAssistanceData(0)
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking01.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking01.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -150,32 +150,28 @@
 	
 	// LBS->PM :: RequestSelfLocation()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-	TESTL(EClientAgps == ReadClientUsageProperty());
-	
-        // Process the response.
-        TLbsNetSessionId* 					sessionId = NULL;
-        TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-        cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-        TBool qualitycheck = 	ArgUtils::CompareQuality(	opts, 
-                                                            ETrue, 
-                                                            KMinHorizontalAcc, 
-                                                            KMinVerticalAcc, 
-                                                            KTestMaxFixTime,
-                                                            0, 
-														EAssistanceDataReferenceTime, 
-														(TPositionModuleInfo::ETechnologyTerminal 
-														| TPositionModuleInfo::ETechnologyAssisted)
-													);
+    // Process the response.
+	TLbsNetSessionId* 					sessionId = NULL;
+	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
+	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
+	TBool qualitycheck = 	ArgUtils::CompareQuality(	opts, 
+														ETrue, 
+														KMinHorizontalAcc, 
+														KMinVerticalAcc, 
+														KTestMaxFixTime,
+														0, 
+													EAssistanceDataReferenceTime, 
+													(TPositionModuleInfo::ETechnologyTerminal 
+													| TPositionModuleInfo::ETechnologyAssisted)
+												);
 		
-        TESTL(qualitycheck);
-        
-        iSessionId.SetSessionNum(sessionId->SessionNum());
-        iSessionId.SetSessionOwner(sessionId->SessionOwner());
-        CleanupStack::PopAndDestroy(cleanupCnt);
-        sessionId = NULL;
-        opts = NULL;
+    TESTL(qualitycheck);
+    
+    iSessionId.SetSessionNum(sessionId->SessionNum());
+    iSessionId.SetSessionOwner(sessionId->SessionOwner());
+    CleanupStack::PopAndDestroy(cleanupCnt);
+    sessionId = NULL;
+    opts = NULL;
 
     // PM->LBS ProcessStatusUpdate(EServiceSelfLocation)
     serviceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
@@ -265,15 +261,10 @@
         // request for 
         mType = iProxy->WaitForResponse(KTimeOut);
         TESTL(mType == ENetMsgRequestAssistanceData);
-        // check that the client a-gps flag has been cleared at the aGPS module
-        TESTL(EClientNoAgps == ReadClientUsageProperty());
-        
+                
         // LBS->NRH Callback from ProcessNetworkPostionUpdate(GPS Location)
         CheckForObserverEventTestsL(KTimeOut, *this);
         
-        // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-        TESTL(EClientAgps == ReadClientUsageProperty());
-        
         // LBS->PM RespondLocationRequest()
         TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
         getSessionId = NULL;
@@ -304,9 +295,6 @@
     TESTL(dataMask == EAssistanceDataNone);
     CleanupStack::PopAndDestroy(cleanupCnt);
     
-    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
-
     // PM->LBS ProcessAssistanceData()
     dataMask = EAssistanceDataReferenceTime;
     RLbsAssistanceDataBuilderSet assistanceData;
@@ -326,10 +314,6 @@
     cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
     TESTL(dataMask == EAssistanceDataNone);
     CleanupStack::PopAndDestroy(cleanupCnt);
-    
-    // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
-
     // LBS->PM RespondLocationRequest()
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
     sessionId = NULL;
--- a/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking02.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridcombined/src/ctlbshybridcombinedstep_tracking02.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -96,7 +96,7 @@
  	INFO_PRINTF1(_L("CT_LbsHybridCombinedStep_Tracking02::doTestStepL()"));	
 	// Stop the test if the preable failed
 	TESTL(TestStepResult() == EPass);
-	const TInt KTimeOut = 60*1000*1000;
+	const TInt KTimeOut = 80*1000*1000;
 
 	// data declarations common to MOLR & MTLR
     TBool emergency = EFalse;
@@ -113,12 +113,13 @@
     
     // Protocol Module receives the cababilities message as LBS starts up...
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
+	
 	CLbsNetworkProtocolBase::TLbsSystemStatus status;
 	TInt cleanupCnt;
 	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
 	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
 	CleanupStack::PopAndDestroy(cleanupCnt);
-
+    INFO_PRINTF1(_L("ENetMsgGetCurrentCapabilitiesResponse got"));
 	// Create Client Objects...
 	RPositionServer server;
 	TInt connectError = server.Connect();
@@ -143,15 +144,15 @@
 	
 	// Client Send - self locate request... TB mode selected in Admin...
 	pWatch->IssueNotifyPositionUpdate();
-
+    INFO_PRINTF1(_L("NotifyPositionUpdate sent"));
     // Get current time.
     iClientInitialRequestTime.UniversalTime();
 	
 	// LBS->PM :: RequestSelfLocation()
 	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
+    INFO_PRINTF1(_L("RequestSelfLocation got"));
 
 	// check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-	TESTL(EClientAgps == ReadClientUsageProperty());
 	
         // Process the response.
         TLbsNetSessionId* 					sessionId = NULL;
@@ -179,11 +180,11 @@
     // PM->LBS ProcessStatusUpdate(EServiceSelfLocation)
     serviceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
     iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask1);
-    
+    INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
     // PM->LBS ProcessLocationUpdate(SessionId, RefPosition)
     TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
     iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
+    INFO_PRINTF1(_L("ProcessLocationUpdate sent"));
     // LBS->CLIENT OnNotifyPositionUpdate()
     CheckForObserverEventTestsL(KTimeOut, *this);
     TEST(iClientPosUpdateCount==1);
@@ -191,7 +192,7 @@
     // second request... the interval is 5 seconds..
     // CLIENT->LBS IssueNotifyPositionUpdate();
     pWatch->IssueNotifyPositionUpdate();
-
+    INFO_PRINTF1(_L("second NotifyPositionUpdate sent"));
     
         // an MTLR now happens with Max Fix Time before the client interval expires..
         //    (max fix time == 12 seconds)
@@ -199,19 +200,20 @@
         // << ProcessStatusUpdate()
         serviceMask1 |= MLbsNetworkProtocolObserver::EServiceMobileTerminated;
         iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask1);
-    
+        INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
         // PM->LBS ProcessPrivacyRequest()
         emergency = ETrue;
         privacy    = ArgUtils::Privacy();
         requestInfo = ArgUtils::RequestInfo();
         iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId2, &emergency, &privacy, &requestInfo);
-    
+        INFO_PRINTF1(_L("ProcessPrivacyRequest sent"));
         // LBS->NRH Callback from RespondNetworkLocationRequest(ERequestAccepted)
         CheckForObserverEventTestsL(KTimeOut, *this);
         
         // NRH->PM Respond Privacy Request
         TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-    
+        INFO_PRINTF1(_L("RespondPrivacyRequest got")); 
+		
         TLbsNetSessionId* getSessionId = NULL;
         CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
         cleanupCnt = 0;
@@ -223,7 +225,7 @@
         // PM->LBS ProcessLocationUpdate()
         TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
         iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId2, &positionInfo);
-    
+        INFO_PRINTF1(_L("ProcessLocationUpdate sent"));
         // PM->LBS ProcessAssistanceData()
         TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
         RLbsAssistanceDataBuilderSet assistanceData2;
@@ -231,37 +233,26 @@
         reason = KErrNone;
         iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData2, &reason);
         CleanupStack::PopAndDestroy();
-    
-        // PM->LBS ProcessLocationRequest(TB) (max fix time == 12 seconds)
+        INFO_PRINTF1(_L("ProcessAssistanceData sent"));
+        
+		// PM->LBS ProcessLocationRequest(TB) (max fix time == 12 seconds)
         service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
         quality = ArgUtils::QualityAlpha2(); 
         method   = ArgUtils::RequestTerminalBasedMethod();
         iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId2, &emergency, &service, &quality, &method);
-        
-        // Check the test is doing what it is supposed to do, ie that 
-        // Network request time + max fix time is after next client tracking update
-        TTime networkRequestTime;
-        networkRequestTime.UniversalTime();
-        //TTime networkMaxResponseTime;
-        networkRequestTime = networkRequestTime + quality.MaxFixTime();
-        TTime clientExpectedResponseTime;
-        clientExpectedResponseTime = iClientInitialRequestTime + iUpdateOpts.UpdateInterval();
-        TEST(networkRequestTime > clientExpectedResponseTime);
-    
+        INFO_PRINTF1(_L("PM->LBS ProcessLocationRequest(TB) sent"));
+            
         // LBS->NRH Callback from ProcessNetworkPostionUpdate(refPosition)
         CheckForObserverEventTestsL(KTimeOut, *this);
-  
-        TESTL(EClientAgps == ReadClientUsageProperty());
         
         // LBS->NRH Callback from ProcessNetworkPostionUpdate(GPS Location)
         CheckForObserverEventTestsL(KTimeOut, *this);
-        
         // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-        TESTL(EClientAgps == ReadClientUsageProperty());
         
         // LBS->PM RequestAssistanceData(0)
         TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-        TLbsAsistanceDataGroup dataGroup;
+        INFO_PRINTF1(_L("RequestAssistanceData got"));
+		TLbsAsistanceDataGroup dataGroup;
         CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
         TESTL(dataGroup == EAssistanceDataNone);
     
@@ -274,15 +265,15 @@
         TESTL(getSessionId->SessionNum() == iSessionId2.SessionNum());
         TESTL(getReason == KErrNone);
         CleanupStack::PopAndDestroy(cleanupCnt);
-        
+        INFO_PRINTF1(_L("RespondLocationRequest got"));
         // PM->LBS ProcessSessionComplete()
         reason = KErrNone;
         iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId2, &reason);
-    
+        INFO_PRINTF1(_L("ProcessSessionComplete sent"));
         // PM->LBS ProcessStatusUpdate() - still doing the self locate...
         serviceMask2 = MLbsNetworkProtocolObserver::EServiceSelfLocation; 
         iProxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask2);
-    
+        INFO_PRINTF1(_L("ProcessStatusUpdate sent"));
         // LBS->NRH Callback from ProcessRequestComplete()
         CheckForObserverEventTestsL(KTimeOut, *this);
 
@@ -303,7 +294,6 @@
     CleanupStack::PopAndDestroy(cleanupCnt);
     
     // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
 
     // PM->LBS ProcessAssistanceData()
     dataMask = EAssistanceDataReferenceTime;
@@ -326,7 +316,6 @@
     CleanupStack::PopAndDestroy(cleanupCnt);
     
     // check the Client AGPS Usage Flag is as expected at the NPE Hybrid GPS module...
-    TESTL(EClientAgps == ReadClientUsageProperty());
 
     // LBS->PM RespondLocationRequest()
     TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
@@ -392,6 +381,7 @@
 
 void CT_LbsHybridCombinedStep_Tracking02::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& /*aPosInfo*/)
 	{
+	INFO_PRINTF1(_L("CT_LbsHybridCombinedStep_Tracking02::OnNotifyPositionUpdate()"));
 	// Verify error.
 	TEST(aErr == KErrNone);
 	iClientUpdateTime.UniversalTime();
--- a/lbstest/lbstestproduct/lbshybridconflict/group/ctlbshybridconflictsrv.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridconflict/group/ctlbshybridconflictsrv.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -35,6 +35,10 @@
 SOURCE		ctlbsMoLrIntByX3P.cpp
 
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- a/lbstest/lbstestproduct/lbshybridconflict/group/lbshybridconflict.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridconflict/group/lbshybridconflict.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -23,7 +23,7 @@
 #include <lbstestserver.iby>
 #include <lbstestutils.iby>
 #include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
+#include <ctagpshybridmodule.iby>
 #include <ctlbsclockplugin.iby>
 #include <hybridprotocolmodule.iby>
 //#include <simtsy.iby>
@@ -31,7 +31,7 @@
 file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
 
 #data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-#data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
+#data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpshybridmoduledatasource.ini	  testdata\configs\ctagpshybridmoduledatasource.ini
 
 file=ABI_DIR\DEBUG_DIR\LbsHybridConflictTestSrv.exe sys\bin\LbsHybridConflictTestSrv.exe
 #data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr.ini	  testdata\configs\lbs_molr.ini
--- a/lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -68,6 +68,11 @@
 //Positioning Indicator test files
 SOURCE		ctlbshybridueassistednpudposstatus.cpp
 
+
+// Test Execute libraries.
+LIBRARY	testexecuteutils.lib
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,181 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbshybridmolr/group/ctlbshybridmolrserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbshybridmolrtestserver.exe"-"c:\sys\bin\lbshybridmolrtestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbshybridmolr_uebased"
+;
+; test scripts
+"..\scripts\uebased_molr_self.script"-"c:\testdata\scripts\uebased_molr_self.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_gpsok"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_gpsok.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_gpsok.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_gps_late"
+;
+; test scripts
+"..\scripts\ueassisted_molr_self_gps_late.script"-"c:\testdata\scripts\ueassisted_molr_self_gps_late.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_gps_late_fac_timeout"
+;
+; test scripts
+"..\scripts\ueassisted_molr_self_gps_late_fac_timeout.script"-"c:\testdata\scripts\ueassisted_molr_self_gps_late_fac_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_gps_inaccurate_timeout"
+;
+; test scripts
+"..\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script"-"c:\testdata\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbsautonomousmolr_gps_futile"
+;
+; test scripts
+"..\scripts\autonomous_molr_futile.script"-"c:\testdata\scripts\autonomous_molr_futile.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbsautonomousmolr_gps_futile_ignore_accuracy"
+;
+; test scripts
+"..\scripts\autonomous_molr_futile_ignore_accuracy.script"-"c:\testdata\scripts\autonomous_molr_futile_ignore_accuracy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_client_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_client_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_client_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_no_gps_update"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_no_gps_update.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_no_gps_update.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_ueassisted_partial"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_partial.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_partial.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_gps_futile"
+;
+; test scripts
+"..\scripts\hybrid_molr_futile.script"-"c:\testdata\scripts\hybrid_molr_futile.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_gpsoptions"
+;
+; test scripts
+"..\scripts\molr_gpsoptions.script"-"c:\testdata\scripts\molr_gpsoptions.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_tracking"
+;
+; test scripts
+"..\scripts\molr_tracking.script"-"c:\testdata\scripts\molr_tracking.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr_tracking.ini"-"c:\testdata\configs\lbs_molr_tracking.ini"
+
+; test "lbshybridmolr_ueassisted_molr_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbsprofile_timeout_off.ini"-"c:\testdata\configs\lbsprofile_timeout_off.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbsprofile_timeout_on.ini"-"c:\testdata\configs\lbsprofile_timeout_on.ini"
+
+; test "lbshybridmolr_uebased_values"
+;
+; test scripts
+"..\scripts\uebased_molr_self_internal_value_test.script"-"c:\testdata\scripts\uebased_molr_self_internal_value_test.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbsprofile_values.ini"-"c:\testdata\configs\lbsprofile_values.ini"
+
+; test "lbshybridmolr_uebased_partial"
+;
+; test scripts
+"..\scripts\hybrid_uebased_molr_partial.script"-"c:\testdata\scripts\hybrid_uebased_molr_partial.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "lbshybridmolr_error_assistance"
+;
+; test scripts
+"..\scripts\molr_error_assistance.script"-"c:\testdata\scripts\molr_error_assistance.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
+
+; test "hybrid_ueassisted_molr_posstatus"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_molr_posstatus.script"-"c:\testdata\scripts\hybrid_ueassisted_molr_posstatus.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_molr.ini"-"c:\testdata\configs\lbs_molr.ini"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmolr/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmolr/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbshybridmolr/group/lbshybridmolr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/group/lbshybridmolr.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -24,12 +24,11 @@
 #include <lbstestserver.iby>
 #include <lbstestutils.iby>
 #include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
+#include <ctagpshybridmodule.iby>
 #include <ctlbsclockplugin.iby>
 #include <hybridprotocolmodule.iby>
 
 data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
 
 file=ABI_DIR\DEBUG_DIR\LbsHybridMOLRTestServer.exe sys\bin\LbsHybridMOLRTestServer.exe
 data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr.ini	  testdata\configs\lbs_molr.ini
--- a/lbstest/lbstestproduct/lbshybridmolr/inc/ctlbsmolrtracking.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/inc/ctlbsmolrtracking.h	Fri Sep 17 08:37:32 2010 +0300
@@ -35,7 +35,7 @@
 // Literals used
 _LIT(KLbsMolrTracking, "LbsMolrTracking");
 
-class CT_LbsMolrTracking :	public	CT_LbsHybridMOLRStep, public MTestFlowObserver, public MLbsPositioningStatusObserver
+class CT_LbsMolrTracking :	public	CT_LbsHybridMOLRStep, public MTestFlowObserver
 	{
 private:
 	class CT_ClientData : public CBase
@@ -105,9 +105,6 @@
 	void StopTest();
 	void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep);
 	
-    //MLbsPositioningStatusObserver
-    void OnPositioningStatusUpdate(const CLbsPositioningStatus::TLbsPositioningStatus& aPositioningStatus);
-
 protected:
 	CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent);
 	void ConstructL();
@@ -134,10 +131,6 @@
 	// =2 - MaxAge test
 	// =3 - EarlyComplete test 
 	TInt iSpecialTestMode;
-	TInt  iPositioningIndicatorCount;
-    TInt  iPosStatusCount;
-    CLbsPositioningStatus* iLbsPositioningStatus;
-    CLbsPositioningStatus::TLbsPositioningStatus iPositioningStatus;
 	};
 
 #endif //__CT_LBS_MOLR_TRACKING_H__
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile_ignore_accuracy.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/autonomous_molr_futile_ignore_accuracy.script	Fri Sep 17 08:37:32 2010 +0300
@@ -28,7 +28,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_molr_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_molr_futile.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 	DeleteFile c:\private\10202be9\1028224b.cre 
 	DeleteFile c:\private\10202be9\persists\1028224b.cre 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_client_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_client_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
 	DeleteFile c:\private\10202be9\1028224b.cre 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_gpsok.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_gpsok.script	Fri Sep 17 08:37:32 2010 +0300
@@ -31,7 +31,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_no_gps_update.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_no_gps_update.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_partial.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_partial.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
 	DeleteFile c:\private\10202be9\1028224b.cre 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_posstatus.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_posstatus.script	Fri Sep 17 08:37:32 2010 +0300
@@ -31,7 +31,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_ueassisted_molr_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 	CopyFile c:\testdata\configs\lbsprofile_timeout_on.ini c:\private\10282253\lbs\lbsprofile.ini
 REMOVE_PREFIX
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_uebased_molr_partial.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/hybrid_uebased_molr_partial.script	Fri Sep 17 08:37:32 2010 +0300
@@ -28,7 +28,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
 	DeleteFile c:\private\10202be9\1028224b.cre 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_error_assistance.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_error_assistance.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_gpsoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_gpsoptions.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -49,7 +49,7 @@
 
 // Change module caps to TA || TB:
 //RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -118,7 +118,7 @@
 
 //--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
 
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
@@ -266,7 +266,7 @@
 
 // Change module caps to TA only:
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
@@ -302,7 +302,7 @@
 
 // Change module caps to TA || TB:
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -500,7 +500,7 @@
 
 // Change module caps to Hybrid (TA && TB):
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
@@ -782,7 +782,7 @@
 
 // Change module caps to TB only:
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 //PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -815,7 +815,7 @@
 
 // Change module caps to TA only:
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -1007,7 +1007,7 @@
 
 // Change module caps to TA || TB:
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
@@ -1218,7 +1218,7 @@
 
 // Change module caps to Hybrid (TA && TB):
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_reset_assistance.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_reset_assistance.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -108,4 +108,4 @@
 
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
 
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
\ No newline at end of file
+RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_tracking.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/molr_tracking.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -274,7 +274,7 @@
 
 
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 //--------------------------------------------------------------- Module Caps = TB + TA -----------------------------------------------------------------------
@@ -485,7 +485,7 @@
 
 //--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
 RUN_TEST_STEP 020 LbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 
 
@@ -519,7 +519,7 @@
 //--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMOLRTestServer LbsStep_StartLbs
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_inaccurate_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_inaccurate_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 	DeleteFile c:\private\10202be9\1028224b.cre 
 	DeleteFile c:\private\10202be9\persists\1028224b.cre 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late_fac_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/ueassisted_molr_self_gps_late_fac_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self.script	Fri Sep 17 08:37:32 2010 +0300
@@ -28,7 +28,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self_internal_value_test.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/scripts/uebased_molr_self_internal_value_test.script	Fri Sep 17 08:37:32 2010 +0300
@@ -42,7 +42,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 CopyFile c:\testdata\configs\lbsprofile_values.ini c:\private\10282253\lbs\lbsprofile.ini
 REMOVE_PREFIX
--- a/lbstest/lbstestproduct/lbshybridmolr/src/ctlbshybridueassistedmolrgpsok.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/src/ctlbshybridueassistedmolrgpsok.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -82,6 +82,9 @@
 TVerdict CT_LbsHybridUEAssistedMOLRGPSOk::doTestStepL()
 	{
 	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMOLRGPSOk::doTestStepL()"));	
+	
+	TInt result;
+	
 	// Stop the test if the preable failed
 	TESTL(TestStepResult() == EPass);
 
@@ -98,7 +101,10 @@
 	CleanupStack::PushL(proxy);
 
 	// >> AdviceSystemStatus(0) - GetCurrentCapabilitiesResponse
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
+	result = proxy->WaitForResponse(KTimeOut);
+    INFO_PRINTF3(_L("expecting ENetMsgGetCurrentCapabilitiesResponse(%d) got %d"),ENetMsgGetCurrentCapabilitiesResponse, result ); 
+	TESTL(result == ENetMsgGetCurrentCapabilitiesResponse);
+	
 	CLbsNetworkProtocolBase::TLbsSystemStatus status;
 	TInt cleanupCnt;
 	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
@@ -137,8 +143,13 @@
 		pWatch->IssueNotifyPositionUpdate();
 
 		// >> RequestSelfLocation()
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
+		//TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
+		result = proxy->WaitForResponse(KTimeOut);
+	   INFO_PRINTF3(_L("expecting ENetMsgRequestSelfLocation(%d) got %d"),ENetMsgRequestSelfLocation, result ); 
 
+       TESTL(result == ENetMsgRequestSelfLocation);
+
+	   
 		// Process the response.
 		TLbsNetSessionId* 					sessionId = NULL;
 		TLbsNetPosRequestOptionsAssistance*	opts = NULL;
@@ -174,6 +185,8 @@
 			}
 		else
 			{
+	      INFO_PRINTF3(_L("Expected a Cancel()%d, but got %d"),ENetMsgCancelSelfLocation , err); 
+
 			TESTL(err == ENetMsgCancelSelfLocation);
 			}	
 		
@@ -225,7 +238,10 @@
 		pWatch->IssueNotifyPositionUpdate();
 
 		// >> RequestSelfLocation()
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
+	
+		result = proxy->WaitForResponse(KTimeOut);
+        INFO_PRINTF3(_L("expecting ENetMsgRequestSelfLocation(%d) got %d"),ENetMsgRequestSelfLocation, result ); 
+  		TESTL(result == ENetMsgRequestSelfLocation);
 
 		// Process the response.
 		TLbsNetSessionId* 					sessionId = NULL;
@@ -285,20 +301,9 @@
 		TTime startTime;
 		startTime.HomeTime();
 
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
 		// << NotifyPositionUpdate()
 		pWatch->IssueNotifyPositionUpdate();
 
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
 		// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
 		TTimeIntervalMicroSeconds microseconds;
 		TTime stopTime;
@@ -308,10 +313,14 @@
 		TInt delta = 2 * 1000 * 1000; // 2 secs.
 
 		// >> RespondLocationRequest()
-		TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
+		result = proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta,ENetMsgRequestAssistanceData);
+		INFO_PRINTF3(_L("expecting ENetMsgTimeoutExpired(%d) got %d"),ENetMsgTimeoutExpired, result ); 
+		TESTL(result == ENetMsgTimeoutExpired);
 
 		// Wait for and process the response.
-		TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);		// DONT get because the measurement data bus has not been created...
+		result = proxy->WaitForResponse(2 * delta,ENetMsgRequestAssistanceData);
+		INFO_PRINTF3(_L("expecting ENetMsgRespondLocationRequest(%d) got %d"),ENetMsgRespondLocationRequest, result ); 
+		TESTL(result == ENetMsgRespondLocationRequest);		// DONT get because the measurement data bus has not been created...
 
 		sessionId = NULL;
 		TPositionGpsMeasurementInfo* measurementInfo = NULL;
@@ -320,12 +329,6 @@
 		TESTL(reason == KErrNone);
 		CleanupStack::PopAndDestroy(cleanupCnt);//sessionId, measurementInfo
 
-		// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-		//									max fix time timer expries.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
 		const TInt t = 8 * 1000 * 1000; // 8 secs.
 		quality.SetMaxFixTime(t);
 
@@ -337,14 +340,10 @@
 			// << ProcessLocationRequest(SessionId, HybridMode, t)
 			proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
 
-			// >> RequestAssistanceData(0)
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-
 			// >> RespondLocationRequest() - first measurement, second position.
-			TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
+			result = proxy->WaitForResponse(t + delta,ENetMsgRequestAssistanceData);
+			INFO_PRINTF3(_L("expecting ENetMsgRespondLocationRequest(%d) got %d"),ENetMsgRespondLocationRequest, result ); 
+			TESTL(result == ENetMsgRespondLocationRequest);
 
 			sessionId = NULL;
 			
@@ -356,14 +355,6 @@
 
 				// Check it is measurement
 				TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-				// >> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-				//									max fix time timer expries.
-				TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData);
-
-				cleanupCnt += proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-
-				TESTL(dataMask == EAssistanceDataNone);
 				TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
 				TESTL(reason == KErrNone);
 				}
--- a/lbstest/lbstestproduct/lbshybridmolr/src/ctlbsmolrtracking.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/src/ctlbsmolrtracking.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -42,7 +42,7 @@
 
 #include <lbs/test/activeyield.h>
 
-const TInt KSmallDelta = 350 * 1000; // 250ms
+const TInt KSmallDelta = 800 * 1000; // 800 ms
 
 /**
 Static Constructor
@@ -84,9 +84,6 @@
 	{
 	// Create the base class objects.
 	CT_LbsHybridMOLRStep::ConstructL();
-    iLbsPositioningStatus = CLbsPositioningStatus::NewL(*this);
-    iPosStatusCount = 0;
-    iPositioningStatus = CLbsPositioningStatus::ELbsPositioningStatusNotActive;
 	}
 
 /**
@@ -94,7 +91,6 @@
  */
 CT_LbsMolrTracking::~CT_LbsMolrTracking()
 	{
-    delete iLbsPositioningStatus;
 	TRAP_IGNORE(doTestStepPostambleL());
 	}
 
@@ -236,17 +232,6 @@
 		TEST(EFalse);
 		}
 
-    _LIT(KPositioningIndicator, "PositioningIndicator");
-    TInt positioningIndicatorCount;
-    if(GetIntFromConfig(ConfigSection(), KPositioningIndicator, positioningIndicatorCount))
-        {
-        iPositioningIndicatorCount = positioningIndicatorCount;
-        }
-    else
-        {
-        iPositioningIndicatorCount = 0;
-        }
-		
 	// Get the SpecialTestModemode setting ... 0 means not in a LastKnownPosition mode
 	_LIT(KLastKnownPosition, "SpecialTestMode");
 	TInt specialTestModeInt;
@@ -288,11 +273,6 @@
 TVerdict CT_LbsMolrTracking::doTestStepPostambleL()
 	{
 	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMolrTracking::doTestStepPostambleL()"));
-    if(iPositioningIndicatorCount>0)
-        {
-        TESTL(iPositioningIndicatorCount==iPosStatusCount);
-        TESTL(iPositioningStatus == CLbsPositioningStatus::ELbsPositioningStatusNotActive);
-        }
 	iClients.ResetAndDestroy();
 	iClientTestManagers.ResetAndDestroy();
 
@@ -408,11 +388,6 @@
 			
 			INFO_PRINTF2(_L("Client number %d received a position"), aObjectId);
 			INFO_PRINTF3(_L("Client now has %d of %d positions"), positionsReceived+1, numberOfNPUDs);
-			if(iPositioningIndicatorCount>0)
-			    {
-                TESTL(iPosStatusCount==1);
-                TESTL(iPositioningStatus == CLbsPositioningStatus::ELbsPositioningStatusActive);
-			    }
 		
 			if (iSpecialTestMode == 2)
 				{
@@ -749,8 +724,3 @@
 	CleanupStack::PopAndDestroy(moduleUpdate);
 	CleanupStack::PopAndDestroy(db);
 }
-void CT_LbsMolrTracking::OnPositioningStatusUpdate(const CLbsPositioningStatus::TLbsPositioningStatus& aPositioningStatus)
-    {
-    iPosStatusCount++;
-    iPositioningStatus = aPositioningStatus;
-    }
--- a/lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -630,8 +630,8 @@
 // It is expected that the network will return the position (not used but need to set something)
 PositionOriginator = 2
 // The module should be set to ATA and then not set again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -644,8 +644,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not set again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -658,8 +658,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not set again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -672,8 +672,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not set again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 //--------------------------- TB||TA CAP ---------------------------
@@ -687,8 +687,8 @@
 // It is expected that the module will return the position 
 PositionOriginator = 1
 // The module should be set to ATA and then to PTB
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 // PTB
 $modulemodes,1*
 expected_api_behaviour = 1
@@ -703,8 +703,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -717,8 +717,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -731,8 +731,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 //--------------------------- TB&&TA CAP ---------------------------
@@ -746,8 +746,8 @@
 // It is expected that the module will return the position 
 PositionOriginator = 1
 // The module should be set to ATA and then to PTB
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 // PTB (Pos, Mes)
 $modulemodes,1,1,2*
 expected_api_behaviour = 1
@@ -763,8 +763,8 @@
 // It is expected that the module will return the position 
 PositionOriginator = 1
 // The module should be set to ATA and then hybrid
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 // PTB (Pos, Mes)
 $modulemodes,1,1,2*
 expected_api_behaviour = 1
@@ -779,8 +779,8 @@
 // It is expected that the network will return the position 
 PositionOriginator = 2
 // The module should be set to ATA and then not again
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 expected_api_behaviour = 1
 
 
@@ -794,8 +794,8 @@
 // It is expected that the module will return the position 
 PositionOriginator = 1
 // The module should be set to ATA and then hybrid
-// PTA
-$modulemodes,4*
+// ATA
+$modulemodes,5*
 // PTB (Pos, Mes)
 $modulemodes,1,1,2*
 expected_api_behaviour = 1
--- a/lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr_tracking.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmolr/testdata/lbs_molr_tracking.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -44,12 +44,12 @@
 PositioningIndicator = 2
 
 // The client information
-// first client: session ID delay = 0, session step delay = 0, interval = 5s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,20,5000000,3000000,0,false*
-// second client: session ID delay = 1, session step delay = 3, NPUDs = 10, interval = 9s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,3,10,9000000,3000000,0,false*
-// third client: session ID delay = 1, session step delay = 6, NPUDs = 15, interval = 7s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,6,15,7000000,3000000,0,false*
+// first client: session ID delay = 0, session step delay = 0, interval = 5s, time out = 4s, max age = 0s, accept partial = false
+$clientdetails,0,0,20,5000000,4000000,0,false*
+// second client: session ID delay = 1, session step delay = 3, NPUDs = 10, interval = 9s, time out = 4s, max age = 0s, accept partial = false
+$clientdetails,1,3,10,9000000,4000000,0,false*
+// third client: session ID delay = 1, session step delay = 6, NPUDs = 15, interval = 7s, time out = 4s, max age = 0s, accept partial = false
+$clientdetails,1,6,15,7000000,4000000,0,false*
 
 
 [MOLR-HYBRID-TRACKING-2CLIENTS-1]
@@ -146,8 +146,8 @@
 // The client information
 // first client: delay start until session 1:step 3 ,NPUDs = 3, interval = 0s (not tracking), time out = 5s, max age = 0s, accept partial = false
 $clientdetails,1,3,3,0,5000000,0,false*
-// second client: no delay (session 0:step0), NPUDs = 3, interval = 0s (not tracking), time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,3,0,3000000,0,false*
+// second client: no delay (session 0:step0), NPUDs = 3, interval = 0s (not tracking), time out = 5s, max age = 0s, accept partial = false
+$clientdetails,0,0,3,0,5000000,0,false*
 
 [MOLR-ATA-MAXAGE]
 agps_module_update_file = c:\testdata\configs\lbs_molr_tracking.ini
@@ -323,7 +323,7 @@
 PositionOriginator = 2
 // The module should be set to ATA and then not set again
 // ATA
-$modulemodes,4*
+$modulemodes,5*
 PositioningIndicator = 2
 
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -49,6 +49,10 @@
 SOURCE      ctlbsoom.cpp
 SOURCE		ctlbshybridueassistedmtlrposstatus.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,131 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbshybridmtlr/group/ctlbshybridmtlrserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbshybridmtlrtestserver.exe"-"c:\sys\bin\lbshybridmtlrtestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbshybridmtlr_uebased"
+;
+; test scripts
+"..\scripts\uebased_mtlr.script"-"c:\testdata\scripts\uebased_mtlr.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbshybridmtlr_ueassisted_gps_ok"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_mtlr_gps_ok.script"-"c:\testdata\scripts\hybrid_ueassisted_mtlr_gps_ok.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbshybridmtlr_ueassisted_no_gps"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_mtlr_no_gps.script"-"c:\testdata\scripts\hybrid_ueassisted_mtlr_no_gps.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbshybridmtlr_ueassisted_nw"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_mtlr_nw.script"-"c:\testdata\scripts\hybrid_ueassisted_mtlr_nw.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbshybridmtlr_ueassisted_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_mtlr_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_mtlr_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbshybridmtlr_gps_futile"
+;
+; test scripts
+"..\scripts\hybrid_mtlr_futile.script"-"c:\testdata\scripts\hybrid_mtlr_futile.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\1028224b_interfutile_on.cre"-"c:\testdata\configs\1028224b_interfutile_on.cre"
+
+; test "lbshybridmtlr_acc_ref_pos"
+;
+; test scripts
+"..\scripts\mtlr_acc_ref_pos.script"-"c:\testdata\scripts\mtlr_acc_ref_pos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbsmtlr_gpsmodeoptions"
+;
+; test scripts
+"..\scripts\mtlr_gpsmodeoptions.script"-"c:\testdata\scripts\mtlr_gpsmodeoptions.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbsmtlr_reset_assistance"
+;
+; test scripts
+"..\scripts\mtlr_reset_assistance.script"-"c:\testdata\scripts\mtlr_reset_assistance.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbsmtlr_network_induced"
+;
+; test scripts
+"..\scripts\mtlr_network_induced.script"-"c:\testdata\scripts\mtlr_network_induced.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "lbs_oom"
+;
+; test scripts
+"..\scripts\lbs_oom.script"-"c:\testdata\scripts\lbs_oom.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmtlr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
+
+; test "hybrid_ueassisted_mtlr_posstatus"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_mtlr_posstatus.script"-"c:\testdata\scripts\hybrid_ueassisted_mtlr_posstatus.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmolr\testdata\lbs_mtlr.ini"-"c:\testdata\configs\lbs_mtlr.ini"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmtlr/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmtlr/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbshybridmtlr/group/lbshybridmtlr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/group/lbshybridmtlr.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -18,24 +18,9 @@
 #define __LBS_HYBRID_MTLR__
 
 #include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
-#include <ctlbsclockplugin.iby>
+#include <ctagpshybridmodule.iby>
 #include <hybridprotocolmodule.iby>
-//#include <simtsy.iby>
-
-file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
 
 file=ABI_DIR\DEBUG_DIR\LbsHybridMTLRTestServer.exe sys\bin\LbsHybridMTLRTestServer.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_mtlr.ini	  testdata\configs\lbs_mtlr.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_mtlr.script	  testdata\scripts\uebased_mtlr.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\run_hw_mtlr.bat	  testdata\scripts\run_hw_mtlr.bat
 
 #endif
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_mtlr_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_mtlr_futile.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_cancel.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_cancel.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_gps_ok.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_gps_ok.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_no_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_no_gps.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_nw.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_nw.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_posstatus.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_posstatus.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/hybrid_ueassisted_mtlr_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_gpsok.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_gpsok.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_oom.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/lbs_oom.script	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_acc_ref_pos.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_acc_ref_pos.script	Fri Sep 17 08:37:32 2010 +0300
@@ -23,7 +23,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_gpsmodeoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_gpsmodeoptions.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -45,7 +45,7 @@
 
 //--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
 
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMTLRTestServer LbsStep_StartLbs
 
 
@@ -225,7 +225,7 @@
 
 // Change module caps to TA only:
 RUN_TEST_STEP 020 LbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMTLRTestServer LbsStep_StartLbs
 
 
@@ -411,7 +411,7 @@
 
 // Change module caps to TA || TB:
 RUN_TEST_STEP 020 LbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMTLRTestServer LbsStep_StartLbs
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -600,7 +600,7 @@
 
 // Change module caps to Hybrid (TA && TB):
 RUN_TEST_STEP 020 LbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridMTLRTestServer LbsStep_StartLbs
 
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_network_induced.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_network_induced.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_reset_assistance.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/mtlr_reset_assistance.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/run_hw_mtlr.bat	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/run_hw_mtlr.bat	Fri Sep 17 08:37:32 2010 +0300
@@ -18,7 +18,7 @@
 md c:\logs\lbs
 md c:\testdata
 md c:\testdata\configs
-copy z:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\testdata\configs\ctagpsnpetestmoduledatasource.ini
+copy z:\testdata\configs\ctagpshybridmoduledatasource.ini c:\testdata\configs\ctagpshybridmoduledatasource.ini
 copy z:\testdata\configs\lbstestconfig.txt c:\testdata\configs\lbstestconfig.txt
 copy z:\testdata\configs\lbs_mtlr.ini c:\testdata\configs\lbs_mtlr.ini
 testexecute z:\testdata\scripts\uebased_mtlr.script
--- a/lbstest/lbstestproduct/lbshybridmtlr/scripts/uebased_mtlr.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmtlr/scripts/uebased_mtlr.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -43,6 +43,10 @@
 SOURCE		clbstestmtlrsessionsequence.cpp
 SOURCE		clbstestx3psessionsequence.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,128 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbshybridmultiple/group/ctlbshybridmultipleserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbshybridmultipletestserver.exe"-"c:\sys\bin\lbshybridmultipletestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetextendedprotocolproxy.dll"-"c:\sys\bin\lbsnetextendedprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetextendedprotocolstub.dll"-"c:\sys\bin\lbsnetextendedprotocolstub.dll"
+"\epoc32\release\armv5\urel\lbsnetextendedprotocolstub2.dll"-"c:\sys\bin\lbsnetextendedprotocolstub2.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub.rsc"-"c:\resource\plugins\lbsnetextendedprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub2.rsc"-"c:\resource\plugins\lbsnetextendedprotocolstub2.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\extendedprotocolmodule\group\pminfo.ini"-"c:\testdata\configs\pminfo.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_onepm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_onepm.script"-"c:\testdata\scripts\multiple_mtlr_onepm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_onepm.ini"-"c:\testdata\configs\multiple_subsessions_onepm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_molr_onepm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_molr_onepm.script"-"c:\testdata\scripts\multiple_mtlr_molr_onepm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_onepm.ini"-"c:\testdata\configs\multiple_subsessions_onepm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_x3p_onepm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_x3p_onepm.script"-"c:\testdata\scripts\multiple_mtlr_x3p_onepm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_onepm.ini"-"c:\testdata\configs\multiple_subsessions_onepm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_nimtlr_onepm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_nimtlr_onepm.script"-"c:\testdata\scripts\multiple_mtlr_nimtlr_onepm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_onepm.ini"-"c:\testdata\configs\multiple_subsessions_onepm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_twopm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_twopm.script"-"c:\testdata\scripts\multiple_mtlr_twopm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_twopm.ini"-"c:\testdata\configs\multiple_subsessions_twopm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_molr_twopm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_molr_twopm.script"-"c:\testdata\scripts\multiple_mtlr_molr_twopm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_twopm.ini"-"c:\testdata\configs\multiple_subsessions_twopm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_x3p_twopm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_x3p_twopm.script"-"c:\testdata\scripts\multiple_mtlr_x3p_twopm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_twopm.ini"-"c:\testdata\configs\multiple_subsessions_twopm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_nimtlr_twopm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_nimtlr_twopm.script"-"c:\testdata\scripts\multiple_mtlr_nimtlr_twopm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_twopm.ini"-"c:\testdata\configs\multiple_subsessions_twopm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "lbshybridmultiple_multiple_mtlr_molr_x3p_nimtlr_onepm"
+;
+; test scripts
+"..\scripts\multiple_mtlr_molr_x3p_nimtlr_onepm.script"-"c:\testdata\scripts\multiple_mtlr_molr_x3p_nimtlr_onepm.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\multiple_subsessions_onepm.ini"-"c:\testdata\configs\multiple_subsessions_onepm.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
+; test "npp_psy_fallback"
+;
+; test scripts
+"..\scripts\npp_psy_fallback.script"-"c:\testdata\scripts\npp_psy_fallback.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\npp_psy_fallback.ini"-"c:\testdata\configs\npp_psy_fallback.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridmultiple\testdata\lbs_multiple_subsessions.ini"-"c:\testdata\configs\lbs_multiple_subsessions.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmultiple/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridmultiple/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbshybridmultiple/group/lbshybridmultiple.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/group/lbshybridmultiple.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -19,36 +19,9 @@
 #define __LBS_HYBRID_MULTIPLE__
 
 #include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
+#include <extendedprotocolmodule.iby>
 #include <ctagpshybridmodule.iby>
-#include <ctlbsclockplugin.iby>
-#include <hybridprotocolmodule.iby>
-//#include <simtsy.iby>
-
-file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  					testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpshybridmoduledatasource.ini	  	testdata\configs\ctagpshybridmoduledatasource.ini
 
 file=ABI_DIR\DEBUG_DIR\LbsHybridMultipleTestServer.exe 								sys\bin\LbsHybridMultipleTestServer.exe
 
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_multiple_subsessions.ini			testdata\configs\lbs_multiple_subsessions.ini
-data=EPOCROOT##epoc32\data\C\testdata\configs\multiple_subsessions_onepm.ini		testdata\configs\multiple_subsessions_onepm.ini
-data=EPOCROOT##epoc32\data\C\testdata\configs\multiple_subsessions_twopm.ini		testdata\configs\multiple_subsessions_twopm.ini
-
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_onepm.script					testdata\scripts\multiple_mtlr_onepm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_molr_onepm.script				testdata\scripts\multiple_mtlr_molr_onepm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_x3p_onepm.script				testdata\scripts\multiple_mtlr_x3p_onepm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_nimtlr_onepm.script				testdata\scripts\multiple_mtlr_nimtlr_onepm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_molr_x3p_nimtlr_onepm.script	testdata\scripts\multiple_mtlr_molr_x3p_nimtlr_onepm.script
-
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_twopm.script			testdata\scripts\multiple_mtlr_twopm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_molr_twopm.script		testdata\scripts\multiple_mtlr_molr_twopm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_x3p_twopm.script		testdata\scripts\multiple_mtlr_x3p_twopm.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\multiple_mtlr_nimtlr_twopm.script		testdata\scripts\multiple_mtlr_nimtlr_twopm.script
-
 #endif
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_onepm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_onepm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,7 +26,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_twopm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_twopm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -59,7 +59,7 @@
 //! @SYMTestStatus              3. Released
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_twopm.ini TwoMtlrsOneMolrTwoPm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_twopm.ini TwoMtlrsOneMolrTwoPm
 END_TESTCASE                  LBS-MultipleMTLRs-MOLR-TwoPm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_x3p_nimtlr_onepm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_molr_x3p_nimtlr_onepm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,7 +26,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -63,7 +63,7 @@
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 020 LbsHybridMultipleTestServer LbsStep_SetUpPsy c:\testdata\configs\lbs_multiple_subsessions.ini LBS-MOLR
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneMolrOneX3POneNIMtlrOnePm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneMolrOneX3POneNIMtlrOnePm
 END_TESTCASE                  LBS-MultipleMTLRs-MOLR-X3P-NIMTLR-OnePm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_onepm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_onepm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,7 +26,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -62,7 +62,7 @@
 //! @SYMTestStatus              3. Released
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneNIMtlrOnePm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneNIMtlrOnePm
 END_TESTCASE                  LBS-MultipleMTLRs-NIMTLR-OnePm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_twopm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_nimtlr_twopm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_onepm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_onepm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -59,7 +59,7 @@
 //! @SYMTestStatus              3. Released
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini FourMtlrsOnePm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini FourMtlrsOnePm
 END_TESTCASE                  LBS-MultipleMTLRs-OnePm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_twopm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_twopm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -59,7 +59,7 @@
 //! @SYMTestStatus              3. Released
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_twopm.ini TwoMtlrsTwoPm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_twopm.ini TwoMtlrsTwoPm
 END_TESTCASE                  LBS-MultipleMTLRs-TwoPm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_onepm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_onepm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,7 +26,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -63,7 +63,7 @@
 RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 020 LbsHybridMultipleTestServer LbsStep_SetUpPsy c:\testdata\configs\lbs_multiple_subsessions.ini LBS-MOLR
 RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneX3POnePm
+RUN_TEST_STEP 240 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\multiple_subsessions_onepm.ini TwoMtlrsOneX3POnePm
 END_TESTCASE                  LBS-MultipleMTLRs-X3P-OnePm-0001
 
 // Stop LBS
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_twopm.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/multiple_mtlr_x3p_twopm.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/scripts/npp_psy_fallback.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/scripts/npp_psy_fallback.script	Fri Sep 17 08:37:32 2010 +0300
@@ -25,7 +25,7 @@
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -61,12 +61,12 @@
 //NOTE: Commented out as test currently fails due to a problem in network gateway
 //
 //
-START_TESTCASE                LBS-NPP-PSY-Fallback_SuplThenNetwork-0001
-RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigNppPsy c:\testdata\configs\npp_psy_fallback.ini SuplThenNetwork
-RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\npp_psy_fallback.ini FallbackSuplToNetwork
-END_TESTCASE                  LBS-NPP-PSY-Fallback_SuplThenNetwork-0001
+//START_TESTCASE                LBS-NPP-PSY-Fallback_SuplThenNetwork-0001
+//RUN_TEST_STEP 010 LbsHybridMultipleTestServer LbsStep_InstallScheduler
+//RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigHybridModule c:\testdata\configs\lbs_multiple_subsessions.ini MultipleSubsessionsOK
+//RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsStep_ConfigNppPsy c:\testdata\configs\npp_psy_fallback.ini SuplThenNetwork
+//RUN_TEST_STEP 120 LbsHybridMultipleTestServer LbsHybridMultipleTest c:\testdata\configs\npp_psy_fallback.ini FallbackSuplToNetwork
+//END_TESTCASE                  LBS-NPP-PSY-Fallback_SuplThenNetwork-0001
 
 
 // Restore SUPL PSY to use SUPL PM
--- a/lbstest/lbstestproduct/lbshybridmultiple/src/clbstestsessionsequence.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/src/clbstestsessionsequence.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -421,7 +421,7 @@
 void CTestSessionSequence::WaitForMessage()
 	{
 	//All timeout's are now 60 seconds
-	iNgProxy.WaitForResponseL(60 * 1000 * 1000);
+	iNgProxy.WaitForResponseL(80 * 1000 * 1000);
 	}
 
 //----------------------------------------------
@@ -561,7 +561,7 @@
 		// for this sequence AND since this function was called, it was an expected message.  SO this sequence has
 		// "stolen" a WaitForResponse call from another sequence.  As such, manually make another call from this
 		// sequence on the same PM to satisfy the action on that other sequence.
-		iNgProxy.WaitForResponseL(60 * 1000 * 1000);
+		iNgProxy.WaitForResponseL(80 * 1000 * 1000);
 		}
 	}
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/src/ctlbshybridmultipletest.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/src/ctlbshybridmultipletest.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -264,7 +264,7 @@
 				//Message was not expected by any sequence.  Manually set the Net Proxy off listening
 				// again, so the sequence can receive the message it expected.
 				INFO_PRINTF2(_L("-> RequestAssistanceData() [2004] Sq: unknown, PM: %d"), aPmId);
-				proxy->WaitForResponseL(60 * 1000 * 1000);
+				proxy->WaitForResponseL(80 * 1000 * 1000);
 				
 				//Break out of the function now
 				return;
@@ -412,7 +412,7 @@
 	else
 		{
 		// when an unexpected message arrives merley ignore and wait for next one!
-		proxy->WaitForResponseL(60 * 1000 * 1000);
+		proxy->WaitForResponseL(80 * 1000 * 1000);
 		}
 	}
 
--- a/lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_onepm.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_onepm.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -112,7 +112,7 @@
 NumberOfSequences = 1
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
@@ -139,7 +139,7 @@
 NumberOfSequences = 1
 
 //Sequence0 = Standard MOLR
-Sequence0 = 2009 4000 2005 1006 1004 5000 4000 2004 1003 1001 2004 5000 2001 1004 1100
+Sequence0 = 2009 4000 2005 1006 1004 5000 4000 1003 1001 5000 2001 1004 1100
 Type0 = MOLR
 PM0 = 1
 SessionId0 = 3
@@ -152,7 +152,7 @@
 NumberOfSequences = 1
 
 //Sequence0 = Standard X3P
-Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2004 2001 1004 1100 7001
+Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2001 1004 1100 7001
 Type0 = X3P
 PM0 = 1
 SessionId0 = 3
@@ -165,13 +165,13 @@
 NumberOfSequences = 2
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
 
 //Sequence1 = Standard MTLR
-Sequence1 = 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence1 = 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId1 = 4
 PM1 = 1
 Type1 = MTLR
@@ -185,7 +185,7 @@
 NumberOfSequences = 4
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
@@ -257,13 +257,13 @@
 NumberOfSequences = 3
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1002 1006 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1002 1006 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
 
 //Sequence1 = Standard MTLR
-Sequence1 = 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence1 = 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId1 = 4
 StartPosition1 = 2
 PM1 = 1
@@ -286,13 +286,13 @@
 NumberOfSequences = 3
 
 //Sequence0 = Standard X3P
-Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2004 2001 1004 1100 7001
+Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2001 1004 1100 7001
 SessionId0 = 4
 PM0 = 1
 Type0 = X3P
 
 //Sequence1 = Standard MTLR
-Sequence1 = 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1002 1006 3002
+Sequence1 = 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1002 1006 3002
 Type1 = MTLR
 PM1 = 1
 SessionId1 = 3
@@ -313,13 +313,13 @@
 NumberOfSequences = 5
 
 //Sequence0 = Standard X3P
-Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2004 2001 1004 1100 7001
+Sequence0 = 2009 6000 2002 1006 1004 1003 1001 7000 2001 1004 1100 7001
 SessionId0 = 4
 PM0 = 1
 Type0 = X3P
 
 //Sequence1 = Standard MTLR
-Sequence1 = 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1002 1006 3002
+Sequence1 = 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1002 1006 3002
 Type1 = MTLR
 PM1 = 1
 SessionId1 = 3
--- a/lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_twopm.ini	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridmultiple/testdata/multiple_subsessions_twopm.ini	Fri Sep 17 08:37:32 2010 +0300
@@ -113,27 +113,27 @@
 NumberOfSequences = 4
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
 
 //Sequence1 = Standard MTLR
-Sequence1 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence1 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId1 = 4
 PM1 = 2
 Type1 = MTLR
 StartPosition1 = 2
 
 //Sequence2 = Standard MTLR
-Sequence2 = 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence2 = 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId2 = 5
 PM2 = 1
 Type2 = MTLR
 StartPosition2 = 4
 
 //Sequence3 = Standard MTLR
-Sequence3 = 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence3 = 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId3 = 6
 PM3 = 2
 Type3 = MTLR
@@ -148,7 +148,7 @@
 NumberOfSequences = 5
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
@@ -161,7 +161,7 @@
 StartPosition1 = 2
 
 //Sequence2 = Standard MTLR
-Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId2 = 5
 PM2 = 2
 Type2 = MTLR
@@ -190,7 +190,7 @@
 NumberOfSequences = 3
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
@@ -203,7 +203,7 @@
 StartPosition1 = 4
 
 //Sequence2 = Standard MTLR
-Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId2 = 5
 PM2 = 2
 Type2 = MTLR
@@ -219,7 +219,7 @@
 NumberOfSequences = 3
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1100 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1100 3002
 SessionId0 = 3
 PM0 = 1
 Type0 = MTLR
@@ -233,7 +233,7 @@
 Type1 = NIMTLR
 
 //Sequence2 = Standard MTLR
-Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2004 2001 1001 2001 1100
+Sequence2 = 2009 1006 1000 2000 1004 1003 1001 2001 1001 2001 1100
 SessionId2 = 6
 PM2 = 2
 Type2 = MTLR
@@ -248,7 +248,7 @@
 NumberOfSequences = 7
 
 //Sequence0 = Standard MTLR
-Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1002 1006 3002
+Sequence0 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1002 1006 3002
 Type0 = MTLR
 PM0 = 1
 SessionId0 = 3
@@ -261,14 +261,14 @@
 StartPosition1 = 2
 
 //Sequence2 = Standard MTLR
-Sequence2 = 2009 1006 1000 3000 2000 1004 1003 1001 2004 2001 1001 2004 2001 1002 1006 3002
+Sequence2 = 2009 1006 1000 3000 2000 1004 1003 1001 2001 1001 2001 1002 1006 3002
 Type2 = MTLR
 PM2 = 2
 SessionId2 = 10
 StartPosition2 = 3
 
 //Sequence3 = Standard MOLR
-Sequence3 = 4000 2005 1006 1004 5000 4000 2004 1003 1001 2004 5000 2001 1004 1100
+Sequence3 = 4000 2005 1006 1004 5000 4000 1003 1001 5000 2001 1004 1100
 Type3 = MOLR
 PM3 = 1
 SessionId3 = 7
--- a/lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -46,6 +46,10 @@
 SOURCE		ctlbsx3pgpsoptions.cpp
 SOURCE		ctlbsx3presetassistance.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,115 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbshybridx3p/group/ctlbshybridx3pserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbshybridx3ptestserver.exe"-"c:\sys\bin\lbshybridx3ptestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbshybridx3p_uebased"
+;
+; test scripts
+"..\scripts\uebased_x3p.script"-"c:\testdata\scripts\uebased_x3p.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_accurate_gps"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_accurate_gps.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_accurate_gps.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_no_gps"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_no_gps.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_no_gps.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_accurate_gps_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_accurate_gps_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_accurate_gps_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_no_gps_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_no_gps_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_no_gps_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_uebased_gps_futile"
+;
+; test scripts
+"..\scripts\hybrid_uebased_x3p_gps_futile.script"-"c:\testdata\scripts\hybrid_uebased_x3p_gps_futile.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_gps_futile"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_gps_futile.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_gps_futile.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_ueassisted_client_timeout"
+;
+; test scripts
+"..\scripts\hybrid_ueassisted_x3p_client_timeout.script"-"c:\testdata\scripts\hybrid_ueassisted_x3p_client_timeout.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbshybridx3p_Acc_ref_pos"
+;
+; test scripts
+"..\scripts\x3p_Acc_ref_pos.script"-"c:\testdata\scripts\x3p_Acc_ref_pos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
+; test "lbsx3p_gpsmodeoptions"
+;
+; test scripts
+"..\scripts\x3p_gpsmodeoptions.script"-"c:\testdata\scripts\x3p_gpsmodeoptions.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbshybridx3p\testdata\lbs_x3p.ini"-"c:\testdata\configs\lbs_x3p.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbshybridx3p/group/lbshybridx3p.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,50 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __LBS_HYBRID_X3P__
+#define __LBS_HYBRID_X3P__
+
+#include <testexecute.iby>
+#include <lbs.iby>
+#include <lbsnetworklocationmanager.iby>
+#include <lbstestserver.iby>
+#include <lbstestutils.iby>
+#include <lbstestchannel.iby>
+#include <ctagpshybridmodule.iby>
+#include <ctlbsclockplugin.iby>
+#include <hybridprotocolmodule.iby>
+
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
+
+file=ABI_DIR\DEBUG_DIR\lbshybridx3ptestserver.exe sys\bin\lbshybridx3ptestserver.exe
+
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_x3p.ini	  testdata\configs\lbs_x3p.ini
+
+
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_accurate_gps_timeout.script       testdata\scripts\hybrid_ueassisted_x3p_accurate_gps_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_accurate_gps.script               testdata\scripts\hybrid_ueassisted_x3p_accurate_gps.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_client_timeout.script             testdata\scripts\hybrid_ueassisted_x3p_client_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_gps_futile.script                 testdata\scripts\hybrid_ueassisted_x3p_gps_futile.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_no_gps_timeout.script             testdata\scripts\hybrid_ueassisted_x3p_no_gps_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_x3p_no_gps.script                     testdata\scripts\hybrid_ueassisted_x3p_no_gps.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_uebased_x3p_gps_futile.script                    testdata\scripts\hybrid_uebased_x3p_gps_futile.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_x3p.script                                      testdata\scripts\uebased_x3p.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\x3p_Acc_ref_pos.script                                  testdata\scripts\x3p_Acc_ref_pos.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\x3p_gpsmodeoptions.script                               testdata\scripts\x3p_gpsmodeoptions.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\x3p_reset_assistance.script                             testdata\scripts\x3p_reset_assistance.script
+        
+#endif
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_accurate_gps_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_client_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_client_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_gps_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_gps_futile.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_ueassisted_x3p_no_gps_timeout.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_uebased_x3p_gps_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/hybrid_uebased_x3p_gps_futile.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/uebased_x3p.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/uebased_x3p.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_Acc_ref_pos.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_Acc_ref_pos.script	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 	MkDir c:\private\10282253\lbs\
 	MkDir c:\private\10282253\lbs\locmods\
 //	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_gpsmodeoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_gpsmodeoptions.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
@@ -41,7 +41,7 @@
 
 //--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
 
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridX3PTestServer LbsStep_StartLbs
 
 
@@ -219,7 +219,7 @@
 
 // Change module caps to TA only:
 RUN_TEST_STEP 020 LbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridX3PTestServer LbsStep_StartLbs
 
 
@@ -400,7 +400,7 @@
 
 // Change module caps to TA || TB:
 RUN_TEST_STEP 020 LbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridX3PTestServer LbsStep_StartLbs
 
 PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
@@ -586,7 +586,7 @@
 
 // Change module caps to Hybrid (TA && TB):
 RUN_TEST_STEP 020 LbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 RUN_TEST_STEP 030 LbsHybridX3PTestServer LbsStep_StartLbs
 
 
--- a/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_reset_assistance.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbshybridx3p/scripts/x3p_reset_assistance.script	Fri Sep 17 08:37:32 2010 +0300
@@ -27,7 +27,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -37,6 +37,10 @@
 SOURCE		ctlbsmtlrprivcntrlstepmain.cpp
 SOURCE		ctlbsmtlr_reset_assistance.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,54 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsmtlr/group/ctlbsmtlrserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsmtlrtestserver.exe"-"c:\sys\bin\lbsmtlrtestserver.exe"
+"\epoc32\release\armv5\urel\CTSuplMolrRealTestServer.exe"-"c:\sys\bin\CTSuplMolrRealTestServer.exe"
+
+; TEF server dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt"-"c:\testdata\configs\lbssupltestconfig.txt"
+
+; test "lbsmtlr"
+;
+; test scripts
+"..\scripts\lbsmtlr.script"-"c:\testdata\scripts\lbsmtlr.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\lbsmtlr.ini"-"c:\testdata\configs\lbsmtlr.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\lbstestprofile_valid_profilenotinuse.ini"-"c:\testdata\configs\lbstestprofile_valid_profilenotinuse.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\1028224b_custom1behaviour_noextprofileinuse.cre "-"c:\testdata\1028224b_custom1behaviour_noextprofileinuse.cre "
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\1028224b_originalbehaviour_noextprofileinuse.cre "-"c:\testdata\1028224b_originalbehaviour_noextprofileinuse.cre "
+
+; test "lbsmtlr_real"
+;
+; test scripts
+"..\scripts\lbsmtlr_real.script"-"c:\testdata\scripts\lbsmtlr_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\lbsmtlr_real.ini"-"c:\testdata\configs\lbsmtlr_real.ini"
+
+; test "lbsmtlr_reset_assistance_real"
+;
+; test scripts
+"..\scripts\lbsmtlr_reset_assistance_real.script"-"c:\testdata\scripts\lbsmtlr_reset_assistance_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsmtlr\testdata\lbsmtlr_real.ini"-"c:\testdata\configs\lbsmtlr_real.ini"
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsmtlr/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsmtlr/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsmtlr/group/lbsmtlr.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,25 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __LBS_MTLR_
+#define __LBS_MTLR__
+
+#include <testexecute.iby>
+
+file=ABI_DIR\DEBUG_DIR\lbsmtlrtestserver.exe sys\bin\lbsmtlrtestserver.exe
+
+#endif
--- a/lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,8 +26,6 @@
 PREFIX RUN_UTILS
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 	CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini 
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_reset_assistance_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsmtlr/scripts/lbsmtlr_reset_assistance_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,8 +26,6 @@
 PREFIX RUN_UTILS
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini
 REMOVE_PREFIX
 
--- a/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -57,5 +57,7 @@
 ../scripts/sppm/lbsprivfwqnn_sppm.script		c:/testdata/scripts/lbsprivfwqnn_sppm.script
 ../scripts/sppm/lbsprivfwparamqnn_sppm.script	c:/testdata/scripts/lbsprivfwparamqnn_sppm.script
 
+lbsprivacyfw.iby			/epoc32/rom/include/lbsprivacyfw.iby
+
 PRJ_TESTMMPFILES
 ctlbsprivfwtestserver.mmp
--- a/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -73,6 +73,10 @@
 SOURCE			ctlbsstepinitializetestchannel.cpp
 SOURCE			ctlbsstepclosetestchannel.cpp
 SOURCE			ctlbsprivfwapiwrapper.cpp
+
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
 	
 // LBS libraries.  
 LIBRARY		lbs.lib
@@ -96,4 +100,6 @@
 LIBRARY		lbsprivfwproxy.lib
 LIBRARY		lbsprivfwtestchannel.lib
 
+LIBRARY		testexecuteutils.lib
+LIBRARY		testexecutelogclient.lib
 SMPSAFE
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,113 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/ctlbsprivfwtestserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsprivfwtestserver.exe"-"c:\sys\bin\lbsprivfwtestserver.exe"
+
+; TEF server dependencies
+
+; test "lbsprivfwctrl"
+;
+; test scripts
+"..\scripts\lbsprivfwctrl.script"-"c:\testdata\scripts\lbsprivfwctrl.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfwunique.ini"-"c:\testdata\configs\lbsprivfwunique.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwparamctrl"
+;
+; test scripts
+"..\scripts\lbsprivfwparamctrl.script"-"c:\testdata\scripts\lbsprivfwparamctrl.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwsettings"
+;
+; test scripts
+"..\scripts\lbsprivfwsettings.script"-"c:\testdata\scripts\lbsprivfwsettings.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwtiming"
+;
+; test scripts
+"..\scripts\lbsprivfwtiming.script"-"c:\testdata\scripts\lbsprivfwtiming.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwctrl_api2"
+;
+; test scripts
+"..\scripts\lbsprivfwctrl_api2.script"-"c:\testdata\scripts\lbsprivfwctrl_api2.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfwunique.ini"-"c:\testdata\configs\lbsprivfwunique.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwparamctrl_api2"
+;
+; test scripts
+"..\scripts\lbsprivfwparamctrl_api2.script"-"c:\testdata\scripts\lbsprivfwparamctrl_api2.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwsettings_api2"
+;
+; test scripts
+"..\scripts\lbsprivfwsettings_api2.script"-"c:\testdata\scripts\lbsprivfwsettings_api2.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwtiming_api2"
+;
+; test scripts
+"..\scripts\lbsprivfwtiming_api2.script"-"c:\testdata\scripts\lbsprivfwtiming_api2.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsprivfwramusage"
+;
+; test scripts
+"..\scripts\lbsprivfwramusage.script"-"c:\testdata\scripts\lbsprivfwramusage.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+
+; test "lbsprivfwnoinstall"
+;
+; test scripts
+"..\scripts\lbsprivfwnoinstall.script"-"c:\testdata\scripts\lbsprivfwnoinstall.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsprivacyfw/lbsprivfwtest/group/lbsprivacyfw.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __LBS_HYBRID_MOLR__
+#define __LBS_HYBRID_MOLR__
+
+#include <testexecute.iby>
+#include <lbs.iby>
+#include <lbsnetworklocationmanager.iby>
+#include <lbstestserver.iby>
+#include <lbstestutils.iby>
+#include <lbstestchannel.iby>
+#include <lbsprivacyfwsupport.iby>
+
+
+file=ABI_DIR\DEBUG_DIR\lbsprivfwtestserver.exe sys\bin\lbsprivfwtestserver.exe
+
+
+
+
+data=EPOCROOT##epoc32\data\C\testdata\scripts\autonomous_molr_futile_ignore_accuracy.script             testdata\scripts\autonomous_molr_futile_ignore_accuracy.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\autonomous_molr_futile.script                             testdata\scripts\autonomous_molr_futile.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\distribution.policy.s60                                   testdata\scripts\distribution.policy.s60
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_molr_futile.script                                 testdata\scripts\hybrid_molr_futile.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_client_timeout.script              testdata\scripts\hybrid_ueassisted_molr_client_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_gpsok.script                       testdata\scripts\hybrid_ueassisted_molr_gpsok.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_no_gps_update.script               testdata\scripts\hybrid_ueassisted_molr_no_gps_update.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_partial.script                     testdata\scripts\hybrid_ueassisted_molr_partial.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_posstatus.script                   testdata\scripts\hybrid_ueassisted_molr_posstatus.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_ueassisted_molr_timeout.script                     testdata\scripts\hybrid_ueassisted_molr_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\hybrid_uebased_molr_partial.script                        testdata\scripts\hybrid_uebased_molr_partial.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\molr_error_assistance.script                              testdata\scripts\molr_error_assistance.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\molr_gpsoptions.script                                    testdata\scripts\molr_gpsoptions.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\molr_reset_assistance.script                              testdata\scripts\molr_reset_assistance.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\molr_tracking.script                                      testdata\scripts\molr_tracking.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script        testdata\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\ueassisted_molr_self_gps_late_fac_timeout.script          testdata\scripts\ueassisted_molr_self_gps_late_fac_timeout.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\ueassisted_molr_self_gps_late.script                      testdata\scripts\ueassisted_molr_self_gps_late.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_molr_self_internal_value_test.script              testdata\scripts\uebased_molr_self_internal_value_test.script
+data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_molr_self.script                                  testdata\scripts\uebased_molr_self.script
+
+
+
+
+data=EPOCROOT##epoc32\data\C\testdata\configs\futile_sp_on_1028224B.cre    testdata\configs\futile_sp_on_1028224B.cre
+data=EPOCROOT##epoc32\data\C\testdata\configs\futile_sp_on_1028224B.txt    testdata\configs\futile_sp_on_1028224B.txt
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr_tracking.ini        testdata\configs\lbs_molr_tracking.ini
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr_variant2.ini        testdata\configs\lbs_molr_variant2.ini
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr.ini                 testdata\configs\lbs_molr.ini
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbsprofile_timeout_off.ini   testdata\configs\lbsprofile_timeout_off.ini
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbsprofile_timeout_on.ini    testdata\configs\lbsprofile_timeout_on.ini
+data=EPOCROOT##epoc32\data\C\testdata\configs\lbsprofile_values.ini        testdata\configs\lbsprofile_values.ini
+
+
+#endif
--- a/lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -38,6 +38,10 @@
 SOURCE		ctlbsptbmtlrcancel_emergency.cpp
 
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,43 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsptbmtlr/group/ctlbsptbmtlrserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsptbmtlrtestserver.exe"-"c:\sys\bin\lbsptbmtlrtestserver.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolproxy.dll"-"c:\sys\bin\lbsnetprotocolproxy.dll"
+"\epoc32\release\armv5\urel\lbsnetprotocolstub.dll"-"c:\sys\bin\lbsnetprotocolstub.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc"-"c:\resource\plugins\lbsnetprotocolstub.rsc"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+; test "lbsptbmtlr"
+;
+; test scripts
+"..\scripts\ptb_mtlr_cancel.script"-"c:\testdata\scripts\ptb_mtlr_cancel.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsptbmtlr\testdata\lbs_ptb_mtlr.ini"-"c:\testdata\configs\lbs_ptb_mtlr.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsptbmtlr/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsptbmtlr/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbsptbmtlr/group/lbsptbmtlr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsptbmtlr/group/lbsptbmtlr.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -23,18 +23,9 @@
 #include <lbstestserver.iby>
 #include <lbstestutils.iby>
 #include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
+#include <ctagpshybridmodule.iby>
 #include <ctlbsclockplugin.iby>
 #include <hybridprotocolmodule.iby>
-//#include <simtsy.iby>
-
-file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
 
 file=ABI_DIR\DEBUG_DIR\lbsptbmtlrtestserver.exe sys\bin\lbsptbmtlrtestserver.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_ptb_mtlr.ini	  testdata\configs\lbs_ptb_mtlr.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\ptb_mtlr_cancel.script	  testdata\scripts\ptb_mtlr_cancel.script
-
 #endif
--- a/lbstest/lbstestproduct/lbsptbmtlr/scripts/ptb_mtlr_cancel.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsptbmtlr/scripts/ptb_mtlr_cancel.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,7 +30,7 @@
 MkDir c:\private\10282253\
 MkDir c:\private\10282253\lbs\
 MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpsnpetestmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbssimulationpsy/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbssimulationpsy/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -50,6 +50,10 @@
 
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 LIBRARY			lbs.lib
 LIBRARY         epospluginfw.lib
 LIBRARY			lbsadmin.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,104 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbssimulationpsy/group/simulationpsytests.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\simulationpsytests.exe"-"c:\sys\bin\simulationpsytests.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\getafixutils.dll"-"c:\sys\bin\getafixutils.dll"
+"\epoc32\release\armv5\urel\ctagpshybridmodule.dll"-"c:\sys\bin\ctagpshybridmodule.dll"
+"\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc"-"c:\resource\plugins\ctagpshybridmodule.rsc"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini"-"c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini"
+
+; test "lbssimulationpsytest"
+;
+; test scripts
+"..\scripts\lbssimulationpsy.script"-"c:\testdata\scripts\lbssimulationpsy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationAltitude.sps"-"c:\system\test\TestData\simulationAltitude.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax1.sps"-"c:\system\test\TestData\simulationBadSyntax1.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax2.sps"-"c:\system\test\TestData\simulationBadSyntax2.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax3.sps"-"c:\system\test\TestData\simulationBadSyntax3.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax4.sps"-"c:\system\test\TestData\simulationBadSyntax4.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax5.sps"-"c:\system\test\TestData\simulationBadSyntax5.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationBadSyntax.sps"-"c:\system\test\TestData\simulationBadSyntax.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationDeterministic.sps"-"c:\system\test\TestData\simulationDeterministic.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationNoMove.sps"-"c:\system\test\TestData\simulationNoMove.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationPowerUp.sps"-"c:\system\test\TestData\simulationPowerUp.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationRandom.sps"-"c:\system\test\TestData\simulationRandom.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationTTF.sps"-"c:\system\test\TestData\simulationTTF.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationTimingAfterCancel.sps"-"c:\system\test\TestData\simulationTimingAfterCancel.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationData.sps"-"c:\system\test\TestData\simulationData.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationpsySIM.ini"-"c:\system\test\TestData\simulationpsySIM.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\MagellanGPS315.nme"-"c:\system\test\TestData\MagellanGPS315.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\MagellanGPS315.ini"-"c:\system\test\TestData\MagellanGPS315.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin12cx.ini"-"c:\system\test\TestData\garmin12cx.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin12cx.nme"-"c:\system\test\TestData\garmin12cx.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin12cxbadsyntax.ini"-"c:\system\test\TestData\garmin12cxbadsyntax.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin12cxbadsyntax.nme"-"c:\system\test\TestData\garmin12cxbadsyntax.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin3plus.ini"-"c:\system\test\TestData\garmin3plus.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin3plus.nme"-"c:\system\test\TestData\garmin3plus.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin3plussatlost.ini"-"c:\system\test\TestData\garmin3plussatlost.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garmin3plussatlost.nme"-"c:\system\test\TestData\garmin3plussatlost.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garminetrexlegend.ini"-"c:\system\test\TestData\garminetrexlegend.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\garminetrexlegend.nme"-"c:\system\test\TestData\garminetrexlegend.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\magellanmeridianplatinum.ini"-"c:\system\test\TestData\magellanmeridianplatinum.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\magellanmeridianplatinum.nme"-"c:\system\test\TestData\magellanmeridianplatinum.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\Magellantracker.ini"-"c:\system\test\TestData\Magellantracker.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\Magellantracker.nme"-"c:\system\test\TestData\Magellantracker.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\Fix10MagellanGPS315.nme"-"c:\system\test\TestData\Fix10MagellanGPS315.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\Fix10MagellanGPS315.ini"-"c:\system\test\TestData\Fix10MagellanGPS315.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\WrongSimDataFileName.txt"-"c:\system\test\TestData\WrongSimDataFileName.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\WrongSimDataFileName.ini"-"c:\system\test\TestData\WrongSimDataFileName.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\IncorrectChecksum.nme"-"c:\system\test\TestData\IncorrectChecksum.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp242.nme"-"c:\system\test\TestData\tp242.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp242_east.nme"-"c:\system\test\TestData\tp242_east.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp242MissingPDoP.nme"-"c:\system\test\TestData\tp242MissingPDoP.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp242EmptySpeed.nme"-"c:\system\test\TestData\tp242EmptySpeed.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial.nme"-"c:\system\test\TestData\TP254Partial.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial2.nme"-"c:\system\test\TestData\TP254Partial2.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial3.nme"-"c:\system\test\TestData\TP254Partial3.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial4.nme"-"c:\system\test\TestData\TP254Partial4.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial5.nme"-"c:\system\test\TestData\TP254Partial5.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254Partial6.nme"-"c:\system\test\TestData\TP254Partial6.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\TP254.ini"-"c:\system\test\TestData\TP254.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields0.sps"-"c:\system\test\TestData\simulationInvalidFields0.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields1.sps"-"c:\system\test\TestData\simulationInvalidFields1.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields2.sps"-"c:\system\test\TestData\simulationInvalidFields2.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields3.sps"-"c:\system\test\TestData\simulationInvalidFields3.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields4.sps"-"c:\system\test\TestData\simulationInvalidFields4.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields5.sps"-"c:\system\test\TestData\simulationInvalidFields5.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields6.sps"-"c:\system\test\TestData\simulationInvalidFields6.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields7.sps"-"c:\system\test\TestData\simulationInvalidFields7.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields8.sps"-"c:\system\test\TestData\simulationInvalidFields8.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationInvalidFields9.sps"-"c:\system\test\TestData\simulationInvalidFields9.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationLatWrapAround1.sps"-"c:\system\test\TestData\simulationLatWrapAround1.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationLatWrapAround2.sps"-"c:\system\test\TestData\simulationLatWrapAround2.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationLatWrapAround3.sps"-"c:\system\test\TestData\simulationLatWrapAround3.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationLatWrapAround4.sps"-"c:\system\test\TestData\simulationLatWrapAround4.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\simulationmovenoerror.sps"-"c:\system\test\TestData\simulationmovenoerror.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp300longfile.nme"-"c:\system\test\TestData\tp300longfile.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\tp300nofixfile.nme"-"c:\system\test\TestData\tp300nofixfile.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\trpnmeadatafile.nme"-"c:\system\test\TestData\trpnmeadatafile.nme"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssimulationpsy\testdata\trpspsdatafile.sps"-"c:\system\test\TestData\trpspsdatafile.sps"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
--- a/lbstest/lbstestproduct/lbssimulationpsy/scripts/lbssimulationpsy.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbssimulationpsy/scripts/lbssimulationpsy.script	Fri Sep 17 08:37:32 2010 +0300
@@ -30,6 +30,14 @@
 	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 REMOVE_PREFIX
 
+// Before we start LBS, select the test A-GPS integration module to use.
+PREFIX RUN_UTILS
+MkDir c:\private\10282253\
+MkDir c:\private\10282253\lbs\
+MkDir c:\private\10282253\lbs\locmods\
+CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
+CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
+REMOVE_PREFIX
 
 PRINT START LBS 
 RUN_TEST_STEP 020 SimulationPSYTests LbsStep_StartLbs
@@ -1037,6 +1045,7 @@
 
 END_TESTCASE                   LBS-SIMULATIONPSY-00601
 
+
 START_TESTCASE                 LBS-SIMULATIONPSY-00602
 //!@SYMTestCaseID              LBS-SIMULATIONPSY-00602
 //!@SYMTestCaseDesc            SPS Tracking in Common Data Set mode
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbssisinstall/group/te_lbssisinstall.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,33 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbssisinstall/group/te_lbssisinstall.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbssisinstall.exe"-"c:\sys\bin\te_lbssisinstall.exe"
+
+; TEF server dependencies
+
+
+; test "te_lbsnetgatewaytest"
+;
+; test scripts
+"..\scripts\te_lbssisinstall.script"-"c:\testdata\scripts\te_lbssisinstall.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbssisinstall\testdata\te_lbssisinstall.ini"-"c:\testdata\configs\te_lbssisinstall.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\lbssisinstall\testdata\install\btgpspsytest.sis"-"c:\testdata\install\btgpspsytest.sis"
--- a/lbstest/lbstestproduct/lbstestpsys/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbstestpsys/group/bld.inf	Fri Sep 17 08:37:32 2010 +0300
@@ -50,7 +50,8 @@
 
 #include "../installpsytp273/group/bld.inf"
 
-#include "../installabletrackingpsy/group/bld.inf"
+// removed as won't build. Graham thinks the tests are more trouble than they're worth, so may be removed permanently
+// #include "../installabletrackingpsy/group/bld.inf"
  
 #include "../delayedresponsepsy/group/bld.inf"
 
--- a/lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -42,6 +42,10 @@
 SOURCE		ctlbsx3pstepnegative.cpp
 SOURCE		ctlbsx3psteptransmitconcurrent.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.
 LIBRARY	lbs.lib
 LIBRARY	lbsloccommon.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,144 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/lbsx3p/group/ctlbsx3pserver.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsx3ptestserver.exe"-"c:\sys\bin\lbsx3ptestserver.exe"
+; Real tests need this
+"\epoc32\release\armv5\urel\CTSuplMolrRealTestServer.exe"-"c:\sys\bin\CTSuplMolrRealTestServer.exe"
+
+
+; TEF server dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini"-"c:\testdata\configs\xtestmodule.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestprofile.ini"-"c:\testdata\configs\lbstestprofile.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt"-"c:\testdata\configs\lbssupltestconfig.txt"
+
+; test "lbsx3popenclose"
+;
+; test scripts
+"..\scripts\lbsx3popenclose.script"-"c:\testdata\scripts\lbsx3popenclose.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3popenclose.ini"-"c:\testdata\configs\lbsx3popenclose.ini"
+
+; test "lbsx3ptransmit"
+;
+; test scripts
+"..\scripts\lbsx3ptransmit.script"-"c:\testdata\scripts\lbsx3ptransmit.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmit.ini"-"c:\testdata\configs\lbsx3ptransmit.ini"
+
+; test "lbsx3ptransmitrefpos"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitrefpos.script"-"c:\testdata\scripts\lbsx3ptransmitrefpos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmitrefpos.ini"-"c:\testdata\configs\lbsx3ptransmitrefpos.ini"
+
+; test "lbsx3ptransmitconcurrent"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitconcurrent.script"-"c:\testdata\scripts\lbsx3ptransmitconcurrent.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmit.ini"-"c:\testdata\configs\lbsx3ptransmit.ini"
+
+; test "lbsx3ptransmitconcurrentrefpos"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitconcurrentrefpos.script"-"c:\testdata\scripts\lbsx3ptransmitconcurrentrefpos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmitrefpos.ini"-"c:\testdata\configs\lbsx3ptransmitrefpos.ini"
+
+; test "lbsx3pcancel"
+;
+; test scripts
+"..\scripts\lbsx3pcancel.script"-"c:\testdata\scripts\lbsx3pcancel.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3pcancel.ini"-"c:\testdata\configs\lbsx3pcancel.ini"
+
+; test "lbsx3pcancelrefpos"
+;
+; test scripts
+"..\scripts\lbsx3pcancelrefpos.script"-"c:\testdata\scripts\lbsx3pcancelrefpos.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3pcancelrefpos.ini"-"c:\testdata\configs\lbsx3pcancelrefpos.ini"
+
+; test "lbsx3pcancel_real"
+;
+; test scripts
+"..\scripts\lbsx3pcancel_real.script"-"c:\testdata\scripts\lbsx3pcancel_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3pcancel_real.ini"-"c:\testdata\configs\lbsx3pcancel_real.ini"
+
+; test "lbsx3pcancelrefpos_real"
+;
+; test scripts
+"..\scripts\lbsx3pcancelrefpos_real.script"-"c:\testdata\scripts\lbsx3pcancelrefpos_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3pcancelrefpos_real.ini"-"c:\testdata\configs\lbsx3pcancelrefpos_real.ini"
+
+; test "lbsx3popenclose_real"
+;
+; test scripts
+"..\scripts\lbsx3popenclose_real.script"-"c:\testdata\scripts\lbsx3popenclose_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3popenclose_real.ini"-"c:\testdata\configs\lbsx3popenclose_real.ini"
+
+; test "lbsx3ptransmit_real"
+;
+; test scripts
+"..\scripts\lbsx3ptransmit_real.script"-"c:\testdata\scripts\lbsx3ptransmit_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmit_real.ini"-"c:\testdata\configs\lbsx3ptransmit_real.ini"
+
+; test "lbsx3ptransmitconcurrent_real"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitconcurrent_real.script"-"c:\testdata\scripts\lbsx3ptransmitconcurrent_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmit_real.ini"-"c:\testdata\configs\lbsx3ptransmit_real.ini"
+
+
+; test "lbsx3ptransmitconcurrentrefpos_real"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitconcurrentrefpos_real.script"-"c:\testdata\scripts\lbsx3ptransmitconcurrentrefpos_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmitrefpos_real.ini"-"c:\testdata\configs\lbsx3ptransmitrefpos_real.ini"
+
+; test "lbsx3ptransmitrefpos_real"
+;
+; test scripts
+"..\scripts\lbsx3ptransmitrefpos_real.script"-"c:\testdata\scripts\lbsx3ptransmitrefpos_real.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\lbsx3p\testdata\lbsx3ptransmitrefpos_real.ini"-"c:\testdata\configs\lbsx3ptransmitrefpos_real.ini"
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsx3p/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsx3p/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,16 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<!-- were there any crashes before these tests run? If so download crash files-->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\data\*"/>
+</parameters>
+</task>
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel.script	Fri Sep 17 08:37:32 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -188,7 +188,7 @@
 RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 020 LbsX3PTestServer LbsStep_CreateVerifyPosInfos 
 RUN_TEST_STEP 060 LbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\lbsx3pcancel.ini LBS-X3P-Cancel-0006
-RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_VerifyPosInfos
+
 
 END_TESTCASE LBS-X3P-Cancel-0006
 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancel_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,12 +20,6 @@
 PRINT Run LbsX3PTestServer
 PRINT
 
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
 
 RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_ResetDefaultAdmin 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos.script	Fri Sep 17 08:37:32 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -194,7 +194,7 @@
 RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_InstallScheduler
 RUN_TEST_STEP 020 LbsX3PTestServer LbsStep_CreateVerifyPosInfos 
 RUN_TEST_STEP 060 LbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\lbsx3pcancelrefpos.ini LBS-X3P-Cancel-0006
-RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_VerifyPosInfos
+
 
 END_TESTCASE LBS-X3P-CancelRefPos-0006
 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pcancelrefpos_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -17,14 +17,6 @@
 LOAD_SUITE CTSuplMolrRealTestServer
 
 PRINT Run LbsX3PTestServer
-PRINT
-
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pconflict_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3pconflict_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -16,14 +16,6 @@
 LOAD_SUITE LbsX3PTestServer -SharedData
 
 PRINT Run LbsX3PTestServer
-PRINT
-
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3popenclose_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3popenclose_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -16,14 +16,6 @@
 LOAD_SUITE LbsX3PTestServer -SharedData
 
 PRINT Run LbsX3PTestServer
-PRINT
-
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 //Before we start LBS, select the network reg status txt file to use.
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmit_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmit_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -17,14 +17,6 @@
 LOAD_SUITE CTSuplMolrRealTestServer
 
 PRINT Run LbsX3PTestServer
-PRINT
-
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 // Before we start LBS, select the test A-GPS integration module to use.
 PREFIX RUN_UTILS
 	MkDir c:\private\10282253\
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrent_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrent_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -17,14 +17,6 @@
 LOAD_SUITE CTSuplMolrRealTestServer
 
 PRINT Run LbsX3PTestServer
-PRINT
-
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
 
 RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_ResetDefaultAdmin 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrentrefpos_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitconcurrentrefpos_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -20,14 +20,7 @@
 
 
 PRINT Run LbsX3PTestServer
-PRINT
 
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-REMOVE_PREFIX
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
 
 RUN_TEST_STEP 010 LbsX3PTestServer LbsStep_ResetDefaultAdmin 
--- a/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitrefpos_real.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/scripts/lbsx3ptransmitrefpos_real.script	Fri Sep 17 08:37:32 2010 +0300
@@ -23,9 +23,7 @@
 PREFIX RUN_UTILS
 	MkDir c:\private\10282253\
 	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile z:\testdata\configs\sirfdatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-      CopyFile c:\testdata\configs\lbstestprofile_real.ini c:\private\10282253\lbs\lbsprofile.ini  
+	CopyFile c:\testdata\configs\lbstestprofile_real.ini c:\private\10282253\lbs\lbsprofile.ini  
 REMOVE_PREFIX
 
 RUN_UTILS CopyFile c:\testdata\configs\lbssupltestconfig.txt c:\config.txt
--- a/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -407,7 +407,7 @@
 				{
 				if(KErrCancel != err)
 					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel</B></FONT>"));
+					INFO_PRINTF2(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel, got %d</B></FONT>"), err);
 					SetTestStepResult(EFail);	
 					}
 				}
@@ -417,13 +417,14 @@
 				{
 				if(KErrCancel == err && !(iCallbackFlags & KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure))
 					{
-					INFO_PRINTF1(_L("<FONT><B>Should have been completed with KErrCancel</B></FONT>"));
+					INFO_PRINTF2(_L("<FONT><B>Should have been completed with KErrCancel,  got %d</B></FONT>"), err);
 					SetTestStepResult(EFail);	
 					}
 				}
 				//not using break as want to go ahead with below check.
 				
 			case 5:
+			case 6:				
 			case 11:
 			case 12: //TBD
      			// In testcases that cancel "late" in the X3P proceudure, cancellation may arrive to NRH before
@@ -433,19 +434,18 @@
 				{
 				if(!(KErrCancel == err || KErrNone == err))
 					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel or KErrNone</B></FONT>"));
+					INFO_PRINTF2(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel or KErrNone, got %d</B></FONT>"), err);
 					SetTestStepResult(EFail);	
 					}
 				}
 			break;
 			
-			case 6:
 			case 8:
 			case 9:
 				{
 				if(KErrNone != err)
 					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrNone</B></FONT>"));
+					INFO_PRINTF2(_L("<FONT><B>CancelTransmitPosition() should have returned KErrNone, got %d</B></FONT>"), err);
 					SetTestStepResult(EFail);	
 					}
 				}
--- a/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3psteptransmit.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3psteptransmit.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -1364,14 +1364,15 @@
 				    SetTestStepResult(EFail);
 				    }
 		    	// we are stampping the received time after callback ,so we are adding 1s for actual maxtime.
-			    TInt64 realtimediff= maxtime_ini + 1000000;
+			    TInt64 realtimediff= maxtime_ini + 2000000;
 				//Timedifference between position actually received and position actually requested
 				TInt64 actualtimediff;
 		        actualtimediff = iTimeReceived.Int64() - iTimeRequested.Int64();
+		        INFO_PRINTF2(_L("timediff = %ld"), actualtimediff);
 		        //compare actualtimediff with realtimediff
 				if(actualtimediff > realtimediff)
 					{
-					INFO_PRINTF1(_L("timediff not matched with maxfixtime in profile"));
+					INFO_PRINTF2(_L("timediff greater than maxfixtime %ld in profile"), realtimediff);
 					SetTestStepResult(EFail);
 					}
 				}
--- a/lbstest/lbstestproduct/s60privacyfw/Td_PrivFW_TEF/group/td_privfw.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/s60privacyfw/Td_PrivFW_TEF/group/td_privfw.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -40,6 +40,10 @@
 SOURCE			  ctlbsprivfwserver.cpp
 SOURCE			  ctlbsprivfwstep.cpp
 
+//  Test Execute libraries.
+LIBRARY	testexecuteutils.lib 
+LIBRARY	testexecutelogclient.lib
+
 // LBS libraries.  --Some of them not really used..but necessary for compilation
 LIBRARY		lbs.lib
 LIBRARY		lbsloccommon.lib
--- a/lbstest/lbstestproduct/sf/core/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// bld.inf file for basic test framework
-//
-
-#include "../sflbsclient/group/bld.inf"
-#include "../sflbshybridmolr/group/bld.inf"
-#include "../sflbshybridmtlr/group/bld.inf"
-#include "../sflbshybridx3p/group/bld.inf"
-#include "../sflbsmtlr/group/bld.inf"
-#include "../sflbsx3p/group/bld.inf"
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the build file for the LBS client Tests
-// 
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sflbsclientcellbasednpud.ini	c:/testdata/configs/sflbsclientcellbasednpud.ini
-../testdata/sflbsclientlastknownpos.ini	c:/testdata/configs/sflbsclientlastknownpos.ini
-../testdata/sflbsclientmultireq.ini	c:/testdata/configs/sflbsclientmultireq.ini
-../testdata/sflbsclientnotifyposupdate.ini	c:/testdata/configs/sflbsclientnotifyposupdate.ini
-../testdata/sflbsclienttracking.ini	c:/testdata/configs/sflbsclienttracking.ini
-../testdata/sfothermodule.ini	c:/testdata/configs/sfothermodule.ini
-../testdata/sf_xtestmodule_modselect.ini	c:/testdata/configs/sf_xtestmodule_modselect.ini
-../scripts/sflbsclientcellbasednpud.script	c:/testdata/scripts/sflbsclientcellbasednpud.script
-../scripts/sflbsclientlastknownpos.script	c:/testdata/scripts/sflbsclientlastknownpos.script
-../scripts/sflbsclientmultireq.script	c:/testdata/scripts/sflbsclientmultireq.script
-../scripts/sflbsclientnotifyposupdate.script	c:/testdata/scripts/sflbsclientnotifyposupdate.script
-../scripts/sflbsclienttracking.script	c:/testdata/scripts/sflbsclienttracking.script
-
-PRJ_TESTMMPFILES
-
-ctsflbsclientserver.mmp
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/group/ctsflbsclientserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientserver.mmp
-// This is the make file for the LBS Client Tests
-// 
-//
-
-
-
-CAPABILITY WriteDeviceData ReadDeviceData Location ReadUserData WriteUserData AllFiles
-
-TARGET		sflbsclienttestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x10287206
-VENDORID 	0x70000001
-
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-USERINCLUDE		../inc
-USERINCLUDE		../../../../../../datasourcemodules/networkpositioningmodule/inc
-//USERINCLUDE		../../lbsassdata/inc
-
-MW_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-// Lbs Client framework code.
-SOURCEPATH	../src
-SOURCE	ctlbsclienteventtimer.cpp
-SOURCE	ctlbsclientgetlkpao.cpp
-SOURCE	ctlbsclientnotifyposupdao.cpp
-SOURCE	ctlbsclientobserver.cpp
-SOURCE	ctlbsclientperiodictester.cpp
-SOURCE	ctlbsclientserver.cpp
-SOURCE	ctlbsclientshareddata.cpp
-SOURCE	ctlbsclientstep.cpp
-SOURCE	ctlbsclientstepcellbasednpud.cpp
-SOURCE	ctlbsclientsteplastknownpos.cpp
-SOURCE	ctlbsclientstepmultireq.cpp
-SOURCE	ctlbsclientstepnotifyposupdate.cpp
-SOURCE	ctlbsclientsteptracking.cpp
-SOURCE	ctlbsclientstepupdateoptions.cpp
-
-
-// LBS libraries.
-LIBRARY lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbslocdatasource.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsassistancedata.lib
-
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY lbsnetsim.lib
-LIBRARY	lbstestclient.lib
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientdefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-#ifndef __CT_LBS_CLIENT_DEFS_H__
-#define __CT_LBS_CLIENT_DEFS_H__
-
-_LIT(KLbsSisInstallAppId,"TheAppId");
-_LIT(KLbsPsyId,"PsyId");
-_LIT(KLbsSisInstallSisLocation,"TheSisLocation");
-
-#endif      // __CT_LBS_CLIENT_DEFS_H__
-
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclienteventtimer.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-/*
-* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-#ifndef __CT_SFLBS_CLIENT_EVENT_TIMER_H__ 
-#define __CT_SFLBS_CLIENT_EVENT_TIMER_H__
-
-//  INCLUDES
-#include <e32base.h>
-#include <test/testexecutelogger.h>
-
-// CONSTANTS
-
-// FORWARD DECLARATIONS
-class MCT_LbsRequestObserver;
-
-// CLASS DECLARATION
-
-/**
-*  This class is used to time the notification dialog
-*
-*/
-class CT_LbsClientEventTimer : public CActive
-    {
-    private:  // Constructors
-
-        /**
-        * C++ default constructor.
-        */
-        CT_LbsClientEventTimer();
-
-        /**
-        * By default EPOC constructor is private.
-        */
-		void ConstructL(CTestExecuteLogger& aLogger);
-
-        // By default, prohibit copy constructor
-        CT_LbsClientEventTimer( const CT_LbsClientEventTimer& );
-        // Prohibit assigment operator
-        CT_LbsClientEventTimer& operator= ( const CT_LbsClientEventTimer& );
-        // Logger interface used for constructing result strings to be fed for the logger instance
-        inline CTestExecuteLogger& Logger() {return iLogger;};
-
-    public:  // Constructors and destructor
-        
-        /**
-        * Two-phased constructor.
-        */
-		static CT_LbsClientEventTimer* NewL(CTestExecuteLogger& aLogger);
-
-        /**
-        * Two-phased constructor.
-        */
-		static CT_LbsClientEventTimer* NewLC(CTestExecuteLogger& aLogger);
-
-        /**
-        * Destructor.
-        */
-        ~CT_LbsClientEventTimer();
-
-	public: // New functions
-
-		/**
-        * Start the timer
-        */
-		void Start(TInt aTimeout);
-
-		TInt CompletionCode() const;
-
-		void ResetCompletionCode();
-
-        /**
-        * Set who is observing timeouts
-        * @param aObserver the observing object
-        */
-		void SetObserver(
-        /* IN  */       MCT_LbsRequestObserver* aObserver
-        );
-
-    protected:  // Functions from base classes
-
-        /**
-        * From CActive
-        */
-		void RunL();
-
-        /**
-        * From CActive
-        */
-		TInt RunError(TInt aError);
-
-		/**
-        * From CActive
-        */
-		void DoCancel();
-
-    protected: // New functions
-
-        void RequestComplete();
-
-	private: // Data
-		RTimer				iTimer;
-		MCT_LbsRequestObserver*	iObserver;
-		TInt                iCompletionCode;
-        
-        CTestExecuteLogger	iLogger;
-    };
-
-#endif      // __CT_SFLBS_CLIENT_EVENT_TIMER_H__   
-            
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientgetlkpao.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/**
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-* This contains the header file for Get last known position 
-* 
-*
-*/
-
-
-
-/**
- @file ctlbsclientgetlastknownposao.h
-*/
-#if (!defined __CT_LBS_CLIENT_LAST_KNOWN_POS_AO_H__)
-#define __CT_LBS_CLIENT_LAST_KNOWN_POS_AO_H__
-
-#include <e32base.h>
-#include <lbs.h>
-
-class MT_GetLastKnownPosObserver
-	{
-	public:
-	virtual void GetLastKnownPositionCallback(TRequestStatus& aStatus) = 0;	
-	};
-
-
-class CT_LbsClientGetLastKnownPosAO: public CActive
-	{
-public:
-	~CT_LbsClientGetLastKnownPosAO();
-	static CT_LbsClientGetLastKnownPosAO* NewL(MT_GetLastKnownPosObserver& aUser);
-	// wrapper for async positioner function GetLastKnownPosition()
-	void GetLastKnownPosL(RPositioner& aPositioner, TPositionInfo& aPosInfo);
-	
-protected:
-//	CActive:
-	// Redeclares the base class CActive::DoCancel(). 
-	virtual void DoCancel();
-	// Redeclares the base class CActive::RunL(). 
-	virtual void RunL();
-	// Redeclares the base class CActive::RunError(). 
-	virtual TInt RunError(TInt aError);
-	
-private:
-	// our status, so we know when request completes:
-	// positioner currently in use:
-	RPositioner iPositioner;
-	// type of request outstanding:
-	TInt		iRequestId;
-	// caller
-	MT_GetLastKnownPosObserver& iCaller;
-	
-	CT_LbsClientGetLastKnownPosAO(MT_GetLastKnownPosObserver& aCaller);
-	};
-
-#endif // _CT_LBS_CLIENT_LAST_KNOWN_POS_AO_H_
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientnotifyposupdao.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/**
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file ctlbsclientnotifyposupdao.h
-*/
-#if (!defined __CT_LBS_CLIENT_NOTIFY_POS_UPD_AO_H__)
-#define __CT_LBS_CLIENT_NOTIFY_POS_UPD_AO_H__
-
-#include <e32base.h>
-#include <lbs.h>
-
-
-class MT_NotifyPosUpdateObserver
-	{
-	public:
-	virtual void NotifyPositionUpdateCallback(TRequestStatus& aStatus) = 0;	
-	};
-
-
-class CT_LbsClientNotifyPosUpdAO: public CActive
-	{
-public:
-	// destructor
-	~CT_LbsClientNotifyPosUpdAO();
-
-	// constructor
-	static CT_LbsClientNotifyPosUpdAO* NewL(MT_NotifyPosUpdateObserver& aCaller);
-
-	// wrapper for async positioner function NotifyPositionUpdate()
-	void CT_LbsClientNotifyPosUpdAO::NotifyPosUpdateL(RPositioner& aPositioner, TPositionInfo& aPosInfo);
-	
-protected:
-//	CActive:
-	// Redeclares the base class CActive::DoCancel(). 
-	virtual void DoCancel();
-	// Redeclares the base class CActive::RunL(). 
-	virtual void RunL();
-	// Redeclares the base class CActive::RunError(). 
-	virtual TInt RunError(TInt aError);
-	
-private:
-	// our status, so we know when request completes:
-	// positioner currently in use:
-	RPositioner iPositioner;
-	// type of request outstanding:
-	TInt		iRequestId;
-	// caller
-	MT_NotifyPosUpdateObserver& iCaller;
-		
-	CT_LbsClientNotifyPosUpdAO(MT_NotifyPosUpdateObserver& aCaller);
-	};
-
-#endif // __CT_LBS_CLIENT_NOTIFY_POS_UPD_AO_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientobserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-#ifndef __CT_LBS_CLIENT_OBSERVER_H__ 
-#define __CT_LBS_CLIENT_OBSERVER_H__
-
-//  INCLUDES
-#include <e32base.h>
-
-// CONSTANTS
-
-// FORWARD DECLARATIONS
-
-// CLASS DECLARATION
-
-/**
-*  ?one_line_short_description.
-*  ?other_description_lines
-*/
-class CT_LbsClientObserver : public CBase
-    {
-    public:  // New functions
-        
-        /**
-        * Waits for EPos server to shut down. If it is
-        * not running this method will return instantaneously.
-        */
-        static void WaitForEPosShutdown();
-        
-        /**
-        * Pushes WaitForEPosShutdown to the cleanup stack. It is useful when
-        * other cleanup items are dependent on EPos having released all its
-        * resources
-        */
-        static void EPosShutdownWaitPushL();
-        
-        /**
-        * Checks if EPos server is alive.
-        */
-        static TBool EPosAliveL();
-
-        /**
-        * Waits for privacy server to shut down. If it is
-        * not running this method will return instantaneously.
-        */
-        static void WaitForPrivacyServerShutdown();
-        
-        /**
-        * Pushes WaitForPrivacyServerShutdown to the cleanup stack. It is useful
-        * when other cleanup items are dependent on EPos having released all its
-        * resources
-        */
-        static void PrivacyServerShutdownWaitPushL();
-        
-        /**
-        * Checks if privacy server is alive.
-        */
-        static TBool PrivacyServerAliveL();
-
-    private: // New functions
-
-        /**
-        * Waits for a process to die. If the process is
-        * not running this method will return instantaneously.
-        * @param aProcessName The name of the process.
-        */
-        static void WaitForProcessDeath(
-        /* IN  */       const TDesC& aProcessName
-        );
-        
-        /**
-        * Checks if a process is alive.
-        * @param aProcessName The name of the process.
-        */
-        static TBool ProcessAliveL(
-        /* IN  */       const TDesC& aProcessName
-        );
-        
-    };
-
-#endif      // __CT_LBS_CLIENT_OBSERVER_H__  
-            
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientperiodictester.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,253 +0,0 @@
-/*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-#ifndef __CT_LBS_CLIENT_PERIODIC_TESTER_H__
-#define __CT_LBS_CLIENT_PERIODIC_TESTER_H__
-
-//  INCLUDES
-#include <e32base.h>
-#include <e32std.h>
-
-#include "Lbs.h"
-
-// CONSTANTS
-
-#ifdef __WINS__
-const TInt KToleratedEarliness  = 400000; //0.4 s
-#endif
-
-const TInt KTracePeriod = 10;
-
-// FORWARD DECLARATIONS
-class CT_LbsClientLog;
-
-// CLASS DECLARATION
-
-/**
-*  Helper class for periodic update tests
-*
-*/
-class CT_LbsClientPeriodicTester : public CActive
-    {
-    public:  // Constructors and destructor
-        
-        /**
-        * Two-phased constructor.
-        */
-        static CT_LbsClientPeriodicTester* NewL(
-		/* IN */	TTimeIntervalMicroSeconds aInterval, 
-		/* IN */	const TDesC& aSericeName,
-		/* IN */	CT_LbsClientLog* aLog,
-		/* IN */	TUid aUid, 
-		/* IN */	TInt aNumberOfRuns
-		);
-        
-        /**
-        * Destructor.
-        */
-        virtual ~CT_LbsClientPeriodicTester();
-
-    public: // New functions
-        
-        /**
-        * Requests notification from positioner and set the active flag true.
-        */
-		void RequestNotification();
-
-		/**
-		* Changes current test parameters. Can only be called when previous test is completed
-		*/
-		void ChangeTestParametersL(
-		/* IN */	TTimeIntervalMicroSeconds aInterval, 
-		/* IN */	TInt aNumberOfRuns
-		);
-
-		/**
-		* Changes name in requestor information.
-		*/
-		void ChangeRequestorInformation(
-		/* IN */	const TDesC& aServiceName
-		);
-
-		/**
-		* Closes the positioner
-		*/
-		void ClosePositioner();
-
-		/**
-		* Opens the positioner
-		*/
-		void OpenPositionerL(
-		/* IN */	const TDesC& aServiceName
-		);
-
-		/**
-		* Sets the maxage parameter in position update options
-		*/
-		void SetMaxAgeL(
-		/* IN */	TTimeIntervalMicroSeconds aInterval
-		);
-		
-		/**
-		* Sets the partial update parameter in position update options
-		*/
-		void SetPartialUpdateL(
-		/* IN */	TBool aUpdateOption
-		);
-	
-		/**
-		* Sets the timeout parameter in position update options
-		*/
-		void SetTimeOutL(
-		/* IN */	TTimeIntervalMicroSeconds aInterval
-		);
-
-		/**
-		* Changes the update interval before the previous interval has completed one time
-		*/
-		void SetChangeParametersPrematurely(
-		/* IN */	TBool aCondition
-		);
-
-        /**
-		* A way to determine if any error has happened.
-		*/
-		TBool IsCompletedOK();
-
-        /**
-		* Get errorcode if error has occurred.
-		*/
-		TInt GetError();
-
-		/**
-		* Cancels periodic requests from EPos Server
-		*/
-		void CancelRequest();
-
-        /**
-		* Returns the position from the latest notift position request
-		*/
-		void GetPosition(TPositionInfo& aPosInfo);
-
-
-    public: // Functions from CActive
-
-        /**
-        * From CActive Service completed request.
-		* Defined as pure virtual by CActive;
-		* implementation provided by this class,
-        */
-        void RunL();
-
-        /**
-        * From CActive Cancel request.
-		* Defined as pure virtual by CActive;
-		* implementation provided by this class.
-        */
-        TInt RunError(TInt aError);
-
-		/**
-        * From CActive Cancel request.
-		* Defined as pure virtual by CActive;
-		* implementation provided by this class.
-        */
-		void DoCancel();
-
-    private:
-
-        /**
-        * C++ default constructor.
-        */
-    	CT_LbsClientPeriodicTester();
-
-        /**
-        * By default Symbian 2nd phase constructor is private.
-        */
-        void ConstructL(
-		/* IN */	TTimeIntervalMicroSeconds aInterval, 
-		/* IN */	const TDesC& aServiceName,
-		/* IN */	CT_LbsClientLog* aLog,
-		/* IN */	TUid aUid, 
-		/* IN */	TInt aNumberOfRuns
-		);
-
-		/**
-        * Evaluates condition, logs and leaves if false.
-        */
-		void AssertTrueL(
-		/* IN */	TBool aCondition, 
-		/* IN */	const TDesC& aErrorMsg,
-		/* IN */	TInt aErrorCode
-		);
- 
-
-    private:    // Data
-        // EPos server instance
-		RPositionServer	iPosServer;
-        
-		// Positioner instance
-		RPositioner iPositioner;
-		
-		// Position information to be sent with NotifyPositionUpdate
-		TPositionInfo iPositionInfo;
-		
-		// Number of periodic updates to request
-		TInt iNumberOfUpdates;
-		
-		// Number of periodic updates received
-		TInt iNumberOfRuns;
-		
-		// Tells if the test is going to end prematurely with a chage of update interval
-		TBool iPrematureChangeOfParameters;
-
-		// Tells if the outstanding request is going to be canceled
-		TBool iCancelRequest;
-
-        // Tells if the outstanding request has been canceled
-        TBool iCanceledRequest; 
-        
-        // Tells if to write messages to log
-        TBool iWriteToLog;
-		
-		// The time for when the most recent position update was received
-		TTime iRecentTime;
-		
-		// The interval to request position updates between
-		TTimeIntervalMicroSeconds iInterval;
-		
-		// Test log
-		CT_LbsClientLog* iLog;
-		
-		// The name of the positioner
-		TBuf<100> iName;
-		
-		// The uid of the positioner
-		TUid iUid;
-
-        //Error indication
-        TBool iError;
-        
-        //Error indication
-        TInt iErrorCode;
-
-    };
-
-#endif      // __CT_LBS_CLIENT_PERIODIC_TESTER_H__
-            
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientpositionconstants.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
-* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-#ifndef __CT_LBS_CLIENT_POSITION_CONSTANTS_H__ 
-#define __CT_LBS_CLIENT_POSITION_CONSTANTS_H__
-
-
-// CONSTANTS
-const TReal32 KHorizontalAcc = 40;
-const TReal32 KVerticalAcc = 40;
-
-const TReal64 KLatitude = 2;
-const TReal64 KLongitude = 3;
-const TReal32 KAltitude = 200;
-
-_LIT(KPositionTime, "20801027:161600");//YYYYMMDD:HHMMSS.MMMMMM
-
-const TReal32 KSpeed = 20;
-const TReal32 KHeading = 30;
-const TReal32 KSpeedAcc = 2;
-const TReal32 KHeadingAcc = 3;
-
-const TInt KSatelliteId = 30;
-const TReal32 KAzimuth = 30;
-const TReal32 KElevation = 30;
-const TBool KIsUsed = ETrue;
-const TInt KSignalStrength = 10;
-
-const TReal32 KAzimuthOdd = 35;
-const TReal32 KElevationOdd = 35;
-const TBool KIsUsedOdd = EFalse;
-const TInt KSignalStrengthOdd = 5;
-
-const TUint KNumberOfSatellitesInView = 12;
-const TUint KNumberOfSatellitesUsed = 6;
-_LIT(KSatelliteTime, "20021027:161600");
-const TReal32 KHorizontalDoPValue = 1;
-const TReal32 KVerticalDoPValue = 2;
-const TReal32 KTimeDoPValue = 20;  
-
-_LIT(KModuleName, "Multi PSY");
-
-
-#endif      // __CT_LBS_CLIENT_POSITION_CONSTANTS_H__   
-            
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientServer.h
-// This contains the header file for LBS Client Test server
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_SERVER_H__
-#define __CT_LBS_CLIENT_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-#include "ctlbsshareddata.h"
-
-_LIT(KSfLbsClientTestServer,"SfLbsClientTestServer");
-
-// Implements the LBS Client Test server
-class CT_LbsClientServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsClientServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsClientServer();
-	CT_LbsClientServer();
-
-protected:
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_CLIENT_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientshareddata.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientSharedData.h
-// This contains the header file for CT_LbsClientSharedData
-// 
-//
-
-
-#ifndef __CT_LBS_CLIENT_SHARED_DATA_H__
-#define __CT_LBS_CLIENT_SHARED_DATA_H__
-
-// system includes
-#include <e32cmn.h>
-
-// Lbs includes
-#include <lbspositioninfo.h>
-#include <lbscommon.h>
-
-
-class CT_LbsClientSharedData : public CBase
-{
-public:
-	static CT_LbsClientSharedData* NewL();
-	CT_LbsClientSharedData();
-	~CT_LbsClientSharedData();
-
-private:
-	void ConstructL();
-
-public:
-	RPointerArray<TAny>	iVerifyPosInfoArr;
-	RPointerArray<TAny>	iCurrentPosInfoArr;
-	
-	TPositionModuleInfo iVerifyModuleInfo;
-	TPositionModuleInfo iCurrentModuleInfo;
-
-	TPositionModuleStatus iVerifyModuleStatus;
-	TPositionModuleStatus iCurrentModuleStatus;
-
-	TPositionModuleStatusEvent iVerifyModuleStatusEvent;
-	TPositionModuleStatusEvent iCurrentModuleStatusEvent;
-
-	TPositionUpdateOptions iVerifyUpdateOpts;
-	TPositionUpdateOptions iCurrentUpdateOpts;
-};
-
-#endif // __CT_LBS_CLIENT_SHARED_DATA_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientStep.h
-// This contains the header file for LBS Client Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_STEP_H__
-#define __CT_LBS_CLIENT_STEP_H__
-
-#include <test/testexecutestepbase.h>
-#include <lbs.h>
-#include <lbs/test/lbsnetsimtest.h>
-
-#include "ctlbsclientserver.h"
-#include "ctlbscommon.h"
-
-//todo: is this a sensible place to put this as it's used by many teststeps?
-const TTimeIntervalMicroSeconds32 delay10Seconds = 10000000;
-
-
-class CT_LbsClientStep : public CTestStep
-{
-
-public:
-	virtual ~CT_LbsClientStep();
-
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	CT_LbsClientStep(CT_LbsClientServer& aParent);
-
-
-	// Carryout a notify position update.
-	// Must have a connect server, and a open positioner
-	// also the pos info array is appened to
-	TInt DoNotifyUpdateL(TPositionInfoBase& aPosInfo);
-	
-	TInt DoLastKnownPosL(TPositionInfoBase& aPosInfo);
-
-	TInt OpenNetSim();
-	void SendResetAssistanceData(TLbsAssistanceDataGroup aMask);
-	void CloseNetSim();
-
-	CT_LbsClientServer& iParent;
-
-	RPositionServer iServer;
-	RPositioner iPositioner;
-
-	/** Net sim required for tests which invoke assistance data via AGPS module. */
-	RLbsNetSimTest iNetSim;
-	
-	/** Reference position used to setup Net sim and later verification. */
-	TPosition iRefPos;
-
-		
-private:
-	/**
-	Position call types - used by GetLocation() to determine which position update function to call
-
-	*/
-	enum _TPositionUpdateType
-		{
-		/** EDoNotifyPosUpdate - call NotifyPositionUpdate  */
-		EDoNotifyPosUpdate = 0,
-		/** EDoLastKnownPos - call GetLastKnownPosition */
-		EDoLastKnownPos = 0x01,
-		};
-
-	TInt GetLocationL(TPositionInfoBase& aPosInfo, TUint32 aNotifyCallType);
-
-protected:
-	TExpectedApiBehaviour iExpectedApiBehaviour;	
-	
-};
-
-#endif // __CT_LBS_CLIENT_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepcellbasednpud.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstepcellbasednpud.h
-// This contains the header file for Notify Position Update Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_STEP_CELLBASED_NOTIFY_POS_UPDATE_H__
-#define __CT_LBS_CLIENT_STEP_CELLBASED_NOTIFY_POS_UPDATE_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-#include "ctlbsclientnotifyposupdao.h"
-#include "ctlbsnetsimstep.h"
-#include "ctlbsdoposupdate.h"
-
-#include <lbs/lbsadmin.h>
-#include <lbs/test/lbsnetsimtest.h>
-
-// Literals used
-_LIT(KLbsClientStep_CellBasedNotifyPosUpdate, "LbsClientStep_CellBasedNotifyPosUpdate");
-
-const TLbsCallbackFlags KLbsCallback_Got_NotifyPositionUpdate			= 0x1000;
-
-class CT_LbsClientStep_CellBasedNotifyPosUpdate : public CT_LbsNetSimStep,
-												  public MT_LbsDoPosUpdateObserver
-	{
-public:
-	~CT_LbsClientStep_CellBasedNotifyPosUpdate();
-
-	static CT_LbsClientStep_CellBasedNotifyPosUpdate* New(CT_LbsClientServer& aParent);
-	virtual TVerdict doTestStepL();
-    
-   	// From CT_LbsNetSimStep:
-	void Connected();
-	void Disconnected();
-	void NotifyRegisterLcsMoLr(const TDesC& aData);
-	void NotifyReleaseLcsMoLr(TInt aReason);
-	void NotifyMeasurementControlLocation(const TPositionInfo& aPosition, const RLbsAssistanceDataBuilderSet& aData, const TLbsNetPosRequestQuality& aQuality);
-	void NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult);
-	void NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition);
-	void NotifyMeasurementReportLocation(const TPositionInfo& aPosition);
-	void NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter);
-	void NotifyMeasurementReportControlFailure(TInt aReason);
-	void NotifyError(MLbsNetSimTestObserver::EFunction aFunction, int aError);
-	void ProcessMeasurementControlLocationError(TInt aError);
-
-
-   // From MT_LbsDoPosUpdateObserver:
-   void MT_LbsDoPosUpdateCallback(TRequestStatus& aStatus);
-   
-   
-private:
-	CT_LbsClientStep_CellBasedNotifyPosUpdate(CT_LbsClientServer& aParent);
-
-	void ConstructL();
-	
-private:
-	
-	// whether the network should be available
-	TBool	iNetworkUnavailable;
-	
-	// whether (and when) the request should be cancelled
-	TBool	iCancel;
-	TBool	iCancelBeforePosUpdate;
-	TBool	iCancelOnPosUpdate;
-	TBool 	iIsCancelTest;
-	TBool	iMultiReq;
-	
-	// to allow us to set a ref location in NetSim for network-based updates and monitor network:
-	RLbsNetSimTest iNetSim;
-   
-	CT_LbsClientServer& iParent;
-
-	CT_LbsDoPosUpdate* iDoPosUpdate;
-			
-	// Number of NotifyPositionUpdates the test case should do
-	TUint iNumNPUDs;
-	};
-
-#endif //__CT_LBS_CLIENT_STEP_CELLBASED_NOTIFY_POS_UPDATE_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientsteplastknownpos.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientsteplastknownpos.h
-// This contains the header file for  Last Known Position Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_STEP_LAST_KNOWN_POS_H__
-#define __CT_LBS_CLIENT_STEP_LAST_KNOWN_POS_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-
-// Literals used
-_LIT(KLbsClientStep_LastKnownPos, "LbsClientStep_LastKnownPos");
-
-class CT_LbsClientStep_LastKnownPos : public CT_LbsClientStep
-	{
-public:
-	~CT_LbsClientStep_LastKnownPos();
-
-	static CT_LbsClientStep_LastKnownPos* New(CT_LbsClientServer& aParent);
-	virtual TVerdict doTestStepL();
-	void SwitchOnselfLocateAPIL();
-	
-private:
-	void ConstructL();
-	CT_LbsClientStep_LastKnownPos(CT_LbsClientServer& aParent);
-	};
-
-#endif //__CT_LBS_CLIENT_STEP_LAST_KNOWN_POS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepmultireq.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstepmultireq.h
-// This contains the header file for multi requests Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_STEP_MULTIREQ_H__
-#define __CT_LBS_CLIENT_STEP_MULTIREQ_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-#include "ctlbsclientgetlkpao.h"
-#include "ctlbsclientnotifyposupdao.h"
-
-
-// Literals used
-_LIT(KLbsClientStep_MultiReq, "LbsClientStep_MultiReq");
-_LIT(KExpected_Error, "expected_error");
-_LIT(KLbsMultiReqTestSuitePanic,"Lbs Multi Requests Test Suite Panic");
-
-
-class CT_LbsClientStep_MultiReq : public CT_LbsClientStep, public MT_GetLastKnownPosObserver, public MT_NotifyPosUpdateObserver
-	{
-public:
-	~CT_LbsClientStep_MultiReq();
-
-	static CT_LbsClientStep_MultiReq* NewL(CT_LbsClientServer& aParent);
-	static CT_LbsClientStep_MultiReq* New(CT_LbsClientServer& aParent);
-
-	virtual TVerdict doTestStepL();
-	
-//from MT_GetLastKnownPosObserver:
-	virtual void GetLastKnownPositionCallback(TRequestStatus& aStatus);
-//from MT_NotifyPosUpdateObserver:
-	virtual void NotifyPositionUpdateCallback(TRequestStatus& aStatus);
-// tidy up (must be public to allow calling through timer callback function)	
-	void CT_LbsClientStep_MultiReq::AsyncTidyUp();
-	
-private:
-
-	enum TMultiReqState
-	/** 
-	 *	 states
-	 */
-	    {
-	    EStateUnknown, 							/*!< state unknown. */
-	    EStateLastKnownPositionComplete, 		/*!< Last Known Position request has completed */
-	    EStateLastNotifyPositionUpdateComplete, /*!< Notify Position Update request has completed */
-	    EStateDone 								/*!< Last Known Position and Position Update requests have both completed  */
-	    };
-	TMultiReqState iState;
-
-	CT_LbsClientStep_MultiReq(CT_LbsClientServer& aParent);
-
-	// timer for requests timeouts
-	CPeriodic* iTimer;
-	
-	CT_LbsClientGetLastKnownPosAO*	iGetLastKnownPosAO;
-	CT_LbsClientNotifyPosUpdAO*		iNotifyPosUpdateAO;
-	
-	TPositionInfo* iTempPosInfo;
-		
-	};
-
-#endif //__CT_LBS_CLIENT_STEP_MULTIREQ_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepnotifyposupdate.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientStep_NotifyPosUpdate.h
-// This contains the header file for Notify Position Update Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__
-#define __CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-#include "ctlbsclientnotifyposupdao.h"
-#include <lbs/lbsadmin.h>
-
-_LIT(KNumPositions, "num_positions");
-
-// Literals used
-_LIT(KLbsClientStep_NotifyPosUpdate, "LbsClientStep_NotifyPosUpdate");
-
-
-
-class CT_LbsClientStep_NotifyPosUpdate : public CT_LbsClientStep, MT_NotifyPosUpdateObserver
-	{
-public:
-	~CT_LbsClientStep_NotifyPosUpdate();
-
-	static CT_LbsClientStep_NotifyPosUpdate* New(CT_LbsClientServer& aParent);
-	virtual TVerdict doTestStepL();
-
-    void NotifyPositionUpdateCallback(TRequestStatus& aStatus);
-
-   
-private:
-	CT_LbsClientStep_NotifyPosUpdate(CT_LbsClientServer& aParent);
-	
-	void ConstructL();
-	void TempSetRequestorL();
-	
-	
-private:
-
-	// To allow changing admin settings.
-	CLbsAdmin*	iLbsAdmin;
-   
-	TBool	iRequestedAssData;
-	TBool	iReceivedAssData;
-	
-	};
-
-#endif //__CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientsteptracking.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientTracking.h
-// This contains the header file for Tracking Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_TRACKING_H__
-#define __CT_LBS_CLIENT_TRACKING_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-
-#include <lbs/test/ctlbsagpshandler.h>
-
-// Literals used
-_LIT(KLbsClientStep_Tracking, "LbsClientStep_Tracking");
-
-_LIT(KExpectedErr, "expected_error");
-_LIT(KExpectedErr2, "expected_error2");
-_LIT(KExpectedErr3, "expected_error3");
-_LIT(KExpectedErr4, "expected_error4");
-
-class CT_LbsClientStep_Tracking : public CT_LbsClientStep, MT_ResponseObserver
-	{
-public:
-	~CT_LbsClientStep_Tracking();
-
-	static CT_LbsClientStep_Tracking* New(CT_LbsClientServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// from MT_ResponseObserver
-	virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-		
-private:
-	CT_LbsClientStep_Tracking(CT_LbsClientServer& aParent);
-	void ConstructL();
-	
-	TBool VerifyFirstPosTime(const TTime& aTimeRequested, const TPositionInfo& aPosInfo, const TPositionUpdateOptions& aUpdateOpts);
-	TBool VerifyPosTime(const TTime& aTimeFirstPosReceived, const TPositionUpdateOptions& aUpdateOpts, TPositionInfo& aPosInfo, TInt aPosCount);
-	TInt GetExpectedError(const TDesC& aError);
-	TInt SetExpectedError(TInt aExpectedErrVal,TInt aDefaultErr);
-	void DoTestCase();
-	
-	void DoInterval_TestCaseId_01();
-	void DoInterval_TestCaseId_02();
-	void DoInterval_TestCaseId_03();
-	void DoInterval_TestCaseId_04();
-	void DoInterval_TestCaseId_05();
-	void DoInterval_TestCaseId_06();
-	void DoInterval_TestCaseId_07();
-	void DoInterval_TestCaseId_08();
-	
-	void ConfigureModuleTimeOut(TTimeIntervalMicroSeconds& aTimeOut);
-private:
-	TInt iVerifyInterval;
-	TInt iExpectedErr;
-	TInt iExpectedErr2;
-	TInt iExpectedErr3;
-	TInt iExpectedErr4;
-	TInt iUpdateIndex;
-	TInt iUpdateWindowIndex;
-	TPositionUpdateOptions iUpdateOpts;
-	TPositionInfo iPosInfo;
-
- 	TBool iCheckIfSameAsPreviousPosition;
- 	TPositionInfo iPreviousPos;
- 	TBool iSameAsPreviousPos;
-	};
-
-#endif //__CT_LBS_CLIENT_TRACKING_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/ctlbsclientstepupdateoptions.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientUpdateOptions.h
-// This contains the header file for  Update Options Tests
-// 
-//
-
-#ifndef __CT_LBS_CLIENT_UPDATEOPTIONS_H__
-#define __CT_LBS_CLIENT_UPDATEOPTIONS_H__
-
-#include "ctlbsclientstep.h"
-#include "ctlbsclientserver.h"
-#include <lbs/lbsadmin.h>
-
-
-// Literals used
-_LIT(KLbsClientStep_UpdateOptions, "LbsClientStep_UpdateOptions");
-
-class CT_LbsClientStep_UpdateOptions : public CT_LbsClientStep
-	{
-public:
-	~CT_LbsClientStep_UpdateOptions();
-
-	static CT_LbsClientStep_UpdateOptions* New(CT_LbsClientServer& aParent);
-	virtual TVerdict doTestStepL();
-		
-private:
-	CT_LbsClientStep_UpdateOptions(CT_LbsClientServer& aParent);
-	
-	void CT_LbsClientStep_UpdateOptions::TempSetRequestorL();
-	TBool CT_LbsClientStep_UpdateOptions::CompareUpdateOptions(TPositionUpdateOptions aPosA, TPositionUpdateOptions aPosB);
-	
-	TBool VerifyFirstPosTime(const TTime& aTimeRequested, const TPositionInfo& aPosInfo, const TPositionUpdateOptions& aUpdateOpts);
-	TBool VerifyPosTime(const TTime& aTimeFirstPosReceived, const TPositionUpdateOptions& aUpdateOpts, TPositionInfo& aPosInfo, TInt aPosCount);
-
-	
-private:
-
-	// to allow changing admin settings:
-	CLbsAdmin*	iLbsAdmin;
-
-	TBool	iRequestedAssData;
-	TBool	iReceivedAssData;
-		
-	};
-
-#endif //__CT_LBS_CLIENT_UPDATEOPTIONS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/inc/tctlbsclientmodulesobserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
-* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-#ifndef __TCT_LBS_CLIENT_MODULES_OBSERVER_H__ 
-#define __TCT_LBS_CLIENT_MODULES_OBSERVER_H__
-
-//  INCLUDES
-#include "EPos_MPosModulesObserver.h"
-
-// CLASS DECLARATION
-
-/**
-*  ?one_line_short_description.
-*  ?other_description_lines
-*/
-class TCT_LbsClientModulesObserver :public MPosModulesObserver
-    {
-    public:  // Functions from base classes
-
-        /**
-        * From MPosModulesDbObserver
-        */
-        inline void HandleSettingsChangeL(
-        /* IN  */       TPosModulesEvent /*aEvent*/
-        ){CActiveScheduler::Stop();};
-
-
-    };
-
-#endif      // __TCT_LBS_CLIENT_MODULES_OBSERVER_H__
-
-// End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientcellbasednpud.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,178 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-CLIENT-CELLBASEDNPUD
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-//
-//
-//Delete lbs log
-
-RUN_UTILS DeleteFile c:\private\101f401d\Logdbu.dat
-
-LOAD_SUITE SfLbsClientTestServer -SharedData
-
-PRINT Run SfLbsClientTestServer
-PRINT
-
-//Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0001
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0001
-//! @SYMTestCaseDesc            Request a cell-based location
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             Open a sub-session using RPositioner::Open() and specifying the network module?s module id
-//!                             Request Location Update.
-//!                             Wait for location request to complete.
-//!                             Verify that the location request is logged with appropriate details.
-//! @SYMTestExpectedResults     Reference (cell-based) location retrieved and details logged
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos  c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0001
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0001
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0002
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0002
-//! @SYMTestCaseDesc            Request a cell-based location and cancel before it completes
-//! @SYMTestPriority            High
-//! @SYMTestActions             Open a sub-session using RPositioner::Open() and specifying the network module?s module id
-//!                             Request Location Update.
-//!                             Cancel the update (should return KErrNone if cancel successfully sent to server, or KErrNotFound if too late)
-//!                             Wait for location request to complete.
-//! @SYMTestExpectedResults     Request completes with KErrCancel (if cancel was successful) or KErrNone (if too late)
-//!                             Request is logged with appropriate details.
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0002
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0002
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0003
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0003
-//! @SYMTestCaseDesc            Request a cell-based location, when network unavailable
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             Open a sub-session using RPositioner::Open() and specifying the network module?s module id
-//!                             Make network unavailable (tell NetSim to return error)
-//!                             Request Location Update.
-//!                             Wait for location request to complete.
-//!                             Verify that the location request is logged with appropriate details.
-//! @SYMTestExpectedResults     Request should complete with appropriate error code
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0003
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0003
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0004
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0004
-//! @SYMTestCaseDesc            Multiple sequential Location Update requests using Network
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request Location Update from Network
-//!                             2. Wait for request to complete
-//!                             3. Verify that request completed successfully
-//!                             4. Repeat above a number of times (read from config)
-//!                             5. Verify that location infos are as expected.
-//!                             6. Verify that the location requests are logged?
-//! @SYMTestExpectedResults     All Requests complete successfully
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0004
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate 	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0004
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0004
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0005
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0005
-//! @SYMTestCaseDesc            Request a cell-based location and issue a cancel when the update is received
-//! @SYMTestPriority            High
-//! @SYMTestActions             Open a sub-session using RPositioner::Open() and specifying the network module?s module id
-//!                             Request Location Update.
-//!                             Wait for position update.
-//!                             Cancel the update (should return KErrNotFound, as the request has already
-//!                             been completed and the position data sent to the network by this point)
-//! @SYMTestExpectedResults     Request completes with KErrNone
-//!                             Request is logged with appropriate details.
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0005
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0005
-
-
-START_TESTCASE                SFLBS-Client-CellBasedNPUD-0006
-//! @SYMTestCaseID              SFLBS-Client-CellBasedNPUD-0006
-//! @SYMTestCaseDesc            Request a cell-based location and issue a cancel before the update is received
-//! @SYMTestPriority            High
-//! @SYMTestActions             Open a sub-session using RPositioner::Open() and specifying the network module?s module id
-//!                             Request Location Update.
-//!                             Cancel the update
-//! @SYMTestExpectedResults     Request completes with KErrNone
-//!                             Request is logged with appropriate details.
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-CLIENT-CELLBASEDNPUD
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_CellBasedNotifyPosUpdate c:\testdata\configs\SfLbsClientCellbasedNPUD.ini SFLBS-NotifyPosUpdate-CellBased-0006
-
-END_TESTCASE SFLBS-Client-CellBasedNPUD-0006
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientlastknownpos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,364 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-CLIENT-LASTKNOWNPOS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// Delete old log file
-RUN_UTILS DeleteFile c:\private\101f401d\Logdbu.dat
-
-LOAD_SUITE SfLbsClientTestServer -SharedData
-
-PRINT Run SfLbsClientTestServer
-PRINT
-
-//Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-    CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
- 	DeleteFile c:\private\10202be9\1028224b.cre
-  	DeleteFile c:\private\10202be9\persists\1028224b.cre
- 	DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 030 SfLbsClientTestServer LbsStep_StartLbs
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetAutonomousMode
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0001
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0001
-//!@SYMTestCaseDesc			Get Last Known Position when it is in cache
-//!
-//!@SYMTestActions			1. Request a location update (passing in a TPositionInfo) and
-//!						wait for it to complete. Read the timestamp on this location.
-//!					2. Request last known Location (should now be in cache).
-//!					3. Wait for location request to complete.
-//!					4. Verify the return status of the request is KErrNone.
-//!					5. Verify that position data is received and that it contains
-//!						a timestamp that matches the one from the last request. 
-//!					6. Use GetPosition() to get the lat/long/altitude and verify that
-//!						they are within the appropriate range.
-//!					7. Verify that the location request has been logged.
-//!
-//!@SYMTestExpectedResults	Location Information is received and is correct. Log contains summary info.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0001
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0001
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0001
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0003
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0003
-//!@SYMTestCaseDesc			Request Last Known Position with unsupported aPosInfo type passed in.
-//!
-//!@SYMTestActions			1.Open a sub-session with the network module (specify moduleid)
-//!					2.Request Last Known Location, passing in unsupported aPosInfo (TPositionSatelliteInfo, say)
-//!					4.Verify that request status received is KErrArgument
-//!
-//!@SYMTestExpectedResults	Request fails with KErrArgument
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Medium
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPosNetwork
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0004
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0004
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0003
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0005
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0005
-//!@SYMTestCaseDesc			Cancel Last Known Position request before receiving response
-//!
-//!@SYMTestActions			1.Request Last Known Location.
-//!							2.Cancel Last Known Location request
-//!							3.Wait for location request to complete.
-//!
-//!@SYMTestExpectedResults	Sync Cancel() call returns either KErrNone or KErrNotFound. 
-//!							If it returns KErrNone, then the original request may complete with KErrCancel. 
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0005
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0006
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0006
-//!@SYMTestCaseDesc			Cancel a non-existent request
-//!
-//!@SYMTestActions			1.Note: do not request Last Known Location.
-//!							2.Cancel Last Known Location request.
-//!
-//!@SYMTestExpectedResults	Cancel fails with KErrNotFound
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0008
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0006
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0008
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0008
-//!@SYMTestCaseDesc			Request multiples LKPs from different sub-sessions 
-//!
-//!@SYMTestActions			1.Open multiple sub-sessions and request LKPs on each
-//!					2.Wait for requests to complete
-//!
-//!@SYMTestExpectedResults		All requests are completed successfully, positions are published and summaries logged.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0015
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0015
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0008
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0009
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0009
-//!@SYMTestCaseDesc			Request multiples LKPs from same sub-session sequentially
-//!
-//!@SYMTestActions			1.Open a sub-session and request LKP
-//!					2.Wait for request to complete
-//!					3.Request another LKP
-//!					4.Wait for request to complete
-//!
-//!@SYMTestExpectedResults		All requests are completed successfully, positions are published and summaries logged.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0016
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0016
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0009
-
-
-// Selecting the default admin values will ensure the AGPS module requests assistance data.
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0010
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0010
-//!@SYMTestCaseDesc			Get Last Known Position when it is in cache
-//!
-//!@SYMTestActions			1. Request a location update (passing in a TPositionInfo) and
-//!								wait for it to complete. Read the timestamp on this location.
-//!							2. Request last known Location (should now be in cache).
-//!							3. Wait for location request to complete.
-//!							4. Verify the return status of the request is KErrNone.
-//!							5. Verify that position data is received and that it contains
-//!								a timestamp that matches the one from the last request. 
-//!							6. Use GetPosition() to get the lat/long/altitude and verify that
-//!								they are within the appropriate range.
-//!							7. Verify that the location request has been logged.
-//!
-//!@SYMTestExpectedResults	Location Information is received and is correct. Log contains summary info.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0101
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0101
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0010
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0011
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0011
-//!@SYMTestCaseDesc			Get Last Known Position when it is in cache passed by Open a sub-session with the network module.
-//!
-//!@SYMTestActions			1. Open a sub-session with the network module (specify moduleid)
-//!                                     2. Request a location update (passing in a TPositionInfo) and
-//!                                        wait for it to complete. Read the timestamp on this location.
-//!                                     3. Request last known Location (should now be in cache).
-//!                                     4. Wait for location request to complete.
-//!                                     5. Verify the return status of the request is KErrNone.
-//!                                     6. Verify that position data is received and that it contains
-//!                                        a timestamp that matches the one from the last request. 
-//!                                     7. Use GetPosition() to get the lat/long/altitude and verify that
-//!                                        they are within the appropriate range.
-//!                                     8. Verify that the location request has been logged.
-//!
-//!
-//!@SYMTestExpectedResults	Location Information is received and is correct. Log contains summary info.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Medium
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPosNetwork
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0105
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0105
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0011
-
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0012
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0012
-//!@SYMTestCaseDesc			Cancel Last Known Position request before receiving response
-//!
-//!@SYMTestActions			1.Request Last Known Location.
-//!					2.Cancel Last Known Location request
-//!					3.Wait for location request to complete.
-//!
-//!@SYMTestExpectedResults	Sync Cancel() call returns either KErrNone or KErrNotFound. 
-//!							If it returns KErrNone, then the original request may complete with KErrCancel. Either way, it is logged.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0102
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0102
-
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0012
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0013
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0013
-//!@SYMTestCaseDesc			Request multiples LKPs from different sub-sessions 
-//!
-//!@SYMTestActions			1.Open multiple sub-sessions and request LKPs on each
-//!					2.Wait for requests to complete
-//!
-//!@SYMTestExpectedResults		All requests are completed successfully, positions are published and summaries logged.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0103
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0103
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0013
-
-START_TESTCASE SFLBS-Client-LastKnownPos-0014
-
-//!@SYMTestCaseID			SFLBS-Client-LastKnownPos-0014
-//!@SYMTestCaseDesc			Request multiples LKPs from same sub-session sequentially
-//!
-//!@SYMTestActions			1.Open a sub-session and request LKP
-//!					2.Wait for request to complete
-//!					3.Request another LKP
-//!					4.Wait for request to complete
-//!
-//!@SYMTestExpectedResults		All requests are completed successfully, positions are published and summaries logged.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos
-
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0104
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\SfLbsClientLastKnownPos.ini SFLBS-LastKnownPos-0104
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-Client-LastKnownPos-0014
-
-
-
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientmultireq.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-CLIENT-MULTIREQ
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsClientTestServer -SharedData
-
-PRINT Run SfLbsClientTestServer
-PRINT
-
-//Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-RUN_TEST_STEP 030 SfLbsClientTestServer LbsStep_StartLbs
-
-// Autonomous mode means each set of position data in the ini file is used in turn (PDEF111711)
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetAutonomousMode
-
-
-
-START_TESTCASE                SFLBS-Client-MultiReq-0001
-//! @SYMTestCaseID              SFLBS-Client-MultiReq-0001
-//! @SYMTestCaseDesc            Make multiple requests of different types on same subsession
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Setup Test-GPS-module.
-//!                             2. Set Requestor details.
-//!                             3. Open a subsession
-//!                             4. Request and wait for a location update to populate cache
-//!                             5. Request a last known position
-//!                             6. Request a location update
-//!                             7. Verify that both requests succeed and that location info are returned as expected.
-//! @SYMTestExpectedResults     Location requests will both complete with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            21/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq-0001
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_MultiReq c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq-0001
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-MultiReq-0001
-
-
-START_TESTCASE                SFLBS-Client-MultiReq-0002
-//! @SYMTestCaseID              SFLBS-Client-MultiReq-0002
-//! @SYMTestCaseDesc            Cancel one of two outstanding requests
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Setup Test-GPS-module.
-//!                             2. Set Requestor details.
-//!                             3. Open a subsession
-//!                             4. Request a location update
-//!                             5. Request a last known position
-//!                             6. Cancel the last known position
-//!                             7. Verify that the location update request succeeds and the last known position request is cancelled.
-//!                             8. Verify that location update info is as expected
-//! @SYMTestExpectedResults     Location requests will both complete with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            21/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq-0002
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_MultiReq c:\testdata\configs\sflbsclientmultireq.ini SFLBS-MultiReq-0002
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-MultiReq-0002
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclientnotifyposupdate.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,470 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-CLIENT-NOTIFYPOSUPDATE
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-//Delete the old log file
-
-RUN_UTILS DeleteFile c:\private\101f401d\Logdbu.dat
-
-LOAD_SUITE SfLbsClientTestServer -SharedData
-
-PRINT Run SfLbsClientTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetAutonomousMode
-
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0001
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0001
-//! @SYMTestCaseDesc            Request a single location update (default options) from GPS
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Setup Test-GPS-module.
-//!                             2. Set Requestor details.
-//!                             3. Request Location Update.
-//!                             4. Wait for location request to complete.
-//!                             5. Verify that location info is returned as expected.
-//!                             6. Verify that the location request is logged.
-//! @SYMTestExpectedResults     Location request will complete with KErrNone and position info will be published
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0001
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0001
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0001
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0002
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0002
-//! @SYMTestCaseDesc            Request Location Update while the system-wide location on/off parameter is turned off
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Turn off self-locate in admin settings
-//!                             2. Request Location Update
-//!                             3. Wait for location request to complete.
-//!                             4. Verify that the request completes with KErrAccessDenied
-//! @SYMTestExpectedResults     Request fails with KErrArgument
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0005
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0002
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0003
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0003
-//! @SYMTestCaseDesc            Request Location Update, and cancel before request completes
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request Location Update
-//!                             2. Cancel Location Update
-//!                             3. Verify that the requests completes as appropriate according to result from Cancel
-//! @SYMTestExpectedResults     CancelRequest completes with KErrNone and location request completes with KErrCancel or KErrNone or CancelRequest completes with KErrNotFound and location request completes with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0006
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0003
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0004
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0004
-//! @SYMTestCaseDesc            Request Location Update without connecting to position server - panic expected
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Request Location Update (without first connecting to position server)
-//! @SYMTestExpectedResults     Client panics with EPositionServerBadHandle
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP !PanicCode=6 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0007
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0004
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0005
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0005
-//! @SYMTestCaseDesc            Request Multiple Location Updates on same subsession concurrently
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Open a subsession
-//!                             2. Request Location Update on subsession
-//!                             3. Request another Location Update on subsession
-//! @SYMTestExpectedResults     Client panics with EPositionDuplicateRequest
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP !PanicCode=15 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0008
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0005
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0006
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0006
-//! @SYMTestCaseDesc            Multiple sequential Location Update requests
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Request Location Update
-//!                             2. Wait for request to complete
-//!                             3. Verify that request completed successfully
-//!                             4. Repeat above a number of times (read from config)
-//!                             5. Verify that location infos are as expected.
-//! @SYMTestExpectedResults     All Requests complete successfully
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0019
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate 		c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0019
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0006
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0007
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0007
-//! @SYMTestCaseDesc            Confirm that partial updates are getting at specified intervals
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1.Open positioner with configured required quality.
-//!                             2.Configure partial Updates with ETrue.
-//!                             3.Set the UpdateInterval to some non default value.
-//!                             4.Call SetUpdateOptions to update position info at specified intervals.
-//!                             5.Request Location Update by Calling NotifyPositionUpdate() Note: each time partial update is received we need to reissue the location request until full location received.
-//!                             6.Verify that location info is returned as expected.
-//! @SYMTestExpectedResults     we should get partial updates at specified intervals
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyModuleData c:\testdata\configs\sflbsclientnotifyposupdate.ini LBS-UPDATE-OPTS-020
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_UpdateOptions c:\testdata\configs\sflbsclientnotifyposupdate.ini LBS-UPDATE-OPTS-020
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0007
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-// Before we restart LBS, select lbstestprofile.ini to use for the following tests
- RUN_UTILS CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0008
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0008
-//! @SYMTestCaseDesc            Request a single location update by setting required quality profile Id in admin
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set KSettingQualityProfileSelfLocate and valid id in admin settings.
-//!                             2. open Rpositioner with default positioning module
-//!                             3. Request Location Update.
-//!                             4. Wait for location request to complete.
-//!                             5. verify Position received within the time range
-//!                             6. Verify that location info is returned as expected.
-//!                             7. Verify that the location request is logged.
-//! @SYMTestExpectedResults     Location request will complete with KErrNone and position info will be published
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0022
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0022
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0008
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0009
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0009
-//! @SYMTestCaseDesc            Confirm that NotifyPositionUpdate will timeout after a specified period.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set KSettingQualityProfileSelfLocate and valid id in admin settings.
-//!                             2. open Rpositioner with default positioning module
-//!                             3. Request Location Update.
-//!                             4. Wait for location request to complete. NOTE : Ensure NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestExpectedResults     We should receive NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0024
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0024
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0009
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0010
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0010
-//! @SYMTestCaseDesc            Confirm that NotifyPositionUpdate will timeout after a specified period as the position provide by the module is less accurate than the required
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set an appropriate request timeout and configure the test module not to return a complete update during that time..
-//!                             2. open Rpositioner with default positioning module
-//!                             3. Request Location Update. Note: Make sure  the position provided by the testmodule is less accurate than the required.
-//!                             4. Wait for location request to complete. NOTE : Ensure NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestExpectedResults     We should receive NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0025
-RUN_TEST_STEP 140 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0025
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0010
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0011
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0011
-//! @SYMTestCaseDesc            Confirm that NotifyPositionUpdate will timeout after a specified period, and that a subsequent request is handled
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set KSettingQualityProfileSelfLocate and valid id in admin settings.
-//!                             2. Configure the update options to have a 5-second timeout and 15-second interval
-//!                             3. open Rpositioner with default positioning module
-//!                             4. Request Location Update.
-//!                             5. Wait for location request to complete without error.
-//!                             6. Configure a delay in the test AGPS Manager big enough to guarantee that the request will time out
-//!                             7. On timeout (status == KErrTimeOut), reduce the AGPS Manager delay back to the original value and issue another position update request.
-//!                             8. Check that the last request completes without error
-//! @SYMTestExpectedResults     We should receive NotifyPositionUpdate will return KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0026
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0026
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0011
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0012
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0012
-//! @SYMTestCaseDesc            Location update that doesn't satisfy the quality requirements from profile
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             1. Request Location Update
-//!                             2. Wait for request to complete
-//!                             3. Verify that request completed successfully
-//!                             4. Verify that location infos are as expected.
-//! @SYMTestExpectedResults     Request completes with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0027
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate 		c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0027
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0012
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0013
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0013
-//! @SYMTestCaseDesc            Confirm that NotifyPositionUpdate will timeout after a specified period.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set KSettingQualityProfileSelfLocate and valid id in admin settings.
-//!                             2. open Rpositioner with default positioning module
-//!                             3. Request Location Update.
-//!                             4. Wait for location request to complete. NOTE : Ensure NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestExpectedResults     We should receive NotifyPositionUpdate will return KErrTimedOut
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0028
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0028
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0013
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0014
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0014
-//! @SYMTestCaseDesc            Confirm that vertical accuracy will not be checked when a position is returned
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. open Rpositioner with default positioning module
-//!                             2. Request Location Update.
-//!                             3. The module will returned a position that is accurate horizontaly, but inaccurate verticaly
-//! @SYMTestExpectedResults     We should receive the returned position
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-// The test is using lbstestprofile.ini for profile and the Admin setting is picking the Profile with ID 0, so a vertical accuracy of 1000 will be expected
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0029
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0029
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0014
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0015
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0015
-//! @SYMTestCaseDesc            Confirm that vertical information doesn't need to be present
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. open Rpositioner with default positioning module
-//!                             2. Request Location Update.
-//!                             3. The module will returned a position that doesn't have any vertical information
-//! @SYMTestExpectedResults     We should receive the returned position
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-// The test is using lbstestprofile.ini for profile and the Admin setting is picking the Profile with ID 0, so a vertical accuracy of 1000 will be expected
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0030
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0030
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0015
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0201
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0201
-//! @SYMTestCaseDesc            Request a single location update (default options) from GPS
-//!                             This case also tests the logging API by verifying the relevant logs are written, can be read
-//!                             and as are expected, an external log, an assistance data log and a self locate log.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test case "SFLBS-NotifyPosUpdate-0001" for details.
-//! @SYMTestExpectedResults     See test case "SFLBS-NotifyPosUpdate-0001" for details.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            20/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-RUN_UTILS CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetBehaviourModeOriginal
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0201
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0201
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0201
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0016
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0016
-//! @SYMTestCaseDesc            Request a single location update by setting required quality profile Id in admin
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set KSettingQualityProfileSelfLocate and valid id in admin settings.
-//!                             2. open Rpositioner with default positioning module
-//!                             3. Request Location Update.
-//!                             4. Wait for location request to complete.
-//!                             5. verify Position received within the time range
-//!                             6. Verify that location info is returned as expected.
-//!                             7. Verify that the location request is logged.
-//! @SYMTestExpectedResults     Location request will complete with KErrNone and position info will be published
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0022
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0122
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0016
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0021
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0021
-//! @SYMTestCaseDesc            When getting a cached position back after doing a second NPUD, it should return a reference position if the reference position was the last position obtained. Added as a result of DEF113370 (reference positions now added to a new bus)
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set preferred TB mode
-//!                             2. Setup netsim
-//!                             3. Send the first NPUD
-//!                             4. Change the MaxUpdateAge via UpdateOptions
-//!                             5. Send the second NPUD
-//!                             6. Verify we get a reference position back
-//! @SYMTestExpectedResults     Second Loc request will complete with a KErrNone, passing back a reference position taken from the referencecache
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-//  The following line is for the standard module
-RUN_TEST_STEP 1002 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-1003
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-1003
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0021
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-// Now execute a selection of the above tests with AGPS module requesting assistance data
-// which will result in a initial reference network position being returned.
-// Selecting the default admin values will ensure the AGPS module requests assistance data.
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-// NOTE: Moving this test to the end as it's failure currently impacts all subsequent tests and disguises true results:
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-RUN_UTILS CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-Client-NotifyPosUpdate-0020
-//! @SYMTestCaseID              SFLBS-Client-NotifyPosUpdate-0020
-//! @SYMTestCaseDesc            Request a single location update (default options) from GPS This case also tests the logging API by verifying the relevant logs are written, can be read and as are expected, an external log, an assistance data log and a self locate log.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test case "SFLBS-NotifyPosUpdate-0001" for details.
-//! @SYMTestExpectedResults     See test case "SFLBS-NotifyPosUpdate-0001" for details.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0101
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_NotifyPosUpdate c:\testdata\configs\sflbsclientnotifyposupdate.ini SFLBS-NotifyPosUpdate-0101
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_VerifyPosInfos
-END_TESTCASE                  SFLBS-Client-NotifyPosUpdate-0020
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/scripts/sflbsclienttracking.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,237 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-CLIENT-TRACKING
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsClientTestServer -SharedData
-
-PRINT Run SfLbsClientTestServer
-PRINT
-
-// Select the test A-GPS hybrid integration module and register onto the home network.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	DeleteFile c:\private\10202be9\1028224b.cre
-	DeleteFile c:\private\10202be9\persists\1028224b.cre 
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-	DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-// Reset the admin to ensure we are preferred terminal mode.
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_ResetDefaultAdmin
-
-// Now start LBS. 
-RUN_TEST_STEP 030 SfLbsClientTestServer LbsStep_StartLbs
-
-
-// Carry out the tests.
-START_TESTCASE SFLBS-Client-Tracking-0001
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0001
-//!@SYMTestCaseDesc			Tracking in partial mode, with accurate and partial updates.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Continue tracking whilst receiving accurate and partial updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,			KErrNone,				before interval
-//!							Gps pos (accurate),	KErrNone,				after n * intervals
-//!							Gps pos (accurate),	KErrNone, 				after interval
-//!							Gps pos (partial),	KPositionPartialUpdate,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-001
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-001
-
-END_TESTCASE SFLBS-Client-Tracking-0001
-
-
-START_TESTCASE SFLBS-Client-Tracking-0002
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0002
-//!@SYMTestCaseDesc			Tracking in partial mode, with accurate updates.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Continue tracking whilst receiving accurate updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,			KErrNone,	before interval
-//!							Gps pos (accurate),	KErrNone,	after n * intervals
-//!							Gps pos (accurate),	KErrNone,	after interval
-//!							Gps pos (accurate),	KErrNone,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-002
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-002
-
-END_TESTCASE SFLBS-Client-Tracking-0002
-
-
-START_TESTCASE SFLBS-Client-Tracking-0003
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0003
-//!@SYMTestCaseDesc			Tracking in partial update mode, with partial updates.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Continue tracking whilst receiving partial updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,			KErrNone,				before interval
-//!							Gps pos (accurate),	KErrNone,				after n * intervals
-//!							Gps pos (NAN),		KPositionPartialUpdate,	after interval
-//!							Gps pos (NAN),		KPositionPartialUpdate,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-003
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-003
-
-END_TESTCASE SFLBS-Client-Tracking-0003
-
-
-START_TESTCASE SFLBS-Client-Tracking-0004
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0004
-//!@SYMTestCaseDesc			Tracking in partial update mode, with inaccurate updates.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Continue tracking whilst receiving inaccurate updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,				KErrNone,				before interval
-//!							Gps pos (accurate),		KErrNone,				after n * intervals
-//!							Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//!							Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-004
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-004
-
-END_TESTCASE SFLBS-Client-Tracking-0004
-
-
-START_TESTCASE SFLBS-Client-Tracking-0005
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0005
-//!@SYMTestCaseDesc			Tracking in partial update mode, with no updates.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Continue tracking whilst the A-GPS module does not return any updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,					KErrNone,		before interval
-//!							Gps pos (accurate),			KErrNone,		after n * intervals
-//!							Gps pos (accurate),			KErrNone,		after interval
-//!							Gps pos (not delivered),	KErrTimedOut,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKINGs
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-005
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-005
-
-END_TESTCASE SFLBS-Client-Tracking-0005
-
-START_TESTCASE SFLBS-Client-Tracking-0006
-
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0006
-//!@SYMTestCaseDesc			Tracking in partial update mode, with a futile error returned
-//!							before the next interval. But the next udpate after that should
-//!							still happen as if the GPS module had not returned futile.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. After receiving first accurate fix, switch on partial updates.
-//!							3. Receive a normal tracking partial update.
-//!							4. Receive a NaN update before the next interval. This is
-//!								caused by the GPS module returning an update with
-//!								KPositionCalculationFutile before the next interval.
-//!							5. Continue tracking whilst receiving partial updates.
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,				KErrNone,				before interval
-//!							Gps pos (accurate),		KErrNone,				after n * intervals
-//!							Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//!							Gps pos (NaN),			KPositionQualityLoss,	before interval
-//!							Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-006
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-006
-
-END_TESTCASE SFLBS-Client-Tracking-0006
-
-START_TESTCASE SFLBS-Client-Tracking-0007
- 
-//!@SYMTestCaseID			SFLBS-Client-Tracking-0007
-//!@SYMTestCaseDesc			Tracking with an inaccurate position returned after timeout with KPositionQualityLoss.
-//!					
-//!@SYMTestActions			1. Start a tracking session with partial updates off.
-//!							2. Receive an accurate position
-//!							3. Timeout and return the inaccurate position with KPositionQualityLoss
-//!					
-//!@SYMTestExpectedResults	Updates should be received at each interval as below:
-//!							Ref pos,				KErrNone,				before interval
-//!							Gps pos (accurate),		KErrNone,				after n * intervals
-//!							Gps pos (inaccurate),	KPositionQualityLoss,	after timeout
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsClientTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\sflbsclienttracking.ini  SFLBS-CLIENT-TRACKING
-RUN_TEST_STEP 020 SfLbsClientTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-007
-RUN_TEST_STEP 120 SfLbsClientTestServer LbsClientStep_Tracking c:\testdata\configs\sflbsclienttracking.ini SFLBS-TRACKING-007
-
-END_TESTCASE SFLBS-Client-Tracking-0007
-
-RUN_TEST_STEP 030 SfLbsClientTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-  
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclienteventtimer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,168 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-
-// INCLUDE FILES
-#include "ctlbsclienteventtimer.h"
-#include "mctlbsrequestobserver.h"
-#include <coemain.h>
-#include "ctlbsclientrequestor.h"
-
-// ================= MEMBER FUNCTIONS =======================
-
-// C++ default constructor can NOT contain any code, that
-// might leave.
-//
-CT_LbsClientEventTimer::CT_LbsClientEventTimer()
-	: CActive(EActivePriorityDefault),	
-	iTimer(),
-	iObserver(NULL),
-	iCompletionCode(KNoEvent)
-    {
-    }
-
-// EPOC default constructor can leave.
-void CT_LbsClientEventTimer::ConstructL(CTestExecuteLogger& aLogger)
-	{
-	iLogger = aLogger;
-    User::LeaveIfError(iTimer.CreateLocal());
-	CActiveScheduler::Add(this);
-    }
-
-// Two-phased constructor.
-CT_LbsClientEventTimer* CT_LbsClientEventTimer::NewL(CTestExecuteLogger& aLogger)
-    {
-	CT_LbsClientEventTimer* self = NewLC(aLogger);
-	CleanupStack::Pop();
-	return self;
-    }
-
-// Two-phased constructor.
-CT_LbsClientEventTimer* CT_LbsClientEventTimer::NewLC(CTestExecuteLogger& aLogger)
-    {
-	CT_LbsClientEventTimer* self =
-		new (ELeave) CT_LbsClientEventTimer(); 
-	CleanupStack::PushL(self); // push to clean-up stack
-	self->ConstructL(aLogger); // construct
-	return self; // return new object
-    }
-
-// Destructor
-CT_LbsClientEventTimer::~CT_LbsClientEventTimer()
-    {
-    iObserver = NULL;
-	Cancel();
-	iTimer.Close();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::SetObserver
-//
-// (other items were commented in a header).
-// ---------------------------------------------------------
-// 
-void CT_LbsClientEventTimer::SetObserver(MCT_LbsRequestObserver* aObserver)
-    {
-    iObserver = aObserver;
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::CompletionCode
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-TInt CT_LbsClientEventTimer::CompletionCode() const
-    {
-    return iCompletionCode;
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::ResetCompletionCode
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientEventTimer::ResetCompletionCode()
-	{
-	iCompletionCode = KNoEvent;
-	}
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::Start
-// starts the RTimer
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientEventTimer::Start(TInt aTimeout)
-    {
-	iTimer.After(iStatus, aTimeout);
-	SetActive();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::DoCancel
-// cancels the RTimer
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientEventTimer::DoCancel()
-    {
-	iTimer.Cancel();
-    }
-
-// ---------------------------------------------------------
-// CPosNotifierTimer::RunL
-// report a timeout to the observer
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientEventTimer::RunL()
-    {
-	iCompletionCode = iStatus.Int();
-	RequestComplete();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::RunError
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-TInt CT_LbsClientEventTimer::RunError(TInt /*aError*/)
-    {
-    return KErrNone;
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientEventTimer::RequestComplete
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientEventTimer::RequestComplete()
-    {
-	if (iObserver)
-        {
-        TRAPD(err, iObserver->RequestCompleteL());
-        if(KErrNone != err)
-        	{
-        	_LIT(KRequestCompleteError, "Error in LbsRequester: %d");
-        	ERR_PRINTF2(KRequestCompleteError, err);
-        	}
-        }
-    }
-
-//  End of File  
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientgetlkpao.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// TODO - should this be moved somewhere more central (testutils, say)?
-// 
-//
-
-/**
- @file ctlbsclientgetlkpao.cpp
-*/
-
-#include "ctlbsclientgetlkpao.h"
-#include <lbs.h>
-
-_LIT(KGetLastKnownPosAO, "GetLastKnownPosAO");
-
-CT_LbsClientGetLastKnownPosAO::~CT_LbsClientGetLastKnownPosAO()
-/**
- * 	Destructor
- */
-	{
-	Cancel();
-	}
-	
-		
-
-CT_LbsClientGetLastKnownPosAO::CT_LbsClientGetLastKnownPosAO(MT_GetLastKnownPosObserver& aCaller) : CActive(EPriorityIdle), iCaller(aCaller)
-/**
- * 	Constructor - will not leave
- */
- 	{ 	
- 	CActiveScheduler::Add(this);
-	}
-
-
-CT_LbsClientGetLastKnownPosAO* CT_LbsClientGetLastKnownPosAO::NewL(MT_GetLastKnownPosObserver& aUser)
-/**
- *	'public constructor' may leave
- */
-	{
-	CT_LbsClientGetLastKnownPosAO* self = new(ELeave)CT_LbsClientGetLastKnownPosAO(aUser);
-	
-	return self;
-	}
-	
-	
-void CT_LbsClientGetLastKnownPosAO::GetLastKnownPosL(RPositioner& aPositioner, TPositionInfo& aPosInfo)
-/**
- * 	wrapper for async positioner function GetLastKnownPosition(). 
- *  Will panic if there's another outstanding request.
- */
-	{	
-	__ASSERT_ALWAYS(!IsActive(), User::Panic(KGetLastKnownPosAO, KErrInUse));
-	
-	iPositioner = aPositioner;
-	
-	// TO DO: this requestor stuff will be removed when we're using the real Location Server:
-	User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-												CRequestor::EFormatApplication,
-												_L("Tom Tom")));
-	
-	iRequestId = EPositionerGetLastKnownPosition;	// required for cancel
-	
-	// Make async call
-	aPositioner.GetLastKnownPosition(aPosInfo, iStatus);
-	
-	// Let the active scheduler know we're waiting (active)
-	SetActive();
-	}
-	
-void CT_LbsClientGetLastKnownPosAO::DoCancel()
-	{	
-	iPositioner.CancelRequest(iRequestId);
-	}
- 
-void CT_LbsClientGetLastKnownPosAO::RunL()
-	{
-	// iStatus will contain error code eg KErrUnknown if no position cached
-	// async request completed. Notify caller via callback:
-	iCaller.GetLastKnownPositionCallback(iStatus);
-	}
-
-TInt CT_LbsClientGetLastKnownPosAO::RunError(TInt aError)
-	{	// called if RunL leaves. aError contains the error code
-	return aError;
-	}
-// EOF
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientnotifyposupdao.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Notify position update tests
-// TODO - should this be moved somewhere more central (testutils, say)?
-// 
-//
-
-/**
- @file ctlbsclientnotifyposupdao.cpp
-*/
-
-#include "ctlbsclientnotifyposupdao.h"
-#include <lbs.h>
-#include <lbs/lbsadmin.h>
-
-_LIT(KNotifyPosUpdAO, "NotifyPosUpdAO");
-
-CT_LbsClientNotifyPosUpdAO::~CT_LbsClientNotifyPosUpdAO()
-/**
- * 	Destructor
- */
-	{
-	Cancel();
-	}
-	
-		
-
-CT_LbsClientNotifyPosUpdAO::CT_LbsClientNotifyPosUpdAO(MT_NotifyPosUpdateObserver& aCaller) : CActive(EPriorityIdle), iCaller(aCaller)
-/**
- * 	Constructor - will not leave
- */
- 	{ 	
- 	CActiveScheduler::Add(this);
-	}
-
-
-CT_LbsClientNotifyPosUpdAO* CT_LbsClientNotifyPosUpdAO::NewL(MT_NotifyPosUpdateObserver& aCaller)
-/**
- *	'public constructor' may leave
- */
-	{
-	CT_LbsClientNotifyPosUpdAO* me = new(ELeave)CT_LbsClientNotifyPosUpdAO(aCaller);
-	
-	return me;
-	}
-	
-	
-void CT_LbsClientNotifyPosUpdAO::NotifyPosUpdateL(RPositioner& aPositioner, TPositionInfo& aPosInfo)
-/**
- * 	wrapper for async positioner function NotifyPositionUpdate(). 
- *  Will panic if there's another outstanding request.
- */
-	{	
-	__ASSERT_ALWAYS(!IsActive(), User::Panic(KNotifyPosUpdAO, KErrInUse));
-	
-	iPositioner = aPositioner;
-	iRequestId = EPositionerNotifyPositionUpdate;	// required for cancel
-	
-	// TO DO: this requestor stuff will be removed when we're using the real Location Server:
-	User::LeaveIfError(iPositioner.SetRequestor(CRequestor::ERequestorService,
-												CRequestor::EFormatApplication,
-												_L("Tom Tom")));
-	
-	
-	// Make async call
-	aPositioner.NotifyPositionUpdate(aPosInfo, iStatus);
-	
-	// Let the active scheduler know we're waiting (active)
-	SetActive();
-	}
-	
-void CT_LbsClientNotifyPosUpdAO::DoCancel()
-	{	
-	TInt err = iPositioner.CancelRequest(iRequestId);
-	}
-	
- 
-void CT_LbsClientNotifyPosUpdAO::RunL()
-	{
-	// iStatus will contain error code eg KErrUnknown if no position cached
-	// async request completed. Notify caller via callback:
-	iCaller.NotifyPositionUpdateCallback(iStatus);
-	}
-
-TInt CT_LbsClientNotifyPosUpdAO::RunError(TInt aError)
-	{	// called if RunL leaves. aError contains the error code
-	return aError;
-	}
-// EOF
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientobserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,153 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-
-// INCLUDE FILES
-#include    "ctlbsclientobserver.h"
-
-
-// CONSTANTS
-// Apparently the EposServer name is same on WINS and ARMI
-_LIT(KEPosServerName, "!PosServer");
-
-_LIT(KPrivacyServerName, "eposprivsrv"); // TBD: Is this name OK?
-
-// ================= MEMBER FUNCTIONS =======================
-
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::WaitForEPosShutdown
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientObserver::WaitForEPosShutdown()
-    {
-    WaitForProcessDeath(KEPosServerName);
-    }
-
-void EPosShutdownWaitCleanupItem(TAny*)
-    {
-    CT_LbsClientObserver::WaitForEPosShutdown();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::EPosShutdownWaitPushL
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientObserver::EPosShutdownWaitPushL()
-    {
-    CleanupStack::PushL(TCleanupItem(EPosShutdownWaitCleanupItem, NULL));
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::EPosAliveL
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-TBool CT_LbsClientObserver::EPosAliveL()
-    {
-    return ProcessAliveL(KEPosServerName);
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::WaitForPrivacyServerShutdown
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientObserver::WaitForPrivacyServerShutdown()
-    {
-    WaitForProcessDeath(KPrivacyServerName);
-    }
-
-void PrivacyServerShutdownWaitCleanupItem(TAny*)
-    {
-    CT_LbsClientObserver::WaitForPrivacyServerShutdown();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::PrivacyServerShutdownWaitPushL
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientObserver::PrivacyServerShutdownWaitPushL()
-    {
-    CleanupStack::PushL(TCleanupItem(PrivacyServerShutdownWaitCleanupItem, NULL));
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::PrivacyServerAliveL
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-TBool CT_LbsClientObserver::PrivacyServerAliveL()
-    {
-    return ProcessAliveL(KPrivacyServerName);
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::WaitForProcessDeath
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientObserver::WaitForProcessDeath(const TDesC& aProcessName)
-    {
-#ifdef __WINS__
-    RThread process;
-#else
-    RProcess process;
-#endif
-
-    if (process.Open(aProcessName))
-        {
-        return;
-        }
-
-    TRequestStatus status;
-    process.Logon(status);
-    User::WaitForRequest(status);
-
-    process.Close();
-    }
-
-// ---------------------------------------------------------
-// CT_LbsClientObserver::ProcessAliveL
-// 
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-TBool CT_LbsClientObserver::ProcessAliveL(const TDesC& aProcessName)
-    {
-	TFindServer find(aProcessName);
-    TFullName   name;
-    if (find.Next(name) == KErrNone) // server found
-		{
-		return ETrue;
-		}
-	else 
-		{
-		return EFalse;
-		}
-    }
-
-//  End of File  
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientperiodictester.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,457 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-
-// INCLUDE FILES
-#include "ctlbsclientperiodictester.h"
-#include "ctlbsclientlog.h"
-
-// CONSTANTS
-const TInt KSmallestUpdateIntervalToLog = 4000000; //2000000
-const TInt KMilliSecondTolerance = 2500000; //One second
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CPeriodicTester::CPeriodicTester
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CT_LbsClientPeriodicTester::CT_LbsClientPeriodicTester() : CActive(CActive::EPriorityHigh), iError(EFalse), iErrorCode(KErrNone)
-    {
-    }
-
-// -----------------------------------------------------------------------------
-// CPeriodicTester::ConstructL
-//
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::ConstructL(
-	TTimeIntervalMicroSeconds aInterval, 
-	const TDesC& aServiceName, 
-	CT_LbsClientLog* aLog,
-	TUid aUid,
-	TInt aNumberOfRuns)
-    {
-    iLog = aLog;
-	iName = aServiceName;
-	iNumberOfRuns = aNumberOfRuns;
-	iInterval = aInterval;
-	iUid = aUid;
-	iNumberOfUpdates = 0;
-    iPrematureChangeOfParameters = EFalse;
-    iCanceledRequest = EFalse;
-    iCancelRequest = EFalse;
-    iWriteToLog = ETrue; //EFalse
-	iRecentTime = TTime(0);
-	iPositionInfo = TPositionInfo();
-
-	_LIT(KConnectErr, "Error when connecing to EPos server,  %d");
-	TInt err = iPosServer.Connect();
-	AssertTrueL(err == KErrNone, KConnectErr, err);
-
-	_LIT(KOpenErr, "Error when opening positioner,  %d");
-	err = iPositioner.Open(iPosServer, aUid);
-	AssertTrueL(err == KErrNone, KOpenErr, err);
-
-	TPositionUpdateOptions posOption;
-	posOption.SetUpdateInterval(aInterval);
-	
-	_LIT(KUpdateErr, "Error when setting update interval,  %d");
-	err = iPositioner.SetUpdateOptions(posOption);
-	AssertTrueL(err == KErrNone, KUpdateErr, err);
-
-	iPositioner.SetRequestor(CRequestor::ERequestorService,
-							 CRequestor::EFormatApplication, aServiceName);
-	
-	CActiveScheduler::Add(this);
-	}
-
-// -----------------------------------------------------------------------------
-// CPeriodicTester::NewL
-//
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CT_LbsClientPeriodicTester* CT_LbsClientPeriodicTester::NewL(
-	TTimeIntervalMicroSeconds aInterval,
-	const TDesC& aServiceName,
-	CT_LbsClientLog* aLog,
-	TUid aUid,
-	TInt aNumberOfRuns)
-    {
-    CT_LbsClientPeriodicTester* self = new( ELeave ) CT_LbsClientPeriodicTester;
-    
-    CleanupStack::PushL(self);
-    self->ConstructL(aInterval, aServiceName, aLog, aUid, aNumberOfRuns);
-    CleanupStack::Pop();
-
-    return self;
-    }
-
-    
-// Destructor
-CT_LbsClientPeriodicTester::~CT_LbsClientPeriodicTester()
-    {
-    iPositioner.Close();
-	iPosServer.Close();
-	
-	iLog = NULL;
-	}
-
-// -----------------------------------------------------------------------------
-// CPeriodicTester::RunL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::RunL()
-    {
-	iNumberOfUpdates++;
-    //User::Leave(-10); //used for testing the test code
-	TBuf<175> buf;
-	_LIT(KStatus,"Status invalid in RunL, status = %d");
-	buf.Format(KStatus, iStatus.Int());
-	AssertTrueL((iStatus == KErrNone || iStatus == KPositionQualityLoss || 
-                 iStatus == KErrCancel), buf, iStatus.Int());
-	if(iNumberOfUpdates <= iNumberOfRuns)
-		{
-		_LIT(KTime, "%F%H:%F%T:%F%S:%F%*C3");
-		TBuf<100> time;
-		TTime now;
-		now.UniversalTime();
-		TInt difference;
-		TInt smallestIntervalToLog = KSmallestUpdateIntervalToLog;
-		if(iNumberOfUpdates == 1)
-			{
-            difference = I64LOW(now.MicroSecondsFrom(iRecentTime).Int64());
-			}
-		else
-			{
-			difference = I64LOW(now.MicroSecondsFrom(iRecentTime).Int64());
-			}
-		
-        _LIT(KInterval, "The interval is %d, and the difference is %d");
-        TBuf<150> buf; 
-        buf.Format(KInterval,iInterval.Int64(), difference); 
-        iLog->Put (buf);
-		if((iInterval.Int64() > smallestIntervalToLog) && (I64LOW(iRecentTime.Int64()) != 0))
-			{
-			_LIT(KTimeErr, "ERROR: Time difference greater than tolerated interval, time difference = %d");
-			AssertTrueL(difference < (iInterval.Int64() +  KMilliSecondTolerance), KTimeErr, I64LOW(now.MicroSecondsFrom(iRecentTime).Int64()));
-            
-            if(difference < 0)
-				{
-                #ifdef __WINS__
-                _LIT(KEarlyErr, "ERROR: Negative time difference on WINS greater than 0.4s");
-                AssertTrueL((KToleratedEarliness > -(difference)), KEarlyErr, KErrTotalLossOfPrecision);
-                #else
-                _LIT(KEarlyErr, "ERROR: Time difference negative on target");
-				iLog->Put(KEarlyErr);
-				User::LeaveIfError(KErrTotalLossOfPrecision);
-                #endif
-
-				}
-			}
-
-		if(iWriteToLog && ((iNumberOfUpdates % KTracePeriod) == 0))
-            {
-		    now.UniversalTime();
-		    now.FormatL(time, KTime);
-    		_LIT(KLog, "Client got update no. %d at %S,  Time-diff = %d, Status = ");
-    		TBuf<175> buf;
-    		buf.Format(KLog, iNumberOfUpdates, &time, difference);
-    		buf.AppendNum(iStatus.Int());
-    		buf.Append(iName);
-    		_LIT(KNrOfRuns, "Nr of runs = ");
-            buf.Append(KNrOfRuns);
-            buf.AppendNum(iNumberOfRuns);
-            iLog->Put(buf);
-            }
-		
-		if(iPrematureChangeOfParameters)
-			{
-			iInterval = TTimeIntervalMicroSeconds(2000000);
-			User::After(I64LOW(iInterval.Int64()));
-	
-			TPositionUpdateOptions posOption;
-			posOption.SetUpdateInterval(iInterval);
-	
-			TInt err = iPositioner.SetUpdateOptions(posOption);
-			_LIT(KChange, "ERROR: Got error code when setting update options prematurely in ChangeTestParameters");
-			AssertTrueL(err == KErrNone, KChange, err);
-			iPrematureChangeOfParameters = EFalse;
-			}
-		
-		RequestNotification();
-            
-        if(iCancelRequest)
-			{
-			User::After(3000000);
-			iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-			iCancelRequest = EFalse;
-            iCanceledRequest = ETrue;
-			}
-     
-        if(iCanceledRequest)
-            {
-            iCanceledRequest = EFalse;
-            _LIT(KCancelErr, "ERROR: Status was not KErrCancel after CancelRequest");
-			AssertTrueL(iStatus.Int() == KErrCancel, KCancelErr, KErrCancel);
-            }
-        }
-	else 
-		{
-		CActiveScheduler::Stop();
-		}
-		
-	}
-
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::RunError
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CT_LbsClientPeriodicTester::RunError(TInt aError)
-    {
-    iError = ETrue;
-    iErrorCode = aError;
-    CActiveScheduler::Stop();
-    _LIT(KErrorInRunL, "Error code in RunError is, %d");
-    TBuf<100> buf;
-    buf.Format(KErrorInRunL, aError);
-    iLog -> Put(buf);
-    return KErrNone;
-    }
-
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::IsCompletedOK
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TBool CT_LbsClientPeriodicTester::IsCompletedOK()
-    {
-    return !iError;
-    }
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::GetError
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CT_LbsClientPeriodicTester::GetError()
-    {   
-    return iErrorCode;
-    }
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::ChangeTestParametersL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::ChangeTestParametersL(TTimeIntervalMicroSeconds aInterval, TInt aNumberOfRuns)
-	{
-	iNumberOfRuns = aNumberOfRuns;
-	iNumberOfUpdates = 0;
-	iInterval = aInterval;
-	iRecentTime = TTime(0);
-    iError = EFalse;
-    iErrorCode = KErrNone;
-	
-	TPositionUpdateOptions posOption;
-	posOption.SetUpdateInterval(aInterval);
-	
-	TInt err = iPositioner.SetUpdateOptions(posOption);
-	_LIT(KChange, "ERROR: When setting update options in ChangeTestParameters, err: %d");
-	AssertTrueL(err == KErrNone, KChange, err);
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::ChangeRequestorInformation
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::ChangeRequestorInformation(const TDesC& aServiceName)
-	{
-	iPositioner.SetRequestor(CRequestor::ERequestorService,
-							 CRequestor::EFormatApplication, aServiceName);
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::ClosePositioner
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::ClosePositioner()
-	{
-	iPositioner.Close();
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::OpenPositionerL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::OpenPositionerL(const TDesC& aServiceName)
-	{
-	_LIT(KOpenErr, "Error when opening positioner,  %d");
-	TInt err = iPositioner.Open(iPosServer, iUid);
-	AssertTrueL(err == KErrNone, KOpenErr, err);
-	
-	iPositioner.SetRequestor(CRequestor::ERequestorService,
-						 CRequestor::EFormatApplication, aServiceName);
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::SetMaxAgeL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::SetMaxAgeL(TTimeIntervalMicroSeconds aInterval)
-	{
-	TPositionUpdateOptions posOption;
-	posOption.SetUpdateInterval(iInterval);
-	posOption.SetMaxUpdateAge(aInterval);
-
-	TInt err = iPositioner.SetUpdateOptions(posOption);
-	_LIT(KChange, "ERROR: When setting max age in SetMaxAge, err: %d");
-	AssertTrueL(err == KErrNone, KChange, err);	
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::SetPartialUpdateL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::SetPartialUpdateL(TBool aUpdateOption)
-	{
-	TPositionUpdateOptions posOption;
-	posOption.SetUpdateInterval(iInterval);
-	posOption.SetAcceptPartialUpdates(aUpdateOption);
-
-	TInt err = iPositioner.SetUpdateOptions(posOption);
-	_LIT(KChange, "ERROR: When setting partial update in SetPartialUpdate, err: %d");
-	AssertTrueL(err == KErrNone, KChange, err);	
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::SetTimeOutL
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::SetTimeOutL(TTimeIntervalMicroSeconds aInterval)
-	{
-	TPositionUpdateOptions posOption;
-	posOption.SetUpdateInterval(iInterval);
-	posOption.SetUpdateTimeOut(aInterval);
-
-	TInt err = iPositioner.SetUpdateOptions(posOption);
-	_LIT(KChange, "ERROR: When setting timeout in SetTimeOut");
-	AssertTrueL(err == KErrNone, KChange, err);	
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::SetChangeParametersPrematurely
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::SetChangeParametersPrematurely(TBool aCondition)
-	{
-	iPrematureChangeOfParameters = aCondition;
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::CancelRequest
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::CancelRequest()
-	{
-	iCancelRequest= ETrue;
-    iCanceledRequest = EFalse;
-	}
-
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::RequestNotification
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::RequestNotification()
-	{
-    TTime now;
-    now.UniversalTime();
-    iRecentTime = now;
-	iPositioner.NotifyPositionUpdate(iPositionInfo, iStatus);
-	SetActive();
-	}
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::RequestNotification
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::GetPosition(TPositionInfo& aPosInfo)
-    {
-    aPosInfo = iPositionInfo;
-    }
-
-// -----------------------------------------------------------------------------
-// CT_LbsClientPeriodicTester::DoCancel
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::DoCancel()
-	{
-	}
-
-// ---------------------------------------------------------
-// CT_LbsClientPeriodicTester::AssertTrueL
-//
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-void CT_LbsClientPeriodicTester::AssertTrueL(TBool aCondition, const TDesC& aErrorMsg, TInt aErrorCode)
-  {
-  if (!aCondition)
-		{
-		TBuf<100> buf;
-		buf.Format(aErrorMsg, aErrorCode);
-		iLog->Put(buf);
-        User::Leave(aErrorCode);
-		}
-  }
-
-//  End of File
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,201 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientServer.cpp
-// This is the class implementation for the LBS Client Test Server
-// 
-//
-
-// User includes
-#include "ctlbsclientserver.h"
-
-// System includes
-#include <e32std.h>
-#include <rsshared.h>
-
-// Header files of LBS Client API Test Steps
-#include "ctlbsstepconfighybridmodule.h"
-#include "ctlbsclientstepnotifyposupdate.h"
-#include "ctlbsclientstepcellbasednpud.h"
-#include "ctlbsclientsteplastknownpos.h"
-#include "ctlbsclientstepmultireq.h"
-#include "ctlbsclientsteptracking.h"
-#include "ctlbsclientstepupdateoptions.h"
-
-/**
-  NewL()
-  Constructs a CT_LbsClientServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsClientServer* CT_LbsClientServer::NewL()
-    {
-    CT_LbsClientServer*server = new(ELeave) CT_LbsClientServer();
-    CleanupStack::PushL(server);
-    server->ConstructL(KSfLbsClientTestServer);
-    CleanupStack::Pop(server);
-    return server;
-    }
-
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates an object of the Email server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsClientServer* server = CT_LbsClientServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-
-
-CT_LbsClientServer::~CT_LbsClientServer()
-	{
-	// DELETE EVERYTHIGN THAT IS ALLOCATED IN THE ConstructL(!)
-	delete iSharedData;
-	iSharedData = NULL;
-	}
-	
-	
-/**
-  Function : CT_LbsClientServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsClientServer::CT_LbsClientServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsClientServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	
-	iSharedData = CT_LbsSharedData::NewL();
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsClientServer::CreateTestStep(const TDesC& aStepName)
-	{
-	// NULL if insufficient memory. This suits the API.
-
-	// Test case test steps, each test step supports one or more test cases.
-	if(aStepName == KLbsStep_ConfigHybridModule)	
-		{
-		return CT_LbsStep_ConfigHybridModule::New(*this);
-		}	
-
-	if(aStepName == KLbsClientStep_NotifyPosUpdate)	
-		{
-		return CT_LbsClientStep_NotifyPosUpdate::New(*this);
-		}
-		
-	if(aStepName == KLbsClientStep_CellBasedNotifyPosUpdate)	
-		{
-		return CT_LbsClientStep_CellBasedNotifyPosUpdate::New(*this);
-		}		
-
-	if(aStepName == KLbsClientStep_LastKnownPos)	
-		{
-		return CT_LbsClientStep_LastKnownPos::New(*this);
-		}
-	if(aStepName == KLbsClientStep_MultiReq)	
-		{
-		return CT_LbsClientStep_MultiReq::New(*this);
-		}
-	if (aStepName == KLbsClientStep_Tracking)
-		{
-		return CT_LbsClientStep_Tracking::New(*this);
-		}
-	if (aStepName == KLbsClientStep_UpdateOptions)
-		{
-		return CT_LbsClientStep_UpdateOptions::New(*this);
-		}
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientshareddata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientSharedData.cpp
-// This file contains the shared data class for the Lbs Client Test server
-// 
-//
-
-
-#include "ctlbsclientshareddata.h"
-
-
-/**
-  Function : NewL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsClientSharedData* CT_LbsClientSharedData::NewL()
-	{
-	CT_LbsClientSharedData* sharedData=new(ELeave) CT_LbsClientSharedData();
-	CleanupStack::PushL(sharedData);
-	sharedData->ConstructL();
-	CleanupStack::Pop(sharedData);
-
-	return sharedData;
-	}
-
-
-/**
-  Function : ConstructL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsClientSharedData::ConstructL()
-	{
-	}
-
-
-/**
-  Function : CT_LbsClientSharedData
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsClientSharedData::CT_LbsClientSharedData()
-	{
-	}
-	
-/**
-  Function : ~CT_LbsClientSharedData
-  Description : Destructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/	
-CT_LbsClientSharedData::~CT_LbsClientSharedData()
-	{
-	// Clear arrays.
-	for (TInt i = 0; i < iVerifyPosInfoArr.Count(); ++i)
-		delete iVerifyPosInfoArr[i];
-	iVerifyPosInfoArr.Close();
-
-	for (TInt i = 0; i < iCurrentPosInfoArr.Count(); ++i)
-		delete iCurrentPosInfoArr[i];
-	iCurrentPosInfoArr.Close();
-	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,215 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsClientStep.cpp
-// This is the class implementation for the LBS Client Test Step Base
-// 
-//
-
-#include "ctlbsclientstep.h"
-
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-
-
-#define REFPOS_LAT				52.2
-#define REFPOS_LONG				0.2
-#define REFPOS_ALT				10
-#define REFPOS_HORZ_ACCURACY	100
-#define REFPOS_VERT_ACCURACY	100
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsClientStep::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep::doTestStepPreambleL()"));
-	SetTestStepResult(EPass);
-
-	_LIT(KExpectedApiBehaviour, "expected_api_behaviour");
-	TInt expectedApiBehaviour;
-	if(GetIntFromConfig(ConfigSection(), KExpectedApiBehaviour, expectedApiBehaviour))
-		{
-		iExpectedApiBehaviour = static_cast<TExpectedApiBehaviour>(expectedApiBehaviour);;
-		}
-	else
-		{
-		iExpectedApiBehaviour = EApiVariant1;
-		}
-	
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsClientStep::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep::doTestStepPostabmleL()"));
-
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-
-CT_LbsClientStep::~CT_LbsClientStep()
-	{
-	}
-
-
-CT_LbsClientStep::CT_LbsClientStep(CT_LbsClientServer& aParent) : iParent(aParent)
-	{
-	}
-
-
-TInt CT_LbsClientStep::DoNotifyUpdateL(TPositionInfoBase& aPosInfo)
-{
-	return  GetLocationL(aPosInfo, EDoNotifyPosUpdate);
-}
-
-TInt CT_LbsClientStep::DoLastKnownPosL(TPositionInfoBase& aPosInfo)
-{
-	return GetLocationL(aPosInfo, EDoLastKnownPos);
-}
-
-
-TInt CT_LbsClientStep::GetLocationL(TPositionInfoBase& aPosInfo, TUint32 aNotifyCallType)
-{
-	// Use wrapper active object for the async call below.
-	CT_LbsAsyncWaiter*	waiter = CT_LbsAsyncWaiter::NewL();
-	CleanupStack::PushL(waiter);
-
-	// Set requestor, note we use the same values as DUMMY_REQUESTOR so we don't have
-	// to include the header file from the test server, to keep code generic when test pos server goes.
-		
-	// TODO: NOTE for the new server, there is no requirement to SetRequestor so we can
-	// remove later.
-	User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-													CRequestor::EFormatApplication,
-													_L("Tom Tom")));
-
-	// Determine the position function to call and get the actual position
-	if (EDoNotifyPosUpdate == aNotifyCallType)
-		{
-		iPositioner.NotifyPositionUpdate(aPosInfo, waiter->iStatus);
-		}
-	else if (EDoLastKnownPos == aNotifyCallType)
-		{
-		iPositioner.GetLastKnownPosition(aPosInfo, waiter->iStatus);
-		}
-		
-	else
-		User::LeaveIfError(KErrArgument);
-		
-	// Wait for and process the result.
-	waiter->StartAndWait();
-
-	TInt err = waiter->Result();
-	if (KErrNone == err)
-		{
-		INFO_PRINTF1(_L("position obtained successfully"));
-	
-		const TPositionInfo& posInfo = reinterpret_cast<const TPositionInfo&>(aPosInfo);
-		
-
-		TPosition pos;
-		posInfo.GetPosition(pos);
-		TReal32 lat 	= pos.Latitude();
-		TReal32 lng 	= pos.Longitude();
-		TReal32 hac  	= pos.HorizontalAccuracy();
-		TReal vac		= pos.VerticalAccuracy();
-
-		INFO_PRINTF2(_L("lat: %f"),lat);
-		INFO_PRINTF2(_L("lng: %f"),lng);
-		INFO_PRINTF2(_L("hac: %f"),hac);
-		INFO_PRINTF2(_L("vac: %f"),vac);
-
-		}
-	else
-		{
-		INFO_PRINTF2(_L("position update failed with error %d"), err);
-		}
-
-	CleanupStack::PopAndDestroy(waiter);
-
-	return err;
-}
-
-
-	
-TInt CT_LbsClientStep::OpenNetSim()
-	{
-	// Connect to net sim.
-	TInt err = iNetSim.ConnectL(NULL);
-	if (err)
-		{
-		return err;
-		}
-
-
-	// Set the reference position, which also be used for any required verification.
-	iRefPos.SetCoordinate(REFPOS_LAT, REFPOS_LONG, REFPOS_ALT);
-	iRefPos.SetAccuracy(REFPOS_HORZ_ACCURACY, REFPOS_VERT_ACCURACY);
-	iRefPos.SetCurrentTime();
-
-	if (!iNetSim.SetReferenceLocation(iRefPos))
-		{
-		iNetSim.Close();
-
-		return KErrGeneral;
-		}	
-		
-
-	// Set plugin to use.
-	TUid pluginUid;
-	if(iParent.iSharedData->iTestModuleInUse)
-		{
-		pluginUid = TUid::Uid(KSimpleAssistanceDataProviderPluginUidValue);
-		}
-	else
-		{
-		pluginUid = TUid::Uid(KSuplAssistanceDataProviderPluginUidValue);
-		}
-	if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-		{
-		iNetSim.Close();
-
-		return KErrGeneral;
-		}
-		
-	return err;
-	}
-
-void CT_LbsClientStep::SendResetAssistanceData(TLbsAssistanceDataGroup aMask)
-	{
-	iNetSim.SendResetAssistanceData(aMask);
-	}
-
-void CT_LbsClientStep::CloseNetSim()
-	{
-	iNetSim.Close();	
-	}	
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepcellbasednpud.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,505 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstep_cellbasednpud.cpp
-// This is the class implementation for the Notify Position Update Tests
-// 
-//
- 
-#include "ctlbsclientstepcellbasednpud.h"
-
-#include <lbs.h>
-#include <lbssatellite.h>
-
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-#include <lbs/EPos_CPosModules.h>
-#include <lbs/EPos_CPosModuleUpdate.h>
-#include "netpsy.hrh"
-
-// constant definitions
-
-_LIT(KLbsClientStepCellBasedNotifyPosUpdate, "LbsClientStepCellBasedNotifyPosUpdate");
-
-// by default, a test case will abort after this time if all callbacks not completed:
-// Note that this must be less than the TEF timeout in the script to be of any value
-TTimeIntervalMicroSeconds32 KDefaultAbortTimerPeriod = 90*1000000;	// 1.5 mins 
-
-// by default, a test case running with real gps hardware will abort after this time 
-// Note that this must be less than the TEF timeout in the script to be of any value
-TTimeIntervalMicroSeconds32 KDefaultAbortTimerPeriod_real = 100*1000000;	// 5 mins
-
-
-/**
- * Destructor
- */
-CT_LbsClientStep_CellBasedNotifyPosUpdate::~CT_LbsClientStep_CellBasedNotifyPosUpdate()
-	{
-	iDoPosUpdate->Cancel();
-	delete iDoPosUpdate;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsClientStep_CellBasedNotifyPosUpdate::CT_LbsClientStep_CellBasedNotifyPosUpdate(CT_LbsClientServer& aParent) : iParent(aParent)
-	{	
-	SetTestStepName(KLbsClientStep_CellBasedNotifyPosUpdate);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_CellBasedNotifyPosUpdate* CT_LbsClientStep_CellBasedNotifyPosUpdate::New(CT_LbsClientServer& aParent)
-	{
-	// Can't leave, so return NULL if insufficient memory
-	CT_LbsClientStep_CellBasedNotifyPosUpdate* testStep = new CT_LbsClientStep_CellBasedNotifyPosUpdate(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	
-	}	
-	
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::ConstructL()
-	{
-	// Create the base class object.
-    CT_LbsNetSimStep::ConstructL();
-	
-	// Re-enable the network PSY
-    CPosModules* db = CPosModules::OpenL();
-    CleanupStack::PushL(db);
-
-    CPosModuleUpdate* moduleUpdate = CPosModuleUpdate::NewLC();
-    
-    moduleUpdate->SetUpdateAvailability(ETrue);
-    moduleUpdate->SetUpdateVisibility(ETrue);
-    TUid uid = TUid::Uid(KPosNETPSYImplUid);
-    db->UpdateModuleL(uid, *moduleUpdate);
-    
-    CleanupStack::PopAndDestroy(moduleUpdate);
-    CleanupStack::PopAndDestroy(db);
-    
-	// Active object wrapper for the notify position update.
-	iDoPosUpdate = CT_LbsDoPosUpdate::NewL(this, TPositionModuleInfo::ETechnologyNetwork);
-	
-	}
-	
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL()"));
-
-	if (TestStepResult()==EPass)
-		{
-		iNetworkUnavailable = FALSE;
-		iIsCancelTest = FALSE;
-   		iCancel = FALSE;
-		iCancelOnPosUpdate = FALSE;
-		iCancelBeforePosUpdate = FALSE;
-		iMultiReq = EFalse;
-		iNumNPUDs = iParent.iSharedData->iVerifyPosInfoArr.Count(); // how many NPUDs to do
-		
-		// Expected callbacks flags
-		iFlagsToHaltOn =	KLbsCallback_NetSim_Got_Connect | 	
-							KLbsCallback_NetworkBasedLocation |
-							KLbsCallback_Got_NotifyPositionUpdate;	// notifypositionupdate completed.
-	
-		
-		TTimeIntervalMicroSeconds32 abortInterval;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			abortInterval = KDefaultAbortTimerPeriod;
-			}
-		else
-			{	
-			abortInterval = KDefaultAbortTimerPeriod_real;
-			}
-		
-		// Carryout unique test actions.
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-				switch (testCaseId)
-				{												
-				case 1:	// LBS-NotifyPosUpdateCellBased-0001 Request a cell-based location
-					{
-					// nothing to do 
-					}
-					break;
-				
-				case 2:	// LBS-NotifyPosUpdateCellBased-0002	Request a cell-based location and cancel before it completes
-					{
-					iCancel = ETrue;
-					iFlagsToHaltOn =	KLbsCallback_NetSim_Got_Connect |
-										KLbsCallback_Got_NotifyPositionUpdate;
-					}
-					break;
-				
-				case 3:	// LBS-NotifyPosUpdateCellBased-0003	Request a cell-based location, when network unavailable
-					{
-					iNetworkUnavailable = ETrue;
-					// TO DO - are these the right flags (get NO NetSIm callbacks while network unavailable)?
-					iFlagsToHaltOn &= ~KLbsCallback_NetworkBasedLocation;
-					}
-					break;
-					
-				case 4:	// LBS-NotifyPosUpdateCellBased-0004 multiple sequential npuds
-					{
-					iMultiReq = ETrue;
-					}
-					break;
-					
-				case 5:	// LBS-NotifyPosUpdateCellBased-0005	Request a cell-based location and attempt to cancel when the update is received
-					{
-					iCallbackFlags = 0;
-					iCancelOnPosUpdate = ETrue;
-					iFlagsToHaltOn =	KLbsCallback_NetSim_Got_Connect | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-										KLbsCallback_Got_NotifyPositionUpdate;
-					}
-					break;
-					
-				case 6:	// LBS-NotifyPosUpdateCellBased-0006	Request a cell-based location and cancel before a position update is generated
-					{
-					iCancelBeforePosUpdate = ETrue;
-					iFlagsToHaltOn =	KLbsCallback_NetSim_Got_Connect |
-										KLbsCallback_Got_NotifyPositionUpdate;
-					}
-					
-					break;			
-	
-				default:
-					User::Panic(KLbsClientStepCellBasedNotifyPosUpdate, KErrUnknown);			
-				}
-			}
-		else
-			{
-			User::Panic(KLbsClientStepCellBasedNotifyPosUpdate, KErrUnknown);
-			}	
-			
-		iIsCancelTest = (iCancel || iCancelBeforePosUpdate || iCancelOnPosUpdate);	
-		
-		// Steps common to all tests:
-		
-		// Connect to net sim
-		iNetSim.ConnectL(this);
-
-	// Configure NetSim:	
-		// Set reference location:
-		RPointerArray<TAny>& srcPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-		TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(srcPosInfoArr[0]);
-		TPosition srcPos;
-		srcPosInfo->GetPosition(srcPos);
-		if (!iNetSim.SetReferenceLocation(srcPos))
-			{
-			INFO_PRINTF1(_L("CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL() Failed: Can't set NetSim's reference location."));
-			SetTestStepResult(EFail);
-			}	
-		
-		// Set plugin to use for getting assistance data:
-		TUid pluginUid;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			pluginUid = TUid::Uid(KSimpleAssistanceDataProviderPluginUidValue);
-			}
-		else
-			{
-			pluginUid = TUid::Uid(KSuplAssistanceDataProviderPluginUidValue);
-			}
-		if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-			{
-			INFO_PRINTF1(_L("Can't set NetSim's assistance data plugin uid."));
-			SetTestStepResult(EFail);
-			}
-			
-		// make network unavailable if appropriate:
-		if(iNetworkUnavailable)
-			{
-			// Tell netsim to make network unavailable until further notice:
-			if(!iNetSim.SetResponseError(RLbsNetSimTest::KNetSimNetworkNotAvailable, ETrue))	//sticky
-				{
-				INFO_PRINTF1(_L("CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL() Failed: Can't set NetSim's response error."));
-				SetTestStepResult(EFail);
-				}
-			}			
-			
-		// Kick off the keep alive timer - do last to ensure NetSim is ready otherwise the
-		// timer callback may start a MO-LR if the NetSim connected too early.
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod);
-
-		iKeepAliveTimer->SetTimer(interval);
-
-		// don't wait for TEF to timeout and abort
-		iAbortTimer->SetTimer(abortInterval);
-
-		// Kick off test.
-		CActiveScheduler::Start();
-			
-		if(EDone != iState)
-			{
-			INFO_PRINTF2(_L("Failed test, finished in state %d"), iState);
-			INFO_PRINTF3(_L("Callback flags currently set = 0x%x. Expecting 0x%x"), iCallbackFlags, iFlagsToHaltOn);
-			SetTestStepResult(EFail);
-			}
-		else
-			{
-			INFO_PRINTF2(_L("Got all expected callbacks (0x%x)"), iCallbackFlags);			
-			}
-						
-		iNetSim.Close();
-			
-		}
-		
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::Connected()
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::Connected();
-			
-	if(iCancelBeforePosUpdate)
-		{
-		TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-		iDoPosUpdate->StartL(*posInfo);
-	
-		iNumNPUDs--;
-	
-		// Wait for all expected callback flags to be set:
-		iState = CT_LbsNetSimStep::EWaiting;	
-		
-		// Cancel the request for the cancel test.
-		iDoPosUpdate->CancelRequest();
-		delete posInfo;
-		}
-	else
-		{
-		T_LbsUtils utils;
-		// Create a posinfo and store in our shared array for later verification.
-		RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-		TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-		utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-		posInfoArr.Append(posInfo);
-		
-		iDoPosUpdate->StartL(*posInfo);
-	
-		iNumNPUDs--;
-	
-		// Wait for all expected callback flags to be set:
-		iState = CT_LbsNetSimStep::EWaiting;	
-		
-		// Cancel the request for the cancel test.
-		if(iCancel)				
-			{
-			User::After((TTimeIntervalMicroSeconds32)100000);   // arbitrary delay as workaround for DEF107349
-			iDoPosUpdate->CancelRequest();
-			}			
-		}
-	}
-	
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::Disconnected()
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::Disconnected();
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyRegisterLcsMoLr(const TDesC& aData)
-	{
-    if (!iIsCancelTest)
-    	{
-    	// Call base implementation.
-		CT_LbsNetSimStep::NotifyRegisterLcsMoLr(aData);
-    	}
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyReleaseLcsMoLr(TInt aReason)
-	{
-	if (!iIsCancelTest)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyReleaseLcsMoLr(aReason);	
-    	}	
-	}
-
-// Measurement Control has been received from Network:
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyMeasurementControlLocation(const TPositionInfo& aPosition, const RLbsAssistanceDataBuilderSet& aData, const TLbsNetPosRequestQuality& aQuality)
-	{
-	if (!iIsCancelTest)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyMeasurementControlLocation(aPosition, aData, aQuality);
-    	}
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult)
-	{
-	if (!iIsCancelTest)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyReleaseLcsLocationNotification(aResult);
-    	}	
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition)
-	{
-	if (!iIsCancelTest)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyFacilityLcsMoLrResult(aReason, aPosition);
-    	}
-	}
-
-// Our position has been reported to network
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyMeasurementReportLocation(const TPositionInfo& aPosition)
-	{	
-	if (iCancelOnPosUpdate)
-		{
-		// We need to wait until the NPUD is completed. 
-		User::After(1000000);
-		
-		TInt cancelError = iDoPosUpdate->CancelRequestWithResult();
-					
-		if (cancelError != KErrNotFound)
-			{
-			INFO_PRINTF2(_L("FAILED: NotifyMeasurementReportLocation cancelling late produces %d rather than KErrNotFound"), cancelError);
-			SetTestStepResult(EFail);
-			}			
-		}
-	
-	if (!iIsCancelTest || iCancelOnPosUpdate)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyMeasurementReportLocation(aPosition);
-    	}
-		
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter)
-	{
-	if (!iIsCancelTest)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyMeasurementReportRequestMoreAssistanceData(aFilter);
-    	}
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-	if (!iIsCancelTest && !iMultiReq)
-    	{
-		// Call base implementation.
-		CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-		}
-	else if (iMultiReq && ! ((aReason == KErrPositionHighPriorityReceive) || (aReason == KErrServerBusy)))
-		{
-		INFO_PRINTF2(_L("FAILED: NotifyMeasurementReportControlFailure with reason = %d"), aReason);
-		SetTestStepResult(EFail);
-		}
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::NotifyError(MLbsNetSimTestObserver::EFunction aFunction, int aError)
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::NotifyError(aFunction, aError);
-	}
-
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::ProcessMeasurementControlLocationError(TInt aError)
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::ProcessMeasurementControlLocationError(aError);
-	}
-
-/**	Notify position update callback.
-*/
-void CT_LbsClientStep_CellBasedNotifyPosUpdate::MT_LbsDoPosUpdateCallback(TRequestStatus& aStatus)
-	{
-	TInt err = aStatus.Int();
-	
-	INFO_PRINTF2(_L("CT_LbsClientStep_CellBasedNotifyPosUpdate::MT_LbsDoPosUpdateCallback: Got - Notify Update - Callback Event. Error = %d"), err);
-	
-	if(!iNumNPUDs)	// only set the flag when we've got them all
-		{
-		SetCallbackFlag(KLbsCallback_Got_NotifyPositionUpdate);
-		}
-		
-	if(iNetworkUnavailable)
-		{
-		if(KErrTimedOut != err && KErrDisconnected != err)
-			{
-			INFO_PRINTF2(_L("FAILED: MT_LbsDoPosUpdateCallback with error %d, expecting KErrTimedOut"), err);
-			SetTestStepResult(EFail);
-			}
-		}
-	else
-		
-		{
-		if(iCancel)
-			{
-			if(KErrCancel != err && KErrNone != err)
-				{
-				INFO_PRINTF2(_L("FAILED: MT_LbsDoPosUpdateCallback with error = %d"), err);
-				SetTestStepResult(EFail);
-				}
-			}
-		else 
-			{
-			if(iCancelBeforePosUpdate)
-				{
-				if(KErrCancel != err)
-					{
-					INFO_PRINTF2(_L("FAILED: MT_LbsDoPosUpdateCallback with error = %d"), err);
-					SetTestStepResult(EFail);
-					}
-				}
-			else
-				{
-				if(KErrNone != err)
-					{
-					INFO_PRINTF2(_L("FAILED: MT_LbsDoPosUpdateCallback with error = %d"), err);
-					SetTestStepResult(EFail);
-					}
-				}
-			}		
-		}
-	
-	if(iNumNPUDs--)
-		{	
-		// Create another posinfo and store in our shared array for later verification.
-		RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-		TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-		posInfoArr.Append(posInfo);
-			
-		iDoPosUpdate->StartL(*posInfo);
-		}	
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientsteplastknownpos.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,761 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstep_lastknownpos.cpp
-// This is the class implementation for the Last Known Position Tests
-// 
-//
- 
-#include "ctlbsclientsteplastknownpos.h"
-
-#include <lbs.h>
-#include <lbs/lbsadmin.h>
-#include "lbssatellite.h"
-#include <lbs/EPos_CPosModules.h>
-#include <lbs/EPos_CPosModuleUpdate.h>
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-#include "netpsy.hrh"
-
-/**
- * Destructor
- */
-CT_LbsClientStep_LastKnownPos::~CT_LbsClientStep_LastKnownPos()
-	{
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsClientStep_LastKnownPos::CT_LbsClientStep_LastKnownPos(CT_LbsClientServer& aParent) : CT_LbsClientStep(aParent)
-	{
-	SetTestStepName(KLbsClientStep_LastKnownPos);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_LastKnownPos* CT_LbsClientStep_LastKnownPos::New(CT_LbsClientServer& aParent)
-	{
-    // Note the lack of ELeave.
-    // This means that having insufficient memory will return NULL;
-	CT_LbsClientStep_LastKnownPos* testStep =  new CT_LbsClientStep_LastKnownPos(aParent);
-
-    if (testStep)
-        {
-        TInt err = KErrNone;
-
-        TRAP(err, testStep->ConstructL());
-        if (err)
-            {
-            delete testStep;
-            testStep = NULL;
-            }
-        }
-    return testStep;
-	}
-
-void CT_LbsClientStep_LastKnownPos::ConstructL()
-    {
-    // Re-enable the network PSY
-    CPosModules* db = CPosModules::OpenL();
-    CleanupStack::PushL(db);
-
-    CPosModuleUpdate* moduleUpdate = CPosModuleUpdate::NewLC();
-    
-    moduleUpdate->SetUpdateAvailability(ETrue);
-    moduleUpdate->SetUpdateVisibility(ETrue);
-    TUid uid = TUid::Uid(KPosNETPSYImplUid);
-    db->UpdateModuleL(uid, *moduleUpdate);
-    
-    CleanupStack::PopAndDestroy(moduleUpdate);
-    CleanupStack::PopAndDestroy(db);
-    }
-
-void CT_LbsClientStep_LastKnownPos::SwitchOnselfLocateAPIL()
-	{
-	CLbsAdmin* adminApi = CLbsAdmin::NewL();
-	CleanupStack::PushL(adminApi);
-	adminApi->Set(KLbsSettingHomeSelfLocate, CLbsAdmin::ESelfLocateOn);	
-	CleanupStack::PopAndDestroy(adminApi);
-	}
-
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_LastKnownPos::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_LastKnownPos::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{
-		TInt err = KErrNone;
-		
-		// Wait for server to cease to be - thus ensuring cache is empty
-		//User::After(10000000);   //Not needed
-		
-		// Carryout unique test actions.
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-			if(testCaseId == 2)
-				{
-				//The delay below is to make sure that there is no request to server for at least 200 seconds
-				//so that it will shutdown and clear cache.
-
-				User::After(3*1000*1000);
-				}
-
-			// Connect to self locate server.
-			User::LeaveIfError(iServer.Connect());
-			CleanupClosePushL(iServer);
-				
-			switch (testCaseId)
-				{
-				// Test case LBS-LastKnownPos-0001
-				case 1:
-				// Test case LBS-LastKnownPos-0101
-				case 101:
-				    {
-					T_LbsUtils utils;
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-                    if(testCaseId==101)
-	                    {
-	                    // For this test an additional reference position will be returned.
-					
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-							
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-							
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-							SetTestStepResult(EFail);							
-							}
-								
-						// Verify reference position.
-						TPositionInfo verifyRefPosInfo;
-							
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-							SetTestStepResult(EFail);
-							}	
-	                    }
-					
-					
-				    TPosition pos;		// original position
-					TTime timeStamp;	// timestamp inside original received position
-					
-				    // Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo notifyPosInfo;
-					User::LeaveIfError(DoNotifyUpdateL(notifyPosInfo));
-
-					// get the position data:
-					notifyPosInfo.GetPosition(pos);
-					
-					timeStamp = pos.Time();
-					INFO_PRINTF1(_L("Original position timeStamp: "));
-					INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-					INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().Second());
-						
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-	
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					posInfoArr.Append(posInfo);
-
-					// Get the last known position
-					err = DoLastKnownPosL(*posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					else
-						{								
-						TTime timeStamp_cached;		
-						posInfo->GetPosition(pos);	
-						timeStamp_cached = pos.Time();
-						
-						timeStamp = pos.Time();
-						INFO_PRINTF1(_L("Cached position timeStamp: "));
-						INFO_PRINTF4(_L("%d/%d/%d"), timeStamp_cached.DateTime().Day() + 1, timeStamp_cached.DateTime().Month() + 1, timeStamp_cached.DateTime().Year());
-						INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp_cached.DateTime().Hour(), timeStamp_cached.DateTime().Minute(), timeStamp_cached.DateTime().Second(), timeStamp_cached.DateTime().Second());
-													
-						// verify that the timestamp matches the original one:
-						if(timeStamp_cached != timeStamp)
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						}
-					CleanupStack::PopAndDestroy(&iPositioner);
-					if (testCaseId == 101)
-						{
-						CloseNetSim();
-						}
-					break;
-					}
-				
-				// NEGATIVE TEST
-				// Test case LBS-LastKnownPos-0002
-				case 2:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// DONT carry out a notify update to ensure last known cache is filled.
-
-					// Create a posinfo to store position info from LastKnownPosition method.
-					TPositionInfo posInfo;
-
-					// Get the last known position
-					err = DoLastKnownPosL(posInfo);
-					if (KErrUnknown != err)
-						{
-						INFO_PRINTF2(_L("Failed with error %d when expecting error KErrUnknown, indicating no position in cache"), err);
-						SetTestStepResult(EFail);
-						}
-						
-					// Wait for a time period and verify that location info is not published.
-					// 10seconds
-					User::After(10000000);
-					
-					// Get the last known position
-					err = DoLastKnownPosL(posInfo);
-					if (KErrUnknown != err)
-						{
-						INFO_PRINTF2(_L("Failed with error %d when expecting error KErrUnknown, indicating no position in cache"), err);
-						SetTestStepResult(EFail);
-						}
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-					break;
-					}
-					
-
-				// NEGATIVE TEST	
-				// Test case LBS-LastKnownPos-0004
-				case 4:
-					{
-					T_LbsUtils utils;
-					TPositionModuleId networkModuleId = utils.GetNetworkModuleIdL(iServer);
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer, networkModuleId));
-					CleanupClosePushL(iPositioner);
-
-					// Setup netsim.
-					User::LeaveIfError(OpenNetSim());
-						
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo actualRefPosInfo;
-						
-					err = DoNotifyUpdateL(actualRefPosInfo);
-										
-					if (err)
-						{
-						INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-						SetTestStepResult(EFail);							
-						}
-							
-					// Verify reference position.
-					TPositionInfo verifyRefPosInfo;
-					verifyRefPosInfo.SetPosition(iRefPos);
-					if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-						{
-						INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-						SetTestStepResult(EFail);
-						}
-				    
-				    // ** Create a position info which is not supported by the network module **
-					TPositionSatelliteInfo positionSatelliteInfo;
-
-					// Get the last known position
-					err = DoLastKnownPosL(positionSatelliteInfo);
-					if (KErrArgument != err)
-						{
-						SetTestStepResult(EFail);
-						}
-												
-					CleanupStack::PopAndDestroy(&iPositioner);
-					// Close netsim.
-					CloseNetSim();
-					break;
-					}
-									
-				// Test case LBS-LastKnownPos-0006
-				case 6:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-											
-					CLbsAdmin* adminApi = CLbsAdmin::NewL();
-					CleanupStack::PushL(adminApi);
-					
-					adminApi->Set(KLbsSettingHomeSelfLocate, CLbsAdmin::ESelfLocateOff);
-					
-					TPositionInfo posInfo;
-
-					// Get the last known position
-					err = DoLastKnownPosL(posInfo);
-					if (KErrAccessDenied != err)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(adminApi);
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					SwitchOnselfLocateAPIL();
-
-					break;		
-					}
-
-				// Test case LBS-LastKnownPos-0007
-				case 7:
-				// Test case LBS-LastKnownPos-0102
-				case 102:
-					{
-					T_LbsUtils utils;
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-                    if(testCaseId==102)
-	                    {
-	                    // For this test an additional reference position will be returned.
-					
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-							
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-							
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-							SetTestStepResult(EFail);							
-							}
-								
-						// Verify reference position.
-						TPositionInfo verifyRefPosInfo;
-							
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-							SetTestStepResult(EFail);
-							}	
-	                    }
-														
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo notifyPosInfo;
-					TInt err = DoNotifyUpdateL(notifyPosInfo);
-					User::LeaveIfError(err);
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-
-				
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					posInfoArr.Append(posInfo);
-
-					// Get the last known position
-					CT_LbsAsyncWaiter*	waiter = CT_LbsAsyncWaiter::NewL();
-					CleanupStack::PushL(waiter);
-
-					User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-																	CRequestor::EFormatApplication,
-																	_L("Tom Tom")));
-																	
-					iPositioner.GetLastKnownPosition(*posInfo, waiter->iStatus);
-									
-					TInt errCancel = iPositioner.CancelRequest(EPositionerGetLastKnownPosition);
-						
-					waiter->StartAndWait();
-
-					TInt errLkp = waiter->Result();
-
-					CleanupStack::PopAndDestroy(waiter);
-					
-					// Sync Cancel() call returns either KErrNone or KErrNotFound. 
-					if ( errCancel != KErrNone && errCancel != KErrNotFound )
-						{
-						INFO_PRINTF1(_L("<FONT><B>Cancel must return KErrNone or KErrNotFound</B></FONT>"));
-						SetTestStepResult(EFail);									
-						}
-					// If Cancel() returns KErrNone, then the original request may complete with KErrCancel.
-					if (errCancel != KErrNone &&  (errLkp != KErrCancel && errLkp != KErrNone )  )
-						{
-						INFO_PRINTF1(_L("<FONT><B>Cancel must return KErrCancel or KErrNone</B></FONT>"));
-						SetTestStepResult(EFail);									
-						}
-						
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-					if (testCaseId == 102)
-						{
-						CloseNetSim();
-						}			
-					break;		
-					}		
-					
-				// Test case LBS-LastKnownPos-0008
-				case 8:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// DONT get the last known position, but DO cancel
-					err = iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-					
-					if (KErrNotFound != err)
-						{
-						//Didnt cancel or complete successfully.
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-									
-					break;		
-					}	
-					
-
-				// Test case LBS-LastKnownPos-0009
-				case 9:
-					{
-					//DONT open connection to Position Server
-
-					TPositionInfo posInfo;
-
-					// Get the last known position, THIS SHOULD PANIC WITH EPositionServerBadHandle
-					TRequestStatus status;
-					iPositioner.GetLastKnownPosition(posInfo, status);
-					err = iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-
-					if (KErrNone == err)
-						{
-						//Completed Successfully.
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					SwitchOnselfLocateAPIL();
-					
-					break;		
-					}	
-					
-
-				// Test case LBS-LastKnownPos-0012
-				case 12:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo notifyPosInfo;
-					User::LeaveIfError(DoNotifyUpdateL(notifyPosInfo));
-
-					TPositionInfo posInfo;
-
-					// Get the last known position while self Locate Server is busy
-					err = DoLastKnownPosL(posInfo);
-
-					if (KErrServerBusy != err)
-						{
-						// Completed successfully.
-						INFO_PRINTF1(_L("<FONT><B>**Test should pass if GetLastKnownPosition() fails with KErrServerBusy **</B></FONT>"));
-						SetTestStepResult(EFail);
-						}
-					CleanupStack::PopAndDestroy(&iPositioner);
-					break;	
-					}
-			
-			
-				// Test case LBS-LastKnownPos-0014
-				case 14:
-					{
-					// Testcase placeholder
-					// Request multiples LKPs from different clients concurrently 
-					SetTestStepResult(EFail);						
-					break;
-					}
-			
-			
-				// Test case LBS-LastKnownPos-0015
-				case 15:
-				// Test case LBS-LastKnownPos-0103
-				case 103:
-					{
-					T_LbsUtils utils;
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);		
-					if(testCaseId==103)
-	                    {
-	                    // For this test an additional reference position will be returned.
-					
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-							
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-							
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-							SetTestStepResult(EFail);							
-							}
-								
-						// Verify reference position.
-						TPositionInfo verifyRefPosInfo;
-							
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-							SetTestStepResult(EFail);
-							}	
-	                    }
-																				
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo notifyPosInfo;
-					TInt err = DoNotifyUpdateL(notifyPosInfo);
-					User::LeaveIfError(err);
-					
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					
-					
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-					
-					CT_LbsAsyncWaiter*	waiter = CT_LbsAsyncWaiter::NewL();
-					CleanupStack::PushL(waiter);
-					
-					TInt numpositions = iParent.iSharedData->iVerifyPosInfoArr.Count();
-					while(numpositions--)
-						{
-						RPositioner positioner;
-						// Open positioner.
-						User::LeaveIfError(positioner.Open(iServer));
-						CleanupClosePushL(positioner);		
-												
-						TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-						posInfoArr.Append(posInfo);
-
-						// LastKnownPosition from multiple sub sessions
-
-						User::LeaveIfError(positioner.SetRequestor(	CRequestor::ERequestorService,
-																		CRequestor::EFormatApplication,
-																		_L("Tom Tom")));
-																		
-						positioner.GetLastKnownPosition(*posInfo, waiter->iStatus);
-						waiter->StartAndWait();
-						TInt res = waiter->Result();
-						
-						if(KErrNone != res)
-							{
-							//One of the LKPs failed, so test fails.
-							SetTestStepResult(EFail);
-							}
-						CleanupStack::PopAndDestroy(&positioner);
-						}
-
-						CleanupStack::PopAndDestroy(waiter);
-						CleanupStack::PopAndDestroy(&iPositioner);
-					    if (testCaseId == 103)
-							{
-							CloseNetSim();
-							}
-					break;	
-					}
-				// Test case LBS-LastKnownPos-0016
-				case 16:
-				// Test case LBS-LastKnownPos-0104
-				case 104:
-					{
-					T_LbsUtils utils;
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-                    if(testCaseId==104)
-	                    {
-	                    // For this test an additional reference position will be returned.
-					
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-							
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-							
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-							SetTestStepResult(EFail);							
-							}
-								
-						// Verify reference position.
-						TPositionInfo verifyRefPosInfo;
-							
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-							SetTestStepResult(EFail);
-							}	
-	                    }
-		
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo notifyPosInfo;
-					User::LeaveIfError(DoNotifyUpdateL(notifyPosInfo));
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-
-				
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					TInt numPositions = iParent.iSharedData->iVerifyPosInfoArr.Count();
-					while(numPositions--)
-						{
-						TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-						posInfoArr.Append(posInfo);
-						
-						err = DoLastKnownPosL(*posInfo);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						}
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-					if (testCaseId == 104)
-						{
-						CloseNetSim();
-						}
-					break;	
-					}
-				// Test case LBS-LastKnownPos-0105	
-				case 105:
-			    	{
-			    	T_LbsUtils utils;
-			    	TPositionModuleId networkModuleId = utils.GetNetworkModuleIdL(iServer);
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer, networkModuleId));
-					CleanupClosePushL(iPositioner);
-
-					// Setup netsim.
-					User::LeaveIfError(OpenNetSim());
-						
-					TPosition pos;		// original position
-					TTime timeStamp;	// timestamp inside original received position
-					
-					// Carry out a notify update to ensure last known cache is filled.
-					TPositionInfo actualRefPosInfo;
-						
-					err = DoNotifyUpdateL(actualRefPosInfo);
-										
-					if (err)
-						{
-						INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-						SetTestStepResult(EFail);							
-						}
-												
-					// get the position data:
-					actualRefPosInfo.GetPosition(pos);
-					
-					timeStamp = pos.Time();
-					INFO_PRINTF1(_L("Original position timeStamp: "));
-					INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-					INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().Second());
-						
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-	
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					posInfoArr.Append(posInfo);
-
-					// Get the last known position
-					err = DoLastKnownPosL(*posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					else
-						{								
-						TTime timeStamp_cached;		
-						posInfo->GetPosition(pos);	
-						timeStamp_cached = pos.Time();
-						
-						timeStamp = pos.Time();
-						INFO_PRINTF1(_L("Cached position timeStamp: "));
-						INFO_PRINTF4(_L("%d/%d/%d"), timeStamp_cached.DateTime().Day() + 1, timeStamp_cached.DateTime().Month() + 1, timeStamp_cached.DateTime().Year());
-						INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp_cached.DateTime().Hour(), timeStamp_cached.DateTime().Minute(), timeStamp_cached.DateTime().Second(), timeStamp_cached.DateTime().Second());
-													
-						// verify that the timestamp matches the original one:
-						if(timeStamp_cached != timeStamp)
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						}
-														
-					CleanupStack::PopAndDestroy(&iPositioner);
-					// Close netsim.
-					CloseNetSim();
-					break;
-					}
-				
-				default:
-					{
-					User::Leave(KErrArgument);
-					}
-				}
-			}
-
-		// All done, clean up.
-
-		CleanupStack::PopAndDestroy(&iServer);		
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_LastKnownPos::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepmultireq.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,470 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstepmultireq.cpp
-// This is the class implementation for the Multi-Request Tests
-// 
-//
- 
-#include "ctlbsclientstepmultireq.h"
-
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbspositioninfo.h>
-#include <lbsipc.h>
-
-#include "tlbsutils.h"
-
-// constant definitions
-_LIT(KLbsClientStepMultiReq, "LbsClientStepMultiReq");
-
-
-/**
- * Destructor
- */
-CT_LbsClientStep_MultiReq::~CT_LbsClientStep_MultiReq()
-	{
-	delete	iGetLastKnownPosAO;
-	delete	iNotifyPosUpdateAO;	
-	delete  iTimer;
-	delete 	iTempPosInfo;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsClientStep_MultiReq::CT_LbsClientStep_MultiReq(CT_LbsClientServer& aParent) : CT_LbsClientStep(aParent), iState(EStateUnknown), iTempPosInfo(NULL)
-	{
-	SetTestStepName(KLbsClientStep_MultiReq);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_MultiReq* CT_LbsClientStep_MultiReq::NewL(CT_LbsClientServer& aParent)
-	{
-	return new(ELeave) CT_LbsClientStep_MultiReq(aParent);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_MultiReq* CT_LbsClientStep_MultiReq::New(CT_LbsClientServer& aParent)
-	{
-	return new CT_LbsClientStep_MultiReq(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	}
-	
-
-/**
- * 	Callback - called when NotifyPositionUpdate request completes
- */
-void CT_LbsClientStep_MultiReq::NotifyPositionUpdateCallback(TRequestStatus& aStatus)
-/**
- *	Called when async NotifyPositionUpdate completes
- */
-	{
-	TInt testCaseId;
-
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-		{
-		switch (testCaseId)
-			{
-			case 01:		// multiple requests of different types
-				{
-				if(KErrNone == aStatus.Int())
-					{
-					switch(iState)
-						{
-						case EStateUnknown:					
-							{
-							iState = EStateLastNotifyPositionUpdateComplete;
-							}
-							break;
-							
-						case EStateLastKnownPositionComplete:
-							{ 
-							iState = EStateDone;
-							AsyncTidyUp();
-							// note: we'll now drop back into the main test step
-							}
-							break;			
-							
-						case EStateLastNotifyPositionUpdateComplete:
-						case EStateDone :								
-						// fall through
-						default:
-							{
-							User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-							}
-							break;	
-						}	
-					}
-				else
-					{
-					INFO_PRINTF2(_L("NotifyModuleStatusEvent completed. Status = %d"), aStatus.Int());	
-					SetTestStepResult(EFail);
-					AsyncTidyUp();
-					}
-				}// end case 01
-				break;
-			case 02:	// 
-				{
-				switch(iState)
-					{
-					case EStateUnknown:					
-						{
-						iState = EStateLastNotifyPositionUpdateComplete;
-						}
-						break;						
-
-					case EStateLastKnownPositionComplete:
-						{
-						iState = EStateDone;
-						AsyncTidyUp();
-						}
-						break;
-	
-					case EStateLastNotifyPositionUpdateComplete:											
-					case EStateDone :								
-					// fall through
-					default:
-						{
-						User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-						}
-						break;	
-					}	
-				}
-				break;
-			default:
-				{
-				User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-				}
-			
-			}// end switch testCaseId
-		}// end if GetIntFromConfig
-	}
-
- 
- 
-/**
- * 	Callback - called when GetLastKnownPosition request completes
- */
-void CT_LbsClientStep_MultiReq::GetLastKnownPositionCallback(TRequestStatus& aStatus)
-/**
- *	Called when NotifyModuleStatusEvent completes
- */
-	{
-	TInt testCaseId;
-
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-		{
-		switch (testCaseId)
-			{
-			case 01:		// multiple requests of different types
-				{
-				if(KErrNone == aStatus.Int())
-					{
-					switch(iState)
-						{
-						case EStateUnknown:					
-							{
-							iState = EStateLastKnownPositionComplete;
-							}
-							break;
-							
-						case EStateLastNotifyPositionUpdateComplete:				
-							{ 
-							iState = EStateDone;
-							AsyncTidyUp();
-							// note: we'll now drop back into the main test step
-							}
-							break;			
-							
-						case EStateLastKnownPositionComplete:
-						case EStateDone :								
-						// fall through
-						default:
-							{
-							User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-							}
-						break;
-						
-						}	
-					}
-				else
-					{
-					INFO_PRINTF2(_L("NotifyModuleStatusEvent completed. Status =%d"), aStatus.Int());	
-					SetTestStepResult(EFail);
-					AsyncTidyUp();
-					}
-					
-				}// end case 01
-				break;
-			case 02: // NotifyPositionUpdate then GetLKP, latter cancelled
-				{
-				switch(iState)
-					{
-					case EStateUnknown:
-						{
-						iState = EStateLastKnownPositionComplete;
-						TInt err = aStatus.Int();
-						switch(err)
-							{
-							case KErrNone:
-								{
-								INFO_PRINTF1(_L("MultiReq test: Last Known Position request completed successfully"));
-								}
-								break;
-							case KErrCancel:
-								{
-								INFO_PRINTF1(_L("MultiReq test: Last Known Position request completed with KErrCancel"));
-								}
-								break;
-							case KErrUnknown:
-								{
-								INFO_PRINTF1(_L("MultiReq test: Last Known Position request completed with KErrUnknown"));
-								}
-								break;
-							default:
-								{
-		
-								SetTestStepResult(EFail);
-								AsyncTidyUp();								
-								}
-								break;
-							}
-						}
-						break;
-																	
-					case EStateLastNotifyPositionUpdateComplete:	
-						{
-						iState = EStateDone;
-						TInt err = aStatus.Int();
-						if(KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						AsyncTidyUp();
-						}
-						break;
-						
-					case EStateLastKnownPositionComplete:						
-					case EStateDone :								
-					// fall through
-					default:
-						{
-						User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-						}					
-					}// end switch(iState)
-				}// end case 2
-				break;
-				
-			default:
-				{
-				User::Panic(KLbsClientStepMultiReq, KErrUnknown);
-				}
-			break;				
-			}
-		}			
-	}
-	
-	
-/**
- *	tidy up everything
- */
-void CT_LbsClientStep_MultiReq::AsyncTidyUp()
-	{
-	if ( iTimer->IsActive() )
-		{
-		iTimer->Cancel();
-		}	
-	// Cancel any outstanding requests (to be tested):
-	if(iNotifyPosUpdateAO->IsActive())
-		{
-		iNotifyPosUpdateAO->Cancel();
-		}
-	if(iGetLastKnownPosAO->IsActive())
-		{
-		iGetLastKnownPosAO->Cancel();
-		}
-	CActiveScheduler::Stop();
-	}
-	
-	
-/**
- *	Callback function - called if timer fires (requests did not all complete in time)
- */
-static TInt TimerCallback(TAny* aPointer)
-	{
-	//the timer expired and we have not got the responses to our lbs requests
-	static_cast<CT_LbsClientStep_MultiReq*>(aPointer)->INFO_PRINTF1(_L(">>TEST FAILED: timer fired"));
-	static_cast<CT_LbsClientStep_MultiReq*>(aPointer)->AsyncTidyUp();
-	static_cast<CT_LbsClientStep_MultiReq*>(aPointer)->SetTestStepResult(EFail);
-
-	return KErrNone;	
-	}
-	
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_MultiReq::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_MultiReq::doTestStepL()"));
-		
-	if (TestStepResult()==EPass)
-		{		
-		// Connect to self locate server.
-		User::LeaveIfError(iServer.Connect());
-		CleanupClosePushL(iServer);
-		
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-			switch (testCaseId)
-				{
-				case 01:		// multiple requests of different types
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// Carry out a notify update to ensure last known cache is filled (note: this blocks!)
-					TPositionInfo notifyPosInfo;
-					User::LeaveIfError(DoNotifyUpdateL(notifyPosInfo));
-
-					// Create 2 posinfos and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfoLastKnown = new(ELeave) TPositionInfo();
-					TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-							
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					// these get deleted by the base class destructor
-					posInfoArr.Append(posInfoLastKnown);
-					posInfoArr.Append(posInfoNotifyUpd);
-
-					// Start GetLastKnownPosition request:
-					iGetLastKnownPosAO = CT_LbsClientGetLastKnownPosAO::NewL(*this);					
-				
-					iGetLastKnownPosAO->GetLastKnownPosL(iPositioner, *posInfoLastKnown);
-					
-					// Start NotifyPositionUpdate request:
-					iNotifyPosUpdateAO = CT_LbsClientNotifyPosUpdAO::NewL(*this);
-					
-					iNotifyPosUpdateAO->NotifyPosUpdateL(iPositioner, *posInfoNotifyUpd);
-					
-					// Start a timer to make sure neither of above times out:
-					iTimer = CPeriodic::New(CActive::EPriorityStandard);						
-					TCallBack callbackFunction = TCallBack(TimerCallback, this);
-					iTimer->Start( delay10Seconds, 0, callbackFunction);
-					
-					// can start the scheduler now as there are async requests issued
-					CActiveScheduler::Start();
-					
-					// All requests have now completed (and scheduler stopped)
-					
-					CleanupStack::PopAndDestroy(&iPositioner);					
-					} // end case 1
-					break;
-					
-				case 02:	// cancel one of two outstanding requests
-					{
-					TInt expected_error;
-					// For the S60 Loc Server the test will return KErrNone instead of KErrNotFound.
-					if(!GetIntFromConfig(ConfigSection(), KExpected_Error, expected_error))
-						{
-						expected_error = KErrNotFound;
-						}
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-							
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					// this gets deleted by the base class destructor:
-					posInfoArr.Append(posInfoNotifyUpd);
-					
-					// Start NotifyPositionUpdate request:
-					iNotifyPosUpdateAO = CT_LbsClientNotifyPosUpdAO::NewL(*this);
-					
-					iNotifyPosUpdateAO->NotifyPosUpdateL(iPositioner, *posInfoNotifyUpd);
-											
-					// Start a GetLastKnownPosition:
-					// don't put in verify array as this may be cancelled:
-					iTempPosInfo = new(ELeave) TPositionInfo();
-					
-					iGetLastKnownPosAO = CT_LbsClientGetLastKnownPosAO::NewL(*this);					
-				
-					iGetLastKnownPosAO->GetLastKnownPosL(iPositioner, *iTempPosInfo);
-					
-					// cancel the last known position. Note that we do this directly, NOT by calling the AO's cancel()
-					// so that the AO's RunL(), and therefore our callback, will be called and we can check the result
-					TInt err;
-					err = iPositioner.CancelRequest(EPositionerGetLastKnownPosition);
-					if(expected_error != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					
-					// Start a timer to make sure neither of above times out:
-					iTimer = CPeriodic::New(CActive::EPriorityStandard);						
-					TCallBack callbackFunction = TCallBack(TimerCallback, this);
-					
-					//
-					// 
-					// NB - THIS VALUE WAS 10 SEC AND THE TIMER EXPIRED, CAUSING THE TEST
-					// TO FAIL. NEED TO FIND OUT WHY THIS VALUE IS OK BUT THAT ONE WAS NOT.
-					// PUT BACK TEMPORARILY TO GET RID OF REGRESSION FAILURE
-					//
-					iTimer->Start(22000000, 0, callbackFunction);
-					
-					// can start the scheduler now as there are async requests issued
-					CActiveScheduler::Start();
-					
-					// All requests have now completed
-					
-					CleanupStack::PopAndDestroy(&iPositioner);					
-					}
-					break;
-					
-				default:
-					{
-					User::Leave(KErrArgument);
-					}
-				}// end switch
-			}//end if GetIntFromConfig
-					
-		CleanupStack::PopAndDestroy(&iServer);	
-
-		} // end if TestStepResult
-		
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_MultiReq::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepnotifyposupdate.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1494 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstep_notifyposupdate.cpp
-// This is the class implementation for the Notify Position Update Tests
-// 
-//
- 
-#include "ctlbsclientstepnotifyposupdate.h"
-
-#include <lbs.h>
-#include <lbssatellite.h>
-
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-
-
-// constant definitions
-_LIT(KLbsClientStepNotifyPosUpdate, "LbsClientStepNotifyPosUpdate");
-
-//profile_id in ini file
-_LIT(KLbsProfileId, "profile_id");
-
-//max_time in ini file
-_LIT(KLbsMaxTime, "max_time");
-
-
-const TTimeIntervalMicroSeconds KModuleTimeout = 6000000;//makes test module time out(which should be more than the Maxtime in lbsprofile.ini)
-
-/**
- *	Sets a Requestor for now - TODO will be removed with new location server
- */
-void CT_LbsClientStep_NotifyPosUpdate::TempSetRequestorL()
- 	{	
-	User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-												CRequestor::EFormatApplication,
-												_L("Tom Tom")));
- 	}
-
-
-/**
- * Destructor
- */
-CT_LbsClientStep_NotifyPosUpdate::~CT_LbsClientStep_NotifyPosUpdate()
-	{
-	delete 	iLbsAdmin;	
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsClientStep_NotifyPosUpdate::CT_LbsClientStep_NotifyPosUpdate(CT_LbsClientServer& aParent) : CT_LbsClientStep(aParent),iLbsAdmin(NULL),iRequestedAssData(FALSE), iReceivedAssData(FALSE)
-	{
-	
-	SetTestStepName(KLbsClientStep_NotifyPosUpdate);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_NotifyPosUpdate* CT_LbsClientStep_NotifyPosUpdate::New(CT_LbsClientServer& aParent)
-	{
-	
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	
-	CT_LbsClientStep_NotifyPosUpdate* testStep = new CT_LbsClientStep_NotifyPosUpdate(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-void CT_LbsClientStep_NotifyPosUpdate::ConstructL()
-	{
-	// create the admin
-	iLbsAdmin = CLbsAdmin::NewL();
-
-	}
-
-//from MT_NotifyPosUpdateObserver:
-/**
- * 	Callback - called when NotifyPositionUpdate request completes
- */
-
-void CT_LbsClientStep_NotifyPosUpdate::NotifyPositionUpdateCallback(TRequestStatus& aStatus)
-	{
-	TInt err = aStatus.Int();
-	if (KErrCancel != err)	
-		{
-		SetTestStepResult(EFail); // the request always gets cancelled (see test 0122)
-		}
-	CActiveScheduler::Stop();
-	}
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_NotifyPosUpdate::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_NotifyPosUpdate::doTestStepL()"));
-
-	if (TestStepResult()==EPass)
-		{
-		TInt err = KErrNone;
-				
-		// Connect to self locate server.
-		err = iServer.Connect();
-		User::LeaveIfError(err);
-		CleanupClosePushL(iServer);
-		
-		// Carryout unique test actions.
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-				switch (testCaseId)
-				{
-				// Test case LBS-NotifyPosUpdate-0001
-				case 1:
-				case 29: // Test case LBS-NotifyPosUpdate-0029
-				case 30: // Test case LBS-NotifyPosUpdate-0030
-				case 101:
-				case 105:
-				case 201: // in Lbs "original" mode no ref position!	
-					{
-					T_LbsUtils utils;
-
-					// Open positioner.
-					err = iPositioner.Open(iServer);
-					User::LeaveIfError(err);
-					CleanupClosePushL(iPositioner);
-
-					// For this test an additional reference position will be returned.
-					if ((testCaseId == 101) || (testCaseId == 105))
-						{
-						
-						if (testCaseId == 105)
-							{	
-							TModuleDataIn modDataIn; // Used to send test information to the test module.
-							modDataIn.iRequestType = TModuleDataIn::EModuleRequestTestMode;
-							modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_EarlyPosUpdates;
-							// Inform the test module of the required test mode - will block.
-							utils.NotifyModuleOfConfigChangeL(modDataIn);
-							}
-						
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-						
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-						
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-
-							SetTestStepResult(EFail);							
-							}
-							
-						// Verify reference position.
-						TPositionInfo verifyRefPosInfo;
-						
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							if(!iParent.iSharedData->iTestModuleInUse)
-								{
-								WARN_PRINTF1(_L("WARNING: position received was not reference position"));	
-								}
-							else
-								{	
-								INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-								SetTestStepResult(EFail);
-								}
-							}
-						}
-
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-	
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					posInfoArr.Append(posInfo);
-	
-					// Get the actual position
-					err = DoNotifyUpdateL(*posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					// Cleanup.
-					CleanupStack::PopAndDestroy(&iPositioner);
-					if ((testCaseId == 101) || (testCaseId == 105))
-						{
-						CloseNetSim();
-						}
-				 
-					break;
-					}
-
-				
-				// Test case LBS-NotifyPosUpdate-0003		
-				case 3:
-					{
-					// Select the Network module because it does not support TPositionSatelliteInfo,
-					// then request position update and expect satellite info, which should return
-					// in KErrArgument.
-					TPositionModuleId	modId;
-					
-					T_LbsUtils utils;
-					modId = utils.GetNetworkModuleIdL(iServer);
-
-					// Select the network module.
-					User::LeaveIfError(iPositioner.Open(iServer, modId));
-					CleanupClosePushL(iPositioner);
-
-					// Try to get the actual position, using TPositionSatellite which is not
-					// supported by the selected module.
-					TPositionSatelliteInfo posInfo;
-					
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrArgument == err)
-						{
-						INFO_PRINTF2(_L("correct err %d returned"), err);
-						}
-					else
-						{
-						INFO_PRINTF2(_L("incorrect err %d returned"), err);
-						SetTestStepResult(EFail);
-						}						
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-					break;
-					}
-					
-				// Test case LBS-NotifyPosUpdate-0005						
-				case 5:	
-					{
-				
-					CLbsAdmin::TSelfLocateService selflocate;
-					
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeSelfLocate, CLbsAdmin::ESelfLocateOff));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeSelfLocate, selflocate));
-					
-					if(selflocate != CLbsAdmin::ESelfLocateOff)
-						{
-						SetTestStepResult(EFail);
-						}
-					else
-						{
-						// Open positioner.
-						err = iPositioner.Open(iServer);
-						User::LeaveIfError(err);
-						CleanupClosePushL(iPositioner);
-
-						TPositionInfo notifyPosInfo;
-						err = DoNotifyUpdateL(notifyPosInfo);
-						if(KErrAccessDenied != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						}
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeSelfLocate, CLbsAdmin::ESelfLocateOn));
-
-				    CleanupStack::PopAndDestroy(&iPositioner);
-	
-					}
-					break;
-				
-				// Test case LBS-NotifyPosUpdate-0006	
-				case 6:	
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					TPositionInfo posInfoNotifyUpd;
-					
-					TRequestStatus status;
-					TBool cancelled;
-					
-					TempSetRequestorL();
-					iPositioner.NotifyPositionUpdate(posInfoNotifyUpd, status);
-					
-					TInt err = iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-					
-					if(KErrNone == err)
-						{
-							cancelled = TRUE;
-						}
-					else
-						{
-							cancelled = FALSE;
-						}
-											
-					// this should complete with either KErrNone or KErrCancel
-					User::WaitForRequest(status);
-					
-					err = status.Int();
-					
-					if(cancelled)
-						{
-						if((KErrCancel != err) && (KErrNone != err))
-							{
-							SetTestStepResult(EFail); 
-							}
-						}
-					else
-						{
-						if(KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						}
-											
-					CleanupStack::PopAndDestroy(&iPositioner);					
-
-					}
-					break;
-					
-			  	// Test case LBS-NotifyPosUpdate-0007
-				case 7:
-					{
-					// Note: Not connecting to position server.
-					TPositionInfo notifyPosInfo;
-					TRequestStatus status;
-					
-					// should panic with EPositionServerBadHandle 
-					iPositioner.NotifyPositionUpdate(notifyPosInfo, status);
-					}
-					break;
-					
-				// Test case LBS-NotifyPosUpdate-0008
-				case 8:	
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-				
-					TPositionInfo notifyPosInfo, notifyPosInfo2;
-					TRequestStatus status, status2;
-					
-					TempSetRequestorL();
-					// attempt multiple NotifyPositionUpdates on same subsession:
-					iPositioner.NotifyPositionUpdate(notifyPosInfo, status);
-					
-					// expected to panic with EPositionDuplicateRequest:
-					iPositioner.NotifyPositionUpdate(notifyPosInfo2, status2);
-					
-					// need to block here so that loc server can run and recieve both
-					// requests - its the second request that causes the panic!
-					if(iExpectedApiBehaviour == EApiVariant1)
-						{
-						User::After(1);
-						}
-					else
-						{
-						// takes longer with this api 
-						User::After(10);
-						}
-					// if we get here, we've failed to panic
-					SetTestStepResult(EFail);
-										
-					CleanupStack::PopAndDestroy(&iPositioner);					
-					}
-					break;						
-					
-				// Test case LBS-NotifyPosUpdate-0014	INCOMPLETE
-				case 14:
-					{
-					// Set 'autonomous' mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsAutonomous));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					// TODO: figure out how to get notifications of assistance data requests (MLbsNetSimTestObserver?)
-					// If we get notification before Notify Update completes, then we fail
-					
-					if(mode != CLbsAdmin::EGpsAutonomous)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-							
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					
-					
-					}
-					break;
-
-				// Test case LBS-NotifyPosUpdate-0015	UNSUPPORTED
-				case 15:
-					{
-					// this test should not be run; lbs currently doesn't support AlwaysTerminalBased mode
-					__ASSERT_ALWAYS(FALSE, User::Panic(_L("LBS-NotifyPosUpdate-0015 should not be run"), KErrNotSupported));					
-					
-					// Set 'assisted-only' (EGpsAlwaysTerminalBased) mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsAlwaysTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					// TODO: figure out how to get notifications of assistance data requests (MLbsNetSimTestObserver?)
-					// If we do not get notification before Notify Update completes, then we fail
-					
-					if(mode != CLbsAdmin::EGpsAlwaysTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);	// can use this blocking version if netsim uses callbacks for assistance data notifications
-						// TODO iRequestedAssData needs to be set in assist data callback
-						if (KErrNone != err || !iRequestedAssData || !iReceivedAssData)
-							{
-							SetTestStepResult(EFail);
-							}
-							
-						// verify that preferred positioning mode was used:
-						if(EPositionModeReasonNone != posInfoNotifyUpd->PositionMode())
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					}
-					break;
-					
-				// Test case LBS-NotifyPosUpdate-0016	INCOMPLETE
-				case 16:
-					{
-					// Set 'assisted-if-possible' (EGpsPreferTerminalBased) mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsPreferTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					#pragma message("TO DO: LBS-NotifyPosUpdate-0016	INCOMPLETE")					
-					// figure out how to get notifications of assistance data requests (MLbsNetSimTestObserver?)
-					// If we do not get notification before Notify Update completes, then we fail
-					
-					// do we need to do something to make sure that we require assistancce data (no assistance data already retrieved)?
-					
-					// Configure NetSim to indciate that network is not available
-					
-					
-					if(mode != CLbsAdmin::EGpsPreferTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);	// can use this blocking version if netsim uses callbacks for assistance data notifications
-						if (KErrNone != err || !iRequestedAssData)
-							{
-							SetTestStepResult(EFail);
-							}
-							
-						// verify that preferred positioning mode was not used:
-						if(EPositionModeReasonNetworkError != posInfoNotifyUpd->PositionMode())
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					}
-					break;
-					
-				// Test case LBS-NotifyPosUpdate-0017	UNSUPPORTED
-				case 17:
-					{
-					// this test should not be run; lbs currently doesn't support AlwaysTerminalBased mode
-					__ASSERT_ALWAYS(FALSE, User::Panic(_L("LBS-NotifyPosUpdate-0017 should not be run"), KErrNotSupported));
-										
-					// Set 'assisted-only' (EGpsAlwaysTerminalBased) mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsAlwaysTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));					
-					
-					// Configure NetSim to indciate that network is not available
-					
-					
-					if(mode != CLbsAdmin::EGpsAlwaysTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-										
-						TPositionInfo posInfoNotifyUpd;
-						
-						err = DoNotifyUpdateL(posInfoNotifyUpd);	// can use this blocking version if netsim uses callbacks for assistance data notifications
-						if (KErrPositionMethodFailure != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					}
-					break;
-					
-				// Test case LBS-NotifyPosUpdate-0018	INCOMPLETE
-				case 18:
-					{
-					#pragma message("TO DO: LBS-NotifyPosUpdate-0018	INCOMPLETE")
-					// Set 'assisted-if-possible' (EGpsPreferTerminalBased) mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsPreferTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					// TODO: figure out how to get notifications of assistance data requests (MLbsNetSimTestObserver?)
-					// If we do not get notification before Notify Update completes, then we fail
-					
-					// TODO: do we need to do something to make sure that we require assistancce data (no assistance data already retrieved)?
-					
-					// TODO Configure NetSim to return bad/no assistance data
-					// this may involve writing an assistance data plugin to provide bad data!?
-					
-					if(mode != CLbsAdmin::EGpsPreferTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);	// can use this blocking version if netsim uses callbacks for assistance data notifications
-						if (KErrNone != err || !iRequestedAssData)
-							{
-							SetTestStepResult(EFail);
-							}
-							
-						// verify that preferred positioning mode was not used and appropriate reason given:
-						if(EPositionModeReasonDataError != posInfoNotifyUpd->PositionMode())
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					}
-					break;
-
-				// Test case LBS-NotifyPosUpdate-0019
-				case 19:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-			
-					// Create a posinfos and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-							
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-					
-					TInt numPositions = iParent.iSharedData->iVerifyPosInfoArr.Count();
-					while(numPositions--)
-						{
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						User::After(500*1000); 	// on Winscw all the target time requests
-												// can get stamped with exactly the same
-												// time and thus all three requests may be
-												// satified from the one the bus
-												// then the test fails! This behaviour is OK but 
-												// not what the test is trying to test for . Hence ensure
-												// all three target times are different by the delay
-
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						}
-	
-					// Cleanup.
-					CleanupStack::PopAndDestroy(&iPositioner);
-					}
-					break;									
-
-			    // Test case LBS-NotifyPosUpdate-0022	
-			    case 22:
-					{
-					TInt profileid_ini,maxtime_ini;
-			        TBool profileid_exists,maxtime_exists;
-			        profileid_exists = GetIntFromConfig(ConfigSection(), KLbsProfileId, profileid_ini);
-		            if(!profileid_exists)
-						{
-						INFO_PRINTF1(_L("Could not get profileid from ini file"));
-			    		SetTestStepResult(EFail);
-			    		}
-					
-			    	maxtime_exists = GetIntFromConfig(ConfigSection(), KLbsMaxTime, maxtime_ini);
-		            if(!maxtime_exists)
-						{
-						INFO_PRINTF1(_L("Could not get maxtime from ini file"));
-			    		SetTestStepResult(EFail);
-			    		}
-										
-					TLbsQualityProfileId profileId;
-					//Set SelfLocate quality profile & valid id(which is exist in lbsprofile.ini)
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingQualityProfileSelfLocate, TLbsQualityProfileId(profileid_ini)));
-					// Verify that the setting is what we expect
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingQualityProfileSelfLocate, profileId));
-					if(profileId != TLbsQualityProfileId(profileid_ini))
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-						posInfoArr.Append(posInfoNotifyUpd);
-                        
-                        TTime timeRequested,timeReceived;
-                                               
-                        // Position requested at
-						timeRequested.UniversalTime();
-                                                                      
-                        //Do request position update
-                        err = DoNotifyUpdateL(*posInfoNotifyUpd);
-						if ((KErrNone != err) && (KPositionQualityLoss != err))
-							{
-							INFO_PRINTF2(_L("NotifyUpdate failed with %d "), err);	
-							SetTestStepResult(EFail);
-							}
-                        //Need to verify MaxTime 
-                        else						
-					     {
-					     // Check we dont have a final network postion
-					     if (posInfoNotifyUpd->PositionMode() & TPositionModuleInfo::ETechnologyNetwork)
-					     	{
-					     	INFO_PRINTF1(_L("Failed: Recieved a final network postion"));
-					     	SetTestStepResult(EFail);
-					     	}
-					     
-					     TPosition pos;
-						 posInfoNotifyUpd->GetPosition(pos);
-						 //Position received at
-						 timeReceived = pos.Time();
-					     
-					     //Timedifference between position actually received and position actually requested
-					     TInt64 timediff;
-	                     timediff = timeReceived.Int64() - timeRequested.Int64();
-	                	 //compare timediff with maxtime 
-						 if(timediff > maxtime_ini)
-							{
-							INFO_PRINTF1(_L("Failed: Position received outside time range"));
-							SetTestStepResult(EFail);									
-						    }
-					     					     
-					    }
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						}
-					}
-					break;
-					
-				// Test case LBS-NotifyPosUpdate-0024						
-				case 24: 					
-				// Test case LBS-NotifyPosUpdate-0025
-				case 25:
-					{				
-					    TInt profileid_ini;
-				        TBool profileid_exists;
-				        profileid_exists = GetIntFromConfig(ConfigSection(), KLbsProfileId, profileid_ini);
-			            if(!profileid_exists)
-							{
-							INFO_PRINTF1(_L("Could not get profileid from section"));
-				    		SetTestStepResult(EFail);
-				    		}
-											
-						TLbsQualityProfileId profileId;
-						//Set SelfLocate quality profile & valid id(which is exist in lbsprofile.ini) 
-						User::LeaveIfError(iLbsAdmin->Set(KLbsSettingQualityProfileSelfLocate, TLbsQualityProfileId(profileid_ini)));
-						// Verify that the setting is what we expect
-						User::LeaveIfError(iLbsAdmin->Get(KLbsSettingQualityProfileSelfLocate, profileId));
-						if(profileId != TLbsQualityProfileId(profileid_ini))
-							{
-							SetTestStepResult(EFail);
-							}
-						if(testCaseId==24) 
-						   {
-							//makes test module timeout
-							if (iParent.iSharedData->iTestModuleInUse)
-								{
-								T_LbsUtils utils;
-								TModuleDataIn modDataIn;
-
-								modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-								modDataIn.iTimeOut = KModuleTimeout;
-							
-								utils.NotifyModuleOfConfigChangeL(modDataIn);	// This will block.
-								}
-						   }
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-				
-						if(iExpectedApiBehaviour == EApiVariant2)	// variant2 version - set the timeout in update options since LocServer doesn't use timeout from quality profile
-							{
-							TPositionUpdateOptions options;
-							
-		 					options.SetUpdateInterval(0);
-		 					TTimeIntervalMicroSeconds maxFixTime;
-		 					if(testCaseId==24) 
-		 						{
-		 						maxFixTime = 1000000; // 1s (shorter than module delay)
-		 						}
-		 					else
-		 						{
-		 						maxFixTime = 80000000; // 80s (longer than module delay)
-		 						}
-							options.SetUpdateTimeOut(maxFixTime); 					
-		 					iPositioner.SetUpdateOptions(options);
-									
-							}						
-						TPositionInfo posInfoNotifyUpd;
-						//Do request to position update
-                        err = DoNotifyUpdateL(posInfoNotifyUpd);
-				        //Position received at
-						
-						if (testCaseId == 24)
-							{
-							if (err != KErrTimedOut)
-								{
-								INFO_PRINTF1(_L("<FONT><B>position update not failed with error -33</B></FONT>"));
-								SetTestStepResult(EFail);
-								}
-
-							}
-						else
-							{
-							if(iExpectedApiBehaviour == EApiVariant2)
-								{
-								// on timeout after only partial updates received (and partial not accepted) on s60 client gets 'timedout'
-								if (err != KErrTimedOut)
-									SetTestStepResult(EFail);								
-								}
-							else
-								{
-								if (err != KPositionQualityLoss)
-									SetTestStepResult(EFail);								
-								}
-							}				
-					    											
-						CleanupStack::PopAndDestroy(&iPositioner);
-					}
-					break;
-
-				// Test case LBS-NotifyPosUpdate-0027
-				case 27:
-				// Test case LBS-NotifyPosUpdate-0028
-				case 28:
-					{
-					TInt profileid_ini;
-			        TBool profileid_exists;
-			        TPositionUpdateOptions options;
-					T_LbsUtils utils;
-
-					profileid_exists = GetIntFromConfig(ConfigSection(), KLbsProfileId, profileid_ini);
-		            if(!profileid_exists)
-						{
-						INFO_PRINTF1(_L("Could not get profileid from ini file"));
-			    		SetTestStepResult(EFail);
-			    		}
-					
-					//Set SelfLocate quality profile & valid id(which is exist in lbsprofile.ini)
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingQualityProfileSelfLocate, TLbsQualityProfileId(profileid_ini)));
-
-					if(testCaseId==28) 
-					   {
-						//makes test module timeout
-						const TTimeIntervalMicroSeconds KModuleTimeout = 60000000; // 1 minute
-						if (iParent.iSharedData->iTestModuleInUse)
-							{
-							T_LbsUtils utils;
-							TModuleDataIn modDataIn;
-
-							modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-							modDataIn.iTimeOut = KModuleTimeout;
-								
-							utils.NotifyModuleOfConfigChangeL(modDataIn);	// This will block.
-							}
-					   }
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-			
-					// Create a posinfos and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					TPositionInfo* posInfoUpd = new(ELeave) TPositionInfo();
-					posInfoArr.Append(posInfoUpd);
-					
-					
- 					options.SetUpdateInterval(0);
- 					const TTimeIntervalMicroSeconds KMaxFix = 30000000; // 30s
-					options.SetUpdateTimeOut(KMaxFix); 					
- 					iPositioner.SetUpdateOptions(options);
-	
-					err = DoNotifyUpdateL(*posInfoUpd);
-					
-					if (testCaseId == 27)
-						{
-						if(iExpectedApiBehaviour == EApiVariant1)
-							{
-							if (err != KPositionQualityLoss)
-								SetTestStepResult(EFail);
-							}
-						else
-							{
-							if (err != KErrNone)
-								SetTestStepResult(EFail);							
-							}
-						}
-					else
-						{
-						if (err != KErrTimedOut)
-							SetTestStepResult(EFail);
-						}				
-					// Cleanup.
-					CleanupStack::PopAndDestroy(&iPositioner);
-					}
-					break;									
-				
-				case 26:
-					{
-					TTimeIntervalMicroSeconds maxFixTime;
-					
-					if(iExpectedApiBehaviour == EApiVariant1)
-						{
-						maxFixTime = 5000000;
-						}
-					else
-						{
-						maxFixTime = 5000000 + 15000000;	// on S60 the client timeout includes the interval time
-						}
-					//Set up a 15 second interval between updates, with a 5 second timeout
-					TPositionUpdateOptions posUpdateOpts(15000000, maxFixTime, 0, EFalse);
-
-					// Open positioner.											    
-					err = iPositioner.Open(iServer);
-					User::LeaveIfError(err);
-					if(err != KErrNone)
-						{
-						INFO_PRINTF1(_L("** SubSession Failed to open **"));
-						SetTestStepResult(EFail);	
-						}
-					CleanupClosePushL(iPositioner);
-
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-					CleanupStack::PushL(posInfo);
-
-					iPositioner.SetUpdateOptions(posUpdateOpts);	
-					User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-																CRequestor::EFormatApplication,
-																_L("Tom Tom")));
-					TRequestStatus status;		
-																			
-					//Ask for a position update (should get this one)
-					iPositioner.NotifyPositionUpdate(*posInfo,status);
-
-					User::WaitForRequest(status);						 	
-					if(status != KErrNone)
-						{
-						INFO_PRINTF2(_L("Failed test, expected KErrNone, request finished with err %d."), status.Int());
-						SetTestStepResult(EFail);
-						}			   
-
-const TTimeIntervalMicroSeconds KModuleTimeout = 60000000; // 1 minute
-const TTimeIntervalMicroSeconds KModuleNoTimeout = 0; 
-					// Set a delay in the test AGPS manager big enough to guarantee 
-					// we won't get a response to the next one
-					if (iParent.iSharedData->iTestModuleInUse)
-						{
-						T_LbsUtils utils;
-						TModuleDataIn modDataIn;
-
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-						modDataIn.iTimeOut = KModuleTimeout;
-						if(iExpectedApiBehaviour == EApiVariant2)
-							{
-							// turn off timeout after next update returned since by the time we turn off the timeout below it will be too late
-							modDataIn.iOneOffTimeOut = ETrue;
-							}
-						
-						utils.NotifyModuleOfConfigChangeL(modDataIn);	// This will block.
-						}
-
-					// Try again. Shouldn't get a response this time as it times out.
-					iPositioner.NotifyPositionUpdate(*posInfo,status);
-
-					User::WaitForRequest(status);	
-					if(status != KErrTimedOut)
-						{
-						INFO_PRINTF2(_L("Failed test, expected KErrTimedOut, request finished with err %d."), status.Int());
-						SetTestStepResult(EFail);
-						}			   
-
-					// Get rid of the AGPS manager delay.
-					if (iParent.iSharedData->iTestModuleInUse && iExpectedApiBehaviour == EApiVariant1)
-						{
-						T_LbsUtils utils;
-						TModuleDataIn modDataIn;
-
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-						modDataIn.iTimeOut = KModuleNoTimeout;
-							
-						utils.NotifyModuleOfConfigChangeL(modDataIn);	// This will block.
-						}
-	
-					//Ask for a position update (should get this one again)
-					iPositioner.NotifyPositionUpdate(*posInfo,status);
-
-					User::WaitForRequest(status);						 	
-					if(status != KErrNone)
-						{
-						INFO_PRINTF2(_L("Failed test, expected KErrNone, request finished with err %d."), status.Int());
-						SetTestStepResult(EFail);
-						}			   
-						
-					iPositioner.Close();
-
-					CleanupStack::PopAndDestroy(posInfo);
-					CleanupStack::PopAndDestroy(&iPositioner);
-					} // case 26
-				break;
-				 // Test case LBS-NotifyPosUpdate-0122	
-			    case 122:
-					{
-					const TLbsQualityProfileId KLbsTest0122QualityProfileId = 5;
-					TLbsQualityProfileId profileId122(KLbsTest0122QualityProfileId);
-					TLbsQualityProfileId oldProfileId(9);
-    				TESTL(KErrNone==iLbsAdmin->Get(KLbsSettingQualityProfileSelfLocate, oldProfileId));
-    				TESTL(KErrNone==iLbsAdmin->Set(KLbsSettingQualityProfileSelfLocate, profileId122));
-    				TESTL(KErrNone==iLbsAdmin->Get(KLbsSettingQualityProfileSelfLocate, profileId122));
-   			
-					if (profileId122 != KLbsTest0122QualityProfileId)
-						{
-						INFO_PRINTF2(_L("Fail test: profile should be 5 but its %d."), profileId122);
-						User::Leave(EFail);
-						}
-					
-					// the profile.ini file contains a MaxTime= 2147483647
-					CT_LbsClientNotifyPosUpdAO* notifyPosUpdateAO;
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-							
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					// this gets deleted by the base class destructor:
-					posInfoArr.Append(posInfoNotifyUpd);
-					
-					TModuleDataIn modDataIn;
-
-					modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-					modDataIn.iTimeOut = KModuleTimeout;
-						
-					utils.NotifyModuleOfConfigChangeL(modDataIn);	// This will block.
-			
-					// Start NotifyPositionUpdate request:
-					notifyPosUpdateAO = CT_LbsClientNotifyPosUpdAO::NewL(*this);
-					
-					notifyPosUpdateAO->NotifyPosUpdateL(iPositioner, *posInfoNotifyUpd);
-			//		User::After(3*1000*1000);
-		
-					TInt err = iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-					if(KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					// can start the scheduler now as there are async requests issued
-					CActiveScheduler::Start();
-						
-					CleanupStack::PopAndDestroy(&iPositioner);	
-					
-	 				iLbsAdmin->Set(KLbsSettingQualityProfileSelfLocate, oldProfileId);
-  
-				
-					}
-					break;
-						
- 				// Test that the final network position is not passed on to the client if they
- 				// switch to autonomous mode mid-way through a session.
- 				case 1001:
- 					{
- 					// Set preferred TB mode
- 					// Set 'assisted-if-possible' (EGpsPreferTerminalBased) mode
- 					CLbsAdmin::TGpsMode mode;
- 					
- 					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsPreferTerminalBased));
- 					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
- 					
- 					if(mode != CLbsAdmin::EGpsPreferTerminalBased)
- 						{
- 						SetTestStepResult(EFail);
- 						}
- 					else	// Request a location update
- 						{
- 
- 						// Open positioner.
- 						User::LeaveIfError(iPositioner.Open(iServer));
- 
- 						const TTimeIntervalMicroSeconds KMicroSecondsValue(60*1000*1000);
- 						TPositionUpdateOptions posOption;
- 						posOption.SetUpdateTimeOut(KMicroSecondsValue);
- 						User::LeaveIfError(iPositioner.SetUpdateOptions(posOption));
- 
- 						CleanupClosePushL(iPositioner);
- 
- 						// Create a posinfos and store in our shared array for later verification.
- 						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
- 								
- 						T_LbsUtils utils;
- 						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
- 						
- 						// Setup netsim.
- 						User::LeaveIfError(OpenNetSim());
- 						TLbsNetPosRequestQuality quality;
- 						quality.SetMinHorizontalAccuracy(200);
- 						quality.SetMinVerticalAccuracy(20000);
- 						iNetSim.SetQuality(quality);
- 						
- 						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
- 
- 						posInfoArr.Append(posInfoNotifyUpd);
- 						
- 						// Send the first NPUD & block on response
- 						err = DoNotifyUpdateL(*posInfoNotifyUpd);
- 						if (KErrNone != err)
- 							{
- 							SetTestStepResult(EFail);
- 							}
- 							
- 						// Set autonomous mode
- 						CLbsAdmin::TGpsMode mode;
- 						
- 						User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsAutonomous));
- 						User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
- 						
- 						if(mode != CLbsAdmin::EGpsAutonomous)
- 							{
- 							SetTestStepResult(EFail);
- 							}
- 						else	// Request a location update
- 							{
- 							//TPositionModuleInfo::TTechnologyType techType;
- 
- 							// Send the second NPUD & block on response
- 							err = DoNotifyUpdateL(*posInfoNotifyUpd);
- 							
- 							// This should not give a final network position response
- 							//techType = posInfoNotifyUpd->PositionMode();
- 							
- 							if(err != KPositionQualityLoss)
- 								{							
- 								SetTestStepResult(EFail);
- 								}
- 							}
- 							
- 						CleanupStack::PopAndDestroy(&iPositioner);
- 						CloseNetSim();
- 						}
- 
- 					break;
- 					}						
-								
-				// Test that the final network position is not passed on to the client if they
-				// switch to autonomous mode mid-way through a session.
-				case 1002:
-					{
-					// Set preferred TB mode
-					// Set 'assisted-if-possible' (EGpsPreferTerminalBased) mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsPreferTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					if(mode != CLbsAdmin::EGpsPreferTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-
-						const TTimeIntervalMicroSeconds KMicroSecondsValue(60*1000*1000);
-						TPositionUpdateOptions posOption;
-						posOption.SetUpdateTimeOut(KMicroSecondsValue);
-						User::LeaveIfError(iPositioner.SetUpdateOptions(posOption));
-
-						CleanupClosePushL(iPositioner);
-
-						// Create a posinfos and store in our shared array for later verification.
-						RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-								
-						T_LbsUtils utils;
-						utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-						
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-						TLbsNetPosRequestQuality quality;
-						quality.SetMinHorizontalAccuracy(200);
-						quality.SetMinVerticalAccuracy(20000);
-						iNetSim.SetQuality(quality);
-						
-						TPositionInfo* posInfoNotifyUpd = new(ELeave) TPositionInfo();
-
-						posInfoArr.Append(posInfoNotifyUpd);
-						
-						// Send the first NPUD & block on response
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-							
-						TPositionModuleInfo::TTechnologyType techType;
-						
-						// Wait for 10 seconds to allow the FNP to come in then send the next NPUD
-						User::After(10*1000*1000);
-
-						// Send the second NPUD & block on response
-						err = DoNotifyUpdateL(*posInfoNotifyUpd);
-						
-						// This should give a final network position response
-						techType = posInfoNotifyUpd->PositionMode();
-						
-						if(techType != (TPositionModuleInfo::ETechnologyNetwork | 
-										TPositionModuleInfo::ETechnologyAssisted))
-							{							
-							INFO_PRINTF1(_L("Failed test, did not get a final network position."));
-							SetTestStepResult(EFail);
-							}
-							
-						CleanupStack::PopAndDestroy(&iPositioner);
-						CloseNetSim();
-						}
-
-					break;
-					}
-				
-				//Tests within SetUpdateOptions test to ensure that the correct Location Position
-				// is retured from the cache on a second NPUD (with correct MaxAge set).  This test
-				// tests to make sure that if the last position to arrive was a reference position
-				// that the reference position is returned
-				case 1003:
-					{
-					//Setup in the TB mode
-					CLbsAdmin::TGpsMode mode;
-					
-					User::LeaveIfError(iLbsAdmin->Set(KLbsSettingHomeGpsMode, CLbsAdmin::EGpsPreferTerminalBased));
-					User::LeaveIfError(iLbsAdmin->Get(KLbsSettingHomeGpsMode, mode));
-					
-					if(mode != CLbsAdmin::EGpsPreferTerminalBased)
-						{
-						SetTestStepResult(EFail);
-						}
-					else	// Request a location update
-						{
-					
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);
-						
-						//Setup netsim
-						User::LeaveIfError(OpenNetSim());
-						TLbsNetPosRequestQuality quality;
-						quality.SetMinHorizontalAccuracy(200);
-						quality.SetMinVerticalAccuracy(20000);
-						iNetSim.SetQuality(quality);
-						
-						//xx
-			 			// Set the reference position, which also be used for any required verification.
-			 			TPosition refPos;
-
-						#define REFPOS_LAT				1
-						#define REFPOS_LONG				1
-						#define REFPOS_ALT				1
-						#define REFPOS_HORZ_ACCURACY	1
-						#define REFPOS_VERT_ACCURACY	1
-						
-						refPos.SetCoordinate(REFPOS_LAT, REFPOS_LONG, REFPOS_ALT);
-						refPos.SetAccuracy(REFPOS_HORZ_ACCURACY, REFPOS_VERT_ACCURACY);
-						refPos.SetCurrentTime();
-						iNetSim.SetReferenceLocation(refPos);
-						User::After(500*1000);	
-						//xx;
-						//Do first NPUD, this should get a reference position on the reference cache
-						TPositionInfo posInfo;
-						TPositionInfo posInfob;
-						
-						// Send the first NPUD & block on response
-						err = DoNotifyUpdateL(posInfo);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						//Change the update options to set the MaxUpdateAge
-						TPositionUpdateOptions posOpts;
-						posOpts.SetMaxUpdateAge(1*1000000);
-							
-						iPositioner.SetUpdateOptions(posOpts);
-						
-						//Do the second NPUD, which should return a position from the cache
-						// At this point in time the AGPS module will not yet have produced a position
-						err = DoNotifyUpdateL(posInfob);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-						
-						//Check to see if the returned position is a reference position
-						TPositionModuleInfo::TTechnologyType techType;
-						techType = posInfob.PositionMode();
-						
-						if(techType != TPositionModuleInfo::ETechnologyNetwork)
-							{							
-							INFO_PRINTF1(_L("Failed test, did not get a Network Reference Position."));
-							SetTestStepResult(EFail);
-							}
-						
-						//Since the second position is taken from the cache, check to see the two positions match
-						T_LbsUtils utils;
-						if(!utils.Compare_PosInfo(posInfo, posInfob))
-							{
-							INFO_PRINTF1(_L("Failed test, the two positions are not the same!"));
-							SetTestStepResult(EFail);
-							}
-						
-						CleanupStack::PopAndDestroy(&iPositioner);
-						CloseNetSim();
-						}
-					
-					break;
-					}
-				case 1004:
-					{       
-				     	TTimeIntervalMicroSeconds iTimeOut;
-			     		TTime iStartTime;
-	     				TPositionSatelliteInfo iPos, iPos2;
-	     				TBool iEOP;
-	     				// Open positioner.
-     					User::LeaveIfError(iPositioner.Open(iServer));
-	     				CleanupClosePushL(iPositioner);
-
-	     				TPositionUpdateOptions updateOptions;
-	     				iTimeOut = 2000000; // Two second timeout.
-	     
-	     				const TTimeIntervalMicroSeconds KTimeOut(iTimeOut);
-	     				updateOptions.SetUpdateTimeOut(KTimeOut);
-	     				updateOptions.SetAcceptPartialUpdates(ETrue);
-     					iPositioner.SetUpdateOptions(updateOptions);
-     
-	     				// Store initial time
-	    			 	iStartTime.UniversalTime();
-         
-     					TInt err = DoNotifyUpdateL(iPos);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}
-     
-     					TTimeIntervalMicroSeconds timeLeft,maxUpdate;
-	     				TTime cTime;
-	     				//TPositionSatelliteInfo pos = iPos;
-        
-	     				cTime.UniversalTime();
-	     				iEOP = EFalse;
-     					while (!iEOP)
-     						{
-	     					cTime.UniversalTime();
-	     					// Requesting another update must be the first thing done in RunL
-     						timeLeft = (iTimeOut.Int64() - cTime.MicroSecondsFrom(iStartTime).Int64());
-	     					maxUpdate = 100000;
-    
-    	 					if (timeLeft <= 0) 
-     							{
-	     						iEOP = ETrue;
-	     						timeLeft = 1; // Use a very small value for the last update
-		     					}
-    	 					else
-     							{
-	     						const TTimeIntervalMicroSeconds KTimeOut(timeLeft);
-	     						TPositionUpdateOptions posOpts;
-	     						posOpts.SetUpdateTimeOut(KTimeOut);
-	     						posOpts.SetMaxUpdateAge(maxUpdate);
-	     						posOpts.SetAcceptPartialUpdates(ETrue);
-	     						iPositioner.SetUpdateOptions(posOpts);
-     
-	     						err = DoNotifyUpdateL(iPos);
-     							if (KErrNone != err)
-     								{
-     								SetTestStepResult(EFail);
-	     							} 
-     							else
-		  	   						{	
-									// We have a valid position, test passed
-		     							SetTestStepResult(EPass);
-	     								iEOP = ETrue;
-	     								}
-	     							}
-		     				} // end while
-	     				CleanupStack::PopAndDestroy(&iPositioner);
-     					break;
-					}								
-
-				// Test case LBS-NotifyPosUpdate-0106 for demonstration of INC117582
-				case 106:
-					{
-					
-					TPositionModuleId id;
-					iServer.GetDefaultModuleId(id);
-					
-					
-					RPositioner positioner1;
-					err = positioner1.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner2;
-					err = positioner2.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner3;
-					err = positioner3.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner4;
-					err = positioner4.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner5;
-					err = positioner5.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner6;
-					err = positioner6.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					RPositioner positioner7;
-					err = positioner7.Open(iServer, id);
-					User::LeaveIfError(err);
-
-					
-					positioner1.Close();
-					positioner2.Close();
-					positioner3.Close();
-					positioner6.Close();
-					positioner7.Close();	// leaving 4 and 5 still open
-					
-					User::After(2000000);  //allow time for close to work through the locserver
-					
-				 
-					break;
-					}
-				
-				default:
-					User::Panic(KLbsClientStepNotifyPosUpdate, KErrUnknown);					
-						
-    		    }
-			}
-			
-		// All done, clean up.
-		CleanupStack::PopAndDestroy(&iServer);		
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_NotifyPosUpdate::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientsteptracking.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,705 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstep_tracking.cpp
-// This is the class implementation for the Tracking Tests
-// 
-//
- 
-#include "ctlbsclientsteptracking.h"
-
-#include <lbs.h>
-#include <lbssatellite.h>
-
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-
-
-/**
- * Construction.
- */
-CT_LbsClientStep_Tracking* CT_LbsClientStep_Tracking::New(CT_LbsClientServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsClientStep_Tracking* testStep = new CT_LbsClientStep_Tracking(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-		
-	return testStep;
-	}
-
-
-CT_LbsClientStep_Tracking::CT_LbsClientStep_Tracking(CT_LbsClientServer& aParent) : CT_LbsClientStep(aParent),
-	iVerifyInterval(ETrue), iExpectedErr(KErrNone), iUpdateIndex(0)
-	{
-	SetTestStepName(KLbsClientStep_Tracking);
-	}
-
-
-void CT_LbsClientStep_Tracking::ConstructL()
-	{
-	// Setup netsim.
-	User::LeaveIfError(OpenNetSim());
-	
-	// Connect server.
-	User::LeaveIfError(iServer.Connect());
-	
-	// Open positioner.
-	User::LeaveIfError(iPositioner.Open(iServer));
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsClientStep_Tracking::~CT_LbsClientStep_Tracking()
-	{
-	iPositioner.Close();
-	iServer.Close();	
-	CloseNetSim();
-	}
-
-
-const TTimeIntervalMicroSeconds KTimestampMargin = 500000; //+/-0.5s
-
-TBool CT_LbsClientStep_Tracking::VerifyFirstPosTime(const TTime& aTimeRequested, const TPositionInfo& aPosInfo, const TPositionUpdateOptions& aUpdateOpts)
-	{
-	TTime timeReceived, timeStamp;
-	TPosition pos;
-					
-    TInt64 maxtime;
-    maxtime = aUpdateOpts.UpdateTimeOut().Int64();
-	if(!maxtime)	
-		{
-		#pragma message("TO DO: CT_LbsClientStep_Tracking::VerifyFirstPosTime - Update when moduleinfo supported")	
-		const TTimeIntervalMicroSeconds ttff = 90*1000000;	// TO DO - this should be retrieved from the module info (currently hardcoded in locserver too)
-		maxtime = ttff.Int64();
-		}
-										
-	// get current time
-	timeReceived.UniversalTime();
-	
-	// get the position data:
-	aPosInfo.GetPosition(pos);
-	
-	INFO_PRINTF1(_L("First position received at: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), timeReceived.DateTime().Day() + 1, timeReceived.DateTime().Month() + 1, timeReceived.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeReceived.DateTime().Hour(), timeReceived.DateTime().Minute(), timeReceived.DateTime().Second(), timeReceived.DateTime().MicroSecond());
-	
-	timeStamp = pos.Time();
-	INFO_PRINTF1(_L("First position timeStamp: "));
-	INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().MicroSecond());	
-	
-	TInt64 timediff;
-	timediff = timeReceived.Int64() - aTimeRequested.Int64();
-	
-	// *first* position received can arrive 'immediately' and up to timeout, or maxtimetofirstfix if timeout not specified
-	if(timediff > maxtime)
-		{
-		INFO_PRINTF1(_L("Failed: First Position received outside time range"));
-		return FALSE;									
-		}
-	else
-		{
-		return TRUE;
-		}
-	}
-	
-	
-/**
- aPosCount - which position in a set of periodic positions this is (first position = 0)
- */
-TBool CT_LbsClientStep_Tracking::VerifyPosTime(const TTime& aTimeFirstPosStamped, const TPositionUpdateOptions& aUpdateOpts, TPositionInfo& aPosInfo, TInt aPosCount)
-	{
-	TTime timeReceived, timeStamp;
-	TPosition pos;
-    TInt64 interval = aUpdateOpts.UpdateInterval().Int64();	
-    TTimeIntervalMicroSeconds timeout;
-    timeout = aUpdateOpts.UpdateTimeOut().Int64();
-    	
-    // should call different function for first position:		
-    __ASSERT_ALWAYS(aPosCount > 0, User::Panic(_L("Update options test"), KErrArgument));				
-    
-	// get current time
-	timeReceived.UniversalTime();
-	
-	// get the position data:
-	aPosInfo.GetPosition(pos);
-	
-	INFO_PRINTF1(_L("Position received at: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), timeReceived.DateTime().Day() + 1, timeReceived.DateTime().Month() + 1, timeReceived.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeReceived.DateTime().Hour(), timeReceived.DateTime().Minute(), timeReceived.DateTime().Second(), timeReceived.DateTime().MicroSecond());
-	
-	timeStamp = pos.Time();
-	INFO_PRINTF1(_L("Position timeStamp: "));
-	INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().MicroSecond());
-
-	TTime windowstart = aTimeFirstPosStamped + static_cast<TTimeIntervalMicroSeconds>(aPosCount * interval) - KTimestampMargin;
-	TTime windowend = windowstart + timeout + KTimestampMargin;
-
-	INFO_PRINTF1(_L("valid window start: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), windowstart.DateTime().Day() + 1, windowstart.DateTime().Month() + 1, windowstart.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), windowstart.DateTime().Hour(), windowstart.DateTime().Minute(), windowstart.DateTime().Second(), windowstart.DateTime().MicroSecond());
-
-	if(timeStamp < windowstart && timeReceived < windowstart)
-		{
-		INFO_PRINTF1(_L("Failed: Position received outside time range"));
-		return FALSE;
-		}
-	if(timeout.Int64() && (timeStamp > windowend || timeReceived > windowend))
-		{
-		INFO_PRINTF1(_L("valid window end: "));	
-		INFO_PRINTF4(_L("%d/%d/%d"), windowend.DateTime().Day() + 1, windowend.DateTime().Month() + 1, windowend.DateTime().Year());
-		INFO_PRINTF5(_L("at %d :%d :%d :%d"), windowend.DateTime().Hour(), windowend.DateTime().Minute(), windowend.DateTime().Second(), windowend.DateTime().MicroSecond());
-		
-		return FALSE;
-		}
-	else
-		{
-		return TRUE;
-		}
-	}
-
-TInt CT_LbsClientStep_Tracking::SetExpectedError(TInt aExpectedErrVal,TInt aDefaultErr)	
-	{
-	if(aExpectedErrVal==-1000)
-		{
-		return aDefaultErr;
-		}
-	else
-		{
-		return aExpectedErrVal;
-		}
-	}
-
-TInt CT_LbsClientStep_Tracking::GetExpectedError(const TDesC& aError)
-	{
-	TInt expectedErr;
-	if (GetIntFromConfig(ConfigSection(), aError, expectedErr))
-		{	
-		return expectedErr;
-		}
-	else
-		return -1000;
-	}
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_Tracking::doTestStepL()
-	{
-	// Generic test step used to test the LBS SetUpdateOptions API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_Tracking::doTestStepL()"));
-
-	if (TestStepResult()==EPass) 
-		{
-		// Determine the test case id.
-		TInt testCaseId;
-				
-		// Initialise these errors here - Make this a dynamic array?
-		iExpectedErr = GetExpectedError(KExpectedErr);
-		iExpectedErr2 = GetExpectedError(KExpectedErr2);
-		iExpectedErr3 = GetExpectedError(KExpectedErr3);
-		iExpectedErr4 = GetExpectedError(KExpectedErr4);
-				
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-			// Set the update options.
-			T_LbsUtils utils;
-			TPtrC configFileName;
-			_LIT(KUpdateOptionsFile, "agps_module_update_file");
-	
-			GetStringFromConfig(ConfigSection(), KUpdateOptionsFile, configFileName);
-
-			utils.GetConfigured_ModuleUpdateOptionsL(configFileName, ConfigSection(), iUpdateOpts);
-			iPositioner.SetUpdateOptions(iUpdateOpts);
-			
-			// count the number of updates from the .ini file
-			RPointerArray<TLbsModuleUpdateItem> posInfoArray;
-			utils.GetConfigured_UpdateArrayL(configFileName, ConfigSection(), posInfoArray);
-			TInt numOfPosInfos = posInfoArray.Count();
-			posInfoArray.ResetAndDestroy();
-
-			// Perfom test.
-			TInt err = KErrNone;
-			TPosition pos;
-			TTime timeFirstStamped;
-			TTime timeRequested;
-			iUpdateWindowIndex = 0;
-			if(testCaseId == 8)
-				{
-				iCheckIfSameAsPreviousPosition = ETrue;
-				}
-			else
-				{
-				iCheckIfSameAsPreviousPosition = EFalse;				
-				}
-
-			
-			for (iUpdateIndex = 0 ; iUpdateIndex < numOfPosInfos; iUpdateIndex++)
-				{				
-				// Get and log current time.
-				timeRequested.UniversalTime();
-				INFO_PRINTF1(_L("Position requested at: "));	
-				INFO_PRINTF4(_L("%d/%d/%d"), timeRequested.DateTime().Day() + 1, timeRequested.DateTime().Month() + 1, timeRequested.DateTime().Year());
-				INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeRequested.DateTime().Hour(), timeRequested.DateTime().Minute(), timeRequested.DateTime().Second(), timeRequested.DateTime().MicroSecond());
-
-				// Do request to position update.
-				err = DoNotifyUpdateL(iPosInfo);
-
-				iPosInfo.GetPosition(pos);
-				
-				// First update, ref pos, KErrNone.
-				if (iUpdateIndex == 0)
-					{
-					// Verify time taken for first update.
-					timeFirstStamped = pos.Time();	// Need to remember the time we received this update.
-					if(!VerifyFirstPosTime(timeRequested, iPosInfo, iUpdateOpts))
-						{
-						SetTestStepResult(EFail);									
-						}
-
-					// Verify reference position.
-					TPositionInfo verifyRefPosInfo;
-					
-					verifyRefPosInfo.SetPosition(iRefPos);
-					if (!utils.Compare_PosInfo(verifyRefPosInfo, iPosInfo))
-						{
-						INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-						SetTestStepResult(EFail);
-						}
-						
-					iExpectedErr = KErrNone;
-					// Expect to verify interval time, for other updates.
-					iVerifyInterval = ETrue;
-					iPreviousPos = iPosInfo;
-					}
-
-				// Remaining updates.
-				else
-					{
-					// Increment the expected time interval 'window' the update is expected to arrive in
-					iUpdateWindowIndex++;
-				
-					// Determine expected err, and any special test actions.
-					switch (iUpdateIndex)
-						{
-						// Second update, gps accurate, KErrNone, after n * intervals.
-						case 1:
-							{
-							iExpectedErr = KErrNone;
-						
-							if(testCaseId == 7)
-								{
-								DoInterval_TestCaseId_07();
-								}
-							else if(testCaseId == 8)
-								{
-								DoInterval_TestCaseId_08();
-								}
-							else
-								{
-								// Got the first accurate gps update, switch on partial updates.
-								iUpdateOpts.SetAcceptPartialUpdates(ETrue);
-								iPositioner.SetUpdateOptions(iUpdateOpts);
-								}
-
-							break;
-							}
-
-						// Remaining updates as per test case.
-						default:
-							{
-							switch (testCaseId)
-								{
-								// Test case LBS-Tracking-001
-								case 1:
-									{
-									DoInterval_TestCaseId_01();
-
-									break;
-									}
-
-								// Test case LBS-Tracking-002
-								case 2:
-									{
-									DoInterval_TestCaseId_02();
-									
-									break;
-									}
-
-								// Test case LBS-Tracking-003
-								case 3:
-									{
-									DoInterval_TestCaseId_03();
-								
-									break;
-									}
-
-								// Test case LBS-Tracking-004									
-								case 4:
-									{
-									DoInterval_TestCaseId_04();
-										
-									break;
-									}
-									
-								// Test case LBS-Tracking-005
-								case 5:
-									{
-									DoInterval_TestCaseId_05();
-									
-									break;
-									}
-
-								// Test case LBS-Tracking-006
-								case 6:
-									{
-									DoInterval_TestCaseId_06();
-									
-									break;
-									}
-									
-								// Test case LBS-Tracking-007
-								case 7:
-									{
-									DoInterval_TestCaseId_07();
-																	
-									break;
-									}
-
-								// Test case LBS-Tracking-008
-								case 8:
-									{
-									DoInterval_TestCaseId_08();
-																	
-									break;
-									}
-								}
-							}
-						break;
-						}
-
-					// Verify correct interval for update, if required.
-					if (iVerifyInterval)
-						{
-						if(!VerifyPosTime(timeFirstStamped, iUpdateOpts, iPosInfo, iUpdateWindowIndex))
-							{
-							INFO_PRINTF1(_L("Failed: Position received outside time range"));
-							SetTestStepResult(EFail);
-							}
-						}
-					
-					if(iCheckIfSameAsPreviousPosition)
-						{
-						if(iSameAsPreviousPos && !utils.Compare_PosInfo(iPreviousPos, iPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, position different from previous, when it should be same."));
-							SetTestStepResult(EFail);
-							}
-						if(!iSameAsPreviousPos && utils.Compare_PosInfo(iPreviousPos, iPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, position same as previous, when it should be different."));
-							SetTestStepResult(EFail);
-							}
-						}
-					iPreviousPos = iPosInfo;
-					}
-					
-				// Verify err.
-				if (err != iExpectedErr)
-					{
-					ERR_PRINTF3(_L("Failed test, error code received %i, expected %i"), err, iExpectedErr);
-					SetTestStepResult(EFail);						
-					}
-				}
-		
-			}
-		
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_Tracking::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-
-// Test 1 - expected updates
-//
-// Ref pos,				KErrNone,				before interval
-// Gps pos (accurate),	KErrNone,				after n * intervals
-// Gps pos (accurate),	KErrNone, 				after interval
-// Gps pos (partial),	KPositionPartialUpdate,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_01()
-{
-
-
-
-	switch (iUpdateIndex)
-		{
-		case 2:	// Third update, gps accurate, KErrNone.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KErrNone);
-			
-			break;
-			}
-	
-		case 3:	// Last update, gps inaccurate, KPositionPartialUpdate.	
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KPositionPartialUpdate);	
-			break;
-			}
-		}
-	}
-
-
-// Test 2 - expected updates
-//
-// Ref pos,				KErrNone,	before interval
-// Gps pos (accurate),	KErrNone,	after n * intervals
-// Gps pos (accurate),	KErrNone,	after interval
-// Gps pos (accurate),	KErrNone,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_02()
-{
-
-	switch (iUpdateIndex)
-		{
-		case 2:	// Third update, gps accurate, KErrNone.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KErrNone);	
-			break;
-			}
-		case 3: // Last update, gps accurate, KErrNone.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KErrNone);	
-			break;
-			}
-		}
-	}
-
-
-// Test 3 - expected updates
-//
-// Ref pos,				KErrNone,				before interval
-// Gps pos (accurate),	KErrNone,				after n * intervals
-// Gps pos (NAN),		KPositionPartialUpdate,	after interval
-// Gps pos (NAN),		KPositionPartialUpdate,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_03()
-{
-
-	switch (iUpdateIndex)
-		{
-		
-		case 2:	// Third update, gps accurate, KPositionPartialUpdate.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KPositionPartialUpdate);	
-			break;
-			}
-		case 3: // Last update, gps accurate, KPositionPartialUpdate.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KPositionPartialUpdate);	
-			break;
-			}
-		}
-	}
-
-
-// Test 4 - expected updates
-//
-// Ref pos,					KErrNone,				before interval
-// Gps pos (accurate),		KErrNone,				after n * intervals
-// Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-// Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_04()
-	{
-	switch (iUpdateIndex)
-		{
-		
-		case 2:	// Third update, gps accurate, KPositionPartialUpdate.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KPositionPartialUpdate);	
-			break;
-			}
-		case 3: // Last update, gps accurate, KPositionPartialUpdate.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KPositionPartialUpdate);	
-			break;
-			}
-		}
-	}
-
-
-// Test 5 - expected updates
-//
-// Ref pos,					KErrNone,		before interval
-// Gps pos (accurate),		KErrNone,		after n * intervals
-// Gps pos (accurate),		KErrNonee,		after interval
-// Gps pos (not delivered),	KErrTimedOut,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_05()
-{
-
-	switch (iUpdateIndex)
-		{
-		case 2:	// Third update, gps accurate, KErrNone.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KErrNone);				
-
-			// Send timeout to the A-GPS hybrid module - we expect further updates to timeout.
-			TTimeIntervalMicroSeconds timeOutVal(40000000);
-			
-			ConfigureModuleTimeOut(timeOutVal);
-			
-			break;
-			}
-	
-		case 3:	// Last update, gps inaccurate, KPositionPartialUpdate.	
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KErrTimedOut);	
-			iVerifyInterval = EFalse;
-			
-			// Reset the timeout in the A-GPS module.
-			TTimeIntervalMicroSeconds timeOutVal(0);
-			ConfigureModuleTimeOut(timeOutVal);
-			break;
-			}
-		}
-	}
-
-// Test 6 - expected updates
-//
-// Ref pos,					KErrNone,				before interval
-// Gps pos (accurate),		KErrNone,				after n * intervals
-// Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-// Gps pos (NAN),			KPositionQualityLoss,	before interval (because of futile udpate)
-// Gps pos (inaccurate),	KPositionPartialUpdate,	after interval
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_06()
-{
-
-	switch (iUpdateIndex)
-		{
-		case 2:	// Third update, gps inaccurate, KPositionPartialUpdate.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr2,KPositionPartialUpdate);	
-			break;
-			}
-			
-		case 3:	// Fourth update, gps NAN, KPositionQualityLoss.
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr3,KPositionQualityLoss);	
-			// This update should have happened before the next expected 
-			// interval window (because it's a futile update from the
-			// GPS module), so it will be in the previous 'window'
-			iUpdateWindowIndex--;
-			break;
-			}
-	
-		case 4:	// Last update, gps inaccurate, KPositionPartialUpdate.	
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr4,KPositionPartialUpdate);	
-			break;
-			}
-		}
-	}
-
-// Test 7 - expected updates
-//
-// Ref pos,					KErrNone,				before interval
-// Gps pos (accurate),		KErrNone,				after n * intervals
-// Gps pos (inaccurate),	KPositionQualityLoss,	after timeout
-//
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_07()
-	{
-	switch (iUpdateIndex)
-		{
-		case 1:
-			{
-			iExpectedErr = SetExpectedError(iExpectedErr,KErrNone);	
-			break;
-			}
-		case 2:
-			{
-			iVerifyInterval = EFalse;
-			iExpectedErr = SetExpectedError(iExpectedErr2,KPositionQualityLoss);	
-			break;
-			}
-		}
-	}
-
-void CT_LbsClientStep_Tracking::DoInterval_TestCaseId_08()
-	{
-	iExpectedErr = KErrNone;
-	switch (iUpdateIndex)
-		{
-		case 1:
-		case 3:
-			{
-			iSameAsPreviousPos = EFalse;
-			break;
-			}
-		case 2:
-			{
-			iSameAsPreviousPos = ETrue;
-			break;
-			}
-		}	
-	}
-
-// A-GPS hybrid module configuration function.
-void CT_LbsClientStep_Tracking::ConfigureModuleTimeOut(TTimeIntervalMicroSeconds& aTimeOut)
-	{
-	CT_LbsAGpsHandler* modHandler;
-	modHandler = CT_LbsAGpsHandler::NewL(this);
-
-	// Send timeout request.
-	modHandler->SendRequestTimeOutMsg(aTimeOut);
-
-	// Wait for response from module.	
-	CActiveScheduler::Start();
-	
-	delete modHandler;
-	}
-
-
-// Response back from A-GPS hybrid module to notify the test it has got the timeout request.
-void CT_LbsClientStep_Tracking::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (TT_LbsAGpsResponseMsg::EModuleResponseOk != aResponse)
-		{
-		// fail test could not config module!
-		INFO_PRINTF2(_L("Unable to configure hybrid module, err %d."), aResponse);	
-		SetTestStepResult(EFail);						
-		}
-		
-		// Return back to test.
-		CActiveScheduler::Stop();	
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/src/ctlbsclientstepupdateoptions.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1275 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsclientstep_UpdateOptions.cpp
-// This is the class implementation for the UpdateOptions Tests
-// 
-//
- 
-#include "ctlbsclientstepupdateoptions.h"
-
-#include <lbs.h>
-#include <lbssatellite.h>
-
-#include "tlbsutils.h"
-#include "ctlbsasyncwaiter.h"
-
-#define EXPECTED_GPS_ACCURACY_HORIZONTAL 100
-#define EXPECTED_GPS_ACCURACY_VERTICAL 100
-
-const TTimeIntervalMicroSeconds KTimestampMargin = 500000; //+/-0.5s
-
-/**
- 
- */
-TBool CT_LbsClientStep_UpdateOptions::VerifyFirstPosTime(const TTime& aTimeRequested, const TPositionInfo& aPosInfo, const TPositionUpdateOptions& aUpdateOpts)
-	{
-	TTime timeReceived, timeStamp;
-	TPosition pos;
-					
-    TInt64 maxtime;
-    maxtime = aUpdateOpts.UpdateTimeOut().Int64();
-	if(!maxtime)	
-		{
-		#pragma message("TO DO: CT_LbsClientStep_UpdateOptions::VerifyFirstPosTime - Update when moduleinfo supported")	
-		const TTimeIntervalMicroSeconds ttff = 90*1000000;	// TO DO - this should be retrieved from the module info (currently hardcoded in locserver too)
-		maxtime = ttff.Int64();
-		}
-										
-	// get current time
-	timeReceived.UniversalTime();
-	
-	// get the position data:
-	aPosInfo.GetPosition(pos);
-	
-	INFO_PRINTF1(_L("First position received at: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), timeReceived.DateTime().Day() + 1, timeReceived.DateTime().Month() + 1, timeReceived.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeReceived.DateTime().Hour(), timeReceived.DateTime().Minute(), timeReceived.DateTime().Second(), timeReceived.DateTime().MicroSecond());
-	
-	timeStamp = pos.Time();
-	INFO_PRINTF1(_L("First position timeStamp: "));
-	INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().MicroSecond());	
-	
-	TInt64 timediff;
-	timediff = timeReceived.Int64() - aTimeRequested.Int64();
-	
-	// *first* position received can arrive 'immediately' and up to timeout, or maxtimetofirstfix if timeout not specified
-	if(timediff > maxtime)
-		{
-		INFO_PRINTF1(_L("Failed: First Position received outside time range"));
-		return FALSE;									
-		}
-	else
-		{
-		return TRUE;
-		}
-	
-	}
-	
-	
-/**
- aPosCount - which position in a set of periodic positions this is (first position = 0)
- */
-TBool CT_LbsClientStep_UpdateOptions::VerifyPosTime(const TTime& aTimeFirstPosStamped, const TPositionUpdateOptions& aUpdateOpts, TPositionInfo& aPosInfo, TInt aPosCount)
-	{
-	TTime timeReceived, timeStamp;
-	TPosition pos;
-    TInt64 interval = aUpdateOpts.UpdateInterval().Int64();	
-    TTimeIntervalMicroSeconds timeout;
-    timeout = aUpdateOpts.UpdateTimeOut().Int64();
-    	
-    // should call different function for first position:		
-    __ASSERT_ALWAYS(aPosCount > 0, User::Panic(_L("Update options test"), KErrArgument));				
-    
-	// get current time
-	timeReceived.UniversalTime();
-	
-	// get the position data:
-	aPosInfo.GetPosition(pos);
-	
-	INFO_PRINTF1(_L("Position received at: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), timeReceived.DateTime().Day() + 1, timeReceived.DateTime().Month() + 1, timeReceived.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeReceived.DateTime().Hour(), timeReceived.DateTime().Minute(), timeReceived.DateTime().Second(), timeReceived.DateTime().MicroSecond());
-	
-	timeStamp = pos.Time();
-	INFO_PRINTF1(_L("Position timeStamp: "));
-	INFO_PRINTF4(_L("%d/%d/%d"), timeStamp.DateTime().Day() + 1, timeStamp.DateTime().Month() + 1, timeStamp.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeStamp.DateTime().Hour(), timeStamp.DateTime().Minute(), timeStamp.DateTime().Second(), timeStamp.DateTime().MicroSecond());
-
-	TTime windowstart = aTimeFirstPosStamped + static_cast<TTimeIntervalMicroSeconds>(aPosCount * interval) - KTimestampMargin;
-	TTime windowend = windowstart + timeout + KTimestampMargin;
-
-	INFO_PRINTF1(_L("valid window start: "));	
-	INFO_PRINTF4(_L("%d/%d/%d"), windowstart.DateTime().Day() + 1, windowstart.DateTime().Month() + 1, windowstart.DateTime().Year());
-	INFO_PRINTF5(_L("at %d :%d :%d :%d"), windowstart.DateTime().Hour(), windowstart.DateTime().Minute(), windowstart.DateTime().Second(), windowstart.DateTime().MicroSecond());
-
-	if(timeStamp < windowstart)
-		{
-		INFO_PRINTF1(_L("Failed: Position received outside time range"));
-		return FALSE;
-		}
-	if(timeout.Int64() && (timeStamp > windowend))
-		{
-		INFO_PRINTF1(_L("valid window end: "));	
-		INFO_PRINTF4(_L("%d/%d/%d"), windowend.DateTime().Day() + 1, windowend.DateTime().Month() + 1, windowend.DateTime().Year());
-		INFO_PRINTF5(_L("at %d :%d :%d :%d"), windowend.DateTime().Hour(), windowend.DateTime().Minute(), windowend.DateTime().Second(), windowend.DateTime().MicroSecond());
-		
-		return FALSE;
-		}
-	else
-		{
-		return TRUE;
-		}
-	}
-	
-
-
-
-// constant definitions
-_LIT(KLbsClientStepUpdateOptions, "LbsClientStepUpdateOptions");
-
-/**
- *	Sets a Requestor for now - TO DO will be removed with new location server?
- */
-void CT_LbsClientStep_UpdateOptions::TempSetRequestorL()
- 	{	
-	User::LeaveIfError(iPositioner.SetRequestor(	CRequestor::ERequestorService,
-												CRequestor::EFormatApplication,
-												_L("Tom Tom")));
- 	}
-
-
-/**
- * Destructor
- */
-CT_LbsClientStep_UpdateOptions::~CT_LbsClientStep_UpdateOptions()
-	{
-	delete 	iLbsAdmin;	
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsClientStep_UpdateOptions::CT_LbsClientStep_UpdateOptions(CT_LbsClientServer& aParent) : CT_LbsClientStep(aParent), iLbsAdmin(NULL), iRequestedAssData(FALSE), iReceivedAssData(FALSE)
-	{
-	SetTestStepName(KLbsClientStep_UpdateOptions);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsClientStep_UpdateOptions* CT_LbsClientStep_UpdateOptions::New(CT_LbsClientServer& aParent)
-	{
-	return new CT_LbsClientStep_UpdateOptions(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	}	
-	
-
-/**
-Compare UpdateOptions
-*/
-TBool CT_LbsClientStep_UpdateOptions::CompareUpdateOptions(TPositionUpdateOptions aPosA, TPositionUpdateOptions aPosB)
-	{
-	TBool isEqual = ETrue;
-
-	if(aPosA.AcceptPartialUpdates() != aPosB.AcceptPartialUpdates()) 
-		{
-			return EFalse;
-		}
-		
-	if(aPosA.MaxUpdateAge() != aPosB.MaxUpdateAge())
-		{
-			return EFalse;
-		}
-		
-	if(aPosA.PositionClassSize() != aPosB.PositionClassSize())
-		{
-			return EFalse;
-		}
-		
-	if(aPosA.PositionClassType() != aPosB.PositionClassType())
-		{
-			return EFalse;
-		}
-		
-	if(aPosA.UpdateInterval() != aPosB.UpdateInterval())
-		{
-			return EFalse;
-		}
-		
-	if(aPosA.UpdateTimeOut() != aPosB.UpdateTimeOut())
-		{
-			return EFalse;
-		}
-		
-	return isEqual;
-	
-	}
-	
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsClientStep_UpdateOptions::doTestStepL()
-	{
-	// Generic test step used to test the LBS SetUpdateOptions API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsClientStep_UpdateOptions::doTestStepL()"));
-
-	if (TestStepResult()==EPass) 
-		{
-		TInt err = KErrNone;
-		
-		// Connect to self locate server.
-		User::LeaveIfError(iServer.Connect());
-		CleanupClosePushL(iServer);
-		
-		// Carryout unique test actions.
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-				switch (testCaseId)
-				{
-				// Test case LBS-UpdateOptions-001
-				case 1:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					TPositionUpdateOptions optsA;
-					
-					TPositionUpdateOptions optsB;
-					iPositioner.SetUpdateOptions(optsA);
-					iPositioner.GetUpdateOptions(optsB);
-					if (!CompareUpdateOptions(optsA, optsB))
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}
-				
-				// Test case LBS-UpdateOptions-002
-				case 2:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					//(aInterval, aTimeOut, aMaxAge, TBool aAcceptPartialUpdates=EFalse)
-					TPositionUpdateOptions optsA(-1, 0, 0, EFalse);
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}
-					
-				// Test case LBS-UpdateOptions-003
-				case 3:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					TPositionUpdateOptions optsA(0, -1, 0, EFalse);
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}	
-					
-				// Test case LBS-UpdateOptions-004
-				case 4:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-					TPositionUpdateOptions optsA(0, 0, -1, EFalse);
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}	
-					
-					
-				// Test case LBS-UpdateOptions-005
-				case 5:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;
-					iPositioner.SetUpdateOptions(updateOpts);
-					
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-	
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					posInfoArr.Append(posInfo);
-	
-					TTime timeRequested;
-					timeRequested.UniversalTime();
-					INFO_PRINTF1(_L("Position requested at: "));	
-					INFO_PRINTF4(_L("%d/%d/%d"), timeRequested.DateTime().Day() + 1, timeRequested.DateTime().Month() + 1, timeRequested.DateTime().Year());
-					INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeRequested.DateTime().Hour(), timeRequested.DateTime().Minute(), timeRequested.DateTime().Second(), timeRequested.DateTime().MicroSecond());
-					
-
-					// Get the actual position
-					err = DoNotifyUpdateL(*posInfo);
-					if (KErrNone != err || !VerifyFirstPosTime(timeRequested, *posInfo, updateOpts))
-						{
-						SetTestStepResult(EFail);
-						}
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-				// Test case LBS-UpdateOptions-006
-				case 6:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					// Create a posinfo and store in our shared array for later verification.
-					TPositionInfo* posInfo = new(ELeave) TPositionInfo();
-					posInfoArr.Append(posInfo);					
-					
-					TRequestStatus status;
-										
-					TPositionUpdateOptions tempOpts;
-					// set a fairly long interval (1 minute) to ensure the 2nd request doesn't complete too quicky:
-					tempOpts.SetUpdateInterval(60*1000000);
-					tempOpts.SetUpdateTimeOut(300*1000000);
-					iPositioner.SetUpdateOptions(tempOpts);
-					iPositioner.GetUpdateOptions(tempOpts);			
-					
-					TempSetRequestorL();
-					
-					TTime timeRequested;					
-					TTime timeFirstStamped;							
-					
-					INFO_PRINTF2(_L("Requesting position (current interval set to %d): "),tempOpts.UpdateInterval().Int64() );
-					timeRequested.UniversalTime();
-					err = DoNotifyUpdateL(*posInfo);
-					if (KErrNone != err)
-						{
-						INFO_PRINTF2(_L("Failed: Position Update failed with %d"), err);
-						SetTestStepResult(EFail);
-						}
-					else
-						{
-						TPosition pos;
-						posInfo->GetPosition(pos);
-						
-						// need to remember the time we received this one:		
-						timeFirstStamped = pos.Time();		
-						if(!VerifyFirstPosTime(timeRequested, *posInfo, tempOpts))
-							{
-							SetTestStepResult(EFail);									
-							}
-						}
-						
-					// Create another posinfo and store in our shared array for later verification.						
-					posInfo = new(ELeave) TPositionInfo();
-					posInfoArr.Append(posInfo);					
-											
-					INFO_PRINTF2(_L("Requesting position (current interval set to %d): "), tempOpts.UpdateInterval().Int64());
-					
-					// this should complete after original interval (1 min), despite setting a new interval while it's outstanding:
-					iPositioner.NotifyPositionUpdate(*posInfo, status);	
-
-					// set configured update options while update still outstanding:
-					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;					
-					iPositioner.SetUpdateOptions(updateOpts);
-					iPositioner.GetUpdateOptions(updateOpts);
-					
-					INFO_PRINTF2(_L("Interval now set to %d microseconds"), updateOpts.UpdateInterval().Int64());
-					
-					User::WaitForRequest(status);
-					
-					// verify time for 'outstanding when interval changed' position										
-					if(!VerifyPosTime(timeFirstStamped, tempOpts, *posInfo, 1))
-						{
-						INFO_PRINTF1(_L("CT_LbsClientStep_UpdateOptions::doTestStepL() Failed: Time received outside valid range"));
-						SetTestStepResult(EFail);									
-						}
-					else
-						{
-						TInt numOfPosInfos = iParent.iSharedData->iVerifyPosInfoArr.Count() - 2;	// -2 because first 2 positions used above
-						for(TInt i = 0 ; i < numOfPosInfos ; i++)
-							{
-							// get current time
-							timeRequested.UniversalTime();
-							INFO_PRINTF1(_L("Position requested at: "));	
-							INFO_PRINTF4(_L("%d/%d/%d"), timeRequested.DateTime().Day() + 1, timeRequested.DateTime().Month() + 1, timeRequested.DateTime().Year());
-							INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeRequested.DateTime().Hour(), timeRequested.DateTime().Minute(), timeRequested.DateTime().Second(), timeRequested.DateTime().MicroSecond());
-							
-							//Do request to position update
-							posInfo = new(ELeave) TPositionInfo();
-							posInfoArr.Append(posInfo);					
-							
-							err = DoNotifyUpdateL(*posInfo);
-							if (KErrNone != err)
-								{
-								INFO_PRINTF2(_L("Failed: Position Update failed with %d"), err);
-								SetTestStepResult(EFail);
-								}
-							else
-								{	
-								if(i > 0)
-									{							
-									if(!VerifyPosTime(timeFirstStamped, updateOpts, *posInfo, i))
-										{
-										INFO_PRINTF1(_L("Failed: Position received outside time range"));
-										SetTestStepResult(EFail);
-										}
-									}
-								else	// first position
-									{
-									TPosition pos;
-									
-									posInfo->GetPosition(pos);
-									
-									// need to remember the time we received this one:		
-									timeFirstStamped = pos.Time();		
-									if(!VerifyFirstPosTime(timeRequested, *posInfo, updateOpts))
-										{
-										SetTestStepResult(EFail);									
-										}
-									}		
-								}	
-							}
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}
-					
-					
-				// Test case LBS-UpdateOptions-007
-				case 7:
-				case 107:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-
-
-					// For this test an additional reference position will be returned.
-					if (testCaseId == 107)
-						{
-						// Setup netsim.
-						User::LeaveIfError(OpenNetSim());
-						
-						// Request notify for the expected reference position.
-						TPositionInfo actualRefPosInfo;
-						
-						err = DoNotifyUpdateL(actualRefPosInfo);
-						if (err)
-							{
-							INFO_PRINTF2(_L("Failed test, reference position request returned err %d."), err);
-
-							SetTestStepResult(EFail);							
-							}
-							
-						// Verify reference position.
-						T_LbsUtils utils;
-						TPositionInfo verifyRefPosInfo;
-						
-						verifyRefPosInfo.SetPosition(iRefPos);
-						if (!utils.Compare_PosInfo(verifyRefPosInfo, actualRefPosInfo))
-							{
-							INFO_PRINTF1(_L("Failed test, reference position incorrect."));
-							SetTestStepResult(EFail);
-							}
-						}
-					
-					
-					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;
-															
-					iPositioner.SetUpdateOptions(updateOpts);
-					
-					// verify that the set worked:
-					ASSERT(updateOpts.UpdateInterval() == iParent.iSharedData->iVerifyUpdateOpts.UpdateInterval());
-					
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					TPositionInfo* posInfo;
-					TTime timeRequested;
-					
-					iPositioner.GetUpdateOptions(updateOpts);
-										
-					TInt  numOfPosInfos = iParent.iSharedData->iVerifyPosInfoArr.Count();
-					TTime timeFirstStamped;
-					for(TInt i = 0 ; i < numOfPosInfos ; i++)
-						{
-						// get current time
-						timeRequested.UniversalTime();
-						INFO_PRINTF1(_L("Position requested at: "));	
-						INFO_PRINTF4(_L("%d/%d/%d"), timeRequested.DateTime().Day() + 1, timeRequested.DateTime().Month() + 1, timeRequested.DateTime().Year());
-						INFO_PRINTF5(_L("at %d :%d :%d :%d"), timeRequested.DateTime().Hour(), timeRequested.DateTime().Minute(), timeRequested.DateTime().Second(), timeRequested.DateTime().MicroSecond());
-
-						//Do request to position update
-						posInfo = new(ELeave) TPositionInfo();
-						posInfoArr.Append(posInfo);
-																		
-						err = DoNotifyUpdateL(*posInfo);
-						if (KErrNone != err)
-							{
-							INFO_PRINTF2(_L("NotifyUpdate failed with %d "), err);	
-							SetTestStepResult(EFail);
-							}
-						else
-							{
-							if(i > 0)
-								{							
-								if(!VerifyPosTime(timeFirstStamped, updateOpts, *posInfo, i))
-									{
-									INFO_PRINTF1(_L("Failed: Position received outside time range"));
-									SetTestStepResult(EFail);
-									}
-								}
-							else	// first position
-								{
-								TPosition pos;
-								
-								posInfo->GetPosition(pos);
-								
-								// need to remember the time we received this one:		
-								timeFirstStamped = pos.Time();		
-								if(!VerifyFirstPosTime(timeRequested, *posInfo, updateOpts))
-									{
-									SetTestStepResult(EFail);									
-									}
-								}				
-							}
-						}
-
-					// Clean up.						
-					CleanupStack::PopAndDestroy(&iPositioner);
-					if (testCaseId == 107)
-						{
-						CloseNetSim();
-						}
-
-					break;
-					}
-					
-				// Test case LBS-UpdateOptions-008
-				case 8:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					//2 second interval
-					TPositionUpdateOptions optsA(2000000, 0, 0, EFalse);
-					optsA.SetUpdateInterval(-1);
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-				// Test case LBS-UpdateOptions-009
-				case 9:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-
-					//10 second interval
-					TPositionUpdateOptions posUpdateOptsA(10000000, 0, 0, EFalse);
-					TPositionUpdateOptions posUpdateOptsB; 
-					iPositioner.SetUpdateOptions(posUpdateOptsA);
-					iPositioner.GetUpdateOptions(posUpdateOptsB);
-					
-					if(!CompareUpdateOptions(posUpdateOptsA, posUpdateOptsB))
-						{
-						INFO_PRINTF1(_L("SetUpdate and GetUpdate comparison didn't match"));
-						SetTestStepResult(EFail);
-						}	
-												
-					//5 second timeout
-					posUpdateOptsA.SetUpdateTimeOut(5000000);
-					iPositioner.SetUpdateOptions(posUpdateOptsA);
-					iPositioner.GetUpdateOptions(posUpdateOptsB);
-					
-					if(!CompareUpdateOptions(posUpdateOptsA, posUpdateOptsB))
-						{
-						INFO_PRINTF1(_L("SetUpdate and GetUpdate comparison didn't match"));
-						SetTestStepResult(EFail);
-						}
-						
-					TPositionInfo posInfo;
-					
-					// TO DO - is this sufficient, or should we really be testing how long it takes to timeout?
-	
-					// Get the actual position, should time out on AGPS side
-					// ** Configure test gps module to cause a timeout
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrTimedOut != err)
-						{
-						INFO_PRINTF1(_L("<FONT><B>AGPS module didn't timeout as expected.</B></FONT>"));
-						SetTestStepResult(EFail);
-						}						
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-				// Test case LBS-UpdateOptions-010
-				case 10:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					TPositionUpdateOptions optsA;
-					optsA.SetUpdateTimeOut(-1);
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-					break;
-					}
-	
-					
-				// Test case LBS-UpdateOptions-011
-				case 11:
-					{
-					// Open positioner with
-					// configured required quality
-					TPositionCriteria	criteria;
-					TPositionQuality    quality;
-					
-					// set up the required accuracy
-					quality.SetHorizontalAccuracy(EXPECTED_GPS_ACCURACY_HORIZONTAL);
-					quality.SetVerticalAccuracy(EXPECTED_GPS_ACCURACY_VERTICAL);
-					
-					criteria.SetRequiredQuality(quality);
-					User::LeaveIfError(iPositioner.Open(iServer, criteria));
-					CleanupClosePushL(iPositioner);
-					
-					//Configure partial Updates
-					TPositionUpdateOptions optsA;
-					optsA.SetAcceptPartialUpdates(EFalse);
-					if(EFalse != optsA.AcceptPartialUpdates())
-						{
-						INFO_PRINTF1(_L("Partial Updates not set."));
-						SetTestStepResult(EFail);
-						}	
-					
-					iPositioner.SetUpdateOptions(optsA);
-					
-					
-					// NOTE:
-					// -Expect to call NPU once, and have module return 2 partial updates
-					//  before finally returning the complete update.
-					// -We need a way to inform the module that it nedes to return partial updates
-					//  When we have AcceptPartialUpdates SwitchedOff.
-										
-					// ** Test AGPS manager must already be configured to return partial location info
-					// ** We should only see the full location info to required accuracy etc
-					TPositionInfo positionInfo;
-					TPositionInfo positionInfoTemp = reinterpret_cast<TPositionInfo&>(iParent.iSharedData->iVerifyPosInfoArr[2]);
-	
-					// Get the actual position
-					err = DoNotifyUpdateL(positionInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					else
-						{
-						//Compare posInfo with Moduledata 3
-						T_LbsUtils utils;
-						if(!utils.Compare_PosInfo(positionInfo, positionInfoTemp))
-							{
-							INFO_PRINTF1(_L("<FONT><B>We didn't recieve complete update.</B></FONT>"));
-							SetTestStepResult(EFail);
-							}
-						}
-																
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-	
-				// Test case LBS-UpdateOptions-012
-				case 12:
-					{
-					// Open positioner with
-					// configured required quality
-					TPositionCriteria	criteria;
-					TPositionQuality    quality;
-					
-					// set up the required accuracy
-					quality.SetHorizontalAccuracy(EXPECTED_GPS_ACCURACY_HORIZONTAL);
-					quality.SetVerticalAccuracy(EXPECTED_GPS_ACCURACY_VERTICAL);
-					
-					criteria.SetRequiredQuality(quality);
-					err = iPositioner.Open(iServer, criteria);
-					User::LeaveIfError(err);
-					CleanupClosePushL(iPositioner);
-					
-					//Configure partial Updates
-					TPositionUpdateOptions optsA;
-					optsA.SetAcceptPartialUpdates(ETrue);
-					if(!optsA.AcceptPartialUpdates())
-						{
-						INFO_PRINTF1(_L("Partial Updates not set."));
-						SetTestStepResult(EFail);
-						}	
-					
-					err = iPositioner.SetUpdateOptions(optsA);
-					User::LeaveIfError(err);
-					
-					// NOTE:
-					// -Expect to call NPU repeatedly to recieve each partial update
-					// -We need a way to inform the module that it nedes to return partial updates
-					//  When we have AcceptPartialUpdates SwitchedOff.
-										
-					// ** Test AGPS manager must already be configured to return partial location info
-					// ** We should only see the full location info to required accuracy etc
-
-					// Create a posinfo and store in our shared array for later verification.
-					RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-					T_LbsUtils utils;
-					utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-					TInt loopCount = iParent.iSharedData->iCurrentPosInfoArr.Count()-1;
-					// Get the actual position
-					for(int i = 0 ; i < loopCount ; i++ )
-						{
-						TPositionInfo* positionInfo = new(ELeave) TPositionInfo();
-						posInfoArr.Append(positionInfo);
-						
-						err = DoNotifyUpdateL(*positionInfo);
-						if (KErrNone != err)
-							{
-							SetTestStepResult(EFail);
-							}	
-						}
-									
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-				
-				// Test case LBS-UpdateOptions-013
-				case 13:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);					
-					
-					TPositionInfo posInfo;
-					TPositionInfo posInfob;
-	
-					// This call to NPU puts a location in cache
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					// TO DO - read these from config?
-					TPositionUpdateOptions posOpts;
-					posOpts.SetMaxUpdateAge(1*1000000);
-					posOpts.SetUpdateInterval(5*1000000);
-					
-					if((posOpts.MaxUpdateAge() != 1000000) || (posOpts.UpdateInterval() != 5000000))
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					iPositioner.SetUpdateOptions(posOpts);
-											
-					//Retrieve cached location with second call to NPU
-					err = DoNotifyUpdateL(posInfob);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					
-					//INTERNAL COMPARISON
-					//Make sure we've retrieved the cached location						
-					T_LbsUtils utils;
-					if(!utils.Compare_PosInfo(posInfo, posInfob))
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}	
-					
-			
-					
-					
-					
-				// Test case LBS-UpdateOptions-014
-				case 14:
-					{
-					T_LbsUtils utils;
-					TPositionModuleId networkModId = utils.GetNetworkModuleIdL(iServer);
-									
-					// Open positioners.
-					User::LeaveIfError(iPositioner.Open(iServer, networkModId));
-					CleanupClosePushL(iPositioner);
-					
-					RPositionServer server2;
-					RPositioner positioner2;
-					
-					// Connect to self locate servers.
-					User::LeaveIfError(server2.Connect());
-					CleanupClosePushL(server2);
-					
-					TPositionModuleId aGpsModId = utils.GetAGpsModuleIdL(server2);			
-					
-					User::LeaveIfError(positioner2.Open(server2, aGpsModId));
-					CleanupClosePushL(positioner2);
-					
-					
-					TPositionUpdateOptions optsA; 
-					TPositionUpdateOptions optsB;
-					
-					optsA.SetMaxUpdateAge(10000000);
-					optsA.SetUpdateInterval(5000000);
-					
-					optsB.SetMaxUpdateAge(0);
-					optsB.SetUpdateInterval(2000000);
-					
-					TPositionInfo posInfo;
-					TPositionInfo posInfob;
-	
-	
-					// Get the actual position
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					err = DoNotifyUpdateL(posInfob);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&positioner2);
-					CleanupStack::PopAndDestroy(&server2);
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-				
-				
-				// Test case LBS-UpdateOptions-015
-				case 15:
-					{
-					T_LbsUtils utils;
-					TPositionModuleId networkModId = utils.GetNetworkModuleIdL(iServer);
-									
-					// Open positioners.
-					User::LeaveIfError(iPositioner.Open(iServer, networkModId));
-					CleanupClosePushL(iPositioner);
-					
-					RPositionServer server2;
-					RPositioner positioner2;
-					
-					// Connect to self locate servers.
-					User::LeaveIfError(server2.Connect());
-					CleanupClosePushL(server2);
-					
-					User::LeaveIfError(positioner2.Open(server2, networkModId));
-					CleanupClosePushL(positioner2);
-					
-					
-					TPositionUpdateOptions optsA; 
-					TPositionUpdateOptions optsB;
-					
-					optsA.SetMaxUpdateAge(10000000);
-					optsA.SetUpdateInterval(5000000);
-					
-					optsB.SetMaxUpdateAge(0);
-					optsB.SetUpdateInterval(2000000);
-					
-					TPositionInfo posInfo;
-					TPositionInfo posInfob;
-	
-	
-					// Get the actual position
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					// Loop? Keep calling until full info recieved.
-					err = DoNotifyUpdateL(posInfob);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&positioner2);
-					CleanupStack::PopAndDestroy(&server2);
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-					
-					
-					
-				// Test case LBS-UpdateOptions-016
-				case 16:
-					{
-					T_LbsUtils utils;
-					TPositionModuleId networkModId = utils.GetNetworkModuleIdL(iServer);
-									
-					// Open positioners.
-					User::LeaveIfError(iPositioner.Open(iServer, networkModId));
-					CleanupClosePushL(iPositioner);
-					
-					RPositionServer server2;
-					RPositioner positioner2;
-					
-					//Connect to self locate server
-					TPositionModuleId aGpsModId = utils.GetAGpsModuleIdL(server2);	
-					
-					User::LeaveIfError(positioner2.Open(iServer, aGpsModId));
-					CleanupClosePushL(positioner2);
-					
-					TPositionUpdateOptions optsA; 
-					TPositionUpdateOptions optsB;
-					
-					optsA.SetMaxUpdateAge(10000000);
-					optsA.SetUpdateInterval(5000000);
-					
-					optsB.SetMaxUpdateAge(0);
-					optsB.SetUpdateInterval(2000000);
-					
-					TPositionInfo posInfo;
-					TPositionInfo posInfob;
-	
-					// Get the actual position
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					// Loop? Keep calling until full info recieved.
-					err = DoNotifyUpdateL(posInfob);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&positioner2);
-					CleanupStack::PopAndDestroy(&server2);
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-					
-				// Test case LBS-UpdateOptions-017
-				case 17:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					
-					TPositionUpdateOptions optsA;
-					optsA.SetUpdateInterval(1000000);
-					optsA.SetMaxUpdateAge(5000000);
-					
-					if((optsA.MaxUpdateAge() != 5000000) || (optsA.UpdateInterval() != 1000000))
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					iPositioner.SetUpdateOptions(optsA);
-					// Test AGPS manager must already be configured to return partial location info
-		
-					TPositionInfo posInfo;
-	
-					// This call to NPU puts a location in cache
-					err = DoNotifyUpdateL(posInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					/*
-						MaxUpdateAge () returns the current age limit for 
-						information returned by NotifyPositionUpdate(). 
-						Zero is returned when there is no acceptable age limit.
-					*/
-					
-					if(optsA.MaxUpdateAge() != 0)
-						{
-						SetTestStepResult(EFail);
-						}
-
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-				// Test case LBS-UpdateOptions-018
-				case 18:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-										
-					TPositionUpdateOptions optsA;
-					optsA.SetMaxUpdateAge(-1);
-					
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-				// Test case LBS-UpdateOptions-019
-				case 19:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
-					
-					//MaxUpdateAge comparision replacede by verify data step
-					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;
-					
-					TPositionInfo posInfoA, posInfoB;
-					
-					//Get fresh location and have it in cache
-					err = DoNotifyUpdateL(posInfoA);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					
-					//Second call to NPU should have maxupdateage set.
-					iPositioner.SetUpdateOptions(updateOpts);
-					
-					err = DoNotifyUpdateL(posInfoB);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					
-					T_LbsUtils utils;
-						
-					if(!utils.Compare_PosInfo(posInfoA, posInfoB))
-							{
-							//Cached copy doesnt match retrieved copy.
-							SetTestStepResult(EFail);
-							}
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-					
-					break;
-					}
-
-				// Test case LBS-UpdateOptions-020
-				case 20:
-					{
-					// Open positioner.
-					User::LeaveIfError(iPositioner.Open(iServer));
-					CleanupClosePushL(iPositioner);
- 					
-					TPositionInfo cachedInfo, firstposInfo, secondposInfo;
- 
-  					TPositionUpdateOptions& updateOpts = iParent.iSharedData->iVerifyUpdateOpts;
-					updateOpts.SetUpdateInterval(0);
-					updateOpts.SetMaxUpdateAge(0);
-					//Second call to NPU should have maxupdateage set.
-					iPositioner.SetUpdateOptions(updateOpts);
-   					
-					// Get fresh location and have it in cache
-					err = DoNotifyUpdateL(cachedInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-					
-					// Change the max fix time
-					updateOpts.SetMaxUpdateAge(5000000);
-					iPositioner.SetUpdateOptions(updateOpts);
-			
-					// Wait 4 seconds
-					User::After(4000000);
-				
-					// Get a position should be the same as in the cache
-					err = DoNotifyUpdateL(firstposInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-						
-					// Wait 2 seconds
-					User::After(2000000);
-					// Get a position should not be the same as the cache
-					err = DoNotifyUpdateL(secondposInfo);
-					if (KErrNone != err)
-						{
-						SetTestStepResult(EFail);
-						}
-				
-					T_LbsUtils utils;
-			
-					TBool a = utils.Compare_PosInfo(cachedInfo, firstposInfo);
-					TBool b = utils.Compare_PosInfo(firstposInfo, secondposInfo);
-						
-					if(!a || b)
-						{
-						//Cached copy doesnt match retrieved copy.
-						SetTestStepResult(EFail);
-						}
-						
-					CleanupStack::PopAndDestroy(&iPositioner);
-
-					break;
-					}
-					
-					
-					// Test case LBS-UpdateOptions-101 (for DEF118183)
-					case 101:
-						{
-						// Open positioner.
-						User::LeaveIfError(iPositioner.Open(iServer));
-						CleanupClosePushL(iPositioner);					
-						
-						TPositionInfo posInfoa;
-						TPositionInfo posInfob;
-						TPositionInfo posInfoc;
-		
-						// This call to NPU puts a location in cache
-						err = DoNotifyUpdateL(posInfoa);
-						if (KErrNone != err)
-							{
-							INFO_PRINTF2(_L("Failed: During first call to NPU err is %d"), err);
-							SetTestStepResult(EFail);
-							}
-
-						TPositionUpdateOptions posOpts;
-						posOpts.SetMaxUpdateAge(1*1000000);
-						posOpts.SetUpdateInterval(5*1000000);
-						
-						if((posOpts.MaxUpdateAge() != 1000000) || (posOpts.UpdateInterval() != 5000000))
-							{
-							INFO_PRINTF1(_L("Failed: During check of options values"));
-							SetTestStepResult(EFail);
-							}
-							
-						iPositioner.SetUpdateOptions(posOpts);
-												
-						//Retrieve cached location with second call to NPU
-						err = DoNotifyUpdateL(posInfob);
-						if (KErrNone != err)
-							{
-							INFO_PRINTF2(_L("Failed: During NPU 2 value is %d"), err);
-							SetTestStepResult(EFail);
-							}
-						
-						//INTERNAL COMPARISON
-						//Make sure we've retrieved the cached location						
-						T_LbsUtils utils;
-						if(!utils.Compare_PosInfo(posInfoa, posInfob))
-							{
-							INFO_PRINTF1(_L("Failed: During comparison of pos info values"));
-							SetTestStepResult(EFail);
-							}
-						
-						// Make 3rd call to NPU - this one to be cancelled
-						TRequestStatus status;
-						iPositioner.NotifyPositionUpdate(posInfoc, status);	
-
-						// Wait 2 seconds and then cancel
-						User::After(2000000);
-						err = iPositioner.CancelRequest(EPositionerNotifyPositionUpdate);
-						if (KErrNone != err)
-							{
-							// Pre-DefectFix code would return -1 at this point since there would have been no request to cancel
-							INFO_PRINTF2(_L("Failed: Cancel request was rejected with error %d"), err);
-							SetTestStepResult(EFail);						
-							}
-						
-						User::WaitForRequest(status);
-						if (KErrCancel != status.Int())
-							{
-							// Pre-DefectFix code would return 0 at this point to indicate a successfully returned position
-							INFO_PRINTF2(_L("Failed: Expected NPU to complete with KErrCancel but actual value is %d"), status.Int());
-							SetTestStepResult(EFail);
-							}
-
-						CleanupStack::PopAndDestroy(&iPositioner);
-						
-						break;
-						}
-						
-						
-					
-				default:
-					User::Panic(KLbsClientStepUpdateOptions, KErrUnknown);					
-						
-					}
-				
-				}
-		
-			
-		// All done, clean up.
-		CleanupStack::PopAndDestroy(&iServer);		
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsClientStep_UpdateOptions::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sf_xtestmodule_modselect.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-# sfxtestmoudle.ini
-
-[1]
-Version= 1.2.3		#
-ModuleId= 271064388	# dec
-ModuleName= "TEST_Loc_AGPS_Module"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 1111	# binary
-TimeToFirstFix= 2000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 100 # real
-VerticalAccuracy= 100 # real
-CostIndicator= 3	# dec
-PowerConsumption= 3	# dec
-DataSourceId= 271065699	# dec
-ExecutableName= "lbsgpslocmanager.exe"
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientcellbasednpud.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-[SFLBS-CLIENT-CELLBASEDNPUD]
-psy_uid=0x101fe98e
-
-[SFLBS-NotifyPosUpdate-CellBased]
-pos_infos_file=c:\testdata\configs\sflbsclientcellbasednpud.ini
-$position,1*
-
-
-[SFLBS-NotifyPosUpdate-CellBased-0001]
-tc_id=1
-log_type=2
-
-[SFLBS-NotifyPosUpdate-CellBased-0002]
-tc_id=2
-
-[SFLBS-NotifyPosUpdate-CellBased-0003]
-tc_id=3
-
-[SFLBS-NotifyPosUpdate-CellBased-0004]
-tc_id=4
-pos_infos_file=c:\testdata\configs\sflbsclientcellbasednpud.ini
-$position,4*
-
-[SFLBS-NotifyPosUpdate-CellBased-0005]
-tc_id=5
-
-[SFLBS-NotifyPosUpdate-CellBased-0006]
-tc_id=6
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientlastknownpos.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-[SFLBS-LastKnownPos]
-psy_uid=0x101fe98c
-
-[SFLBS-LastKnownPosNetwork]
-psy_uid=0x101fe98e
-
-[SFLBS-LastKnownPos-0001]
-tc_id=1
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-log_type=0
-type / repeat / lat / long / alt / dat / H / V /...
-
-[SFLBS-LastKnownPos-0002]
-tc_id=2
-
-[SFLBS-LastKnownPos-0004]
-tc_id=4
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-[SFLBS-LastKnownPos-0006]
-tc_id=6
-
-[SFLBS-LastKnownPos-0007]
-tc_id=7
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-[SFLBS-LastKnownPos-0008]
-tc_id=8
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-
-[SFLBS-LastKnownPos-0009]
-tc_id=9
-
-[SFLBS-LastKnownPos-0010]
-tc_id=10
-
-[SFLBS-LastKnownPos-0012]
-tc_id=12
-
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-[SFLBS-LastKnownPos-0013]
-tc_id=13
-
-[SFLBS-LastKnownPos-0014]
-tc_id=14
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-[SFLBS-LastKnownPos-0015]
-tc_id=15
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,2*
-
-[SFLBS-LastKnownPos-0016]
-tc_id=16
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,2*
-
-[SFLBS-LastKnownPos-0101]
-tc_id=101
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-type / repeat / lat / long / alt / dat / H / V /...
-
-
-[SFLBS-LastKnownPos-0102]
-tc_id=102
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1*
-
-
-[SFLBS-LastKnownPos-0103]
-tc_id=103
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,2*
-
-[SFLBS-LastKnownPos-0104]
-tc_id=104
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,2*
-
-[SFLBS-LastKnownPos-0105]
-tc_id=105
-pos_infos_file=c:\testdata\configs\sflbsclientlastknownpos.ini
-$position,1,52.2,0.2,10,0,100,100*
-type / repeat / lat / long / alt / dat / H / V /...
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientmultireq.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[SFLBS-MultiReq]
-psy_uid=0x101fe98c
-
-[SFLBS-MultiReq-0001]
-tc_id=1
-
-pos_infos_file=c:\testdata\configs\sflbsclientmultireq.ini
-$position,1,65.67878945673,70.34,4,0,10,10*
-$position,1*
-
-
-[SFLBS-MultiReq-0002]
-tc_id=02
-expected_error=0
-pos_infos_file=c:\testdata\configs\sflbsclientmultireq.ini
-$position,1,67.67878,-65,4,0,10,10*
\ No newline at end of file
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclientnotifyposupdate.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,183 +0,0 @@
-[SFLBS-NotifyPosUpdate]
-psy_uid=0x101fe98c
-
-
-[SFLBS-NotifyPosUpdate-0001]
-tc_id=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1*
-
-
-[SFLBS-NotifyPosUpdate-0003]
-tc_id=3
-
-
-[SFLBS-NotifyPosUpdate-0005]
-tc_id=5
-
-
-[SFLBS-NotifyPosUpdate-0006]
-tc_id=6
-
-
-[SFLBS-NotifyPosUpdate-0007]
-tc_id=7
-
-
-[SFLBS-NotifyPosUpdate-0008]
-tc_id=8
-
-
-[SFLBS-NotifyPosUpdate-0014]
-tc_id=14
-
-
-[SFLBS-NotifyPosUpdate-0015]
-tc_id=15
-
-
-[SFLBS-NotifyPosUpdate-0016]
-tc_id=16
-
-
-[SFLBS-NotifyPosUpdate-0017]
-tc_id=17
-
-
-[SFLBS-NotifyPosUpdate-0018]
-tc_id=18
-
-
-[SFLBS-NotifyPosUpdate-0019]
-tc_id=19
-num_positions=3
-
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,1,1,0,10,10*
-$position,1,2,2,2,0,10,10*
-$position,1,3,3,3,0,10,10*
-
-
-[SFLBS-NotifyPosUpdate-0020]
-tc_id=20
-
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1*
-
-
-[SFLBS-NotifyPosUpdate-0021]
-tc_id=21
-
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1*
-
-[SFLBS-NotifyPosUpdate-0022]
-tc_id=22
-profile_id=1
-max_time=130000000 
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,2,3,0,10,200*
-
-[SFLBS-NotifyPosUpdate-0024]
-tc_id=24
-profile_id =2
-expected_api_behaviour = 1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,2,3,0,50,1000*
-
-[SFLBS-NotifyPosUpdate-0025]
-tc_id=25
-profile_id =1
-expected_api_behaviour = 1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-// partial updates:
-$position,1,1,nan,3,0,50,1000*
-
-
-[SFLBS-NotifyPosUpdate-0026]
-tc_id=26
-profile_id =2
-expected_api_behaviour = 1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,1,1,0,10,10*
-$position,1,2,2,2,0,10,10*
-$position,1,3,3,3,0,10,10*
-
-[SFLBS-NotifyPosUpdate-0027]
-tc_id=27
-profile_id =1
-expected_api_behaviour = 1
-max_time=30000000
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,2,3,0,70,1000*
-
-[SFLBS-NotifyPosUpdate-0028]
-tc_id=28
-profile_id =1
-max_time=30000000
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,2,3,0,70,1000*
-
-[SFLBS-NotifyPosUpdate-0029]
-tc_id=29
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,2,2,2,0,10,10000*
-
-[SFLBS-NotifyPosUpdate-0030]
-tc_id=30
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1,1,nan,0,10,nan*
-
-[SFLBS-NotifyPosUpdate-0101]
-tc_id=101
-expected_api_behaviour = 1
-log_type=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1*
-
-
-[SFLBS-NotifyPosUpdate-0105]
-tc_id=105
-log_type=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,nan,nan,nan,0,nan,nan*
-$position,2,1,2,3,0,10,10*
-
-
-[SFLBS-NotifyPosUpdate-1001]
-tc_id=1001
-log_type=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1.2,2.3,1,0,101,2001*
-$position,1,1.2,2.3,1,0,101,2001*
-
-[SFLBS-NotifyPosUpdate-0201]
-tc_id=201
-log_type=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1*
-
-[SFLBS-NotifyPosUpdate-1002]
-tc_id=1002
-log_type=1
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1.2,2.3,1,0,101,2001*
-$position,1,1.2,2.3,1,0,101,2001*
-
-
-[SFLBS-NotifyPosUpdate-1004]
-tc_id=1004
-pos_infos_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,1.2,2.3,1,0,101,2001*
-$position,1,1.2,2.3,1,0,101,2001*
-
-
-[SFLBS-NotifyPosUpdate-0106]
-tc_id=106
-
-[LBS-UPDATE-OPTS-020]
-tc_id=20
-module_data_file=c:\testdata\configs\sflbsclientnotifyposupdate.ini
-$position,1,4,5,11,10,3,4*
-$position,1,6,7,12,10,5,6*
-$updateoptions,2000000,0,120000000,false
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sflbsclienttracking.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[SFLBS-CLIENT-TRACKING]
-psy_uid=0x101fe98c
-
-[SFLBS-TRACKING-001]
-tc_id=1
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,4.0,2.0,2.0,10,10*
-$update,1,0,49.2,NAN,NAN,NAN,NAN*
-
-
-[SFLBS-TRACKING-002]
-tc_id=2
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,4.0,2.0,2.0,10,10*
-$update,1,0,5.0,2.0,3.0,10,10*
-
-
-[SFLBS-TRACKING-003]
-tc_id=3
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,NAN,NAN,1.0,10,10*
-$update,1,0,NAN,NAN,2.0,10,10*
-
-
-[SFLBS-TRACKING-004]
-tc_id=4
-expected_error2=0
-expected_error3=0
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,4.0,2.0,2.0,1000,1000*
-$update,1,0,5.0,2.0,3.0,2000,2000*
-
-
-[SFLBS-TRACKING-005]
-tc_id=5
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,4.0,2.0,2.0,10,10*
-$update,1,0,5.0,2.0,3.0,2000,2000*
-
-[SFLBS-TRACKING-006]
-tc_id=6
-expected_error2=0
-expected_error3=2
-expected_error4=0
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,5.0,2.0,3.0,2000,2000*
-$update,1,0,NAN,NAN,1.5,5000,5000,4,-1500*
-$update,1,0,5.0,2.0,3.0,2000,2000*
-
-[SFLBS-TRACKING-007]
-tc_id=7
-expected_error2=0
-
-$updateoptions,5000000,30000000,0,false*
-
-agps_module_update_file = c:\testdata\configs\sflbsclienttracking.ini
-
-$update,2,0,3.0,2.0,1.0,10,10*
-$update,1,0,5.0,2.0,3.0,2000,2000*
-
--- a/lbstest/lbstestproduct/sf/core/sflbsclient/testdata/sfothermodule.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# sfothermodule.ini
-
-[1]
-Version= 0.2.1		#
-ModuleId= 271064389	# dec
-ModuleName= "OtherModule"	# 
-TechnologyType= 0101	# binary
-DeviceLocation= 1	# binary
-Capabilities= 11111	# binary
-ClassesSupported= 111111	# binary
-TimeToFirstFix= 90000	# ms
-TimeToNextFix= 1000	# ms
-HorizontalAccuracy= 5.4 # real
-VerticalAccuracy= 5.4 # real
-CostIndicator= 2	# dec
-PowerConsumption= 2	# dec
-DataSourceId= 271065673	# dec
-ExecutableName= "lbsgpslocmanager.exe"
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sf_futile_sp_on_1028224B.cre	c:/testdata/configs/sf_futile_sp_on_1028224B.cre
-../testdata/sf_futile_sp_on_1028224B.txt	c:/testdata/configs/sf_futile_sp_on_1028224B.txt
-../testdata/sf_lbsprofile_timeout_off.ini	c:/testdata/configs/sf_lbsprofile_timeout_off.ini
-../testdata/sf_lbsprofile_timeout_on.ini	c:/testdata/configs/sf_lbsprofile_timeout_on.ini
-../testdata/sf_lbsprofile_values.ini	c:/testdata/configs/sf_lbsprofile_values.ini
-../testdata/sf_lbs_molr.ini	c:/testdata/configs/sf_lbs_molr.ini
-../testdata/sf_lbs_molr_tracking.ini	c:/testdata/configs/sf_lbs_molr_tracking.ini
-../testdata/sf_lbs_molr_variant2.ini	c:/testdata/configs/sf_lbs_molr_variant2.ini
-../scripts/sf_hybrid_molr_futile.script	c:/testdata/scripts/sf_hybrid_molr_futile.script
-../scripts/sf_hybrid_ueassisted_molr_client_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_molr_client_timeout.script
-../scripts/sf_hybrid_ueassisted_molr_gpsok.script	c:/testdata/scripts/sf_hybrid_ueassisted_molr_gpsok.script
-../scripts/sf_hybrid_ueassisted_molr_no_gps_update.script	c:/testdata/scripts/sf_hybrid_ueassisted_molr_no_gps_update.script
-../scripts/sf_hybrid_ueassisted_molr_partial.script	c:/testdata/scripts/sf_hybrid_ueassisted_molr_partial.script
-../scripts/sf_hybrid_ueassisted_molr_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_molr_timeout.script
-../scripts/sf_hybrid_uebased_molr_partial.script	c:/testdata/scripts/sf_hybrid_uebased_molr_partial.script
-../scripts/sf_molr_gpsoptions.script	c:/testdata/scripts/sf_molr_gpsoptions.script
-../scripts/sf_molr_tracking.script	c:/testdata/scripts/sf_molr_tracking.script
-../scripts/sf_ueassisted_molr_self_gps_inaccurate_timeout.script	c:/testdata/scripts/sf_ueassisted_molr_self_gps_inaccurate_timeout.script
-../scripts/sf_ueassisted_molr_self_gps_late.script	c:/testdata/scripts/sf_ueassisted_molr_self_gps_late.script
-../scripts/sf_uebased_molr_self.script	c:/testdata/scripts/sf_uebased_molr_self.script
-sflbshybridmolr.iby	/epoc32/rom/include/sflbshybridmolr.iby
-
-PRJ_TESTMMPFILES
-
-ctsflbshybridmolrserver.mmp
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/ctsflbshybridmolrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctsflbsHybridmolrserver.mmp
-// 
-//
-
-TARGET		sflbshybridmolrtestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x10287207
-VENDORID 	0x70000001
-CAPABILITY	ProtServ LocalServices WriteDeviceData ReadDeviceData Location ReadUserData WriteUserData AllFiles
-
-
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-USERINCLUDE		../inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsNetInternalApi/inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsInternalApi/inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsCommonInternalDataTypes/inc
-
-// Lbs Hybrid MoLr framework code.
-SOURCEPATH	../src
-SOURCE	ctlbataearlycomplete.cpp
-SOURCE	ctlbshybridmolrfutile.cpp
-SOURCE	ctlbshybridmolrserver.cpp
-SOURCE	ctlbshybridmolrshareddata.cpp
-SOURCE	ctlbshybridmolrstep.cpp
-SOURCE	ctlbshybridueassistedmolrclienttimeout.cpp
-SOURCE	ctlbshybridueassistedmolrgpsok.cpp
-SOURCE	ctlbshybridueassistedmolrnogpsupdate.cpp
-SOURCE	ctlbshybridueassistedmolrpartial.cpp
-SOURCE	ctlbshybridueassistedmolrtimeout.cpp
-SOURCE	ctlbshybriduebasedmolrpartial.cpp
-SOURCE	ctlbsmolrgpsoptions.cpp
-SOURCE	ctlbsmolrtracking.cpp
-SOURCE	ctlbsnetprotocol.cpp
-SOURCE	ctlbstestactivemanager.cpp
-SOURCE	ctlbsueassistedmolrselfgpsinaccuratetimeout.cpp
-SOURCE	ctlbsueassistedmolrselfgpslate.cpp
-SOURCE	ctlbsuebasedmolrself.cpp
-
-
-
-
-// Supl tests
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsassistancedata.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsprivacycontroller.lib
-LIBRARY lbsnetsim.lib
-LIBRARY	lbslocdatasource.lib
-LIBRARY lbsnetinternalapi.lib
-LIBRARY lbsinternalapi.lib
-LIBRARY	lbspartnercommon.lib
-
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY lbstestclient.lib
-LIBRARY lbsnetprotocolproxy.lib
-LIBRARY getafixutils.lib
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/group/sflbshybridmolr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __LBS_HYBRID_MOLR__
-#define __LBS_HYBRID_MOLR__
-
-#include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
-#include <ctlbsclockplugin.iby>
-#include <hybridprotocolmodule.iby>
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
-
-file=ABI_DIR\DEBUG_DIR\LbsHybridMOLRTestServer.exe sys\bin\LbsHybridMOLRTestServer.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_molr.ini	  testdata\configs\lbs_molr.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_molr_self.script	  testdata\scripts\uebased_molr_self.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\run_hw_molr.bat	  testdata\scripts\run_hw_molr.bat
-data=EPOCROOT##epoc32\data\C\testdata\scripts\ueassisted_molr_self_gps_late_fac_timeout.script testdata\scripts\ueassisted_molr_self_gps_late_fac_timeout.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script testdata\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script
-
-#endif
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbataearlycomplete.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_EARLY_COMPLETE_H__
-#define __CT_LBS_EARLY_COMPLETE_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-#include "ctlbsagpshandler.h"
-
-// Literals used
-_LIT(KLbsATAEarlyComplete, "LbsATAEarlyComplete");
-
-class CT_LbsATAEarlyComplete :	public	CT_LbsHybridMOLRStep, public MPosServerObserver, MT_ResponseObserver 
-	{
-public:
-	~CT_LbsATAEarlyComplete();
-
-	static CT_LbsATAEarlyComplete* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-
-	// from MT_ResponseObserver
-	virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-
-protected:
-	CT_LbsATAEarlyComplete(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-	
-	// Communication channel between A-Gps module and Test Harness
-	CT_LbsAGpsHandler* iAGpsHandler;
-	
-private:
-	enum TState
-		{
-		EInitializing,
-		EGotFirstPosition,
-		EGotCompleteRequestPosition,
-		EDone
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif // __CT_LBS_EARLY_COMPLETE_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrfutile.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MOLR GPS Futile test cases (ue-based and ue-assisted)
-// 
-//
-
-#ifndef CTLBSHYBRUDMOLRFUTILE_H
-#define CTLBSHYBRUDMOLRFUTILE_H
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsHybridMOLRFutile,"LbsHybridMolrFutile");
-
-
-class CT_LbsHybridMOLRFutile: public CT_LbsHybridMOLRStep, /*public MLbsPrivacyObserver*/  public MPosServerObserver
-{
-public:
-    static CT_LbsHybridMOLRFutile* New(CT_LbsHybridMOLRServer& aParent);
-    enum TVerdict doTestStepL();
-    ~CT_LbsHybridMOLRFutile();
-
-protected:
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-	
-protected:
-    CT_LbsHybridMOLRFutile(CT_LbsHybridMOLRServer& aParent);
-    void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		EFnNwLocReceived
-		};
-	
-	TInt iTestCaseId;	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-};
-
-#endif // CTLBSHYBRUDMOLRFUTILE_H
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmolrserver.h
-// This contains the header file for Hybrid LBS MOLR Test server
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_MOLR_SERVER_H__
-#define __CT_LBS_HYBRID_MOLR_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-#include "ctlbshybridmolrshareddata.h"
-
-_LIT(KSfLbsHybridMOLRTestServer,"SfLbsHybridMOLRTestServer");
-
-// Implements the LBS Client Test server
-class CT_LbsHybridMOLRServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsHybridMOLRServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsHybridMOLRServer();
-	
-protected:
-	CT_LbsHybridMOLRServer();
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_HYBRID_MOLR_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrshareddata.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridMOLRshareddata.h
-// 
-//
-
-
-#ifndef __T_LBS_HYBRID_MOLR_SHARED_DATA_H__
-#define __T_LBS_HYBRID_MOLR_SHARED_DATA_H__
-
-// system includes
-
-// Lbs includes
-#include "ctlbsshareddata.h"
-#include "tlbsutils.h"
-
-class CT_LbsHybridMOLRSharedData : public CT_LbsSharedData
-{
-public:
-	static CT_LbsHybridMOLRSharedData* NewL();
-	~CT_LbsHybridMOLRSharedData();
-
-protected:
-	CT_LbsHybridMOLRSharedData();
-	void ConstructL();
-
-private:
-//	RPointerArray<TLbsModuleUpdateItem>& iUpdateArr;
-};
-
-#endif // __T_LBS_HYBRID_MOLR_SHARED_DATA_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridmolrstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmolrstep.h
-// This contains the header file for LBS HYBRID MOLR Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_MOLR_STEP_H__
-#define __CT_LBS_HYBRID_MOLR_STEP_H__
-
-#include <test/testexecutestepbase.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/test/ctlbsagpsmoduleeventlistener.h>
-
-#include "ctlbshybridmolrserver.h"
-
-/** Must be the Id of the protocol module used for the test */
-const TUid KRequestUid = {0x10282293};
-
-enum TExpectedApiBehaviour
-	{
-	EApiVariant1,
-	EApiVariant2
-	};
-
-
-class CT_LbsHybridMOLRStep : public CTestStep, MT_AgpsModuleEventHandler
-{
-
-public:
-	virtual ~CT_LbsHybridMOLRStep();
-	
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	CT_LbsHybridMOLRStep(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-	
-	CT_LbsHybridMOLRServer& iParent;
-
-private: // from MT_AgpsModuleEventHandler
-	void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions);
-	
-private:
-	RPointerArray<TLbsGpsOptions> iExpectedModuleGpsOptions;
-	TInt iExpectedModuleGpsOptionsIndex;
-	
-	CT_AgpsModuleEventListener* iAgpsModuleEventListener;
-	
-protected:
-	TExpectedApiBehaviour iExpectedApiBehaviour;
-};
-
-struct SData			
-	{
-	TLbsNetSessionId sessionId;
-	TVerdict response;
-	};
-
-
-#endif // __CT_LBS_HYBRID_MOLR_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrclienttimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_UEASSISTED_MOLR_CLIENT_TIMEOUT_H__
-#define __CT_LBS_UEASSISTED_MOLR_CLIENT_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-
-// Literals used
-_LIT(KLbsUEAssistedMOLRClientTimeout, "LbsUEAssistedMOLRClientTimeout");
-
-class CT_LbsUEAssistedMOLRClientTimeout :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsUEAssistedMOLRClientTimeout();
-
-	static CT_LbsUEAssistedMOLRClientTimeout* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsUEAssistedMOLRClientTimeout(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif // __CT_LBS_UEASSISTED_MOLR_CLIENT_TIMEOUT_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrgpsok.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for MOLR UE Assisted GPS ok
-// 
-//
-
-#ifndef CTLBSHYBRIDUEASSISTEDMOLRGPSOK_H
-#define CTLBSHYBRIDUEASSISTEDMOLRGPSOK_H
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedMOLRGPSOk,"LbsHybridUEAssistedMOLRGPSOk");
-
-
-class CT_LbsHybridUEAssistedMOLRGPSOk: public CT_LbsHybridMOLRStep, /*public MLbsPrivacyObserver*/  public MPosServerObserver
-{
-public:
-    static CT_LbsHybridUEAssistedMOLRGPSOk* New(CT_LbsHybridMOLRServer& aParent);
-    enum TVerdict doTestStepL();
-    ~CT_LbsHybridUEAssistedMOLRGPSOk();
-
-protected:
-/*	// from MLbsPrivacyObserver
-	void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-	void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-	void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-*/
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-	
-protected:
-    CT_LbsHybridUEAssistedMOLRGPSOk(CT_LbsHybridMOLRServer& aParent);
-    void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-
-};
-
-#endif //	CTLBSHYBRIDUEASSISTEDMOLRGPSOK_H
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrnogpsupdate.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for MOLR UE Assisted No GPS Update during time t
-// 
-//
-
-#ifndef CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H
-#define CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedMOLRNoGPSUpdate,"LbsHybridUEAssistedMOLRNoGPSUpdate");
-
-
-class CT_LbsHybridUEAssistedMOLRNoGPSUpdate: public CT_LbsHybridMOLRStep, public MPosServerObserver
-{
-public:
-    static CT_LbsHybridUEAssistedMOLRNoGPSUpdate* New(CT_LbsHybridMOLRServer& aParent);
-    enum TVerdict doTestStepL();
-    ~CT_LbsHybridUEAssistedMOLRNoGPSUpdate();
-
-protected:
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-	
-protected:
-    CT_LbsHybridUEAssistedMOLRNoGPSUpdate(CT_LbsHybridMOLRServer& aParent);
-    void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-};
-
-#endif //	CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrpartial.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UEASSISTED_MOLR_PARTIAL_H__
-#define __CT_LBS_HYBRID_UEASSISTED_MOLR_PARTIAL_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-
-// Literals used
-_LIT(KLbsHybridUEAssistedMOLRPartial, "LbsHybridUEAssistedMOLRPartial");
-
-class CT_LbsHybridUEAssistedMOLRPartial :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsHybridUEAssistedMOLRPartial();
-
-	static CT_LbsHybridUEAssistedMOLRPartial* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsHybridUEAssistedMOLRPartial(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EGpsPartialInitReceived,
-		ERefLocReceived,
-		EGpsPartialLocReceived,
-		EGpsPartialEarlyReceived
-		};
-	
-	TState iState;
-	TBool  iEarlyCompleteSupported;
-	
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif // __CT_LBS_HYBRID_UEASSISTED_MOLR_PARTIAL_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybridueassistedmolrtimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid Extended Client Timeout Tests
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UEASSISTED_MOLR_TIMEOUT_H__
-#define __CT_LBS_HYBRID_UEASSISTED_MOLR_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedMOLRTimeOut, "LbsHybridUEAssistedMOLRTimeOut");
-
-class CT_LbsHybridUEAssistedMOLRTimeOut :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsHybridUEAssistedMOLRTimeOut();
-
-	static CT_LbsHybridUEAssistedMOLRTimeOut* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsHybridUEAssistedMOLRTimeOut(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EFinalLocReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif //__CT_LBS_HYBRID_UEASSISTED_MOLR_TIMEOUT_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbshybriduebasedmolrpartial.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UEBASED_MOLR_PARTIAL_H__
-#define __CT_LBS_HYBRID_UEBASED_MOLR_PARTIAL_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-
-// Literals used
-_LIT(KLbsHybridUEBasedMOLRPartial, "LbsHybridUEBasedMOLRPartial");
-
-class CT_LbsHybridUEBasedMOLRPartial :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsHybridUEBasedMOLRPartial();
-
-	static CT_LbsHybridUEBasedMOLRPartial* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsHybridUEBasedMOLRPartial(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EGpsPartialInitReceived,
-		ERefLocReceived,
-		EGpsPartialLocReceived,
-		EGpsPartialEarlyReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif // __CT_LBS_HYBRID_UEBASED_MOLR_PARTIAL_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsmolrgpsoptions.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_MOLR_GPS_OPTIONS_H__
-#define __CT_LBS_MOLR_GPS_OPTIONS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsMolrGpsOptions, "LbsMolrGpsOptions");
-
-class CT_LbsMolrGpsOptions :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsMolrGpsOptions();
-
-	static CT_LbsMolrGpsOptions* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsMolrGpsOptions(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	TLbsNetPosRequestMethod RequestNetworkMethod();
-	void CheckQualityL(TLbsNetPosRequestOptionsAssistance* opts);
-	void DoNetworkProtocolProxyStepL();
-	void DecideWhatNetworkDoesntReceive();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	enum TChosenNetworkMethod
-		{
-		ENetworkMethodInvalid,
-		ETerminalBasedNetworkMethod,
-		ETerminalBasedTerminalAssistedNetworkMethod,
-		ETerminalAssistedNetworkMethod,
-		ETerminalAssistedTerminalBasedNetworkMethod,
-		ENetworkMethodNotSet,
-		};
-	enum TNetworkProtocolProxyStep
-		{
-		ENetworkProtocolProxyStepInitial,
-		ENetworkProtocolProxyStepAfterFirstNPUD,
-		ENetworkProtocolProxyStepAfterSecondNPUD,
-		ENetworkProtocolProxyStepFinal
-		};
-	enum TPlannedPositionOriginator
-		{
-		EPositionOriginatorUnkown,
-		EPositionOriginatorModule,
-		EPositionOriginatorNetwork
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-	/** Used so the network requests the method specified in the ini file */
-	TChosenNetworkMethod iNetworkMethod;
-	/** Remembers what is the next thing the netwrok should expect/send */
-	TNetworkProtocolProxyStep iNetworkProtocolProxyStep;
-	CNetProtocolProxy* iProxy;
-	/** Used so the test checks the right request is sent to the network */
-	CLbsAdmin::TGpsMode iAdminGpsMode;
-
-	/** Used so the network proxy knows if it should return the positions 
-	 	or should let the module calculate it in hybrid case */
-	TPlannedPositionOriginator iPlannedPositionOriginator;
-	/** Used so the network proxy knows what to expect*/
-	TBool iNetworkExpectsMeasurments;
-	TBool iNetworkExpectsPositions;
-	TBool iGPSModeNotSupported;
-	};
-
-#endif //__CT_LBS_MOLR_GPS_OPTIONS_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsmolrtracking.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,136 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_MOLR_TRACKING_H__
-#define __CT_LBS_MOLR_TRACKING_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-#include "ctlbstestactivemanager.h"
-#include "ctlbsnetprotocol.h"
-
-// Literals used
-_LIT(KLbsMolrTracking, "LbsMolrTracking");
-
-class CT_LbsMolrTracking :	public	CT_LbsHybridMOLRStep, public MTestFlowObserver
-	{
-private:
-	class CT_ClientData : public CBase
-		{
-	public:
-		CT_ClientData(TInt aSessionIdDelay, TInt aSessionStepDelay, TBool aCancelRequest,TInt aSessionIdCancel, TInt aSessionStepCancel, TInt aTrackingLoops, TPositionUpdateOptions aUpdateOptions, TInt aPsyUid, TInt aExpectedError)
-			: iSessionIdDelay(aSessionIdDelay), iSessionStepDelay(aSessionStepDelay), 
-			 	iCancelRequest(aCancelRequest), iSessionIdCancel(aSessionIdCancel), iSessionStepCancel(aSessionStepCancel), iPsyUid(aPsyUid), iExpectedError(aExpectedError),
-				iInitialStep(ETrue), iNumberOfNPUDs(aTrackingLoops), iPositionsReceived(0), 
-				iUpdateOptions(aUpdateOptions),iRequestCancelled(EFalse)
-			{}
-		~CT_ClientData()
-			{
-			delete iWatcher;
-			iWatcher = NULL;
-			iPositioner.Close();
-			iServer.Close();
-			}
-	public:
-		// After what session should this client start
-		TInt iSessionIdDelay;
-		// After which step in the session should this client start
-		TInt iSessionStepDelay;
-		// whether an NPUD should be cancelled
-		TBool iCancelRequest;
-		// After what session should this client's last NPUD be cancelled
-		TInt iSessionIdCancel;
-		// After which step in the session should this client's last NPUD be cancelled
-		TInt iSessionStepCancel;		
-		// Specifies if the initial NPUD has been sent out or not
-		TBool iInitialStep;		
-		RPositionServer iServer;
-		RPositioner iPositioner;
-		// The number of NPUDs it needs to send out
-		TInt iNumberOfNPUDs;
-		// The number of positions received so far
-		TInt iPositionsReceived;
-		CPosServerWatcher* iWatcher;
-		
-		TTime iTimeOfInitialPosition;
-		TPositionUpdateOptions iUpdateOptions;
-		// whether the clients last NPUD was cancelled 
-		TBool iRequestCancelled;
-		// The time when the last calculated position was received (for MaxAge checking)
-		TTime iTimeOfLastPosition;
-		// The time when the previous position was received (for calculating the right window for variant2 behaviour)
-		TTime iTimeOfPreviousPosition;
-		// Uid of the positioner to be used
-		TInt iPsyUid;
-		TBool iAutonomousPsy;	// whether the client has opened a session to the (autonomous) gps psy
-		
-		TInt  iExpectedError;	// error code that the client expects when it issues an NPUD
-		};
-public:
-	~CT_LbsMolrTracking();
-
-	static CT_LbsMolrTracking* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-	virtual TVerdict doTestStepL();
-
-	// MTestFlowObserver
-	void OnReadyL(TInt aObjectId);
-	void OnTimedOutL(TInt aObjectId);
-	void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void StopTest();
-	void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep);
-	
-protected:
-	CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	void DoClientStepL(TInt aIndex);
-	void EnablePsy(TInt aPsyUid);
-private:
-	
-	/** Used so the test checks the right request is sent to the network */
-	CLbsAdmin::TGpsMode iAdminGpsMode;
-
-	/** Used so the network proxy knows what to expect*/
-	TBool iGPSModeNotSupported;
-	
-	CT_LbsNetProtocol* iNetworkProtocol;
-	RPointerArray<CT_LbsTestActiveManager> iClientTestManagers;
-
-	/** The information of the clients of LBS */
-	RPointerArray<CT_ClientData> iClients;
-	
-	// used for "one off" tests
-	// =1 - LastKnownPosition test
-	// =2 - MaxAge test
-	// =3 - EarlyComplete test 
-	TInt iSpecialTestMode;
-	};
-
-#endif //__CT_LBS_MOLR_TRACKING_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsnetprotocol.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_NET_PROTOCOL_H__
-#define __CT_LBS_NET_PROTOCOL_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "ctlbstestactivemanager.h"
-
-class CT_LbsNetProtocol : public CActive
-	{
-public:
-	enum TPlannedPositionOriginator
-		{
-		EPositionOriginatorUnkown,
-		EPositionOriginatorModule,
-		EPositionOriginatorNetwork
-		};
-public:
-	~CT_LbsNetProtocol();
-
-	static CT_LbsNetProtocol* NewL(MTestFlowObserver& aObserver, CTestStep& aStep);
-
-	void StartNetworkL();
-	void SignalClientsFinished();
-	
-	TPlannedPositionOriginator PlannedPositionOriginator();
-	void SetPlannedPositionOriginator(TInt aOriginator);
-	void SetNetworkMethod(TInt aMethod);
-	
-private:
-	CT_LbsNetProtocol(MTestFlowObserver& aObserver, CTestStep& aStep);
-	void ConstructL();
-
-private:
-	void RunL();
-	TInt RunError(TInt aError);
-	void DoCancel();
-	void Process_RequestSelfLocationL();
-	TLbsNetPosRequestMethod RequestNetworkMethod();
-	void CheckQualityL(TLbsNetPosRequestOptionsAssistance* opts);
-	void DoClientStepL(TInt aIndex);
-	void DecideWhatNetworkDoesntReceive();
-
-private:
-	enum TChosenNetworkMethod
-		{
-		ENetworkMethodNotSet,
-		ETerminalBasedNetworkMethod,
-		ETerminalBasedTerminalAssistedNetworkMethod,
-		ETerminalAssistedNetworkMethod,
-		ETerminalAssistedTerminalBasedNetworkMethod
-		};
-	enum TNetworkProtocolProxyStep
-		{
-		ENetworkProtocolProxyStepInitial, // = 0
-		ENetworkProtocolProxyStepSessionNrhRequestSent, // = 1
-		ENetworkProtocolProxyStepSessionWaitingForFirstMeasurmentsTimeOut, // = 2
-		ENetworkProtocolProxyStepSessionWaitingForFirstMeasurments, // = 3
-		ENetworkProtocolProxyStepSessionMeasurmentsReceived, // = 4
-		ENetworkProtocolProxyStepSessionPositionSent, // = 5
-		ENetworkProtocolProxyStepNoSessionRunning // = 6
-		};
-	
-	MTestFlowObserver& iObserver;
-	CTestStep& iStep;
-	
-	TLbsNetSessionId iSessionId;
-	/** Used so the network requests the method specified in the ini file */
-	TChosenNetworkMethod iNetworkMethod;
-	/** Remembers what is the next thing the network should expect/send */
-	TNetworkProtocolProxyStep iNetworkProtocolProxyStep;
-	/** The session ID where the count starts from the beggining of the test*/
-	TInt iRelativeSessionId;
-	/** The Network Protocol Proxy */
-	CNetProtocolProxy* iProxy;
-	TBool iClientsFinished;
-
-	/** Used so the network proxy knows if it should return the positions 
-	 	or should let the module calculate it in hybrid case */
-	TPlannedPositionOriginator iPlannedPositionOriginator;
-	/** Used so the network proxy knows what to expect*/
-	TBool iNetworkExpectsMeasurments;
-	TBool iNetworkExpectsPositions;
-
-	TTime iAlpha2StartTime;
-	};
-
-#endif //__CT_LBS_NET_PROTOCOL_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbstestactivemanager.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_TEST_ACTIVE_MANAGER_H__
-#define __CT_LBS_TEST_ACTIVE_MANAGER_H__
-
-#include <e32base.h>
-#include <lbs/test/posserverwatch.h>
-#include "ctlbshybridmolrstep.h"
-
-class MTestFlowObserver
-	{
-public:
-	virtual void OnReadyL(TInt aObjectId) = 0;
-	virtual void OnTimedOutL(TInt aObjectId) = 0;
-	virtual void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo) = 0;
-	virtual void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo) = 0;
-	virtual void StopTest() = 0;
-	virtual void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep) = 0;
-	};
-
-class CT_LbsTestActiveManager : public CTimer, public MPosServerObserver
-	{
-public:
-	static CT_LbsTestActiveManager* NewL(TInt aObjectId, MTestFlowObserver& aObserver, TPriority aPriority, CTestStep& aStep);
-	~CT_LbsTestActiveManager();
-	
-	void StartL(TTimeIntervalMicroSeconds32 aDelay);
-	void WaitForPosition(TTimeIntervalMicroSeconds32 aDelay);
-	void Deactivate();
-	TBool IsDeactivated();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-
-private:
-	CT_LbsTestActiveManager(TInt aObjectId, MTestFlowObserver& aObserver, TPriority aPriority, CTestStep& aStep);
-	
-	void RunL();
-	TInt RunError(TInt aError);
-	
-	
-private:
-	enum TState
-		{
-		EStateNone,
-		EStateWaitingToStart,
-		EStateWaitingForPosition
-		};
-
-private:
-	TState iState;
-	TInt iObjectId;
-	TBool iWaiting;
-	TBool iIsDeactivated;
-	MTestFlowObserver& iObserver;
-	CTestStep& iStep;
-	};
-
-#endif __CT_LBS_TEST_ACTIVE_MANAGER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsueassistedmolrselfgpsinaccuratetimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_UEASSISTED_MOLR_SELF_GPS_INACCURATE_TIMEOUT_H__
-#define __CT_LBS_UEASSISTED_MOLR_SELF_GPS_INACCURATE_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-
-// Literals used
-_LIT(KLbsUEAssistedMOLRSelfGPSInaccurateT, "LbsUEAssistedMOLRSelfGPSInaccurateT");
-
-
-class CT_LbsUEAssistedMOLRSelfGPSInaccurateT :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsUEAssistedMOLRSelfGPSInaccurateT();
-
-	static CT_LbsUEAssistedMOLRSelfGPSInaccurateT* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsUEAssistedMOLRSelfGPSInaccurateT(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		ENetworkLocReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsueassistedmolrselfgpslate.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Hybrid MoLr Tests
-// 
-//
-
-#ifndef __CT_LBS_UEASSISTED_MOLR_SELF_GPS_LATE_H__
-#define __CT_LBS_UEASSISTED_MOLR_SELF_GPS_LATE_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-
-// Literals used
-_LIT(KLbsUEAssistedMOLRSelfGPSLate, "LbsUEAssistedMOLRSelfGPSLate");
-
-class CT_LbsUEAssistedMOLRSelfGPSLate :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsUEAssistedMOLRSelfGPSLate();
-
-	static CT_LbsUEAssistedMOLRSelfGPSLate* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsUEAssistedMOLRSelfGPSLate(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif // __CT_LBS_UEASSISTED_MOLR_SELF_GPS_LATE_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/inc/ctlbsuebasedmolrself.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_UEBASED_MOLR_H__
-#define __CT_LBS_UEBASED_MOLR_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/posserverwatch.h>
-
-// Literals used
-_LIT(KLbsUEBasedMOLRSelf, "LbsUEBasedMOLRSelf");
-
-class CT_LbsUEBasedMOLRSelf :	public	CT_LbsHybridMOLRStep, public MPosServerObserver
-	{
-public:
-	~CT_LbsUEBasedMOLRSelf();
-
-	static CT_LbsUEBasedMOLRSelf* New(CT_LbsHybridMOLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// MPosServerObserver
-	void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsUEBasedMOLRSelf(CT_LbsHybridMOLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	
-	TState iState;
-
-	TLbsNetSessionId iSessionId;
-	};
-
-#endif //__CT_LBS_UEBASED_MOLR_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_molr_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,151 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-FUTILE
-//! @SYMScriptTestEnvironment TEF
-//
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-Futile-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-Futile-0001
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates a measurement with Error:
-//!                             Futile in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_MOLR_UE_Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini HybridUEBasedFutile
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridMolrFutile c:\testdata\configs\sf_lbs_molr.ini HybridUEBasedFutile
-END_TESTCASE                  SFLBS-HybridMOLR-Futile-0001
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE                SFLBS-HybridMOLR-Futile-0002
-//! @SYMTestCaseID              SFLBS-HybridMOLR-Futile-0002
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates a measurement with Error:
-//!                             Futile in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_MOLR_UE_Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEAssistedFutile
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridMolrFutile c:\testdata\configs\sf_lbs_molr.ini UEAssistedFutile
-END_TESTCASE                  SFLBS-HybridMOLR-Futile-0002
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE                SFLBS-HybridMOLR-Futile-0003
-//! @SYMTestCaseID              SFLBS-HybridMOLR-Futile-0003
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates a measurement with Error:
-//!                             Futile in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_MOLR_UE_Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEAssistedFutileTimeout
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridMolrFutile c:\testdata\configs\sf_lbs_molr.ini UEAssistedFutileTimeout
-END_TESTCASE                  SFLBS-HybridMOLR-Futile-0003
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE                SFLBS-HybridMOLR-Futile-0004
-//! @SYMTestCaseID              SFLBS-HybridMOLR-Futile-0004
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates a measurement with Error:
-//!                             Futile in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_MOLR_UE_Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini NonHybridUEBasedFutile
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridMolrFutile c:\testdata\configs\sf_lbs_molr.ini NonHybridUEBasedFutile
-END_TESTCASE                  SFLBS-HybridMOLR-Futile-0004
-// Stop LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_client_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-CLIENTTIMEOUT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-	DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-
-	DeleteFile c:\private\10202be9\1028224b.cre 
-	DeleteFile c:\private\10202be9\persists\1028224b.cre 
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Ensure Self Locate API is on for roaming
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start up LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-ClientTimeout-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-ClientTimeout-0001
-//! @SYMTestCaseDesc            Client generates MOLR request and the request times out
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini ClientTimeout
-RUN_TEST_STEP 480 SfLbsHybridMOLRTestServer LbsUEAssistedMOLRClientTimeout c:\testdata\configs\sf_lbs_molr.ini ClientTimeout
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-ClientTimeout-0001
-
-
-// Shutdown LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_gpsok.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,129 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-GPSOK
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0001
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates an accurate position in UE Assisted State
-//!                             Note: The position generated by the GPS Module is of greater accuracy than the Ref Position
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_UE-Assisted_MO-LR_Accurate
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEAssistedMOLRGpsOk
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRGPSOk
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0001
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0002
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0002
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates an accurate position in UE Assisted State
-//!                             Note: The position generated by the GPS Module is of greater accuracy than the Ref Position
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_UE-Assisted_MO-LR_Accurate
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini INC103714
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRGPSOk
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0002
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0003
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0003
-//! @SYMTestCaseDesc            Client generates a self locate MOLR request and
-//!                             then cancels it. A single cancel should be sent out to the protocol module.
-//!                             This test checks that one and  only one cancel arrives at the prtocol module.
-//!                             If the cancel on the request bus to the AGPS manager is overwritten
-//!                             by a status message then the test will fail. Thus this test
-//!                             validates code in the locations server that prevents the cancel
-//!                             being overwritten. It also validates code in the agps manager
-//!                             that prevents a second cancel being sent to the protocol module
-//!                             when it shouldn't after the loc server has sent two cancels back to back
-//!                             INC121701: [v9.4] No Cancel to AGPSmodule at the bottom of the sequence of Hybrid Self-Locate
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     A cancel sent to protocol module
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEAssistedMOLRCancel
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRGPSOk c:\testdata\configs\sf_lbs_molr.ini UEAssistedMOLRCancel
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-GpsOk-0003
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_no_gps_update.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-NOGPS
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Switch on location API for roaming mode
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start LBS
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-NoGpsUpdate-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-NoGpsUpdate-0001
-//! @SYMTestCaseDesc            Verify KErrPositionNoGpsUpdate is received when no updated deliveried during time t.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Expect to see KErrPositionNoGpsUpdate error in the network protocol module, during time t measurment/location request, due to no GPS update being delivered.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRNoGpsUpdate
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRNoGPSUpdate c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRNoGpsUpdate
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-NoGpsUpdate-0001
-// Stop LBS
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select reference A-GPS module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_partial.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-PARTIAL
-//! @SYMScriptTestEnvironment TEF
-//
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Ensure Self Locate API is on for roaming
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start up LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-Partial-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-Partial-0001
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates partial measurements in UE Based  UE Assisted State
-//!                             Client terminates the MOLR request while in UE Assisted State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#MOLR_UE-Based_Partial_Update
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEAssistedMolrPartial
-RUN_TEST_STEP 480 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRPartial c:\testdata\configs\sf_lbs_molr.ini UEAssistedMolrPartial
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-Partial-0001
-// Shutdown LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_ueassisted_molr_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-TIMEOUT
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-// Before we start LBS:
-//	Select the hybrid test A-GPS integration module.
-//	Select the sim tsy configuration file.
-//	Select the test lbs profile.ini to switch on client extended timeout.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-CopyFile c:\testdata\configs\sf_lbsprofile_timeout_on.ini c:\private\10282253\lbs\lbsprofile.ini
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Start LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0001
-//! @SYMTestCaseDesc            UE-Based MOLR with extended client timeout on, and best position reference.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Switch on client extended timeout in the lbs profile.ini.
-//!                             2. Select the accuray values as below: client request = 50, 1000 metres as per profile network request = 100 metres ?? gps pos = 2000 metres network ref pos = 1000 metres network final pos = 100 metres
-//!                             3. Start a normal (non hybrid) MOLR.
-//!                             4. Test protocol module delivers the final network position after client timeout seconds.
-//!                             5. Complete the MOLR.
-//! @SYMTestExpectedResults     The client will be delivered the final network position with KPositionQualityLoss  For full test details see the code inline comments.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_On_RefBest
-RUN_TEST_STEP 240 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRTimeOut c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_On_RefBest
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0001
-// Re-start LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0002
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0002
-//! @SYMTestCaseDesc            UE-Based MOLR with extended client timeout on, and best position A-GPS.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Switch on client extended timeout in the lbs profile.ini.
-//!                             2. Select the accuray values as below: client request = 50, 1000 metres as per profile network request = 100 metres ?? gps pos = 80 metres network ref pos = 1000 metres network final pos = 100 metres
-//!                             3. Start a normal (non hybrid) MOLR.
-//!                             4. Test protocol module delivers the final network position after client timeout seconds.
-//!                             5. Complete the MOLR.
-//! @SYMTestExpectedResults     The client will be delivered the A-GPS position with KPositionQualityLoss  For full test details see the code inline comments.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_On_GpsBest
-RUN_TEST_STEP 240 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRTimeOut c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_On_GpsBest
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0002
-// Re-start LBS with test lbs profile.ini to switch off client extended timeout.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\sf_lbsprofile_timeout_off.ini c:\private\10282253\lbs\lbsprofile.ini
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0003
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0003
-//! @SYMTestCaseDesc            UE-Based MOLR with extended client timeout off, and best position reference.
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Switch off client extended timeout in the lbs profile.ini.
-//!                             2. Select the accuray values as below: client request = 50, 1000 metres as per profile network request = 100 metres ?? gps pos = 2000 metres network ref pos = 1000 metres network final pos = 100 metres
-//!                             3. Start a normal (non hybrid) MOLR.
-//!                             4. Test protocol module delivers the final network position after client timeout seconds.
-//!                             5. The client will not recv the final network position.
-//!                             6. Complete the MOLR.
-//! @SYMTestExpectedResults     The client will be delivered the A-GPS position with KPositionQualityLoss  For full test details see the code inline comments.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_Off_RefBest
-RUN_TEST_STEP 240 SfLbsHybridMOLRTestServer LbsHybridUEAssistedMOLRTimeOut c:\testdata\configs\sf_lbs_molr.ini HybridUEAssistedMOLRTimeOut_Off_RefBest
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-Timeout-0003
-// Stop LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-PREFIX RUN_UTILS
-// Re-select the real A-GPS integration module.
-DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Re-select the profile ini
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-// Delete network registration status text file
-DeleteFile c:\config.txt
-REMOVE_PREFIX
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_hybrid_uebased_molr_partial.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEBASED-PARTIAL
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Ensure Self Locate API is on for roaming
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start up LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEBasedMOLR-Partial-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEBasedMOLR-Partial-0001
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates partial measurements in UE Based State
-//!                             Client terminates the MOLR request while still in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#MOLR_UE-Based_Partial_Update
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEBasedMolrPartial
-RUN_TEST_STEP 480 SfLbsHybridMOLRTestServer LbsHybridUEBasedMOLRPartial c:\testdata\configs\sf_lbs_molr.ini UEBasedMolrPartial
-END_TESTCASE                  SFLBS-HybridMOLR-UEBasedMOLR-Partial-0001
-// Shutdown LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_molr_gpsoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1345 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-GPSOPTIONS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// NOTE: When the network asks for TA it doesn't typically provide a reference position - need to update scripts + test framework to deal with that!
-
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-//--------------------------------------------------------------- Admin = PTB -----------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-// Turn on self-locate API when Roaming	- lrm: why is this step needed!?
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-//--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
-
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBCAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBCAP-TBNETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBCAP-TBNETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBCAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBCAP-TBTANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TB+TA
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TBTANET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBCAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBCAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBCAP-TATBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBCAP-TATBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBCAP-TATBNET-001
-
-
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-
-// Change module caps to TA only:
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TACAP-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TACAP-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TA
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TB (not used)
-//!                             Read 'position originator' (network/module) from test config - module (not used)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify the NPUD completes with KErrNotSupported (LBS-->App)   >> NPUD complete with -5
-//! @SYMTestExpectedResults     NotifyPositionUpdate is completed with KErrNotSupported
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TACAP
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TACAP
-END_TESTCASE SFLBS-MOLR-TBADMIN-TACAP-001
-
-
-//--------------------------------------------------------------- Module Caps = TB || TA -----------------------------------------------------------------------
-
-// Change module caps to TA || TB:
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBORTACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBORTACAP-TBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB||TA
-//!                             network wants TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBORTACAP-TBNET-001
-
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBORTACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBORTACAP-TBTANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB||TA
-//!                             network wants TB+TA
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB+TA (hybrid)
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TBTANET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBORTACAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB || TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB || TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete with KErrNone(ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(alpha2)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(t)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurements (LBS-->PM)    >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode then PTA mode. Module will return measurements and network provides position; returned to client with techtype 'terminal assisted'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TANET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBORTACAP-TANETWORK-001
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBORTACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBORTACAP-TATBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB||TA
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TA+TB (hybrid)
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     <--NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData() - as a result of the NRH request.
-//!                             Verify Location Response originating from gps (LBS-->PM)   >> RespondLocationRequest(gpspos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify the gps pos received by App (LBS-->App)     <--NPUD complete (gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBORTACAP-TATBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBORTACAP-TATBNET-001
-
-//--------------------------------------------------------------- Module Caps = TB && TA -----------------------------------------------------------------------
-
-// Change module caps to Hybrid (TA && TB):
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB && TA
-//!                             network wants TB
-//!                             module supplies one (complete) position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurements (LBS-->PM)    >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be use PTB mode and not set again. Position returned to network. Position returned to client with techtype 'terminal based'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBANDTACAP-TBNETWORK-001
-
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB && TA
-//!                             network wants TB+TA
-//!                             module supplies 2 sets of measurements then a position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurements (LBS-->PM)    >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be use PTB mode and then hybrid mode. Position returned to network. Position returned to client with techtype 'terminal based'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TBTANET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBANDTACAP-TBTANETWORK-001
-
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB && TA
-//!                             network wants TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete with KErrNone(ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurements (LBS-->PM)    >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone  note client completes before network sends FNP
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to PTB mode then hybrid. Position supplied by module will not be sent to network. Client completed by position from module techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TANET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBANDTACAP-TANETWORK-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB && TA
-//!                             network wants TA+TB
-//!                             module supplies one (complete) position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TB) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to PTB mode and then hybrid mode. Position returned to network. Position returned to client with techtype 'terminal based'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-TATBNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBANDTACAP-TATBNETWORK-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB && TA
-//!                             network does not specify mode
-//!                             module supplies one (complete) position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (na) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurements (LBS-->PM)    >> RespondLocationRequest(meas)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be use PTB mode and not set again. Position returned to network. Position returned to client with techtype 'terminal based'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET
-END_TESTCASE SFLBS-MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET-001
-
-
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-//--------------------------------------------------------------- Admin = ATA -----------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-// Turn on self-locate API when Roaming  - lrm: why is this step needed!?
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-// Set GPS mode to ATA in admin:
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetATAMode
-
-//--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
-
-// Change module caps to TB only:
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-//PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBCAP-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBCAP-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB (not used)
-//!                             Read 'position originator' (network/module) from test config - module (not used)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify the NPUD completes with KErrNotSupported (LBS-->App)   >> NPUD complete with -5
-//! @SYMTestExpectedResults     NotifyPositionUpdate is completed with KErrNotSupported
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBCAP
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBCAP
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBCAP-001
-
-
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-
-// Change module caps to TA only:
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TACAP-TBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module (not used)
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(KErrNotSupported)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNotSupported
-//! @SYMTestExpectedResults     Network Location request is rejected with KErrNotSupported. NotifyPositionUpdate is completed with KErrNotSupported.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TACAP-TBNET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TACAP-TBTANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TBTA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TBTA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition) - lrm: to be removed
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network. Position returned to client with techtype 'terminal assisted'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TBTANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TACAP-TBTANET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TACAP-TANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TACAP-TANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition) - lrm: to be removed
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network. Position returned to client with techtype 'terminal assisted'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TACAP-TANET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TACAP-TATBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TATB
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TATB
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition) - lrm: to be removed
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network. Position returned to client with techtype 'terminal assisted'.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TACAP-TATBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TACAP-TATBNET-001
-
-
-
-//--------------------------------------------------------------- Module Caps = TB || TA -----------------------------------------------------------------------
-
-// Change module caps to TA || TB:
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBORTACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBORTACAP-TBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB||TA
-//!                             network wants TB
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition) - lrm: to be removed
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with position(LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode then PTB mode and then not again
-//!                             Position returned by module.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBORTACAP-TBNET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBORTACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBORTACAP-TBTANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB||TA
-//!                             network wants TB/TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TBTA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TBTANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBORTACAP-TBTANET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-// NOTE: see defect DEF115871
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBORTACAP-TANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBORTACAP-TANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB||TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBORTACAP-TANET-001
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBORTACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBORTACAP-TATBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB||TA
-//!                             network wants TA/TB
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TA/TB
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBORTACAP-TATBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBORTACAP-TATBNET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-//--------------------------------------------------------------- Module Caps = TB && TA -----------------------------------------------------------------------
-
-// Change module caps to Hybrid (TA && TB):
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB&&TA (hybrid)
-//!                             network wants TB
-//!                             module supplies position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB&&TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with position(LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then Hybrid
-//!                             Position returned by module.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBNET-001
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBTANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB&&TA (hybrid)
-//!                             network wants TB/TA
-//!                             module supplies position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB&&TA
-//!                             Read network request mode from test config - TBTA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with position (LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then Hybrid
-//!                             Position returned by module.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TBTANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBANDTACAP-TBTANET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBANDTACAP-TANET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBANDTACAP-TANET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB&&TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB&&TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then not again
-//!                             Position returned by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TANET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBANDTACAP-TANET-001
-
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-ATAADMIN-TBANDTACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATAADMIN-TBANDTACAP-TATBNET-001
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB&&TA (hybrid)
-//!                             network wants TA/TB
-//!                             module supplies position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB&&TA
-//!                             Read network request mode from test config - TATB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify RequestSelfLocate (LBS-->PM) with appropriate techtype (TA) + quality  >> RequestSelfLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceSelfLocation)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Verify the ref pos received by App (LBS-->App)     >> NPUD complete (ref pos)
-//!                             Issue a NPUD (App-->LBS)       << NPUD()
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with measurements(LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0) - as a result of the NRH request.
-//!                             Verify Location Response  with position (LBS-->PM)     >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Verify NPUD completes with KErrNone      >> NPUD() complete with KErrNone
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//! @SYMTestExpectedResults     The module should be set to ATA mode and then Hybrid
-//!                             Position returned by module.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrGpsOptions c:\testdata\configs\sf_lbs_molr.ini MOLR-ATAADMIN-TBANDTACAP-TATBNET
-END_TESTCASE SFLBS-MOLR-ATAADMIN-TBANDTACAP-TATBNET-001
-
-
-//--------------------------------------------------------------------- END TESTS - Tidyup ---------------------------------------------------------------------
-
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_molr_tracking.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,583 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-TRACKING
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// NOTE: When the network asks for TA it doesn't typically provide a reference position - need to update scripts + test framework to deal with that!
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-// Turn on self-locate API when Roaming	 - lrm: why is this step needed!?
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetBehaviourModeOriginal
-
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-//--------------------------------------------------------------- Admin = ATA -----------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-
-// Set GPS mode to ATA in admin:
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetATAMode
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-
-START_TESTCASE                SFMOLR-ATA-LASTKNOWNPOSITION-variant2
-//! @SYMTestCaseID              SFMOLR-ATA-LASTKNOWNPOSITION-variant2
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements
-//!                             There are two clients, not tracking
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//! @SYMTestExpectedResults     A client issues a LastKnpwnPostion and the test checks that
-//!                             a Network Calculated psotion is returned
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-LASTKNOWNPOSITION
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-LASTKNOWNPOSITION
-END_TESTCASE                  SFMOLR-ATA-LASTKNOWNPOSITION-variant2
-DELAY 15000
-// Stop and start LBS to clear the cache for the MaxAge test
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFMOLR-ATA-MAXAGE-variant2
-//! @SYMTestCaseID              SFMOLR-ATA-MAXAGE-variant2
-//! @SYMTestCaseDesc            Self Locate request with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements
-//!                             There are two clients, not tracking
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//! @SYMTestExpectedResults     The clients should be delivered the same FNP multipls times
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-MAXAGE
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-MAXAGE
-END_TESTCASE                  SFMOLR-ATA-MAXAGE-variant2
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-CANCEL-1
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-CANCEL-1
-//! @SYMTestCaseDesc            2 self-locate clients tracking. Both issue 2 NPUDs and then cancel after the PM issues a LocationRequest in the second session.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Client 1 issues NPUD request
-//!                             Client 2 issues NPUD request
-//!                             AdviceSystemStatus (LBS-->PM)     >> AdviceSystemStatus(ESystemStatusNone)
-//!                             AdviceSystemStatus (LBS-->PM)     >> AdviceSystemStatus(ESystemStatusClientTracking)
-//!                             RequestSelfLocate (LBS-->PM)     >> RequestSelfLocation()
-//!                             Status Update (PM-->LBS)    LBS)   LBS)     PM)   >> RequestAssistanceData(0)
-//!                             Location Response with measurements (LBS-->PM)  >> RespondLocationRequest(meas)
-//!                             Final Network Position (PM-->LBS)   PM)   >> RequestAssistanceData(0)
-//!                             Client 1 completes with KErrNone and issues new request
-//!                             Client 2 complete with KErrNone and issues new request
-//!                             AdviceSystemStatus (LBS-->PM)    >> AdviceSystemStatus(ESystemStatusNone)
-//!                             CancelSelfLocate as result of FNP (LBS->PM)  >> CancelSelfLocation() Note: we should really fix this (optimisation)
-//!                             ProcessSessionComplete (PM->LBS)   LBS)    PM)     >> AdviceSystemStatus(ESystemStatusClientTracking) - This is due to outstanding defect, we should not update tracking status between requests!
-//!                             RequestSelfLocate (LBS-->PM)    >> RequestSelfLocation(//!Status Update (PM-->LBS) LBS)   LBS)     PM)     >> AdviceSystemStatus(ESystemStatusNone)
-//!                             CancelSelfLocate (LBS->PM) due to cancels  >> CancelSelfLocation()
-//!                             SessionComplete (PM-->LBS)    LBS)
-//! @SYMTestExpectedResults     Both client's second NPUDs will complete with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-1
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-1
-END_TESTCASE                  SFLBS-MOLR-ATA-CANCEL-1
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-CANCEL-2
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-CANCEL-2
-//! @SYMTestCaseDesc            2 self-locate clients tracking. Both cancel during different sessions.
-//! @SYMTestPriority            High
-//! @SYMTestActions             similar to LBS-MOLR-ATA-CANCEL-1
-//! @SYMTestExpectedResults     Both client's second NPUDs will complete with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-2
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-2
-END_TESTCASE                  SFLBS-MOLR-ATA-CANCEL-2
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-CANCEL-3
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-CANCEL-3
-//! @SYMTestCaseDesc            2 self-locate clients tracking. First client cancels, second does not
-//! @SYMTestPriority            High
-//! @SYMTestActions             similar to LBS-MOLR-ATA-CANCEL-1
-//! @SYMTestExpectedResults     First client's last NPUD will complete with KErrCancel, all other requests complete with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-3
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-CANCEL-3
-END_TESTCASE                  SFLBS-MOLR-ATA-CANCEL-3
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-TRACKING2CLIENTS-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-TRACKING2CLIENTS-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements only
-//!                             There are two clients, both tracking, the first client starts immediatedly and the second one starts very quickly
-//!                             afterwards, while LBS is processing the first request.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 5 seconds
-//!                             While the first NPUD is processed the second client issues an NPUD with options set for tracking every 10 seconds
-//!                             Both clients get their requests satisfied and they continue tracking, the first one for 15 times, the second for 9 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-2CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-2CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-ATA-TRACKING2CLIENTS-001
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-TRACKING2CLIENTS-002
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-TRACKING2CLIENTS-002
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements only
-//!                             There are two clients, both tracking, the first client starts immediatedly and the second one starts a bit later,
-//!                             after the first client's initial request was satisified.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 10 seconds
-//!                             The first client receives a position
-//!                             The second client issues an NPUD with options set for tracking every 7 seconds
-//!                             The second client receives a position
-//!                             Both continue tracking, the first one for 8 times, the second for 12 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-2CLIENTS-2
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-2CLIENTS-2
-END_TESTCASE                  SFLBS-MOLR-ATA-TRACKING2CLIENTS-002
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-TRACKING3CLIENTS-001
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-TRACKING3CLIENTS-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TA
-//!                             network wants TA
-//!                             module supplies measurements only
-//!                             There are three clients, both tracking, the first client starts immediatedly, the second one starts very quickly
-//!                             after, when LBS is processing the first client's request, and the third client starts a bit later,
-//!                             after the first two clients' initial requests were satisified.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 5 seconds
-//!                             While the first NPUD is processed the second client issues an NPUD with options set for tracking every 9 seconds
-//!                             Both clients get their requests satisfied
-//!                             The third client issues an NPUD with options set for tracking every 7 seconds
-//!                             The third client receives a position
-//!                             All three clients continue tracking, the first one for 20 times, the second for 10 times and the third one for 15 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-3CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-TRACKING-3CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-ATA-TRACKING3CLIENTS-001
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-//--------------------------------------------------------------- Module Caps = TB + TA -----------------------------------------------------------------------
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-CANCEL-1
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-CANCEL-1
-//! @SYMTestCaseDesc            2 self-locate clients tracking. Both issue 2 NPUDs and then cancel after the protocol module issues a Location Request
-//! @SYMTestPriority            High
-//! @SYMTestActions             Client 1 issues NPUD request
-//!                             Client 2 issues NPUD request
-//!                             AdviceSystemStatus (LBS-->PM)     >> AdviceSystemStatus(ESystemStatusNone)
-//!                             AdviceSystemStatus (LBS-->PM)     >> AdviceSystemStatus(ESystemStatusClientTracking)
-//!                             RequestSelfLocate (LBS-->PM)     >> RequestSelfLocation()
-//!                             Status Update (PM-->LBS)    LBS)   LBS)     PM)   >> RequestAssistanceData(0)
-//!                             Location Response with measurements (LBS-->PM)  >> RespondLocationRequest(meas)
-//!                             Final Network Position (PM-->LBS)   PM)   >> RequestAssistanceData(0)
-//!                             Client 1 completes with KErrNone and issues new request
-//!                             Client 2 complete with KErrNone and issues new request
-//!                             AdviceSystemStatus (LBS-->PM)    >> AdviceSystemStatus(ESystemStatusNone)
-//!                             CancelSelfLocate as result of FNP (LBS->PM)  >> CancelSelfLocation() Note: we should really fix this (optimisation)
-//!                             ProcessSessionComplete (PM->LBS)   LBS)    PM)     >> AdviceSystemStatus(ESystemStatusClientTracking) - This is due to outstanding defect, we should not update tracking status between requests!
-//!                             RequestSelfLocate (LBS-->PM)    >> RequestSelfLocation(//!Status Update (PM-->LBS) LBS)   LBS)     PM)   >> RequestAssistanceData(0)
-//!                             Client 2 cancels NPUD
-//!                             Client 2 completes with KErrCancel
-//!                             AdviceSystemStatus (LBS-->PM)     >> AdviceSystemStatus(ESystemStatusNone)
-//!                             CancelSelfLocate (LBS->PM) due to cancels  >> CancelSelfLocation()
-//!                             SessionComplete (PM-->LBS)    LBS)
-//! @SYMTestExpectedResults     Bothe client's second NPUDs will complete with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-1
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-1
-END_TESTCASE                  SFLBS-MOLR-HYBRID-CANCEL-1
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-CANCEL-2
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-CANCEL-2
-//! @SYMTestCaseDesc            2 self-locate clients tracking. Both issue 2 NPUDs and then cancel at different parts of the same pm session
-//! @SYMTestPriority            High
-//! @SYMTestActions             Similar to other cancel tests above
-//! @SYMTestExpectedResults     Bothe client's second NPUDs will complete with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-2
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-2
-END_TESTCASE                  SFLBS-MOLR-HYBRID-CANCEL-2
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-CANCEL-3
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-CANCEL-3
-//! @SYMTestCaseDesc            2 self-locate clients tracking. One cancels after issuing it's second request and the other does not cancel
-//! @SYMTestPriority            High
-//! @SYMTestActions             Similar to other cancel tests above
-//! @SYMTestExpectedResults     First client's second request will complete with KErrCancel, all other requests complete with KErrNone
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-3
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-CANCEL-3
-END_TESTCASE                  SFLBS-MOLR-HYBRID-CANCEL-3
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-001
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB+TA
-//!                             network wants TB+TA
-//!                             module supplies positions and measurements
-//!                             There are two clients, both tracking, the first client starts immediatedly and the second one starts very quickly
-//!                             afterwards, while LBS is processing the first request.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB + TA
-//!                             Read network request mode from test config - TB + TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 5 seconds
-//!                             While the first NPUD is processed the second client issues an NPUD with options set for tracking every 10 seconds
-//!                             Both clients get their requests satisfied and they continue tracking, the first one for 15 times, the second for 9 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-2CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-2CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-001
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-002
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-002
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB+TA
-//!                             network wants TB+TA
-//!                             module supplies positions and measurements
-//!                             There are two clients, both tracking, the first client starts immediatedly and the second one starts a bit later,
-//!                             after the first client's initial request was satisified.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB + TA
-//!                             Read network request mode from test config - TB + TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 10 seconds
-//!                             The first client receives a position
-//!                             The second client issues an NPUD with options set for tracking every 7 seconds
-//!                             The second client receives a position
-//!                             Both continue tracking, the first one for 8 times, the second for 12 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-2CLIENTS-2
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-2CLIENTS-2
-END_TESTCASE                  SFLBS-MOLR-HYBRID-TRACKING2CLIENTS-002
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRID-TRACKING3CLIENTS-001
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRID-TRACKING3CLIENTS-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = ATA
-//!                             mod caps = TB+TA
-//!                             network wants TB+TA
-//!                             module supplies positions and measurements
-//!                             There are three clients, both tracking, the first client starts immediatedly, the second one starts very quickly
-//!                             after, when LBS is processing the first client's request, and the third client starts a bit later,
-//!                             after the first two clients' initial requests were satisified.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - ATA
-//!                             Get device capabilities - TB + TA
-//!                             Read network request mode from test config - TB + TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking every 5 seconds
-//!                             While the first NPUD is processed the second client issues an NPUD with options set for tracking every 9 seconds
-//!                             Both clients get their requests satisfied
-//!                             The third client issues an NPUD with options set for tracking every 7 seconds
-//!                             The third client receives a position
-//!                             All three clients continue tracking, the first one for 20 times, the second for 10 times and the third one for 15 times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-3CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-HYBRID-TRACKING-3CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-HYBRID-TRACKING3CLIENTS-001
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-MOLR-HYBRIDCAPS-TRACKING2Clients_TA_Auto-001
-//! @SYMTestCaseID              SFLBS-MOLR-HYBRIDCAPS-TRACKING2Clients_TA_Auto-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TB
-//!                             module supplies positions and measurements
-//!                             There are two clients, both tracking, both clients start immediatedly and one is autonomous
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking
-//!                             The first client receives a position
-//!                             The second client issues an NPUD with options set for tracking
-//!                             The second client receives an error and stops sending requests
-//!                             First client continues tracking a number of times
-//! @SYMTestExpectedResults     All of the first clients requests should be satisfied and the client should receive the positions in the right windows.
-//!                             The second clients request should receive KErrInUse
-//! @SYMTestType                CIT
-//! @SYMCreationDate            30/12/2008
-//! @SYMAuthor                  lornam
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-TA-Auto-TRACKING-2CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-TA-Auto-TRACKING-2CLIENTS-1
-END_TESTCASE                  	SFLBS-MOLR-HYBRIDCAPS-TRACKING2Clients_TA_Auto-001
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-MOLR-ATA-WARMDOWNTIMER-1
-//! @SYMTestCaseID              SFLBS-MOLR-ATA-WARMDOWNTIMER-1
-//! @SYMTestCaseDesc            2 self-locate clients. One causes a warmdown timer to fire (because he accepts partial updates and stops sending requests)
-//!                             while the other client is still waiting for a request to complete.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Client 1 accepts partial updates (hence warmdowntimer started), has an interval of 5s and does 2 NPUDs
-//!                             Client 2 starts 2s later with an interval of 8s and does 4 NPUDs
-//! @SYMTestExpectedResults     The second clients request should NOT be cancelled when the first client's warmdown timer fires.
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr_tracking.ini LBS-MOLR-Tracking
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-WARMDOWNTIMER-1
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-ATA-WARMDOWNTIMER-1
-END_TESTCASE SFLBS-MOLR-ATA-WARMDOWNTIMER-1
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-//--------------------------------------------------------------- Admin = PTB -----------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------------------------------------------------------
-// Set GPS mode to PTB in admin:
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetPTBMode
-//--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MOLR-TBCAPS-TRACKING2Clients_Auto_TB-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBCAPS-TRACKING2Clients_Auto_TB-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TB
-//!                             module supplies positions and measurements
-//!                             There are two clients, both tracking, the first client is autonomous and starts immediatedly. The second one starts after the first client's selflocate session hass started.
-//!                             after the first client's initial request was satisified.
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking
-//!                             The first client receives a position
-//!                             The second client issues an NPUD with options set for tracking
-//!                             The second client receives a position
-//!                             Both continue tracking for a number of times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            30/12/2008
-//! @SYMAuthor                  lornam
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-Auto-TB-TRACKING-2CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-Auto-TB-TRACKING-2CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-TBCAPS-TRACKING2Clients_Auto_TB-001
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE                SFLBS-MOLR-TBCAPS-TRACKING2CLIENTS_TB_Auto-001
-//! @SYMTestCaseID              SFLBS-MOLR-TBCAPS-TRACKING2CLIENTS_TB_Auto-001
-//! @SYMTestCaseDesc            Self Locate requests with:
-//!                             admin gpsmode = PTB
-//!                             mod caps = TB
-//!                             network wants TB
-//!                             module supplies positions and measurements
-//!                             There are two clients, both tracking, the first client starts immediatedly and issues a TB request. The second client is autonomous and sends a request after the first client's selflocate session hass started
-//! @SYMTestPriority            High
-//! @SYMTestActions             Get admin gpsmode - PTB
-//!                             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             The first client issues an NPUD with options set for tracking
-//!                             The first client receives a position
-//!                             The second client issues an NPUD with options set for tracking
-//!                             The second client receives a position
-//!                             Both continue tracking for a number of times
-//! @SYMTestExpectedResults     All requests should be satisfied and the clients should receive the positions in the right windows.
-//! @SYMTestType                CIT
-//! @SYMCreationDate            30/12/2008
-//! @SYMAuthor                  lornam
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-TB-Auto-TRACKING-2CLIENTS-1
-RUN_TEST_STEP 180 SfLbsHybridMOLRTestServer LbsMolrTracking c:\testdata\configs\sf_lbs_molr_tracking.ini MOLR-TB-Auto-TRACKING-2CLIENTS-1
-END_TESTCASE                  SFLBS-MOLR-TBCAPS-TRACKING2CLIENTS_TB_Auto-001
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Tests Finished, Tidyup:
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_ueassisted_molr_self_gps_inaccurate_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-INACCURATE
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-DeleteFile c:\private\10202be9\1028224b.cre
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Ensure Self Locate API is on for roaming
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start up LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsInaccurateTimeout-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsInaccurateTimeout-0001
-//! @SYMTestCaseDesc            Client generates MOLR request
-//!                             GPS Module generates measurements in UE Based and UE Assisted State
-//!                             GPS Module unable to generate an accurate position in UE Assisted State
-//!                             Protocol Module simulates a timeout while waiting for Facility from Network
-//!                             See: lbshybridmolr/documentation/MOLR.htm#MOLRAssistInnacFacilityTimeout
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini InaccurateGpsTimeout
-RUN_TEST_STEP 480 SfLbsHybridMOLRTestServer LbsUEAssistedMOLRSelfGPSInaccurateT c:\testdata\configs\sf_lbs_molr.ini InaccurateGpsTimeout
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsInaccurateTimeout-0001
-// Shutdown LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_ueassisted_molr_self_gps_late.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEASSISTED-GPSLATE
-//! @SYMScriptTestEnvironment TEF
-//
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMOLRTestServer
-
-
-// Before we start LBS, select the test Hybrid A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module.
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Ensure Self Locate API is on for roaming
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-// Start up LBS.
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsLate-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsLate-0001
-//! @SYMTestCaseDesc            Client generates MOLR request GPS Module generates measurements in UE Based and UE Assisted State
-//!                             Protocol Module simulates receiving an MC Release from Network
-//!                             GPS Module generates an accurate position after reception of MC Release
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_LBS_UE-Assisted_MO-LR_Late
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini LateGps
-RUN_TEST_STEP 480 SfLbsHybridMOLRTestServer LbsUEAssistedMOLRSelfGPSLate
-END_TESTCASE                  SFLBS-HybridMOLR-UEAssistedMOLR-SelfGpsLate-0001
-// Shutdown LBS.
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/scripts/sf_uebased_molr_self.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMOLR-UEBASED-SELF
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-PRINT Run SfLbsHybridMOLRTestServer
-LOAD_SUITE SfLbsHybridMOLRTestServer -SharedData
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-// Make sure the default profile is used, rather than one from the c drive
-PREFIX RUN_UTILS
-DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_ResetDefaultAdmin
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupProtocolStub
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_SetupRoamSelfLocate
-
-RUN_TEST_STEP 030 SfLbsHybridMOLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridMOLR-UEBasedMOLR-Self-0001
-//! @SYMTestCaseID              SFLBS-HybridMOLR-UEBasedMOLR-Self-0001
-//! @SYMTestCaseDesc            Client generates MOLR request GPS Module generates an accurate position in UE Based State
-//!                             See: lbshybridmolr/documentation/MOLR.htm#Hybrid_UE-BasedMO-LRSelf
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMOLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_molr.ini LBS-MOLR
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_molr.ini UEBasedMOLRSelf
-RUN_TEST_STEP 120 SfLbsHybridMOLRTestServer LbsUEBasedMOLRSelf
-END_TESTCASE                  SFLBS-HybridMOLR-UEBasedMOLR-Self-0001
-RUN_TEST_STEP 020 SfLbsHybridMOLRTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbataearlycomplete.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,559 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbataearlycomplete.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-#include  "ctlbsagpshandler.h"
-
-/**
-Static Constructor
-*/
-CT_LbsATAEarlyComplete* CT_LbsATAEarlyComplete::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsATAEarlyComplete* testStep = new CT_LbsATAEarlyComplete(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsATAEarlyComplete::CT_LbsATAEarlyComplete(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsATAEarlyComplete);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-		
-	iState = EInitializing;
-	}
-
-
-void CT_LbsATAEarlyComplete::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsATAEarlyComplete::~CT_LbsATAEarlyComplete()
-	{
-	}
-
-
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-TVerdict CT_LbsATAEarlyComplete::doTestStepPreambleL()
-	{
-	INFO_PRINTF1(_L("Test Preamble. CT_LbsATAEarlyComplete"));
-
-	// create the test channel handler
-	iAGpsHandler = CT_LbsAGpsHandler::NewL(this);
-	
-	SetTestStepResult(EPass);
-	return TestStepResult();
-	}
-/**
- * @return - TVerdict code
- * Override of base class virtual
- */
-TVerdict CT_LbsATAEarlyComplete::doTestStepPostambleL()
-	{
-	INFO_PRINTF1(_L("Test Postamble. CT_LbsATAEarlyComplete"));
-
-	delete iAGpsHandler;
-	iAGpsHandler = NULL;
-		
-	return TestStepResult();
-	}
-	
-
-TVerdict CT_LbsATAEarlyComplete::doTestStepL()
-	{
-   	INFO_PRINTF1(_L("&lt;&lt;CT_LbsATAEarlyComplete::doTestStepL()"));
-
-    INFO_PRINTF1(_L("CT_LbsATAEarlyComplete::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsStep_SetupRoamSelfLocate::doTestStepL()"));
-   
-   	CLbsAdmin* adminApi = CLbsAdmin::NewL();
-   	CleanupStack::PushL(adminApi);
-   	
-   	// Switch on the self locate API when roaming.
-   	CLbsAdmin::TSelfLocateService serviceSetting = CLbsAdmin::ESelfLocateUnknown;
-   
-   	TInt err = adminApi->Set(KLbsSettingRoamingSelfLocate, CLbsAdmin::ESelfLocateOn);
-   	User::LeaveIfError(err);
-   	err = adminApi->Get(KLbsSettingRoamingSelfLocate, serviceSetting);	
-   	User::LeaveIfError(err);
-   	
-   	if(serviceSetting != CLbsAdmin::ESelfLocateOn)
-   		{
-   		INFO_PRINTF1(_L("Self locate API admin setting didn't work"));
-   		SetTestStepResult(EFail);
-   		}					
-   	
-   	// Set gps mode when roaming.
-   	CLbsAdmin::TGpsMode gpsModeSetting = CLbsAdmin::EGpsModeUnknown;
-   	
-  	err = adminApi->Set(KLbsSettingRoamingGpsMode, CLbsAdmin::EGpsAlwaysTerminalAssisted);
-   	User::LeaveIfError(err);
-   	err = adminApi->Get(KLbsSettingRoamingGpsMode, gpsModeSetting);
-   	User::LeaveIfError(err);
-   	
- 	if (gpsModeSetting != CLbsAdmin::EGpsAlwaysTerminalAssisted)
-   		{
-   		INFO_PRINTF1(_L("Gps mode admin setting didn't work"));
-   		SetTestStepResult(EFail);
-   		}
-   		
-	CLbsAdmin::TSpecialFeature	ignoreAccuracy;
-   	TInt err1 = adminApi->Get(KLbsSpecialFeatureIgnoreAccuracy, ignoreAccuracy);
-	if (err1 != KErrNone)
-		{
-	  	INFO_PRINTF1(_L("&lt;&lt KLbsSpecialFeatureIgnoreAccuracy is absent in admin;"));
-		}	
-		else
-		{
-	  	INFO_PRINTF2(_L("&lt;&lt KLbsSpecialFeatureIgnoreAccuracy is in admin and it's set to %d;"),ignoreAccuracy);
-		}	
-
-  	//INFO_PRINTF1(_L("&lt;&lt Setting KLbsSpecialFeatureIgnoreAccuracy to OFF"));
-	//err = adminApi->Set(KLbsSpecialFeatureIgnoreAccuracy, CLbsAdmin::ESpecialFeatureOff;);
-   		
-   	CleanupStack::PopAndDestroy(adminApi);
-   
-   	// Allow the setting to be propagated
-   	User::After(2*1000*1000);
-   
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-	// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup).}
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(240000000));
-	pos.SetUpdateOptions(posOpts);
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-
-	// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KMOLRFixTime,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyNetwork 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);
-		
-	TESTL(qualitycheck);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-	// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-
-	// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestTAPMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-	// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-
-	// Recv --> RespondLocationRequest.
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-	// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-	//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	const TInt t = 8 * 1000 * 1000; // 8 secs.
-	quality.SetMaxFixTime(t);
-	
-	
-	// Send <-- ProcessLocationUpdate - return network calculated pos.
-	TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-
-	// Client Recv: Second update position - This should return with KPositionEarlyComplete
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Wait to ensure no additional responses turn up.
-	delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType rtype = proxy->WaitForResponse(delta);
-	
-	if (rtype == ENetMsgTimeoutExpired)
-		{
-		INFO_PRINTF1(_L("No additional messages turned up"));
-	
- 		}
-	else
-		{
-		INFO_PRINTF1(_L("Got unexpected messages"));
- 		}
-		
-	TESTL(rtype == ENetMsgCancelSelfLocation); 
-
-	// Send <-- ProcessSessionComplete.
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-	// Carryout unique test actions (the ALT sections - see sequence diagrams.
-	TInt testCaseId;
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-		{
-		switch (testCaseId)
-			{
-			// Test case Stop_OutsideMoLr
-			case 6:
-				{
-				User::After(2*1000*1000);
-				
-				iAGpsHandler->SendRequestModuleOption(ELbsHybridModuleOptions_DisableReqAssistData, ETrue);
-
-				// Client Send: Notify Position Update
-				pWatch->IssueNotifyPositionUpdate();
-		
-				// now ensure that intgration moulde does NOT RequestAssistanceData
-				// and thus LBS will NOT send RequestSelfLopcation to protocol module
-				// and a MoLr will NOT be started 
-				
-	 			// Client Send: Complete Request
-				TESTL(pos.CompleteRequest(EPositionerNotifyPositionUpdate) == KErrNone);
-	
-				// Client Recv: Second update position - This should return with KPositionEarlyComplete
-				CheckForObserverEventTestsL(KTimeOut, *this);
-
-				TESTL(iState == EGotCompleteRequestPosition);
-				
-				}
-				break;
-					
-			// Test case Stop_InsideMoLr
-			case 5:
-				{
-				// Client Send: Notify Position Update
-
-				User::After(2*1000*1000);
-
-				pWatch->IssueNotifyPositionUpdate();
-
-				rtype = proxy->WaitForResponse(KTimeOut);
-				TESTL(rtype == ENetMsgRequestSelfLocation);
-
-				// Process the response.
-				sessionId = NULL;
-				opts = NULL;
-	
-				cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-				qualitycheck = ArgUtils::CompareQuality(	opts, 
-											EFalse, 
-											KMinHorizontalAcc, 
-											KMinVerticalAcc, 
-											KMOLRFixTime,
-											0, 
-											EAssistanceDataNone, 
-											(TPositionModuleInfo::ETechnologyNetwork 
-											| TPositionModuleInfo::ETechnologyAssisted)
-										);
-		
-				TESTL(qualitycheck);
-	
-				iSessionId.SetSessionNum(sessionId->SessionNum());
-				iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-				CleanupStack::PopAndDestroy(cleanupCnt);
-				sessionId = NULL;
-				opts = NULL;	
-	
-
-				// Send <-- ProcessLocationRequest.
-				TBool	emergency = EFalse;
-				MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-				TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-				TLbsNetPosRequestMethod method = ArgUtils::RequestTAPMethod();
-				quality.SetMaxFixTime(ArgUtils::Alpha2());
-				proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-				// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-				TTime startTime;
-				startTime.HomeTime();
-
-				// Recv --> RequestAssistanceData.
-				TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-				cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-				TESTL(dataMask == EAssistanceDataNone);
-				CleanupStack::PopAndDestroy(cleanupCnt);
-
-    			//Client Send: CompleteRequest
-				TESTL(pos.CompleteRequest(EPositionerNotifyPositionUpdate) == KErrNone);
-	
-				// Client Recv: Second update position - This should return with KPositionEarlyComplete
-				CheckForObserverEventTestsL(KTimeOut, *this);
-
-				TESTL(iState == EDone);
-
-				// Wait for and process the response. Should be aRespondLocationRequest(KErrNone,FinalNetworkPosition)
-				rtype = proxy->WaitForResponse(KTimeOut);
-				TESTL(rtype == ENetMsgRespondLocationRequest);
-
-				sessionId = NULL;
-				TPositionInfo* positionInfo = NULL;
-			
-				cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-			
-				// Check the response.
-				TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass));
-				TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-				TESTL(reason == KErrNone);
-				CleanupStack::PopAndDestroy(cleanupCnt);
-
-				// Send <-- ProcessSessionComplete.
-				reason = KErrNone;
-				proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);	
-				}
-				break;
-			default:
-				{
-				User::Leave(KErrArgument);	
-				}
-				break;
-			}
-		}
-	else
-		{
-	INFO_PRINTF1(_L("<FONT><B>Failed to read from ini file correctly</B></FONT>"));
-	SetTestStepResult(EFail);
-		}
-
-	// Wait for 10 seconds to ensure no additional responses turn up.
-	delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType mType = proxy->WaitForResponse(delta);
-	TESTL(mType == ENetMsgTimeoutExpired);
-	
-	// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-		
-	return TestStepResult();
-	}
-
-
-
-// MPosServerObserver
-void CT_LbsATAEarlyComplete::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsATAEarlyComplete::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	// Verify position.
-
-	if (iState == EInitializing)
-		{
-		
-		INFO_PRINTF2(_L("OnNotifyPositionUpdate, Expecting KPositionQualityLoss and got err %d."), aErr);	
-
-		TEST(aErr == KPositionQualityLoss);
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-			T_LbsUtils utils;
-			TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-		
-			TEST(utils.Compare_PosInfo(aPosInfo, networkPosInfo));
-			TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-			TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-				
-			TEST(aPosInfo.ModuleId() == TUid::Uid(0x10281D43)); // id of NetLocManager
-			}
-		iState = EGotCompleteRequestPosition;
-		}
-	else if (iState == EGotCompleteRequestPosition)
-		{
-		TEST(aErr == KPositionEarlyComplete);
-		T_LbsUtils utils;
-		TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-		
-		TEST(utils.Compare_PosInfo(aPosInfo, networkPosInfo));
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-		TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-			
-		TEST(aPosInfo.ModuleId() == TUid::Uid(0x10281D43)); // id of NetLocManager
-		
-		iState = EDone;
-		}
-	else if (iState == EDone)
-		{
-		// not used
-		}
-	else
-		{
-		TEST(EFalse);
-		}
-		
-
-		
-	ReturnToTestStep();
-	}
-
-// Response back from A-GPS hybrid module to notify the test it has got the timeout request.
-void CT_LbsATAEarlyComplete::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (TT_LbsAGpsResponseMsg::EModuleResponseOk != aResponse)
-		{
-		// fail test could not config module!
-		INFO_PRINTF2(_L("Unable to configure hybrid module, err %d."), aResponse);	
-		SetTestStepResult(EFail);						
-		}
-		
-		// Return back to test.
-		CActiveScheduler::Stop();	
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrfutile.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,443 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MO-LR Futile UE-Based and UE-Assisted Test scenario
-// 
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridmolrfutile.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-const TInt KShorterMaxFixTime = 30*1000*1000;
-
-/**
-Static Constructor
-*/
-CT_LbsHybridMOLRFutile* CT_LbsHybridMOLRFutile::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridMOLRFutile* testStep = new CT_LbsHybridMOLRFutile(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridMOLRFutile::CT_LbsHybridMOLRFutile(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridMOLRFutile);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	}
-
-
-void CT_LbsHybridMOLRFutile::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridMOLRFutile::~CT_LbsHybridMOLRFutile()
-	{
-	}
-
-/** 
- * HYBRID MOLR FUTILE SCENARIOS:
- * 	Test Case Id 1: Hybrid LBS MOLR UE Based - Futile
- * 	Test Case Id 2: Hybrid LBS MOLR UE Assisted - Futile
- * 	Test Case Id 3: Hybrid LBS MOLR UE Assisted - Futile - Facility Timeout
- * 	Test Case Id 4: LBS MOLR UE Based - Futile
-*/
-TVerdict CT_LbsHybridMOLRFutile::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridMOLRFutile::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Carryout unique test actions.
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-		{
-		INFO_PRINTF2(_L("Test id %d."), iTestCaseId);
-		
-		// Create Network Protocol Proxy
-		CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-		CleanupStack::PushL(proxy);
-		TInt cleanupCnt;
-
-// Comment out while lbs is restarted in this test's script
-//		if (iTestCaseId == 1)
-			{
-			// >> AdviceSystemStatus(0)
-			INFO_PRINTF1(_L("Wait for AdviceSystemStatus"));
-			TNetProtocolResponseType type = proxy->WaitForResponse(KTimeOut);
-			INFO_PRINTF2(_L("returned from WaitForResponse %d"), type);
-
-			TESTL(type == ENetMsgGetCurrentCapabilitiesResponse);
-			CLbsNetworkProtocolBase::TLbsSystemStatus status;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-			TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			}
-
-		// Start Test Step
-		RPositionServer server;
-		TESTL(KErrNone == server.Connect());
-		CleanupClosePushL(server);	
-
-		RPositioner pos;
-		TESTL(KErrNone == pos.Open(server));
-		CleanupClosePushL(pos);
-
-		TInt maxFixTime;
-
-		if (iTestCaseId == 3 && iExpectedApiBehaviour == EApiVariant2)
-			{
-			// Set the max fix time for the client request to be shorter to ensure the location server times out before the test
-			maxFixTime = KShorterMaxFixTime;
-			}
-		else
-			{
-			// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-			maxFixTime = KDefaultMaxFixTime;
-			}
-		TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(maxFixTime));
-		pos.SetUpdateOptions(posOpts);
-
-		CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-		// Request a self-locate MoLr.
-		pWatch->IssueNotifyPositionUpdate();
-		
-		// >> RequestSelfLocation()
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-		// Process the response.
-		TLbsNetSessionId* 					sessionId = NULL;
-		TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-		
-		TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-														ETrue, 
-														KMinHorizontalAcc, 
-														KMinVerticalAcc, 
-														maxFixTime,
-														0, 
-														EAssistanceDataReferenceTime, 
-														(TPositionModuleInfo::ETechnologyTerminal 
-														| TPositionModuleInfo::ETechnologyAssisted)
-													);
-		TESTL(qualitycheck);
-		
-		iSessionId.SetSessionNum(sessionId->SessionNum());
-		iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		sessionId = NULL;
-		opts = NULL;	
-		
-		// << ProcessStatusUpdate(EServiceSelfLocation)
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-		// << ProcessLocationUpdate(SessionId, RefPosition)
-		TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-		proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-		// TEST: Get the ref pos app side.
-		CheckForObserverEventTestsL(KTimeOut, *this);
-
-		// << ProcessAssistanceData()
-		TLbsAsistanceDataGroup dataMask = EAssistanceDataReferenceTime;
-		RLbsAssistanceDataBuilderSet assistanceData;
-		ArgUtils::PopulateLC(assistanceData);
-		TInt reason = KErrNone;
-		proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-		CleanupStack::PopAndDestroy(); // assistanceData
-
-		// << ProcessLocationRequest(SessionId, HybridMode, alpha2)
-		TBool emergency = EFalse;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		TLbsNetPosRequestQuality quality = ArgUtils::Quality(); 
-		quality.SetMaxFixTime(ArgUtils::Alpha2());
-		TLbsNetPosRequestMethod method;
-		if (iTestCaseId == 4)
-			{
- 			method = ArgUtils::RequestMethod();
-			}
-		else
-			{
-			method = ArgUtils::RequestHybridMethod();
-			}
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-		// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-		TTime startTime;
-		startTime.HomeTime();
-
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
-		// << NotifyPositionUpdate()
-		pWatch->IssueNotifyPositionUpdate();
-
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
-		TPositionGpsMeasurementInfo* measurementInfo = NULL;
-			
-		if ((iTestCaseId == 2) || (iTestCaseId == 3))
-			{
-			//Find the time elapsed from timer
-			TTimeIntervalMicroSeconds microseconds;
-			TTime timerStop;
-			timerStop.HomeTime();
-			microseconds = timerStop.MicroSecondsFrom(startTime); 
-			TInt64 timeElapsed = microseconds.Int64();
-			TInt delta = 2 * 1000 * 1000; // 2 s
-				
-			// >> RespondLocationRequest()
-			// Test that we do not get response before alpha2 has expired
-			TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired); 
-
-			// Wait for and process the response.
-			TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest); 
-
-			sessionId = NULL;
-			reason = KErrNone;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(reason == KErrNone); 
-			// Check it is a measurement
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			CleanupStack::PopAndDestroy(cleanupCnt); //sessionId, measurementInfo
-
-			// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager reissuing a location request when it's
-			//									max fix time timer expries.
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-
-			const TInt t = 8 * 1000 * 1000; // 8 secs.
-			quality.SetMaxFixTime(t);
-
-			// << ProcessLocationRequest(SessionId, HybridMode, t)
-			proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-			// >> RequestAssistanceData(0)
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			}
-			
-		// >> RespondLocationRequest()
-		// Error returned by module should be KPositionCalculationFutile
-		// the alpha or t timeout
-		if ((iTestCaseId == 1) || (iTestCaseId == 4))
-			{
-			TESTL(proxy->WaitForResponse(ArgUtils::Alpha2()) == ENetMsgRespondLocationRequest); 
-			}
-		else if ((iTestCaseId == 2) || (iTestCaseId == 3))
-			{
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-			}
-		sessionId = NULL;
-		reason = KErrNone;
-		if ((iTestCaseId == 1) || (iTestCaseId == 2) || (iTestCaseId == 3))
-			{
-			// Check it is a measurement
-			measurementInfo = NULL;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			}
-		else if (iTestCaseId == 4)
-			{
-			// check it is a position
-			TPositionInfo* posInfo = NULL;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &posInfo);
-			TESTL(posInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-			}
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KPositionCalculationFutile);
-		CleanupStack::PopAndDestroy(cleanupCnt); //sessionId, measurementInfo\positionInfo
-
-		if ((iTestCaseId == 1) || (iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			// <<  ProcessLocationUpdate - return network calculated pos
-			TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-			proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);		
-
-			// TEST: Get the final network position	
-			CheckForObserverEventTestsL(KTimeOut, *this);		
-			TESTL(iState == EFnNwLocReceived);
-
-			// << ProcessSessionComplete(SessionId, KErrNone)	
-			reason = KErrNone;
-			proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-			// << ENetMsgProcessStatusUpdate()
-			serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-			proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-			
-			// >> CancelSelfLocation.
-			TInt KTimeout = 10 * 1000000; // 10 seconds
-			TESTL(proxy->WaitForResponse(KTimeout) == ENetMsgCancelSelfLocation);
-			
-			// Wait for 10 seconds to ensure no additional responses turn up.
-			// Note that after a session complete an assistance dtaat request may or
-			// may not arrive ... depending on timings
-			TInt delta = 10 * 1000 * 1000;
-			TNetProtocolResponseType mType = proxy->WaitForResponse(delta,EResponseFilterMsgRequestAssistanceData);
-			TESTL(mType == ENetMsgTimeoutExpired);
-
-			}
-		else if (iTestCaseId == 3)
-			{			
-		    // Simulate Facility wait timer expiring
-		    TInt KTimeout = 10 * 1000000; // 10 seconds
-		    TESTL(proxy->WaitForResponse(KTimeout) == ENetMsgTimeoutExpired);
-
-			// << ProcessSessionComplete(SessionId, KErrPositionSystemFailure)	
-			reason = KErrTimedOut;
-			proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-			// << ENetMsgProcessStatusUpdate()
-			serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-			proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-			// Client recv - the gps position determined by the gps module.
-			CheckForObserverEventTestsL(KTimeOut, *this);
-			TESTL(iState == EGpsLocReceived);
-
-			// Listen for 10 seconds that there are no further messages
-		    TESTL(proxy->WaitForResponse(KTimeout) == ENetMsgTimeoutExpired);
-			}
-
-	
-
-	// Done. Now cleanup...
-		CleanupStack::PopAndDestroy(pWatch);
-		CleanupStack::PopAndDestroy(); // pos
-		CleanupStack::PopAndDestroy(); // server	
-		CleanupStack::PopAndDestroy(proxy);
-		}
-	return TestStepResult();
-	}
-
-
-// MPosServerObserver
-void CT_LbsHybridMOLRFutile::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridMOLRFutile::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		// Verify error.
-		TEST(aErr == KErrNone);
-		
-		iState = ERefLocReceived;
-
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-
-		// check for nan in ref positions
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting network pos 
-	else if (iState == ERefLocReceived)
-		{
-		// Verify error.
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{
-			if(iTestCaseId != 3)
-				{
-				TEST(aErr == KErrNone);
-				}
-			else
-				{
-				TEST(aErr == KPositionQualityLoss);
-				}
-			}
-		else
-			{
-			TEST(aErr == KPositionQualityLoss);
-			}
-
-		if ((iTestCaseId == 1) || (iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			iState = EFnNwLocReceived;
-			TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-			}
-		else if (iTestCaseId == 3)
-			{
-			iState = EGpsLocReceived;
-			if(iExpectedApiBehaviour == EApiVariant1)// Note that on Variant2 position is not filled in when KPositionQualityLoss returned, so we don't check any details
-				{
-				TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-				}
-			}
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,240 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CTLbsHybridMTLRServer.cpp
-// This is the class implementation for the LBS Hybrid MOLR Test Server
-// 
-//
-
-// System includes
-#include <e32std.h>
-#include <rsshared.h>
-
-// User includes
-#include "ctlbshybridmolrserver.h"
-#include "ctlbsstepsetuproamselflocate.h"
-#include "ctlbsstepconfighybridmodule.h"
-
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbsueassistedmolrselfgpslate.h"
-#include "ctlbsstepsetupprotocolstub.h"
-#include "ctlbshybridueassistedmolrgpsok.h"
-#include "ctlbsueassistedmolrselfgpsinaccuratetimeout.h"
-#include "ctlbshybridmolrfutile.h"
-#include "ctlbshybriduebasedmolrpartial.h"
-#include "ctlbshybridueassistedmolrpartial.h"
-#include "ctlbshybridueassistedmolrclienttimeout.h"
-#include "ctlbshybridueassistedmolrtimeout.h"
-#include "ctlbsmolrgpsoptions.h"
-#include "ctlbshybridueassistedmolrnogpsupdate.h"
-#include "ctlbsmolrtracking.h"
-
-/**
-  NewL()
-  Constructs a CT_LbsHybridMOLRServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsHybridMOLRServer* CT_LbsHybridMOLRServer::NewL()
-	{
-	CT_LbsHybridMOLRServer*server = new(ELeave) CT_LbsHybridMOLRServer();
-	CleanupStack::PushL(server);
-	server->ConstructL(KSfLbsHybridMOLRTestServer);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates a server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	__UHEAP_MARK;
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsHybridMOLRServer* server = CT_LbsHybridMOLRServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	__UHEAP_MARKEND;
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-
-
-CT_LbsHybridMOLRServer::~CT_LbsHybridMOLRServer()
-	{
-	}
-	
-	
-/**
-  Function : CT_LbsHybridMOLRServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMOLRServer::CT_LbsHybridMOLRServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsHybridMOLRServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	
-	iSharedData = CT_LbsHybridMOLRSharedData::NewL();
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsHybridMOLRServer::CreateTestStep(const TDesC& aStepName)
-	{
-	// NULL if insufficient memory. This suits the API.
-
-	// Test case test steps, each test step supports one or more test cases.
-	if (aStepName == KLbsStep_SetupRoamSelfLocate)	
-		{
-		return CT_LbsStep_SetupRoamSelfLocate::New(*this);
-		}	
-	else if(aStepName == KLbsStep_SetupProtocolStub)	
-		{
-		return CT_LbsStep_SetupProtocolStub::New(*this);
-		}	
-	else if(aStepName == KLbsStep_ConfigHybridModule)	
-		{
-		return CT_LbsStep_ConfigHybridModule::New(*this);
-		}	
-
-	else if(aStepName == KLbsUEBasedMOLRSelf)	
-		{
-		return CT_LbsUEBasedMOLRSelf::New(*this);
-		}
-	else if (aStepName == KLbsUEAssistedMOLRSelfGPSLate)
-		{
-		return CT_LbsUEAssistedMOLRSelfGPSLate::New(*this);
-		}
-	else if(aStepName == KLbsUEAssistedMOLRSelfGPSInaccurateT)	
-		{
-		return CT_LbsUEAssistedMOLRSelfGPSInaccurateT::New(*this);
-		}
-
-	else if(aStepName == KLbsHybridUEAssistedMOLRGPSOk)	
-		{
-		return CT_LbsHybridUEAssistedMOLRGPSOk::New(*this);
-		}
-	else if (aStepName == KLbsHybridUEBasedMOLRPartial)
-		{
-		return CT_LbsHybridUEBasedMOLRPartial::New(*this);
-		}
-	else if (aStepName == KLbsHybridUEAssistedMOLRPartial)
-		{
-		return CT_LbsHybridUEAssistedMOLRPartial::New(*this);
-		}
-	else if (aStepName == KLbsHybridMOLRFutile)	
-		{
-		return CT_LbsHybridMOLRFutile::New(*this);		
-		}	
-	else if (aStepName == KLbsUEAssistedMOLRClientTimeout)
-		{
-		return CT_LbsUEAssistedMOLRClientTimeout::New(*this);		
-		}	
-	else if (aStepName == KLbsHybridUEAssistedMOLRTimeOut)
-		{
-		return CT_LbsHybridUEAssistedMOLRTimeOut::New(*this);
-		}
-	else if (aStepName == KLbsMolrGpsOptions)
-		{
-		return CT_LbsMolrGpsOptions::New(*this);
-		}
-	else if (aStepName == KLbsHybridUEAssistedMOLRNoGPSUpdate)
-		{
-		return CT_LbsHybridUEAssistedMOLRNoGPSUpdate::New(*this);
-		}
-	else if (aStepName == KLbsMolrTracking)
-		{
-		return CT_LbsMolrTracking::New(*this);
-		}
-		
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrshareddata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrshareddata.cpp
-// This file contains the shared data class for the Lbs MTLR Test server
-// 
-//
-
-
-#include "ctlbshybridmolrshareddata.h"
-
-
-/**
-  Function : NewL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMOLRSharedData* CT_LbsHybridMOLRSharedData::NewL()
-	{
-	CT_LbsHybridMOLRSharedData* sharedData=new(ELeave) CT_LbsHybridMOLRSharedData();
-	CleanupStack::PushL(sharedData);
-	sharedData->ConstructL();
-	CleanupStack::Pop(sharedData);
-
-	return sharedData;
-	}
-
-
-/**
-  Function : ConstructL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsHybridMOLRSharedData::ConstructL()
-	{
-	CT_LbsSharedData::ConstructL();
-	}
-
-
-/**
-  Function : CT_LbsHybridMOLRSharedData
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMOLRSharedData::CT_LbsHybridMOLRSharedData()
-	{
-	}
-	
-/**
-  Function : ~CT_LbsHybridMOLRSharedData
-  Description : Destructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/	
-CT_LbsHybridMOLRSharedData::~CT_LbsHybridMOLRSharedData()
-	{
-/*	for (TInt i = 0; i < iUpdateArr.Count(); ++i)
-		{
-		delete iUpdateArr[i];		
-		}
-	iUpdateArr.Close();
-*/	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridmolrstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,152 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmolrstep.cpp
-// This is the class implementation for the LBS HYBRID MTLR Test Step Base
-// 
-//
-
-#include "ctlbshybridmolrstep.h"
-#include <lbs/lbslocdatasourceclasstypes.h>
-
-CT_LbsHybridMOLRStep::~CT_LbsHybridMOLRStep()
-	{
-	iExpectedModuleGpsOptions.ResetAndDestroy();
-	iExpectedModuleGpsOptions.Close();
-	}
-
-
-CT_LbsHybridMOLRStep::CT_LbsHybridMOLRStep(CT_LbsHybridMOLRServer& aParent) 
-	: iParent(aParent), 
-		iExpectedModuleGpsOptionsIndex(0), iAgpsModuleEventListener(NULL)
-	{
-	}
-
-void CT_LbsHybridMOLRStep::ConstructL()
-	{
-	}
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridMOLRStep::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPreambleL()"));
-	
-	// The the expected module GPS options
-	T_LbsUtils utils;
-	TPtrC configFileName;
-	_LIT(KUpdateOptionsFile, "agps_module_update_file");
-	GetStringFromConfig(ConfigSection(), KUpdateOptionsFile, configFileName);
-	utils.GetExpected_ModuleModes(configFileName, ConfigSection(), iExpectedModuleGpsOptions);
-	if(iExpectedModuleGpsOptions.Count() > 0)
-		{ // Start listening for the GPS module options only if expecting any options
-		iAgpsModuleEventListener = CT_AgpsModuleEventListener::NewL(*this);
-		}
-
-	_LIT(KExpectedApiBehaviour, "expected_api_behaviour");
-	TInt expectedApiBehaviour;
-	if(GetIntFromConfig(ConfigSection(), KExpectedApiBehaviour, expectedApiBehaviour))
-		{
-		iExpectedApiBehaviour = static_cast<TExpectedApiBehaviour>(expectedApiBehaviour);;
-		}
-	else
-		{
-		iExpectedApiBehaviour = EApiVariant1;
-		}
-
-	SetTestStepResult(EPass);
-
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridMOLRStep::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPostambleL()"));
-	INFO_PRINTF3(_L("Checking the GPS module received all expected mode updates index = %d, expected count = %d"), iExpectedModuleGpsOptionsIndex, iExpectedModuleGpsOptions.Count());
-	TEST(iExpectedModuleGpsOptionsIndex == iExpectedModuleGpsOptions.Count());
-	iExpectedModuleGpsOptions.ResetAndDestroy();
-	iExpectedModuleGpsOptionsIndex = 0;
-	delete iAgpsModuleEventListener;
-	iAgpsModuleEventListener = NULL;
-
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-void CT_LbsHybridMOLRStep::OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions)
-/**
- * Compares the GPS options received by the AGPS module to the ones expected by the test
- */
-	{
-	INFO_PRINTF2(_L("CT_LbsHybridMOLRStep::OnSetGpsOptions() with gps mode %d"), aGpsOptions.GpsMode());
-	
-	if(iExpectedModuleGpsOptionsIndex >= iExpectedModuleGpsOptions.Count())
-		{
-		INFO_PRINTF1(_L("Got too many mode updates."));
-		TEST(EFalse);
-		return;
-		}
-	TLbsGpsOptions* expectedOptions = iExpectedModuleGpsOptions[iExpectedModuleGpsOptionsIndex];
-	++iExpectedModuleGpsOptionsIndex;
-
-	if(aGpsOptions.GpsMode() != expectedOptions->GpsMode())
-		{
-		INFO_PRINTF3(_L("Got unexpected mode update. Expect %d Got %d"), expectedOptions->GpsMode(), aGpsOptions.GpsMode());
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() != expectedOptions->ClassType())
-		{
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() & ELbsGpsOptionsArrayClass)
-		{
-		const TLbsGpsOptionsArray& optionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(aGpsOptions);
-		const TLbsGpsOptionsArray& expectedOptionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(*expectedOptions);
-		if(optionsArr.NumOptionItems() != expectedOptionsArr.NumOptionItems())
-			{
-			TEST(EFalse);
-			return;
-			}
-		for(TInt index = 0; index < optionsArr.NumOptionItems(); ++index)
-			{
-			TLbsGpsOptionsItem item;
-			TLbsGpsOptionsItem expectedItem;
-			optionsArr.GetOptionItem(index, item);
-			expectedOptionsArr.GetOptionItem(index, expectedItem);
-
-			if(item.PosUpdateType() != expectedItem.PosUpdateType())
-				{
-				TEST(EFalse);
-				return;
-				}
-			}
-		}
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrclienttimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,479 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbshybridueassistedmolrclienttimeout.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsUEAssistedMOLRClientTimeout* CT_LbsUEAssistedMOLRClientTimeout::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEAssistedMOLRClientTimeout* testStep = new CT_LbsUEAssistedMOLRClientTimeout(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEAssistedMOLRClientTimeout::CT_LbsUEAssistedMOLRClientTimeout(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsUEAssistedMOLRClientTimeout);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-		
-	iState = EInitializing;
-	}
-
-
-void CT_LbsUEAssistedMOLRClientTimeout::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsUEAssistedMOLRClientTimeout::~CT_LbsUEAssistedMOLRClientTimeout()
-	{
-	}
-
-
-TVerdict CT_LbsUEAssistedMOLRClientTimeout::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsUEAssistedMOLRClientTimeout::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	const TInt KClientTimeout = 60*1000*1000;
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KClientTimeout));
-	pos.SetUpdateOptions(posOpts);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-	
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KClientTimeout,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);					
-	TESTL(qualitycheck);
-
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-// Start timer to run along side Client request timer
-	TTime clientTimerStart;
-	clientTimerStart.HomeTime();
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Client Send -  a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Rev --> RequestAssistanceData - we get this as the result of client notify update request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-
-// Recv --> RespondLocationRequest.
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	const TInt t = 8 * 1000 * 1000; // 8 secs.
-	quality.SetMaxFixTime(t);
-	
-	TTime loopStartTime;
-	loopStartTime.HomeTime();
-	microseconds = loopStartTime.MicroSecondsFrom(clientTimerStart);
-	TInt clientTimeElapsed = microseconds.Int64();
-	for (TInt i = 0; clientTimeElapsed < (KClientTimeout + 10*1000*1000); i++)
-		{
-		// Recalculate time elapsed
-		loopStartTime.HomeTime();
-		microseconds = loopStartTime.MicroSecondsFrom(clientTimerStart);
-		clientTimeElapsed = microseconds.Int64();
-		// Fail if we pass client timeout without receiving timeout message
-		TESTL(clientTimeElapsed < (KClientTimeout + 10*1000*1000));
-
-// Send <-- ProcessLocationRequest - time t.
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-// Recv --> RequestAssistanceData.
-		TNetProtocolResponseType response;
-		response = proxy->WaitForResponse(KTimeOut);
-		if (response == ENetMsgCancelSelfLocation)
-			{
-			sessionId = NULL;
-			TInt cancelReason = KErrNone;
-			CleanupStack::PopAndDestroy(cleanupCnt = proxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason));
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(cancelReason == KErrTimedOut);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			sessionId = NULL;
-			break;
-			}
-		TESTL(response == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		
-		// Expect measurement
-		measurementInfo = NULL;
-
-// Recv --> RespondLocationRequest.
-		response = proxy->WaitForResponse(t + delta);
-		if (response == ENetMsgCancelSelfLocation)
-			{
-			sessionId = NULL;
-			TInt cancelReason = KErrNone;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason);
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(cancelReason == KErrTimedOut);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			sessionId = NULL;
-			break;
-			}
-		TESTL(response == ENetMsgRespondLocationRequest);
-
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-
-		// Check it is measurement and check contents
-		TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		sessionId = NULL;
-		measurementInfo = NULL;
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-		response = proxy->WaitForResponse(KTimeOut);
-		if (response == ENetMsgCancelSelfLocation)
-			{
-			sessionId = NULL;
-			TInt cancelReason = KErrNone;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason);
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(cancelReason == KErrTimedOut);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			sessionId = NULL;
-			break;
-			}
-		TESTL(response == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-
-// Client Recv - NotifyPositionUpdate (KPositionQualityLoss, InaccurateGPS Position)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	TESTL(iState == EGpsLocReceived);
-
-// ***Start of workaround ***
-// Production code functionality to request final GPS Position from LBS not implemented
-// So we omit this request
-	WARN_PRINTF1(_L("Workaround present - Production code not present => Omission of Protocol Module request for final GPS position"));
-/*
-
-// Send <-- ProcessLocationRequest - to request final GPS position from LBS
-	// Special values for quality to request final GPS position from LBS
-	TLbsNetPosRequestQuality finalQuality;
-	finalQuality.SetMaxFixTime(t);
-	finalQuality.SetMaxFixAge(t);
-	finalQuality.SetMinHorizontalAccuracy(-1);
-	finalQuality.SetMinVerticalAccuracy(-1);
-	
-	// Special value for request method to request final GPS position from LBS
-	TLbsNetPosRequestMethod uebasedMethod;
-	TLbsNetPosMethod method1;
-	method1.SetPosMethod(KLbsPositioningMeansGps, TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-	const TLbsNetPosMethod posMethods [] =
-		{
-		method1
-		};
-	uebasedMethod.SetPosMethods(posMethods, 1);
-	
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	finalService = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &finalService, &finalQuality, &uebasedMethod);
-	
-// Recv --> RespondLocationRequest - to receive final GPS position from LBS	
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
-	TPositionInfo* finalPositionInfo = NULL;
-	proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &finalPositionInfo);
-
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-
-	// Expect to receive final position which is an inaccurate GPS position, 
-	// not the reference position, not measured results
-	TESTL(finalPositionInfo->PositionClassType() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-	TPosition finalPosition;
-	finalPositionInfo->GetPosition(finalPosition);
-	TESTL((finalPosition.Latitude() == 50.2454) && (finalPosition.Longitude() == 0.1668) && (finalPosition.Altitude() == 1.0));
-	TESTL((finalPosition.HorizontalAccuracy() == 2000) && (finalPosition.VerticalAccuracy() == 2000));
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	finalPositionInfo = NULL;
-*/
-// ***End of workaround ***
-				
-// Send <-- ProcessLocationUpdate - return network calculated pos.
-	TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-
-// Send <-- ProcessSessionComplete(KErrTimedOut)
-	reason = KErrTimedOut;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-// Send <-- ProcessStatusUpdate.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	// Wait for 10 seconds to ensure no additional responses turn up. Ignore any Requests for Assistance data.
-	// because, depending on timings,  the session complete may force the AGPS manager to reissue a location request 
-	// to the integration module
-	delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType mType = proxy->WaitForResponse(delta,EResponseFilterMsgRequestAssistanceData);
-	TESTL(mType == ENetMsgTimeoutExpired);
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-		
-	return TestStepResult();
-	}
-
-
-
-// MPosServerObserver
-void CT_LbsUEAssistedMOLRClientTimeout::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt; Unexpected call to GetLastKnownPosition()"));
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsUEAssistedMOLRClientTimeout::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	INFO_PRINTF1(_L("&gt;&gt; CT_LbsUEAssistedMOLRClientTimeout::OnNotifyPositionUpdate"));
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		INFO_PRINTF1(_L("&gt;&gt; NotifyPositionUpdate(ReferencePosition)"));
-		iState = ERefLocReceived;
-		TEST(aErr == KErrNone);
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-		
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting network pos.
-	else if (iState == ERefLocReceived)
-		{
-		INFO_PRINTF1(_L("&gt;&gt; Final position: NotifyPositionUpdate(GPS Inaccurate Position)"));
-		iState = EGpsLocReceived;
-
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{
-			TEST(aErr == KErrTimedOut);		
-			}
-		else
-			{
-			TEST(aErr == KPositionQualityLoss);		
-			TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-			const TPositionInfo& posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-			TPosition pos;
-			posInfo.GetPosition(pos);
-			TESTL((pos.Latitude() == 50.2454) && (pos.Longitude() == 0.1668) && (pos.Altitude() == 1.0));
-			TESTL((pos.HorizontalAccuracy() == 2000) && (pos.VerticalAccuracy() == 2000));
-			}
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		INFO_PRINTF1(_L("&gt;&gt; Unexpected call to NotifyPositionUpdate()"));
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrgpsok.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,505 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the MO-LR - Accurate GPS Result scenario Tests
-// 
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmolrgpsok.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-const TInt KN(2); // Number of times to send the measurement from GPS to NW
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMOLRGPSOk* CT_LbsHybridUEAssistedMOLRGPSOk::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMOLRGPSOk* testStep = new CT_LbsHybridUEAssistedMOLRGPSOk(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMOLRGPSOk::CT_LbsHybridUEAssistedMOLRGPSOk(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedMOLRGPSOk);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	}
-
-
-void CT_LbsHybridUEAssistedMOLRGPSOk::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMOLRGPSOk::~CT_LbsHybridUEAssistedMOLRGPSOk()
-	{
-	}
-
-// Hybrid - UE Assisted MO-LR GPS ok
-
-TVerdict CT_LbsHybridUEAssistedMOLRGPSOk::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMOLRGPSOk::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	TInt testCaseId;
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-		{
-		 INFO_PRINTF2(_L("test ID= %d"),testCaseId);
-		}
-		
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-	// >> AdviceSystemStatus(0) - GetCurrentCapabilitiesResponse
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Start Test Step
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	
-	CPosServerWatcher *pWatch = NULL;
-	TInt reason = KErrNone;
-			
-	if (testCaseId == 9)
-		{
-		 // see INC121701
-		// this tests that a cancel on the P&S bus fron the locserver to the AGPS 
-		// manager does not get overwritten by a status when the sub-session is closed
-		
-		// Note that here we do not put pos on cleanup stack i.e CleanupClosePushL(pos);
-		// it emans that if the test fails by leaving between now and when we close the 
-		// subsession then there will be a leak!
-		// This is accepable beacuse if we did push it and then
-		// CleanupStack::PopAndDestroy(); then the timings change
-		// and the test is unable to create the back to back  cancel/status scenario
-		// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-		TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KMOLRFixTime));
-		pos.SetUpdateOptions(posOpts);
-	
-		pWatch = CPosServerWatcher::NewLC(pos, *this);
-		// Request a self-locate MoLr.
-		pWatch->IssueNotifyPositionUpdate();
-
-		// >> RequestSelfLocation()
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-		// Process the response.
-		TLbsNetSessionId* 					sessionId = NULL;
-		TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-		TInt								cleanupCnt;
-	
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-		iSessionId.SetSessionNum(sessionId->SessionNum());
-		iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		sessionId = NULL;
-		opts = NULL;	
-	
-		// << ProcessStatusUpdate(EServiceSelfLocation)
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		proxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-		// do NOT send to LBS a location reques
-		// thus ensuring that the cancel should arive fron LBS without 
-		// and assistance data requests 
-	
-		pos.CancelRequest(EPositionerNotifyPositionUpdate);
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		pos.Close();
-	
-		// now check that one and ONLY one cancel arrives
-		// Wait for and process the response.
-		TInt err = proxy->WaitForResponse( 1 * 1000 * 1000) ;
-		// if a status overwrites the cancel on the P&S bus then no cancel will arrive and te test will fail!
-		if (err==ENetMsgCancelSelfLocation)
-			{
-			INFO_PRINTF1(_L("Received a Cancel, as expected"));	
-			}
-		else
-			{
-			TESTL(err == ENetMsgCancelSelfLocation);
-			}	
-		
-		// << ProcessSessionComplete(SessionId, KErrCancel)	
-		TInt reason = KErrCancel;
-		proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-		
-		const TInt KTimeOutOneSecond = 1*1000*1000;
-			
-		// now no more messages should arrive and definately NOT another cancel!
-		// in order to demonstrate that this test actually works ..
-		// in location server's CRequestQ::IssueStatus
-		// add dleay before sending the cancel:
-		// For example:
-		// User::After(2* 1000 *1000);
-		// TRAP_IGNORE(iLocReqBus->PublishRequestL(cancel));
-		// this ensures that TWO cancels are sent from the location server to the agps manager
-		// and exercises the code in the manager that prevents TWO cancels being sent to 
-		// the protocol module
-		// in order to see the test failing when a second cancel arrives also need to 
-		// comment out the line	"if (!iSessionStartedStateAndCancelling)"
-		// in agps manager's lbsmanagermainlogic.cpp
-		
-		err = proxy->WaitForResponse( KTimeOutOneSecond) ;
-		if (err==ENetMsgCancelSelfLocation)
-			{
-			INFO_PRINTF1(_L("Test failed: received a SECOND cancel"));	
-			}
-		TESTL(err == ENetMsgTimeoutExpired); 
-
-
-		// Done. Now cleanup...
-		CleanupStack::PopAndDestroy(pWatch);
-		CleanupStack::PopAndDestroy(); // server	
-		CleanupStack::PopAndDestroy(proxy);
-	
-		return TestStepResult();
-		}
-	else
-		{
-		CleanupClosePushL(pos);
-		// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-		TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KMOLRFixTime));
-		pos.SetUpdateOptions(posOpts);
-		
-		pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-		// Request a self-locate MoLr.
-		pWatch->IssueNotifyPositionUpdate();
-
-		// >> RequestSelfLocation()
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-		// Process the response.
-		TLbsNetSessionId* 					sessionId = NULL;
-		TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-		TInt cleanupCnt;
-		
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-		TBool qualitycheck = 	ArgUtils::CompareQuality(	opts, 
-															ETrue, 
-															KMinHorizontalAcc, 
-															KMinVerticalAcc, 
-															KMOLRFixTime,
-															0, 
-															EAssistanceDataReferenceTime, 
-															(TPositionModuleInfo::ETechnologyTerminal 
-															| TPositionModuleInfo::ETechnologyAssisted)
-														);
-		
-		TESTL(qualitycheck);
-
-		iSessionId.SetSessionNum(sessionId->SessionNum());
-		iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		sessionId = NULL;
-		opts = NULL;	
-		
-		// << ProcessStatusUpdate(EServiceSelfLocation)
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		proxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-		// << ProcessLocationUpdate(SessionId, RefPosition)
-		TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-		proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-		// TEST: Get the ref pos app side.
-		CheckForObserverEventTestsL(KTimeOut, *this);
-
-		// << ProcessAssistanceData()
-		TLbsAsistanceDataGroup dataMask = EAssistanceDataReferenceTime;
-		RLbsAssistanceDataBuilderSet assistanceData;
-		ArgUtils::PopulateLC(assistanceData);
-		reason = KErrNone;
-		proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-		CleanupStack::PopAndDestroy(); // assistanceData
-
-		// << ProcessLocationRequest(SessionId, HybridMode, alpha2)
-		TBool emergency = EFalse;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		TLbsNetPosRequestQuality quality = ArgUtils::Quality(); 
-		quality.SetMaxFixTime(ArgUtils::Alpha2());
-		TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-		// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-		TTime startTime;
-		startTime.HomeTime();
-
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
-		// << NotifyPositionUpdate()
-		pWatch->IssueNotifyPositionUpdate();
-
-		// >> RequestAssistanceData(0)
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-		TTimeIntervalMicroSeconds microseconds;
-		TTime stopTime;
-		stopTime.HomeTime();
-		microseconds = stopTime.MicroSecondsFrom(startTime); 
-		TInt64 timeElapsed = microseconds.Int64();
-		TInt delta = 2 * 1000 * 1000; // 2 secs.
-
-		// >> RespondLocationRequest()
-		TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-
-		// Wait for and process the response.
-		TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);		// DONT get because the measurement data bus has not been created...
-
-		sessionId = NULL;
-		TPositionGpsMeasurementInfo* measurementInfo = NULL;
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);//sessionId, measurementInfo
-
-		// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-		//									max fix time timer expries.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		const TInt t = 8 * 1000 * 1000; // 8 secs.
-		quality.SetMaxFixTime(t);
-
-		TPositionExtendedSatelliteInfo* positionInfo = NULL;
-		//TPositionInfo* positionInfo = NULL;
-		
-		for (TInt i = 0; i < KN; i++)
-			{
-			// << ProcessLocationRequest(SessionId, HybridMode, t)
-			proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-			// >> RequestAssistanceData(0)
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-
-			// >> RespondLocationRequest() - first measurement, second position.
-			TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-
-			sessionId = NULL;
-			
-			// Expect measurement first time.
-			if (i < (KN-1))
-				{
-				measurementInfo = NULL;
-				cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-
-				// Check it is measurement
-				TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-				// >> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-				//									max fix time timer expries.
-				TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData);
-
-				cleanupCnt += proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-
-				TESTL(dataMask == EAssistanceDataNone);
-				TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-				TESTL(reason == KErrNone);
-				}
-			
-			// Expect position second time.
-			else
-				{
-				cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-				
-				// check it is a position
-				TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-				TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-				TESTL(reason == KErrNone);
-				/* Check whether ExtendedSatelliteInfo data received by protocol module is the same as data fed to the GPS module or not. 
-                Latitude(50.2454),Longitude(0.1668),Altitude(1.0),HorizontalAccuracy(10),VerticalAccuracy(10), speed(26.0),vertical speed(20.0),heading(25.0),course(30.0), 
-                SPEED_ACCURACY(2.0),VERTICAL_SPEED_ACCURACY(3.0),HEADING_ACCURACY(10.0),COURSE_ACCURACY(4.0),
-                SD_OF_LONG_ERROR(5.0),SD_OF_LAT_ERROR(6.0),SD_OF_ALT_ERROR(7.0),SD_OF_SEMI_MAJOR_AXIS_ERROR(8.0),
-                SD_OF_SEMI_MINOR_AXIS_ERROR(9.0),ORIEN_OF_SEMI_MAJOR_AXIS_ERROR(10.0),RMS_VAL_OF_SD_OF_RANGE(11.0),
-                GEOIDAL_SEPARATION(12.0),MAGNETIC_VARIATION(13.0),COURSE_OVER_GROUND_MAGNETIC(14.0)
-                GPS_TIMING_OF_CELL_MsPart(16383),GPS_TIMING_OF_CELL_LsPart(4294967295),REFERENCE_IDENTITY(511)
-                SFN(4095)*/  
-				
-				TPosition gpsPos;
-                positionInfo->GetPosition(gpsPos);
-                TESTL(gpsPos.Latitude()==50.2454 && gpsPos.Longitude()== 0.1668 && gpsPos.Altitude()==1.0 
-                      && gpsPos.HorizontalAccuracy()==10 && gpsPos.VerticalAccuracy()==10);             
-                TCourse course;
-                positionInfo->GetCourse(course);
-                     
-                TESTL(course.Speed()==26.0 && course.VerticalSpeed()==20.0 && course.Heading()==25.0 && course.Course()==30.0 && 
-                      course.SpeedAccuracy()==2.0 && course.VerticalSpeedAccuracy()==3.0 && course.HeadingAccuracy()==10.0 &&
-                      course.CourseAccuracy()==4.0);           
-                
-                TDetailedErrorReport detErrRep;
-                positionInfo->GetDetailedErrorReport(detErrRep);
-                TESTL(detErrRep.StanDeviOfLongitudeError()==5.0 && detErrRep.StanDeviOfLatiitudeError()==6.0 && 
-                      detErrRep.StanDeviOfAltitudeError()==7.0 && detErrRep.StanDeviOfSemiMajorAxisError()==8.0 && 
-                      detErrRep.StanDeviOfSemiMinorAxisError()==9.0 && detErrRep.OrientationOfSemiMajorAxisError()==10.0 && 
-                      detErrRep.RmsValOfStanDeviOfRange()==11.0);  
-                
-                TGpsTimingMeasurementData gpsTimingData;
-                positionInfo->GetGpsTimingData(gpsTimingData);
-                 
-                TESTL(gpsTimingData.DataType()== TGpsTimingMeasurementData::EGpsTimingDataTypeUtran && 
-                      gpsTimingData.NetworkMode()== TGpsTimingMeasurementData::ENetworkModeFdd && 
-                      gpsTimingData.GPSTimingOfCellMsPart()==16383 && gpsTimingData.GPSTimingOfCellLsPart()==4294967295UL && 
-                      gpsTimingData.ReferenceIdentity()==511 && gpsTimingData.Sfn()==4095);  
-                               
-                
-                TESTL(positionInfo->GeoidalSeparation()==12.0 && positionInfo->MagneticVariation()==13.0 && 
-                        positionInfo->CourseOverGroundMagnetic()==14.0);  
-                                
-				
-				// Client recv - the gps position determined by the gps module.
-				CheckForObserverEventTestsL(KTimeOut, *this);
-				TESTL(iState == EGpsLocReceived);
-				
-				// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-				// Return modules' position as FinalNetworkPosition
-				proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, positionInfo);
-				}
-			CleanupStack::PopAndDestroy(cleanupCnt);// sessionId, measurementInfo/positionInfo
-			}
-		
-
-		// << ProcessSessionComplete(SessionId, KErrNone)	
-		reason = KErrNone;
-		proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-		// << ENetMsgProcessStatusUpdate()
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-		proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-	
-		// Wait for 10 seconds to ensure no additional responses turn up.
-		delta = 10 * 1000 * 1000;
-		TNetProtocolResponseType mType = proxy->WaitForResponse(delta);
-		TESTL(mType == ENetMsgTimeoutExpired);
-
-		// Done. Now cleanup...
-		CleanupStack::PopAndDestroy(pWatch);
-		CleanupStack::PopAndDestroy(); // pos
-		CleanupStack::PopAndDestroy(); // server	
-		CleanupStack::PopAndDestroy(proxy);
-		
-		return TestStepResult();
-	
-		}
-	}
-
-
-// MPosServerObserver
-void CT_LbsHybridUEAssistedMOLRGPSOk::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMOLRGPSOk::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	// Verify error.
-	if (aErr == KErrCancel)
-		{
-		iState = ERefLocReceived;
-		}
-	else
-		{
-	TEST(aErr == KErrNone);
-
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		iState = ERefLocReceived;
-
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting network pos.
-	else if (iState == ERefLocReceived)
-		{
-		iState = EGpsLocReceived;
-
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-		}
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrnogpsupdate.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,413 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the MO-LR - scenario Tests
-// 
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbslocerrors.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmolrnogpsupdate.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMOLRNoGPSUpdate* CT_LbsHybridUEAssistedMOLRNoGPSUpdate::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMOLRNoGPSUpdate* testStep = new CT_LbsHybridUEAssistedMOLRNoGPSUpdate(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMOLRNoGPSUpdate::CT_LbsHybridUEAssistedMOLRNoGPSUpdate(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedMOLRNoGPSUpdate);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	}
-
-
-void CT_LbsHybridUEAssistedMOLRNoGPSUpdate::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMOLRNoGPSUpdate::~CT_LbsHybridUEAssistedMOLRNoGPSUpdate()
-	{
-	}
-
-// Hybrid - UE Assisted MO-LR No GPS Update during time t.
-
-TVerdict CT_LbsHybridUEAssistedMOLRNoGPSUpdate::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMOLRNoGPSUpdate::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-	// waiting for >> AdviceSystemStatus(0) - GetCurrentCapabilitiesResponse
-	INFO_PRINTF1(_L("waiting for << NotifyPositionUpdate()"));
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	//  >> AdviceSystemStatus(0) - GetCurrentCapabilitiesResponse
-	INFO_PRINTF1(_L("<< NotifyPositionUpdate()"));
-
-
-	// Start Test Step
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-	INFO_PRINTF1(_L("Connected to server"));
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-	INFO_PRINTF1(_L("Subsession created"));
-
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	// after 30 secs the postion request will be timed out
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(30* 1000 * 1000));
-
-	pos.SetUpdateOptions(posOpts);
-	
-	INFO_PRINTF1(_L("Setupdate options timeout set to 30 seconds"));
-
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-	// Request a self-locate MoLr.
-	pWatch->IssueNotifyPositionUpdate();
-	INFO_PRINTF1(_L("<< NotifyPositionUpdate()"));
-	// >> RequestSelfLocation()
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-	INFO_PRINTF1(_L(">> RequestSelfLocation()"));	
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	TInt								cleanupCnt;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-	
-	// << ProcessStatusUpdate(EServiceSelfLocation)
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessLocationUpdate(SessionId, RefPosition)
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	INFO_PRINTF1(_L("<< ProcessLocationUpdate(SessionId, RefPosition)"));	
-
-
-	// TEST: Get the ref pos app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); // assistanceData
-	INFO_PRINTF1(_L("<< ProcessAssistanceData()"));	
-
-
-	// << ProcessLocationRequest(SessionId, HybridMode, alpha2)
-	TBool emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality quality = ArgUtils::Quality(); 
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	INFO_PRINTF1(_L("<< ProcessLocationRequest(SessionId, HybridMode, alpha2)"));	
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-	// >> RequestAssistanceData(0)
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L(">> RequestAssistanceData(0)"));	
-
-	CleanupStack::PopAndDestroy(proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask));
-	TESTL(dataMask == EAssistanceDataNone);
-
-	// << NotifyPositionUpdate()
-	pWatch->IssueNotifyPositionUpdate();
-	INFO_PRINTF1(_L("<< NotifyPositionUpdate()"));	
-
-	// >> RequestAssistanceData(0)
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	CleanupStack::PopAndDestroy(proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask));
-	TESTL(dataMask == EAssistanceDataNone);
-	INFO_PRINTF1(_L(">> RequestAssistanceData(0)"));	
-
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-
-	// >> RespondLocationRequest()
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	INFO_PRINTF1(_L(">> RespondLocationRequest()"));	
-
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-	INFO_PRINTF1(_L("Wait for and process the response"));	
-
-	sessionId = NULL;
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt); //sessionId, measurementInfo
-
-	// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-	//									max fix time timer expries.
-	INFO_PRINTF1(_L("Wait for ENetMsgRequestAssistanceData"));	
-
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L("Got ENetMsgRequestAssistanceData"));	
-
-	proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-
-	const TInt t = 4 * 1000 * 1000; // 4 secs, hybrid A-GPS module will deliver update after 6 + 1 seconds.
-	quality.SetMaxFixTime(t);
-
-	// << ProcessLocationRequest(SessionId, HybridMode, t)
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	INFO_PRINTF1(_L("<< ProcessLocationRequest(SessionId, HybridMode, t)"));	
-
-	// >> RequestAssistanceData(0)
-	INFO_PRINTF1(_L("Wait for >> RequestAssistanceData(0) again"));	
-
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L(">> RequestAssistanceData(0)"));	
-
-	proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-
-	// >> RespondLocationRequest().
-	TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-	INFO_PRINTF1(_L(">> RespondLocationRequest()"));	
-
-	// Process response. Note measurement data is un-defined (and not verified) when reason contains
-	// an error, which is expected here.
-	sessionId = NULL;
-	measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrPositionNoGpsUpdate);
-	CleanupStack::PopAndDestroy(cleanupCnt);// sessionId, measurementInfo/positionInfo
-	
-	// >> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-	//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData);
-	INFO_PRINTF1(_L(">>> RequestAssistanceData"));	
-
-	proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-		
-	// << ProcessSessionComplete(SessionId, KErrNone)	
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	INFO_PRINTF1(_L("<< ProcessSessionComplete(SessionId, KErrNone)"));	
-
-
-	// << ENetMsgProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-	INFO_PRINTF1(_L("<< ENetMsgProcessStatusUpdate()"));	
-
-	
-	// Wait for the LBS responses due to the Session Complete. NPUD still outstanding so resend 
-	// requests for SelfLocation and we may also get a request for Assistance Data. This is timing 
-	// related since the PM's SessionComplete is sent to the AGPS Manager and the NRH, and the NRH
-	// then sends a cancel message to the AGPS manager.  These events trigger active objects and
-	// both AOs will make a RequestLocationUpdate call to the Int. Module.  Another AO in the Int.
-	// module will respond with an assistance data request.  However, depending on timing, the 2nd
-	// call to RequestLocationUpdate may cancel the AO set off by the 1st call.  Thus we may get 1
-	// (most likely) or 2 assistance data requests.  These will result in a SelfLocation request 
-	// always being sent to the PM but sometimes the PM may get a request for Assistance Data.
-		
-	// Some time later (imperically < 20 secs but could be worked out by going through the test code)
-	// the NPUD maxFixTime timer will fire which will cause the SelfLocation request to be cancelled.
-	
-	// Sometimes it can happen that the session complete arrives quickly enough and no 
-	// further response is given by LBS. This was seen in SMP.
-		
-		TInt selfLocationCount = 0;
-		TInt assistanceDataCount = 0;
-		TInt cancelCount = 0;
-		TInt othersCount = 0;
-		TBool noResponse(EFalse);
-		TNetProtocolResponseType response = ENetMsgNullResponse;
-		
-		while ((cancelCount == 0) && (othersCount == 0) && !noResponse)
-			{
-			response = proxy->WaitForResponse(20*1000*1000);  // wait for a max of 20secs
-			switch (response)
-				{
-				case ENetMsgTimeoutExpired:
-					{
-					noResponse = ETrue;
-					INFO_PRINTF1(_L(">> No further response was received"));
-					break;
-					}
-				case ENetMsgCancelSelfLocation:
-					{
-					cancelCount++;
-					INFO_PRINTF1(_L(">> Wait for CancelSelfLocation"));	
-					break;
-					}
-				case ENetMsgRequestSelfLocation:
-					{
-					selfLocationCount++;
-					INFO_PRINTF1(_L(">> Wait for RequestSelfLocation"));	
-					break;
-					}
-				case ENetMsgRequestAssistanceData:
-					{
-					assistanceDataCount++;
-					INFO_PRINTF1(_L(">> Wait for RequestAssistanceData"));	
-					break;
-					}
-				default:
-					{
-					othersCount++;
-					INFO_PRINTF2(_L(">> Unexpected message %d"), response);	
-					break;
-					}
-				}
-			}
-		if(!noResponse)
-			{ // these tests should be done only if there was a response received
-			TESTL(othersCount == 0);
-			TESTL(selfLocationCount == 1);
-			TESTL(cancelCount == 1);
-			}
-		
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Listen for 10 seconds that there are note further messages
-    TESTL(proxy->WaitForResponse(10*1000*1000) == ENetMsgTimeoutExpired);
-
-	// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-
-	INFO_PRINTF1(_L("All DONE!"));	
-	
-	return TestStepResult();
-	
-	
-	}
-
-
-// MPosServerObserver
-void CT_LbsHybridUEAssistedMOLRNoGPSUpdate::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMOLRNoGPSUpdate::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	INFO_PRINTF1(_L("RunL() - OnNotifyPositionUpdate()"));
-
-
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		// Verify error.
-		TEST(aErr == KErrNone);
-
-		iState = ERefLocReceived;
-
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-		INFO_PRINTF1(_L("RunL() - Got ref location"));
-
-		}
-	
-	else
-		{
-		// expecting a position but not of the requitred quality
-		INFO_PRINTF2(_L("RunL() - second %d"), aErr);
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{ // for variant 2 behaviour
-			TEST(aErr == KErrTimedOut);
-			}
-		else
-			{
-			TEST(aErr == KPositionQualityLoss);
-			}
-
-		TEST(ETrue);
-		}
-
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrpartial.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,441 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-//#include "ctlbsuebasedmolrself.h"
-#include "ctlbshybridueassistedmolrpartial.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMOLRPartial* CT_LbsHybridUEAssistedMOLRPartial::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMOLRPartial* testStep = new CT_LbsHybridUEAssistedMOLRPartial(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMOLRPartial::CT_LbsHybridUEAssistedMOLRPartial(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedMOLRPartial);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	}
-
-
-void CT_LbsHybridUEAssistedMOLRPartial::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMOLRPartial::~CT_LbsHybridUEAssistedMOLRPartial()
-	{
-	}
-
-
-TVerdict CT_LbsHybridUEAssistedMOLRPartial::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMOLRPartial::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	
-	_LIT(KEarlyCompleteSupported, "early_complete_supported");
-	// For the S60 Loc Server the test will return KErrNone instead of KErrNotFound.
-	if(!GetIntFromConfig(ConfigSection(), KEarlyCompleteSupported, iEarlyCompleteSupported))
-		{
-		// we support early complete by default unless configured otherwise
-		iEarlyCompleteSupported = ETrue;
-		}
-	
-	// To ensure the location server does not timeout the partial update requests from the client
-	// smaller timeout values are used (new client timer added because of CR1041).
-	const TInt KAlpha2TimeOutValue = 8 * 1000 * 1000;
-	const TInt KTTimeOutvalue = 4 * 1000 * 1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	
-	// Switch on partial updates.
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KMOLRFixTime), TTimeIntervalMicroSeconds(0), ETrue);
-	pos.SetUpdateOptions(posOpts);	
-
-
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-// Client Send - a self-locate request, for the NaN position.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Client recv - the NaN position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Client Send - a self-locate request, for the request reference position.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-	
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KMOLRFixTime,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);					
-	TESTL(qualitycheck);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-//  Recv --> RequestAssistanceData, as the result of the 2nd NPUD request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-
-// Client Send - a self-locate request, for the first partial update.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Rev --> RequestAssistanceData, as the result of the first partial update.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(KAlpha2TimeOutValue/*MolrArgUtils::Alpha2()*/);
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-
-// Client recv - to get the first partial update.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Recv --> RespondLocationRequest.
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(KAlpha2TimeOutValue/*MolrArgUtils::Alpha2()*/ - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Send <-- ProcessLocationRequest - time t.
-	quality.SetMaxFixTime(KTTimeOutvalue/*KTTimeout*/);
-
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-
-// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Client Send - a self-locate request, for the second partial update.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Rev --> RequestAssistanceData, as the result of the second partial update.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	if(iEarlyCompleteSupported)
-		{
-		// CompleteRequest, for the second partial request.
-			TESTL(pos.CompleteRequest(EPositionerNotifyPositionUpdate) == KErrNone);
-		
-		// Client recv - to get the second partial, cancelled by the client.
-			CheckForObserverEventTestsL(KTimeOut, *this);
-			TESTL(iState == EGpsPartialEarlyReceived);
-		
-// Recv --> RespondLocationRequest - the first partial gps position.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
-	
-		sessionId = NULL;
-		TPositionInfo* positionInfo = NULL;
-				
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-				
-		// Check the response.
-		TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass));
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-	else	// if early complete not supported, just stop asking for updates.
-		{
-		// In this case the NRH will send measurements to the network again rather than a position
-// Recv --> RespondLocationRequest - the first partial gps position.
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
-		
-			sessionId = NULL;
-			
-			TPositionGpsMeasurementInfo* measurementInfo = NULL;
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(reason == KErrNone);
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-						
-			CleanupStack::PopAndDestroy(cleanupCnt);	
-		
-		}
-	
-// Send <-- ProcessLocationUpdate - return network calculated pos
-	TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-
-
-// Send <-- ProcessSessionComplete.
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-// Send <-- ProcessStatusUpdate.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-
-		
-	return TestStepResult();
-	}
-
-
-
-
-// MPosServerObserver
-void CT_LbsHybridUEAssistedMOLRPartial::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsHybridUEAssistedMOLRPartial::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting first partial update, NaN position.
-	if (iState == EInitializing)
-		{
-		iState = EGpsPartialInitReceived;
-		
-		TEST(aErr == KPositionPartialUpdate);
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		
-		// check for nan in partial updates
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToNan(posInfo));
-		}
-
-	// Expecting ref pos.
-	else if (iState == EGpsPartialInitReceived)
-		{
-		iState = ERefLocReceived;
-
-		_LIT(KExpectedRefError, "expected_ref_error");
-		TInt expected_ref_error;
-		// For the S60 Loc Server the test will return KErrNone instead of KErrNotFound.
-		if(!GetIntFromConfig(ConfigSection(), KExpectedRefError, expected_ref_error))
-			{
-			expected_ref_error = KPositionPartialUpdate;
-			}		
-		TEST(aErr == expected_ref_error);
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-		
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-
-	// Expecting first partial gps position.
-	else if (iState == ERefLocReceived)
-		{
-		iState = EGpsPartialLocReceived;
-
-		TEST(aErr == KPositionPartialUpdate);
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		}	
-	// Expecting early complete, of the second partial gps position.
-	else if (iState == EGpsPartialLocReceived && iEarlyCompleteSupported)
-		{			
-		iState = EGpsPartialEarlyReceived;
-		
-		TEST(aErr == KPositionEarlyComplete);
-		}
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybridueassistedmolrtimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,415 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid Extended Client Timeout Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes.
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmolrtimeout.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMOLRTimeOut* CT_LbsHybridUEAssistedMOLRTimeOut::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMOLRTimeOut* testStep = new CT_LbsHybridUEAssistedMOLRTimeOut(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMOLRTimeOut::CT_LbsHybridUEAssistedMOLRTimeOut(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedMOLRTimeOut);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	}
-
-
-void CT_LbsHybridUEAssistedMOLRTimeOut::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMOLRTimeOut::~CT_LbsHybridUEAssistedMOLRTimeOut()
-	{
-	}
-
-
-TVerdict CT_LbsHybridUEAssistedMOLRTimeOut::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMOLRTimeOut::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60 * 1000 * 1000;
-	const TInt KClientTimeOut = 120 * 1000 * 1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request.
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KClientTimeOut));
-	pos.SetUpdateOptions(posOpts);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KClientTimeOut,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);					
-	TESTL(qualitycheck);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-	// Record current time to verify client timer expires correctly below.
-	TTime clientStartTime;
-	clientStartTime.HomeTime();
-
-
-// Rev --> RequestAssistanceData - we get this as the result of client notify update request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-
-// Recv --> RespondLocationRequest.
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issuing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Time t measurements.
-	const TInt t = 8 * 1000 * 1000; // 8 secs.
-	quality.SetMaxFixTime(t);
-	
-	for (TInt i = 0; i < 2; i++)
-		{
-// Send <-- ProcessLocationRequest - time t.
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-
-// Recv --> RequestAssistanceData.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-// Recv --> RespondLocationRequest.
-		TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-		TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		sessionId = NULL;
-		measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		
-		// Last measurement, invoke client side timeout.
-		if (i > 0)
-			{
-		// Recv --> CancelSelfLocation.
-			// Determine the value to take off the client timeout value, because of processing msgs in the test.
-			TTime clientStopTime;
-			clientStopTime.HomeTime();
-			microseconds = clientStopTime.MicroSecondsFrom(clientStartTime); 
-			timeElapsed = microseconds.Int64();
-			TInt delta = 1 * 1000 * 1000; // 1 secs.
-
-			// Verify client timer, ensure we don't recv the CancelSelfLocation too early.
-			TESTL(proxy->WaitForResponse(KClientTimeOut - timeElapsed - delta) == ENetMsgTimeoutExpired);
-
-			// Now get the CancelSelfLocation.
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgCancelSelfLocation);
-
-
-		// Send <-- ProcessLocationUpdate - return network calculated pos (FNP)
-			TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-			proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-			}
-		}
-
-
-// Send <-- ProcessSessionComplete.
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-// Send <-- ProcessStatusUpdate.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-
-// Client recv - the gps position determined by the gps module (or the network calculated FNP on variant2).
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	TESTL(iState == EFinalLocReceived);
-
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-
-	return TestStepResult();
-	}
-
-
-// MPosServerObserver
-void CT_LbsHybridUEAssistedMOLRTimeOut::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-
-
-
-void CT_LbsHybridUEAssistedMOLRTimeOut::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	INFO_PRINTF2(_L("Position returned with error %d"),aErr);	
-	// This is determined by the client call to NotifyPositionUpdate, may as well check.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-		
-		
-	// Verify error + position.
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		iState = ERefLocReceived;
-
-		TEST(aErr == KErrNone);
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-		
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting gps pos
-	else if (iState == ERefLocReceived)
-		{
-		iState = EFinalLocReceived;
-
-		TInt testCaseId;
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-			{
-			
-			switch (testCaseId)
-				{
-				// Expect the final network position in all cases.
-				case 1:
-				case 2:
-				
-					{
-					TEST(aErr == KErrNone);
-					T_LbsUtils utils;
-					TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-
-					TEST(utils.Compare_PosInfo(aPosInfo, networkPosInfo));
-					TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-					TEST(aPosInfo.ModuleId() == TUid::Uid(0x101fe98c)); // id of Network PSY					
-					}
-					break;
-			
-				case 3:
-					{
-					TEST(aErr == KErrTimedOut);
-					}
-					break;
-				default:
-					TEST(EFalse);
-					break;
-				}
-			
-			
-			}
-		
-		else
-			{
-			TEST(EFalse);
-			}	
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbshybriduebasedmolrpartial.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,390 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbshybriduebasedmolrpartial.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEBasedMOLRPartial* CT_LbsHybridUEBasedMOLRPartial::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEBasedMOLRPartial* testStep = new CT_LbsHybridUEBasedMOLRPartial(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEBasedMOLRPartial::CT_LbsHybridUEBasedMOLRPartial(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEBasedMOLRPartial);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	}
-
-
-void CT_LbsHybridUEBasedMOLRPartial::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsHybridUEBasedMOLRPartial::~CT_LbsHybridUEBasedMOLRPartial()
-	{
-	}
-
-
-TVerdict CT_LbsHybridUEBasedMOLRPartial::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEBasedMOLRPartial::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	
-	// Switch on partial updates.
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KMOLRFixTime), TTimeIntervalMicroSeconds(0), ETrue);
-	pos.SetUpdateOptions(posOpts);	
-
-
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-// Client Send - a self-locate request, for the NaN position.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Client recv - the NaN position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Client Send - a self-locate request, for the request reference position.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KMOLRFixTime,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);					
-	TESTL(qualitycheck);
-				
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-
-// Recv --> RequestAssistanceData, as the result of the NRH request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Client Send - a self-locate request, for the first partial update.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Rev --> RequestAssistanceData, as the result of the first partial update.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-// Client recv - to get the first partial update.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-
-// Client Send - a self-locate request, for the second partial update.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Rev --> RequestAssistanceData, as the result of the second partial update.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	if(iExpectedApiBehaviour == EApiVariant1)// variant2 doesn't support early completes it really 
-		{
-// CompleteRequest, for the second partial update.
-		TESTL(pos.CompleteRequest(EPositionerNotifyPositionUpdate) == KErrNone);
-	
-// Client recv - to get the second partial, cancelled by the client.
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		TESTL(iState == EGpsPartialEarlyReceived);
-	
-// Recv --> RespondLocationRequest - the first partial gps position.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
-	
-		sessionId = NULL;
-		TPositionInfo* positionInfo = NULL;
-				
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-				
-		// Check the response.
-		TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass));
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-	else	// just let things time out because client doesn't make another request
-		{
-		// the LocServer/PSY will send a cancel to the manager, causing a CancelSelfLocate to the PM
-		// PM then sends FNP + SessionComplete
-		// However there will still be an outstanding NRH request (until this times out) 
-		// so agps module may still produce another update/ask for assistance data
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		TNetProtocolResponseType response = proxy->WaitForResponse(KTimeOut);
-		if(response == ENetMsgRequestAssistanceData)
-			{
-			response = proxy->WaitForResponse(KTimeOut);
-			}
-		// Recv --> RespondLocationRequest - the first partial gps position.
-		TESTL(response == ENetMsgCancelSelfLocation);
-		
-		// There could still be assistance data request received by PM here due to outstanding NRH request
-		response = proxy->WaitForResponse(KTimeOut);
-		if(response == ENetMsgRequestAssistanceData)
-			{
-			response = proxy->WaitForResponse(KTimeOut);
-			}		
-		}
-
-// Send <-- ProcessLocationUpdate - return network calculated pos (FNP)
-	TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-
-
-// Send <-- ProcessSessionComplete.
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-// Send <-- ProcessStatusUpdate.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	// Wait for 10 seconds to ensure no additional responses turn up.
-	TInt delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType mType;
-	
-	mType = proxy->WaitForResponse(delta);
-	TESTL(mType == ENetMsgTimeoutExpired);
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-
-		
-	return TestStepResult();
-	}
-
-
-
-
-// MPosServerObserver
-void CT_LbsHybridUEBasedMOLRPartial::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsHybridUEBasedMOLRPartial::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting first partial update, NaN position.
-	if (iState == EInitializing)
-		{
-		iState = EGpsPartialInitReceived;
-		
-		TEST(aErr == KPositionPartialUpdate);
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-
-		// check for nan in partial updates
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToNan(posInfo));
-		}
-
-	// Expecting ref pos.
-	else if (iState == EGpsPartialInitReceived)
-		{
-		iState = ERefLocReceived;
-	
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{
-			TEST(aErr == KErrNone);
-			}
-		else
-			{
-			TEST(aErr == KPositionPartialUpdate);
-			}
-
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting first partial gps position.
-	else if (iState == ERefLocReceived)
-		{
-		iState = EGpsPartialLocReceived;
-		
-		TEST(aErr == KPositionPartialUpdate);
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		}
-
-	// Expecting early complete, of the second partial gps position.
-	else if (iState == EGpsPartialLocReceived)
-		{
-		if(iExpectedApiBehaviour == EApiVariant1)
-			{
-			iState = EGpsPartialEarlyReceived;
-			
-			TEST(aErr == KPositionEarlyComplete);
-			}
-		else
-			{
-			iState = EGpsPartialEarlyReceived;
-			
-			TEST(aErr == KErrNone);
-			}
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsmolrgpsoptions.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,752 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Module Information Tests
-// EPOC includes.sue
-// 
-//
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbslocdatasourceclasstypes.h>
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <e32property.h>
-#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-#include "LbsExtendModuleInfo.h"
-#include "lbsdevloggermacros.h"
-
-// LBS test includes.
-#include "ctlbsmolrgpsoptions.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-const TInt KTimeOut = 60*1000*1000;
-
-/**
-Static Constructor
-*/
-CT_LbsMolrGpsOptions* CT_LbsMolrGpsOptions::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsMolrGpsOptions* testStep = new CT_LbsMolrGpsOptions(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsMolrGpsOptions::CT_LbsMolrGpsOptions(CT_LbsHybridMOLRServer& aParent) 
-	: CT_LbsHybridMOLRStep(aParent), iNetworkMethod(ENetworkMethodInvalid), 
-		iNetworkProtocolProxyStep(ENetworkProtocolProxyStepInitial), iProxy(NULL), 
-		iAdminGpsMode(CLbsAdmin::EGpsModeUnknown), iPlannedPositionOriginator(EPositionOriginatorUnkown), 
-		iGPSModeNotSupported(EFalse)
-	{
-	SetTestStepName(KLbsMolrGpsOptions);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	}
-
-
-void CT_LbsMolrGpsOptions::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsMolrGpsOptions::~CT_LbsMolrGpsOptions()
-	{
-	}
-
-TVerdict CT_LbsMolrGpsOptions::doTestStepPreambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMolrGpsOptions::doTestStepPreambleL()"));
-	CT_LbsHybridMOLRStep::doTestStepPreambleL();
-	iNetworkExpectsMeasurments = EFalse;
-	iNetworkExpectsPositions = EFalse;
-
-	// Get the GPS mode set in the Admin
-	CLbsAdmin* admin = CLbsAdmin::NewL();
-	CleanupStack::PushL(admin);
-
-	TESTL(KErrNone == admin->Get(KLbsSettingRoamingGpsMode, iAdminGpsMode));
-	CleanupStack::PopAndDestroy(admin);
-	
-	// Set the test up so it expects that the GPS mode won't be supported if there is an incompatibility
-	TPositionModuleInfoExtended::TDeviceGpsModeCapabilities deviceCapabilities;
-	TInt err = LbsModuleInfo::GetDeviceCapabilities(KLbsGpsLocManagerUid, deviceCapabilities);
-	
-		if(!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB) && !(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalAssisted))
-			{
-			if(iAdminGpsMode == CLbsAdmin::EGpsPreferTerminalAssisted || 
-					iAdminGpsMode == CLbsAdmin::EGpsAlwaysTerminalAssisted)
-				{
-				iGPSModeNotSupported = ETrue;
-				}	
-			}
-		if(!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB) && !(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalBased))
-			{
-			if(iAdminGpsMode == CLbsAdmin::EGpsPreferTerminalBased || 
-					iAdminGpsMode == CLbsAdmin::EGpsAlwaysTerminalBased ||
-					iAdminGpsMode == CLbsAdmin::EGpsAutonomous)
-				{
-				iGPSModeNotSupported = ETrue;
-				}	
-			}
-
-	// Set the network step
-	iNetworkMethod = ENetworkMethodInvalid;
-	iNetworkProtocolProxyStep = ENetworkProtocolProxyStepInitial;
-	
-	SetTestStepResult(EPass);
-	T_LbsUtils utils;
-
-	// Get the Network Method
-	_LIT(KNetworkMethod, "NetworkMethod");
-	TInt networkMethodInt;
-	if(GetIntFromConfig(ConfigSection(), KNetworkMethod, networkMethodInt))
-		{
-		iNetworkMethod = static_cast<TChosenNetworkMethod>(networkMethodInt);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepPreambleL() - FAILED: no network method configured"));
-		TEST(EFalse);
-		}
-	
-	// Get the position originator
-	_LIT(KPositionOriginator, "PositionOriginator");
-	TInt positionOriginatorInt;
-	if(GetIntFromConfig(ConfigSection(), KPositionOriginator, positionOriginatorInt))
-		{
-		iPlannedPositionOriginator = static_cast<TPlannedPositionOriginator>(positionOriginatorInt);
-		TEST(iPlannedPositionOriginator != EPositionOriginatorUnkown);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepPreambleL() - FAILED: no position originator configured"));
-		TEST(EFalse);
-		}
-
-	if(!iGPSModeNotSupported)
-		{
-		iProxy = CNetProtocolProxy::NewL();
-		}
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMolrGpsOptions::doTestStepPostambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMolrGpsOptions::doTestStepPostambleL()"));
-	iNetworkExpectsMeasurments = EFalse;
-	iNetworkExpectsPositions = EFalse;
-	iNetworkMethod = ENetworkMethodInvalid;
-	iNetworkProtocolProxyStep = ENetworkProtocolProxyStepInitial;
-	iPlannedPositionOriginator = EPositionOriginatorUnkown;
-	iAdminGpsMode = CLbsAdmin::EGpsModeUnknown;
-	delete iProxy;
-	iProxy = NULL;
-	CT_LbsHybridMOLRStep::doTestStepPostambleL();
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMolrGpsOptions::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-	DoNetworkProtocolProxyStepL();
-	
-// Do the /actual/ test step!
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-	// <<(App) NotifyPositionUpdate().
-	INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepL() 		<<(App) NotifyPositionUpdate()"));	
-	pWatch->IssueNotifyPositionUpdate();
-	
-	DoNetworkProtocolProxyStepL();
-
-	// TEST: Get NotifyPositionUpdate app side - get the ref pos.
-	INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepL() Waiting for ref pos"));
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	if(!iGPSModeNotSupported)
-		{ // if it can still carry on since the module didn't reject the request
-		INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepL() 		<<(App) NotifyPositionUpdate()"));	
-		pWatch->IssueNotifyPositionUpdate();
-	
-		DoNetworkProtocolProxyStepL();
-	
-		// Client recv - the gps position determined by the gps module.
-		INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::doTestStepL() Waiting for gps pos"));
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		if(!iGPSModeNotSupported)
-			{
-			TESTL(iState == EGpsLocReceived);
-			DoNetworkProtocolProxyStepL();
-			}
-		}
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(&pos);
-	CleanupStack::PopAndDestroy(&server);
-		
-	return TestStepResult();
-	}
-
-// MPosServerObserver
-void CT_LbsMolrGpsOptions::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::OnGetLastKnownPosition() - FAILED: not expecting this call"));
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsMolrGpsOptions::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	INFO_PRINTF2(_L("CT_LbsMolrGpsOptions::OnNotifyPositionUpdate()	>> NPUD() complete with %d"), aErr);
-	if(iGPSModeNotSupported)
-		{
-		if(EApiVariant1 == iExpectedApiBehaviour)
-			{
-			TEST(aErr == KErrNotSupported);
-			}
-		else if(EApiVariant2 == iExpectedApiBehaviour)
-			{
-			TEST(((aErr == KErrCorrupt) || (aErr == KErrInUse) || (aErr == KErrNotSupported)));
-			}
-		else
-			{
-			//Should be no other options
-			TEST(EFalse);
-			}
-		
-		}
-	else
-		{
-		// Verify error.
-		TEST(aErr == KErrNone);
-	
-		// Verify position.
-	
-		// Expecting ref pos.
-		if (iState == EInitializing)
-			{
-			iState = ERefLocReceived;
-			
-			TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-			TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-	
-			// check for refpos details
-			const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-			TEST(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-			}
-			
-		// Expecting gps pos.
-		else if (iState == ERefLocReceived)
-			{
-			iState = EGpsLocReceived;
-	
-			TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-			if(iPlannedPositionOriginator == EPositionOriginatorModule)
-				{
-				TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-				}
-			if(iPlannedPositionOriginator == EPositionOriginatorNetwork)
-				{
-				TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-				}
-			}
-		
-		// Not expecting anything else.
-		else
-			{
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::OnNotifyPositionUpdate() - FAILED: unexpected state"));
-			TEST(EFalse);
-			}
-		}
-
-	ReturnToTestStep();
-	}
-
-TLbsNetPosRequestMethod CT_LbsMolrGpsOptions::RequestNetworkMethod()
-/**
- This method will chose the appropiate method requested by the network, depending 
- on the test settings
- 
- @return The network method
- */
-	{
-	TLbsNetPosRequestMethod method;
-	switch(iNetworkMethod)
-		{
-		case ETerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalBasedMethod();
-			break;
-			}
-		case ETerminalBasedTerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurments = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestHybridMethod();
-			break;
-			}
-		case ETerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurments = ETrue;
-			method = ArgUtils::RequestTAPMethod();
-			break;
-			}
-		case ETerminalAssistedTerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsMeasurments = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalAssistedAndTerminalBasedMethod();
-			break;
-			}
-		case ENetworkMethodNotSet:
-			{
-			//we should set mode according to default admin 
-			TEST(iAdminGpsMode != CLbsAdmin::EGpsModeUnknown);
-			switch(iAdminGpsMode)
-			{
-			case CLbsAdmin::EGpsPreferTerminalBased:
-				{
-				iNetworkExpectsPositions = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsPreferTerminalAssisted:
-			case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-				{
-				iNetworkExpectsMeasurments = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsAutonomous:	// test framework doesn't currently support this
-			default:
-				{
-				User::Invariant();
-				}
-			}
-				
-			method = ArgUtils::RequestUnspecifiedMethod();
-			break;
-			}
-		default:
-			{
-			User::Invariant();
-			}
-		}
-	return method;
-	}
-
-void CT_LbsMolrGpsOptions::CheckQualityL(TLbsNetPosRequestOptionsAssistance* aOpts)
-	{
-	//INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::CheckQualityL()"));
-	TBool qualitycheck;
-	switch(iAdminGpsMode)
-	{
-	case CLbsAdmin::EGpsPreferTerminalBased:
-		{
-		qualitycheck = ArgUtils::CompareQuality(aOpts, 
-				ETrue, 									// new client
-				KMinHorizontalAcc, 
-				KMinVerticalAcc, 
-				KDefaultMaxFixTime,
-				0, 
-				EAssistanceDataReferenceTime, 
-				(TPositionModuleInfo::ETechnologyTerminal 
-				| TPositionModuleInfo::ETechnologyAssisted)
-				);
-		break;
-		}
-	case CLbsAdmin::EGpsPreferTerminalAssisted:
-	case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-		{
-		qualitycheck = ArgUtils::CompareQuality(aOpts, 
-				ETrue, 
-				KMinHorizontalAcc, 
-				KMinVerticalAcc, 
-				KDefaultMaxFixTime,
-				0, 
-				EAssistanceDataReferenceTime, 
-				(TPositionModuleInfo::ETechnologyNetwork 
-				| TPositionModuleInfo::ETechnologyAssisted)
-				);
-		break;
-		}
-	default:
-		{
-		qualitycheck = EFalse;
-		break;
-		}
-	}
-	TESTL(qualitycheck);
-	}
-
-void CT_LbsMolrGpsOptions::DecideWhatNetworkDoesntReceive()
-/**
- This method checks what the module was finally set to and decides if the network 
- should not expect measuments, or positions
- */
-	{
-	//INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DecideWhatNetworkDoesntReceive()"));
-	TLbsGpsOptionsArray options;
-	TPckg<TLbsGpsOptionsArray> pckgOptions(options);
-	TEST(KErrNone == RProperty::Get(KUidSystemCategory, ELbsTestAGpsModuleModeChanges,pckgOptions));
-
-	if(options.ClassType() & ELbsGpsOptionsArrayClass)
-		{ 
-		if(options.NumOptionItems() > 1)
-			{// don't change anything, the module is running in hybrid
-			return;
-			}
-		}
-	switch(options.GpsMode())
-		{
-		case CLbsAdmin::EGpsAutonomous:
-			{
-			iNetworkExpectsPositions = EFalse;
-			iNetworkExpectsMeasurments = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalBased:
-		case CLbsAdmin::EGpsAlwaysTerminalBased:
-			{
-			iNetworkExpectsMeasurments = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalAssisted:
-		case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-			{
-			iNetworkExpectsPositions = EFalse;
-			break;
-			}
-		default:
-			{
-			// change nothing
-			}
-		return;
-		}
-	}
-
-void CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL()
-	{
-	if(iGPSModeNotSupported)
-		{ // Do nothing, the network won't do much before the module rejects the request
-		return;
-		}
-	TInt cleanupCnt;
-	// INFO_PRINTF2(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() Step %d"),iNetworkProtocolProxyStep);
-	switch(iNetworkProtocolProxyStep)
-		{
-		case ENetworkProtocolProxyStepInitial:
-			{
-			// >> AdviceSystemStatus()
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> AdviceSystemStatus()"));
-			TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-			CLbsNetworkProtocolBase::TLbsSystemStatus status;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-			TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			iNetworkProtocolProxyStep = ENetworkProtocolProxyStepAfterFirstNPUD;
-			break;
-			}
-		case ENetworkProtocolProxyStepAfterFirstNPUD:
-			{
-			// >> RequestSelfLocation()
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestSelfLocation() - as result of assistance data request from module"));
-			TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-			// Process the response.
-			TLbsNetSessionId* 					sessionId = NULL;
-			TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-			
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-			CheckQualityL(opts);
-			iSessionId.SetSessionNum(sessionId->SessionNum());
-			iSessionId.SetSessionOwner(sessionId->SessionOwner());
-			
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			sessionId = NULL;
-			opts = NULL;	
-			
-			// << ProcessStatusUpdate(EServiceSelfLocation)
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessStatusUpdate(EServiceSelfLocation)"));
-			MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-			iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
-
-			// << ProcessLocationUpdate(SessionId, RefPosition)
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationUpdate(SessionId, RefPosition)"));
-			TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-			iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-			iNetworkProtocolProxyStep = ENetworkProtocolProxyStepAfterSecondNPUD;
-			break;
-			}
-		case ENetworkProtocolProxyStepAfterSecondNPUD:
-			{
-			// >> RequestAssistanceData - as a result of the second client request.
-			TLbsAsistanceDataGroup dataMask;	
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-			TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-
-			// << ProcessAssistanceData()
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessAssistanceData()"));
-			dataMask = EAssistanceDataReferenceTime;
-			RLbsAssistanceDataBuilderSet assistanceData;
-			ArgUtils::PopulateLC(assistanceData);
-			TInt reason = KErrNone;
-			iProxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-			CleanupStack::PopAndDestroy(); // assistanceData
-
-			// << ProcessLocationRequest() 
-			TBool emergency = EFalse;
-			MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-			TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-			quality.SetMaxFixTime(ArgUtils::Alpha2());
-			TLbsNetPosRequestMethod method   = RequestNetworkMethod();
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationRequest()"));			
-			iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-			// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-			TTime startTime;
-			startTime.HomeTime();
-
-			TInt response = iProxy->WaitForResponse(KTimeOut);
-			TLbsNetSessionId* sessionId = NULL;
-			if(response == ENetMsgRespondLocationRequest)
-				{
-				// >> RespondLocationRequest(KErrNotSupported) - as a result of the NRH request conflicting with the module capabilities 
-				INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RespondLocationRequest(KErrNotSupported)"));
-				sessionId = NULL;
-				TPositionInfo* positionInfo = NULL;
-				reason = KErrNone;
-				cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-				TESTL(positionInfo->PositionClassType() == EPositionInfoClass);
-				TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-				TESTL(reason == KErrNotSupported);
-				CleanupStack::PopAndDestroy(cleanupCnt);
-
-				// << ProcessSessionComplete()
-				INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessSessionComplete()"));			
-				iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-				iGPSModeNotSupported = ETrue;
-
-				// << ProcessStatusUpdate()
-				MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-				INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessStatusUpdate(EServiceNone)"));			
-				iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-				
-				iNetworkProtocolProxyStep = ENetworkProtocolProxyStepInitial;
-				}
-			else
-				{
-				// >> RequestAssistanceData() - as a result of the NRH request. 
-				INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-				TESTL(response == ENetMsgRequestAssistanceData); 
-				cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-				TESTL(dataMask == EAssistanceDataNone);
-				CleanupStack::PopAndDestroy(cleanupCnt);
-	
-				// lrm: need to update this for cases where network request is rejected:
-				// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-				TTimeIntervalMicroSeconds microseconds;
-				TTime stopTime;
-				stopTime.HomeTime();
-				microseconds = stopTime.MicroSecondsFrom(startTime); 
-				TInt64 timeElapsed = microseconds.Int64();
-				TInt delta = 2 * 1000 * 1000; // 2 secs.
-				
-				// >> RespondLocationRequest()
-				sessionId = NULL;
-				DecideWhatNetworkDoesntReceive();
-				const TInt t = 8 * 1000 * 1000; // 8 secs.
-				
-				if(iNetworkExpectsMeasurments)
-					{ // measurements should be sent to the network
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() Network expecting measurements"));
-					// Test that we do not get response before alpha2 has expired:				
-					TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-					INFO_PRINTF1(_L("				No RespondLocationRequest before Alpha2 timer expired"));
-					// Wait for and process the response:
-					TESTL(iProxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);	
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RespondLocationRequest(meas)"));
-					sessionId = NULL;
-					TPositionGpsMeasurementInfo* measurementInfo = NULL;
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-					TESTL(sessionId->SessionNum() == iSessionId.SessionNum());	// module sends NAN measurement first
-					TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-					if(reason != KErrNone)
-						{
-						INFO_PRINTF2(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() reason = 0x%x"), reason);
-						}
-					TESTL(reason == KErrNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);//sessionId, measurementInfo
-	
-					// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issuing a location request when it's
-					//									max fix time timer expries.
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-					TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					quality.SetMaxFixTime(t);
-	
-					// << ProcessLocationRequest()
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationRequest()"));
-					iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-					// >> RequestAssistanceData(0)
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-					TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-	
-					// >> RespondLocationRequest() - first measurement, second position.
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RespondLocationRequest(meas)"));
-					TESTL(iProxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-					sessionId = NULL;
-					measurementInfo = NULL;
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-	
-					// Check it is measurement
-					TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-					TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-					TESTL(reason == KErrNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-	
-					// >> RequestAssistanceData() - we get an extra msg as the result of the A-GPS manager re-issuing a location request when it's
-					//									max fix time timer expries.
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-					TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData);
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					if(iPlannedPositionOriginator == EPositionOriginatorModule && iNetworkExpectsPositions)
-						{ // if hybrid need to do a few extra things
-						// << ProcessLocationRequest(SessionId, HybridMode, t)
-						INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationRequest(SessionId, HybridMode, t)"));
-						iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-						// >> RequestAssistanceData(0)
-						INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RequestAssistanceData(0)"));
-						TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-						cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-						TESTL(dataMask == EAssistanceDataNone);
-						CleanupStack::PopAndDestroy(cleanupCnt);					
-						}
-					}
-	
-				if(iPlannedPositionOriginator == EPositionOriginatorModule)
-					{ // the module will deliver the location
-					if(iNetworkExpectsPositions)
-						{
-						INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() Network expecting position"));
-						// >> RespondLocationRequest() - first measurement, second position.
-						INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() >> RespondLocationRequest(gpspos)"));
-						TESTL(iProxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-						sessionId = NULL;
-						TPositionInfo* positionInfo = NULL;
-						cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-						
-						// check it is a position
-						TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-						TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-						TESTL(reason == KErrNone);
-						
-						// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-						// Return modules' position as FinalNetworkPosition
-						INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-						iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, positionInfo);
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						}
-					else	
-						{ // network doesn't expect the module to be calculating the position and will terminate 'normally' when it's satisfied
-						// Not expecting anything else to arrive at the network, make sure it doesn't:
-						TESTL(iProxy->WaitForResponse(t + delta) == ENetMsgTimeoutExpired);
-						}
-					}
-				else if(iPlannedPositionOriginator == EPositionOriginatorNetwork)
-					{ // The network should return the position
-					TPositionInfo positionInfo = ArgUtils::AccurateNetworkPositionInfo();
-					// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-					// Return FinalNetworkPosition
-					INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessLocationUpdate(SessionId, FNP)"));
-					iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-					}
-				iNetworkProtocolProxyStep = ENetworkProtocolProxyStepFinal;
-				}
-			
-			break;
-			}
-		case ENetworkProtocolProxyStepFinal:
-			{
-			// << ProcessSessionComplete()
-			TInt reason = KErrNone;
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessSessionComplete()"));			
-			iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-			// << ProcessStatusUpdate()
-			MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-			INFO_PRINTF1(_L("CT_LbsMolrGpsOptions::DoNetworkProtocolProxyStepL() << ProcessStatusUpdate(EServiceNone)"));			
-			iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-			
-			iNetworkProtocolProxyStep = ENetworkProtocolProxyStepInitial;
-			break;
-			}
-		default:
-			{
-			User::Invariant();
-			}
-		}
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsmolrtracking.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,728 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Module Information Tests
-// EPOC includes.sue
-// 
-//
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbslocdatasourceclasstypes.h>
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <lbs/epos_cposmodules.h>
-#include <lbs/epos_cposmoduleupdate.h>
-#include <lbs/epos_cposmoduleidlist.h>
-#include <e32math.h>
-#include <e32property.h>
-#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-#include "LbsExtendModuleInfo.h"
-#include "lbsdevloggermacros.h"
-
-// LBS test includes.
-#include "ctlbsmolrtracking.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-const TInt KSmallDelta = 350 * 1000; // 250ms
-
-/**
-Static Constructor
-*/
-CT_LbsMolrTracking* CT_LbsMolrTracking::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsMolrTracking* testStep = new CT_LbsMolrTracking(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsMolrTracking::CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent) 
-	: CT_LbsHybridMOLRStep(aParent),  
-		iAdminGpsMode(CLbsAdmin::EGpsModeUnknown),  
-		iGPSModeNotSupported(EFalse),
-		iSpecialTestMode(0)
-	{
-	SetTestStepName(KLbsMolrTracking);
-	}
-
-
-void CT_LbsMolrTracking::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsMolrTracking::~CT_LbsMolrTracking()
-	{
-	TRAP_IGNORE(doTestStepPostambleL());
-	}
-
-/**
- Things read from the ini file:
- - Network Method (1 - TB, 2 - TBTA, 3 - TA, 4 - TATB)
- - Planned Positions Originator (used in hybrid to decide where the position should 
- 			come from. Same for all positions returned, 1 - Module, 2 - Network)
- - Could have checks for the module modes if wanted (optional, doesn't affect the test) 
- 			-first argument one of: 1 - PTB, 2 - ATB, 3 - Autonomous, 4 - PTA, 5 - ATA
- 			-second and third argument can be 1 - Positions, 2 - Measurments
- - For each client the following information can be provided:
- 	- the starting delay, represented by two numbers:
- 	 	* the first one specifies after which network session to start - default is 0
- 	 	* The second one specifies after which step in the network to start - default is 0;
- 	 		For a list of the network steps see ctlbsnetprotocol.h
- 	- the number of NPUDs, default is one NPUD. One NPUD means not tracking, more than 
- 	 	that means the client is tracking
- 	- the positioner options: interval, max fix time, max age, partial accepted.
- 			Default all zero and partial not accepted
- 	- whether the client's NPUD request should be cancelled and at what stage
- 			Default to not cancelled
- The number of clients is determined from how many entries are that contain 
- client details. If there are no entries one default client is used. The information 
- missing from an entry will be assumed to be default. If either the tracking interval 
- or the number of NPUDs is set to indicate no tracking then this client will not 
- do any tracking.
- 
- NOTE: The only way a client can do more NPUDs is if it's doing tracking
- NOTE: The Planned Position Originator has to be provided for all tests. Logic to 
- 		work it out when not running in hybrid hasn't been provided in the test yet
- 
- TODO: Add some position checking and make the network position change
- TODO: Add logic to deal with the max fix time bigger than the interval and positions coming in 
- 			overlapping windows
- TODO: Sort out the PM returning a reference position in the right modes
- TODO: Checking of status changes for PM none <-> tracking 
- 
- Example of ini file entry:
- 	[TEST]
-	agps_module_update_file = c:\testdata\configs\test.ini
-	$update,3,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.2,3.5,50,20,20*
-	$update,1,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.3,3.5,50,20,20*
-	$update,1,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.4,3.5,50,20,20*
-	$update,1,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.4,3.4,50,20,20*
-	$update,1,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.4,3.3,50,20,20*
-	$update,1,0,NAN,NAN,NAN,NAN,NAN*
-	$update,1,0,49.5,3.3,50,20,20*
-	// The network will request TB
-	NetworkMethod = 1
-	// It is expected that the module will return the position
-	PositionOriginator = 1
-	// The module should be set to PTB and then not set again (this is optional - for additional checking)
-	// PTB
-	$modulemodes,1*
-	// The client information
-	// first client: session ID delay = 0, session step delay = 0, NPUDs = 4, interval = 10s, time out = 5s, max age = 0s, accept partial = false
-	$clientdetails,0,0,4,10000000,5000000,0,false*
-	// second client: session ID delay = 1, session step delay = 4, NPUDs = 3, interval = 8s, time out = 3s, max age = 0s, accept partial = false
-	$clientdetails,1,4,3,8000000,3000000,0,false*
-	// third client: session ID delay = 1, session step delay = 0, NPUDs = 1, interval = 0s, time out = 5s, max age = 0s, accept partial = false
-	$clientdetails,1,0,1,0,5000000,0,false*
-	// fourth client: session ID delay = 4, session step delay = 3, NPUDs = 1 (so no tracking)
-	$clientdetails,4,3,1*
-	// fifth client: session ID delay = 4, session step delay = 3, no tracking
-	$clientdetails,4,3*
-	// sixth client: no delay, no tracking (default client)
-	$clientdetails*
-	// seventh client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 5s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 1, cancel session step = 3
-	$clientdetails,0,0,2,5000000,5000000,0,false,cancel,1,3*
-
- */
-TVerdict CT_LbsMolrTracking::doTestStepPreambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMolrTracking::doTestStepPreambleL()"));
-	CT_LbsHybridMOLRStep::doTestStepPreambleL();
-
-	// Get the GPS mode set in the Admin
-	CLbsAdmin* admin = CLbsAdmin::NewL();
-	CleanupStack::PushL(admin);
-
-	TESTL(KErrNone == admin->Get(KLbsSettingRoamingGpsMode, iAdminGpsMode));
-	CleanupStack::PopAndDestroy(admin);
-	
-	// Set the test up so it expects that the GPS mode won't be supported if there is an incompatibility
-	TPositionModuleInfoExtended::TDeviceGpsModeCapabilities deviceCapabilities;
-	TInt err = LbsModuleInfo::GetDeviceCapabilities(KLbsGpsLocManagerUid, deviceCapabilities);
-	
-	if(!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB) && !(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalAssisted))
-		{
-		if(iAdminGpsMode == CLbsAdmin::EGpsPreferTerminalAssisted || 
-				iAdminGpsMode == CLbsAdmin::EGpsAlwaysTerminalAssisted)
-			{
-			iGPSModeNotSupported = ETrue;
-			}	
-		}
-	if(!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB) && !(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalBased))
-		{
-		if(iAdminGpsMode == CLbsAdmin::EGpsPreferTerminalBased || 
-				iAdminGpsMode == CLbsAdmin::EGpsAlwaysTerminalBased ||
-				iAdminGpsMode == CLbsAdmin::EGpsAutonomous)
-			{
-			iGPSModeNotSupported = ETrue;
-			}	
-		}	
-
-	SetTestStepResult(EPass);
-	T_LbsUtils utils;
-
-	iNetworkProtocol = CT_LbsNetProtocol::NewL(*this, *this);
-	// Get the Network Method
-	_LIT(KNetworkMethod, "NetworkMethod");
-	TInt networkMethodInt;
-	if(GetIntFromConfig(ConfigSection(), KNetworkMethod, networkMethodInt))
-		{
-		iNetworkProtocol->SetNetworkMethod(networkMethodInt);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrTracking::doTestStepPreambleL() - FAILED: no network method configured"));
-		TEST(EFalse);
-		}
-	
-	// Get the position originator
-	_LIT(KPositionOriginator, "PositionOriginator");
-	TInt positionOriginatorInt;
-	if(GetIntFromConfig(ConfigSection(), KPositionOriginator, positionOriginatorInt))
-		{
-		iNetworkProtocol->SetPlannedPositionOriginator(positionOriginatorInt);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrTracking::doTestStepPreambleL() - FAILED: no position originator configured"));
-		TEST(EFalse);
-		}
-
-		
-	// Get the SpecialTestModemode setting ... 0 means not in a LastKnownPosition mode
-	_LIT(KLastKnownPosition, "SpecialTestMode");
-	TInt specialTestModeInt;
-	if(GetIntFromConfig(ConfigSection(), KLastKnownPosition, specialTestModeInt))
-		{
-		iSpecialTestMode = specialTestModeInt;
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrTracking::doTestStepPreambleL() - no SpecialTestMode in .ini section - setting mode to disabled"));
-		iSpecialTestMode =0;
-		}
-
-	TPtrC configFileName;
-	_LIT(KUpdateOptionsFile, "agps_module_update_file");
-	TEST(GetStringFromConfig(ConfigSection(), KUpdateOptionsFile, configFileName));
-	RArray<TCTClientDetails> clientDetailsArray;
-	CleanupClosePushL(clientDetailsArray);
-	utils.GetConfigured_ClientDetailsL(configFileName, ConfigSection(), clientDetailsArray);
-
-	
-	for(TInt index = 1; index <= clientDetailsArray.Count(); ++index)
-		{
-		CT_LbsTestActiveManager* clientTestManager = CT_LbsTestActiveManager::NewL(index, *this, CActive::EPriorityStandard, *this);
-		iClientTestManagers.AppendL(clientTestManager);
-		}
-	
-	for(TInt index = 0; index < clientDetailsArray.Count(); ++index)
-		{
-		CT_ClientData* client = new(ELeave) CT_ClientData(clientDetailsArray[index].iSessionIdDelay, clientDetailsArray[index].iSessionStepDelay, clientDetailsArray[index].iCancelRequest, clientDetailsArray[index].iSessionIdCancel, clientDetailsArray[index].iSessionStepCancel, clientDetailsArray[index].iNumberOfNPUDs, 
-							clientDetailsArray[index].iUpdateOptions, clientDetailsArray[index].iPsyId, clientDetailsArray[index].iExpectedError);
-		iClients.AppendL(client);
-		}
-	CleanupStack::PopAndDestroy(&clientDetailsArray);
-
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMolrTracking::doTestStepPostambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMolrTracking::doTestStepPostambleL()"));
-	iClients.ResetAndDestroy();
-	iClientTestManagers.ResetAndDestroy();
-
-	if(iNetworkProtocol)
-		{
-		delete iNetworkProtocol;
-		iNetworkProtocol = NULL;
-		}
-	
-	iAdminGpsMode = CLbsAdmin::EGpsModeUnknown;
-	CT_LbsHybridMOLRStep::doTestStepPostambleL();
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMolrTracking::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsMolrTracking::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	iNetworkProtocol->StartNetworkL();
-
-	CActiveScheduler::Start();
-	return TestStepResult();
-	}
-
-void CT_LbsMolrTracking::OnReadyL(TInt aObjectId)
-	{
-	if(aObjectId > 0 && aObjectId <= iClients.Count())
-		{
-		DoClientStepL(aObjectId - 1);
-		return;
-		}
-	
-	User::Leave(KErrCorrupt);
-	}
-
-void CT_LbsMolrTracking::OnTimedOutL(TInt aObjectId)
-	{
-	INFO_PRINTF2(_L("Client number %d timed out waiting for a position"), aObjectId);
-	User::Leave(KErrTimedOut);
-	}
-
-void CT_LbsMolrTracking::OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase&  /*aPosInfo*/)
-	{
-	INFO_PRINTF2(_L("CT_LbsMolrTracking::OnGetLastKnownPositionL()	>> LKNP() complete with %d"), aErr);
-
-	CT_ClientData& client = *(iClients[aObjectId-1]);
-	
-	TInt numberOfNPUDs = client.iNumberOfNPUDs;
-	TInt positionsReceived = client.iPositionsReceived;
-
-	if (iSpecialTestMode==1)
-		{
-		INFO_PRINTF1(_L("CT_LbsMolrTracking::OnGetLastKnownPosition() - Special Test for FNP delivery"));
-		INFO_PRINTF2(_L("Client number %d received a last known position"), aObjectId);
-		INFO_PRINTF3(_L("Client now has %d of %d positions"), positionsReceived+1, numberOfNPUDs);
-
-		INFO_PRINTF1(_L("CT_LbsMolrTracking::OnGetLastKnownPosition() - a network calculated FNP was correctly delivered"));
-
-		}
-	else
-	{
-	INFO_PRINTF1(_L("CT_LbsMolrTracking::OnGetLastKnownPosition() - FAILED: not expecting this call"));
-	TESTL(EFalse); // Shouldn't see this...
-	}
-
-	++client.iPositionsReceived;
-
-	if(client.iPositionsReceived == client.iNumberOfNPUDs)
-		{ // stop this client tracking and close connection to the server also check that all the other clients have received positions as expected
-		iClientTestManagers[aObjectId-1]->Deactivate();
-
-		delete client.iWatcher;
-		client.iWatcher = NULL;
-		client.iPositioner.Close();
-		client.iServer.Close();
-			
-		}
-		else // re-issue the request
-		{
-		iClientTestManagers[aObjectId-1]->StartL(0);
-		}
-		
-	}
-
-void CT_LbsMolrTracking::OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	RDebug::Printf("LBSLog: LocSrv -> Client%d: Deliver Position, error = %d", aObjectId, aErr);
-	INFO_PRINTF2(_L("CT_LbsMolrTracking::OnNotifyPositionUpdate() >> NPUD() complete with %d"), aErr);
-	if(iGPSModeNotSupported)
-		{
-		TESTL(aErr == KErrNotSupported);
-		}
-	else
-		{
-		CT_ClientData& client = *(iClients[aObjectId-1]);		
-		TTime now;
-		now.HomeTime();
-		
-		if(client.iRequestCancelled)
-			{
-			TESTL(aErr == KErrCancel);
-			}
-		else if(client.iExpectedError)
-			{
-			TESTL(aErr == client.iExpectedError);
-			}
-		else
-			{
-			TInt numberOfNPUDs = client.iNumberOfNPUDs;
-			TInt positionsReceived = client.iPositionsReceived;
-			
-			INFO_PRINTF2(_L("Client number %d received a position"), aObjectId);
-			INFO_PRINTF3(_L("Client now has %d of %d positions"), positionsReceived+1, numberOfNPUDs);
-
-		
-			if (iSpecialTestMode == 2)
-				{
-				
-				INFO_PRINTF1(_L("testing MaxAge feature"));
-				const TPositionInfo* lastPosReturned = static_cast<const TPositionInfo*>(&aPosInfo);
-				TPosition pos;
-				lastPosReturned->GetPosition(pos);
-	 
-				if (client.iPositionsReceived == 0)
-					{ // if its the first one 
-					client.iTimeOfLastPosition = pos.Time();
-					}
-				else
-					{
-					if (client.iTimeOfLastPosition != pos.Time())
-						{
-						INFO_PRINTF1(_L("testing MaxAge feature - FAIL! position time was not same as previous"));
-						TESTL(EFalse);	
-						}
-					else
-						{
-						INFO_PRINTF1(_L("testing MaxAge feature - PASS! position time was same as previous"));
-						}
-					client.iTimeOfLastPosition = pos.Time();
-					}
-				}
-			else if (iSpecialTestMode==3) // testing early complete behaviour when have multiple client requests 
-				{
-					if ( (aErr == KPositionEarlyComplete) || (aErr == KErrNone))
-					{
-					INFO_PRINTF2(_L("testing early complete behaviour got correct error%d"), aErr);
-					}
-					else
-					{
-					INFO_PRINTF2(_L("testing early complete behaviour got error %d"), aErr);
-					TESTL(EFalse);	
-					}
-				}
-			else
-				{
-				// Normally it should be KErrNone
-				TESTL(aErr == KErrNone);
-				}
-		
-			// Verify position.
-			//CT_ClientData& client = *(iClients[aObjectId-1]);
-		
-			TESTL(aPosInfo.PositionClassType() == EPositionInfoClass);
-			if(iNetworkProtocol->PlannedPositionOriginator() == CT_LbsNetProtocol::EPositionOriginatorModule)
-				{
-				if(client.iAutonomousPsy)
-					{
-					INFO_PRINTF2(_L("Autonomous GPS client got position with techtype = %d"), aPosInfo.PositionMode());
-					TESTL( (aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal)) || (aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted)));
-					}
-				else
-					{
-					TESTL(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-					}
-				}
-			if(iNetworkProtocol->PlannedPositionOriginator() == CT_LbsNetProtocol::EPositionOriginatorNetwork)
-				{
-				if (iSpecialTestMode==3)
-					{
-					INFO_PRINTF1(_L("testing early complete behaviour - don't check tech type"));
-					}
-				else
-					{
-					TESTL(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-					}
-				}
-			
-			if(iExpectedApiBehaviour == EApiVariant1)
-				{
-				if(client.iPositionsReceived == 0)
-					{ // record the time when a first position is received by the client
-					client.iTimeOfInitialPosition.HomeTime();
-					}
-				else
-					{ // make sure that the position was received in the right window
-					TTimeIntervalMicroSeconds interval = now.MicroSecondsFrom(client.iTimeOfInitialPosition);
-					
-					if (iSpecialTestMode==3) // testing early complete behaviour when have multiple client requests 
-						{
-						INFO_PRINTF1(_L("testing early complete behaviour - don't check arrival time"));
-		
-						}
-					else
-						{
-						if (client.iUpdateOptions.UpdateInterval().Int64())
-							{ // if tracking
-							if(interval.Int64() < client.iUpdateOptions.UpdateInterval().Int64() * client.iPositionsReceived && 
-									interval.Int64()+KSmallDelta >= client.iUpdateOptions.UpdateInterval().Int64() * client.iPositionsReceived)
-								{ // if the time is slightly before the window then allow for possible delays in the test framework
-								interval = interval.Int64() + KSmallDelta;
-								}
-							if(interval.Int64() % client.iUpdateOptions.UpdateInterval().Int64() > client.iUpdateOptions.UpdateTimeOut().Int64() && 
-									(interval.Int64()-KSmallDelta) % client.iUpdateOptions.UpdateInterval().Int64() <= client.iUpdateOptions.UpdateTimeOut().Int64())
-								{ // if the time is slightly after the window then allow for possible delays in the test framework
-								interval = interval.Int64() - KSmallDelta;
-								}
-							TESTL(interval.Int64() / client.iUpdateOptions.UpdateInterval().Int64() == client.iPositionsReceived);
-							TESTL(interval.Int64() % client.iUpdateOptions.UpdateInterval().Int64() <= client.iUpdateOptions.UpdateTimeOut().Int64());
-							}
-						}
-					}
-				}
-			else
-				{ // variant2 api behaviour
-				if(client.iPositionsReceived > 0) // make sure that the position was received in the right window
-					{
-					TTimeIntervalMicroSeconds interval = now.MicroSecondsFrom(client.iTimeOfPreviousPosition);
-					if (iSpecialTestMode==3) // testing early complete behaviour when have multiple client requests 
-						{
-						INFO_PRINTF1(_L("testing early complete behaviour - don't check arrival time"));
-						}
-					else
-						{
-						if (client.iUpdateOptions.UpdateInterval().Int64())
-							{ // if tracking
-							if(interval.Int64() < client.iUpdateOptions.UpdateInterval().Int64() && 
-									interval.Int64()+KSmallDelta >= client.iUpdateOptions.UpdateInterval().Int64())
-								{ // if the time is slightly before the window then allow for possible delays in the test framework
-								interval = interval.Int64() + KSmallDelta;
-								}
-							if(interval.Int64() - client.iUpdateOptions.UpdateInterval().Int64() > client.iUpdateOptions.UpdateTimeOut().Int64() && 
-									(interval.Int64()-KSmallDelta) - client.iUpdateOptions.UpdateInterval().Int64() <= client.iUpdateOptions.UpdateTimeOut().Int64())
-								{ // if the time is slightly after the window then allow for possible delays in the test framework
-								interval = interval.Int64() - KSmallDelta;
-								}
-							TESTL(interval.Int64() >= client.iUpdateOptions.UpdateInterval().Int64());
-							TESTL(interval.Int64() - client.iUpdateOptions.UpdateInterval().Int64() <= client.iUpdateOptions.UpdateTimeOut().Int64());
-							}
-						}
-					}
-				client.iTimeOfPreviousPosition.HomeTime();
-				}
-			}
-			
-		++client.iPositionsReceived;
-		
-		if(client.iPositionsReceived == client.iNumberOfNPUDs)
-			{ // stop this client tracking and close connection to the server also check that all the other clients have received positions as expected
-			iClientTestManagers[aObjectId-1]->Deactivate();
-
-			delete client.iWatcher;
-			client.iWatcher = NULL;
-			client.iPositioner.Close();
-			client.iServer.Close();
-
-			TBool moreActiveClients(EFalse);
-			
-			if(iSpecialTestMode==3) // testing early complete behaviour when have multiple client requests 
-				{
-				INFO_PRINTF1(_L("testing early complete behaviour - don't check arrival times are in tracking windows"));
-				}
-			else
-				{
-				for(TUint index = 0; index < iClients.Count(); ++index)
-					{ // for each client check that the positions were received in the right window until now
-					if(!iClientTestManagers[index]->IsDeactivated())
-						{
-						moreActiveClients = ETrue;
-						CT_ClientData& clientToCheck = *(iClients[index]);
-						if((!(clientToCheck.iRequestCancelled)) && (clientToCheck.iPositionsReceived > 0) &&  !(clientToCheck.iExpectedError))
-							{
-							if(iExpectedApiBehaviour == EApiVariant1)
-								{
-								TTimeIntervalMicroSeconds interval = now.MicroSecondsFrom(clientToCheck.iTimeOfInitialPosition);
-								if (client.iUpdateOptions.UpdateInterval().Int64())
-									{
-						
-									TESTL(interval.Int64() / clientToCheck.iUpdateOptions.UpdateInterval().Int64() == clientToCheck.iPositionsReceived-1 || // either the client received all the positions already 
-									(interval.Int64() / clientToCheck.iUpdateOptions.UpdateInterval().Int64() == clientToCheck.iPositionsReceived &&  // or the window to receive a position is now and it's RunL didn't get called yet
-									 interval.Int64() % clientToCheck.iUpdateOptions.UpdateInterval().Int64() <= clientToCheck.iUpdateOptions.UpdateTimeOut().Int64()));
-									}
-								}
-							else
-								{
-								TTimeIntervalMicroSeconds interval = now.MicroSecondsFrom(clientToCheck.iTimeOfPreviousPosition);
-								if (client.iUpdateOptions.UpdateInterval().Int64())
-									{
-									TESTL(interval.Int64() - clientToCheck.iUpdateOptions.UpdateInterval().Int64() - KSmallDelta <= 
-												clientToCheck.iUpdateOptions.UpdateTimeOut().Int64());
-									}
-								}
-							}
-						}
-					}
-				}
-			
-			if(!moreActiveClients)
-				{ // if all the clients finished then tell the network to close the session
-				iNetworkProtocol->SignalClientsFinished();
-				}
-			}
-		else
-			{
-			// re-issue the request
-			iClientTestManagers[aObjectId-1]->StartL(0);
-			}
-		}
-	}
-
-void CT_LbsMolrTracking::StopTest()
-	{
-	CActiveScheduler::Stop();
-	}
-
-void CT_LbsMolrTracking::OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep)
-	{
-	for(TInt index = 0; index < iClientTestManagers.Count(); ++index)
-		{
-		CT_ClientData& client = *iClients[index];
-		if(client.iInitialStep)
-			{
-			if(aSessionId > client.iSessionIdDelay || 
-					(aSessionId == client.iSessionIdDelay && aSessionStep >= client.iSessionStepDelay))
-				{
-				iClientTestManagers[index]->StartL(0);
-				}
-			}
-		if(client.iCancelRequest && !(client.iRequestCancelled))
-			{
-			INFO_PRINTF3(_L("Waiting to cancel. At network session %d, step %d"), aSessionId, aSessionStep);			
-			if(aSessionId > client.iSessionIdCancel || 
-					(aSessionId == client.iSessionIdCancel && aSessionStep >= client.iSessionStepCancel))
-				{
-				// cancel oustanding NPUD
-				INFO_PRINTF3(_L("Cancelling Request for Client %d's NPUD %d"),index+1, client.iPositionsReceived+1);
-				__ASSERT_DEBUG((client.iNumberOfNPUDs == client.iPositionsReceived + 1), User::Invariant());
-				RDebug::Printf("LBSLog: Client%d -> LocSrv : CancelRequest", index+1);
-				client.iWatcher->CancelRequest();
-				client.iRequestCancelled = ETrue;
-				}
-			}		
-		}	
-	}
-
-void CT_LbsMolrTracking::DoClientStepL(TInt aIndex)
-	{
-	CT_ClientData& client = *(iClients[aIndex]);
-	const TInt KPosTimeOutDelay = 6 * 1000 * 1000; // this is so it leaves some space for delays due to other things in the test running
-	TInt posTimeOut(KPosTimeOutDelay);
-	
-	TInt positionsReceived = client.iPositionsReceived;
-
-	if(client.iInitialStep)
-		{
-		TESTL(KErrNone == client.iServer.Connect());
-		TRequestStatus dbclear;
-		client.iServer.EmptyLastKnownPositionStore(dbclear);
-		User::WaitForRequest(dbclear);
-		
-		if(client.iPsyUid)	// client wants a particular psy
-			{
-			EnablePsy(client.iPsyUid);
-			
-			TPositionModuleInfo moduleInfo;
-			
-			client.iServer.GetModuleInfoById(TUid::Uid(client.iPsyUid), moduleInfo);
-			
-			if(moduleInfo.TechnologyType() == TPositionModuleInfo::ETechnologyTerminal)
-				{
-				client.iAutonomousPsy = ETrue;
-				}
-			TESTL(KErrNone == client.iPositioner.Open(client.iServer, TUid::Uid(client.iPsyUid)));
-			}
-		else
-			{
-			TESTL(KErrNone == client.iPositioner.Open(client.iServer));
-			}
-		TPositionUpdateOptions updateOptions(client.iUpdateOptions);
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{ // for variant 2 of the API behaviour the timeout is considered from the time of the NPUD, rather than from the target time
-			updateOptions.SetUpdateTimeOut(updateOptions.UpdateTimeOut().Int64() + updateOptions.UpdateInterval().Int64());
-			}
-		client.iPositioner.SetUpdateOptions(updateOptions);
-		
-		client.iWatcher = CPosServerWatcher::NewLC(client.iPositioner, *(iClientTestManagers[aIndex]));
-		CleanupStack::Pop(client.iWatcher);
-		client.iInitialStep = EFalse;
-		posTimeOut += client.iUpdateOptions.UpdateTimeOut().Int64();; 
-		}
-	else
-		{
-		posTimeOut += client.iUpdateOptions.UpdateInterval().Int64() + client.iUpdateOptions.UpdateTimeOut().Int64(); 		
-		}
-	
-
-	if ((iSpecialTestMode == 1) && (aIndex == 0) && (positionsReceived == 1)) 
-		{
-		INFO_PRINTF2(_L("Client number %d issuing LKNP request"), aIndex+1);
-		client.iWatcher->IssueGetLastKnownPosition();
-		}
-	else
-		{
-		INFO_PRINTF2(_L("Client number %d issuing NPUD request"), aIndex+1);
-		RDebug::Printf("LBSLog: Client%d -> LocSrv : NotifyPositionUpdate", aIndex+1);
-		client.iWatcher->IssueNotifyPositionUpdate();
-		}
-
-	
-	if (iSpecialTestMode==3)
-		{
-		if ((aIndex == 0) && (positionsReceived == 0)) 	// in this mode client 1 will immediately  CompleteRequest the 
-														// NPUD. The  test has contrived to have an ongoing MoLr
-														// because client 2 has an outstanding NPUD that should not 
-														// be interfered with 	
-			{
-			INFO_PRINTF1(_L("CompleteRequest!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"));
-			client.iWatcher->CompleteRequest() ;
-			}
-		}
-	iClientTestManagers[aIndex]->WaitForPosition(posTimeOut);
-	}
-
-
-
-void CT_LbsMolrTracking::EnablePsy(TInt aPsyUid)
-	{
-	CPosModules* db = CPosModules::OpenL();
-	CleanupStack::PushL(db);
-	CPosModuleUpdate* moduleUpdate = CPosModuleUpdate::NewLC();
-	
-	CPosModuleIdList* prioList = db->ModuleIdListLC();
-	
-	// Enable the PSY that came as an in parameter
-	moduleUpdate->SetUpdateAvailability(ETrue);
-	db->UpdateModuleL(TUid::Uid(aPsyUid), *moduleUpdate);
-	
-	CleanupStack::PopAndDestroy(prioList);
-	CleanupStack::PopAndDestroy(moduleUpdate);
-	CleanupStack::PopAndDestroy(db);
-}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsnetprotocol.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1050 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Module Information Tests
-// 
-//
-
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbslocdatasourceclasstypes.h>
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <e32property.h>
-#include <lbs/lbslocerrors.h>
-#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-#include "LbsExtendModuleInfo.h"
-#include "lbsdevloggermacros.h"
-
-// LBS test includes.
-#include "ctlbsnetprotocol.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-const TInt KTimeOut = 2*1000*1000; // 2 secs
-const TInt KSmallTimeOut = 500*1000; // 0.5 secs
-const TInt KDelta = 1000;
-const TInt KT = 2 * 1000 * 1000; // 2 secs.
-const TInt KAlphaTimer = ArgUtils::Alpha2()/12;
-
-/**
-Static Constructor
-*/
-CT_LbsNetProtocol* CT_LbsNetProtocol::NewL(MTestFlowObserver& aObserver, CTestStep& aStep)
-	{
-	CT_LbsNetProtocol* self = new CT_LbsNetProtocol(aObserver, aStep);
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-	}
-
-void CT_LbsNetProtocol::StartNetworkL()
-	{
-	iProxy->WaitForResponseL(KTimeOut, iStatus);
-	SetActive();
-	iObserver.OnSignalNetworkStep(iRelativeSessionId, iNetworkProtocolProxyStep);
-	}
-
-void CT_LbsNetProtocol::SignalClientsFinished()
-	{
-	iClientsFinished = ETrue;
-	}
-
-CT_LbsNetProtocol::TPlannedPositionOriginator CT_LbsNetProtocol::PlannedPositionOriginator()
-	{
-	return iPlannedPositionOriginator;
-	}
-
-void CT_LbsNetProtocol::SetPlannedPositionOriginator(TInt aOriginator)
-	{
-	iPlannedPositionOriginator = static_cast<TPlannedPositionOriginator>(aOriginator);
-	iStep.TEST(iPlannedPositionOriginator != EPositionOriginatorUnkown);
-	}
-
-
-void CT_LbsNetProtocol::SetNetworkMethod(TInt aMethod)
-	{
-	iNetworkMethod = static_cast<TChosenNetworkMethod>(aMethod);
-	iStep.TEST(iNetworkMethod != ENetworkMethodNotSet);
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsNetProtocol::CT_LbsNetProtocol(MTestFlowObserver& aObserver, CTestStep& aStep) 
-	: CActive(EPriorityHigh), iObserver(aObserver), iStep(aStep), iNetworkMethod(ENetworkMethodNotSet), 
-		iNetworkProtocolProxyStep(ENetworkProtocolProxyStepInitial), iRelativeSessionId(0), 
-		iClientsFinished(EFalse), iPlannedPositionOriginator(EPositionOriginatorUnkown)
-	{
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	CActiveScheduler::Add(this);
-	}
-
-
-void CT_LbsNetProtocol::ConstructL()
-	{
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsNetProtocol::~CT_LbsNetProtocol()
-	{
-	Cancel();
-	delete iProxy;
-	}
-
-TLbsNetPosRequestMethod CT_LbsNetProtocol::RequestNetworkMethod()
-/**
- This method will chose the appropiate method requested by the network, depending 
- on the test settings
- 
- @return The network method
- */
-	{
-	TLbsNetPosRequestMethod method;
-	switch(iNetworkMethod)
-		{
-		case ETerminalBasedNetworkMethod:
-			{
-			iStep.INFO_PRINTF1(_L("The network requests TB"));
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalBasedMethod();
-			break;
-			}
-		case ETerminalBasedTerminalAssistedNetworkMethod:
-			{
-			iStep.INFO_PRINTF1(_L("The network requests hybrid"));
-			iNetworkExpectsMeasurments = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestHybridMethod();
-			break;
-			}
-		case ETerminalAssistedNetworkMethod:
-			{
-			iStep.INFO_PRINTF1(_L("The network requests TAP"));
-			iNetworkExpectsMeasurments = ETrue;
-			method = ArgUtils::RequestTAPMethod();
-			break;
-			}
-		case ETerminalAssistedTerminalBasedNetworkMethod:
-			{
-			iStep.INFO_PRINTF1(_L("The network requests hybrid"));
-			iNetworkExpectsMeasurments = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalAssistedAndTerminalBasedMethod();
-			break;
-			}
-		default:
-			{
-			User::Invariant();
-			}
-		}
-	return method;
-	}
-
-void CT_LbsNetProtocol::DecideWhatNetworkDoesntReceive()
-/**
- This method checks what the module was finally set to and decides if the network 
- should not expect measuments, or positions
- */
-	{
-	TLbsGpsOptionsArray options;
-	TPckg<TLbsGpsOptionsArray> pckgOptions(options);
-	iStep.TEST(KErrNone == RProperty::Get(KUidSystemCategory, ELbsTestAGpsModuleModeChanges,pckgOptions));
-
-	if(options.ClassType() & ELbsGpsOptionsArrayClass)
-		{ 
-		if(options.NumOptionItems() > 1)
-			{// don't change anything, the module is running in hybrid
-			iStep.INFO_PRINTF1(_L("The module is running in hybrid"));
-			return;
-			}
-		}
-	switch(options.GpsMode())
-		{
-		case CLbsAdmin::EGpsAutonomous:
-			{
-			iNetworkExpectsPositions = EFalse;
-			iNetworkExpectsMeasurments = EFalse;
-			iStep.INFO_PRINTF1(_L("The module is running in autonomous"));
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalBased:
-		case CLbsAdmin::EGpsAlwaysTerminalBased:
-			{
-			iStep.INFO_PRINTF1(_L("The module is running in terminal based"));
-			iNetworkExpectsMeasurments = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalAssisted:
-		case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-			{
-			iStep.INFO_PRINTF1(_L("The module is running in terminal assisted"));
-			iNetworkExpectsPositions = EFalse;
-			break;
-			}
-		default:
-			{
-			// change nothing
-			}
-		return;
-		}
-	}
-
-
-
-void CT_LbsNetProtocol::Process_RequestSelfLocationL()
-	{
-	// >> RequestSelfLocation()
-	iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestSelfLocation()"));
-	TLbsNetSessionId* sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-	++iRelativeSessionId;
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	iStep.INFO_PRINTF2(_L("NetworkProtocolProxy >> RequestSelfLocation() mode = 0x%x"), opts->PosMode());
-	if(opts->PosMode() == TPositionModuleInfo::ETechnologyTerminal)	// autonomous request, just complete the session
-		{
-		// << ProcessSessionComplete()
-		TInt reason = KErrNone;
-		iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-		iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-		// << ProcessStatusUpdate()
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;	
-		iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);						
-		iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-		}					
-	else
-		{
-		// << ProcessStatusUpdate(EServiceSelfLocation)
-		iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceSelfLocation)"));
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
-
-		if(opts->DataRequestMask() != EAssistanceDataNone)
-			{
-			// << ProcessAssistanceData()
-			iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessAssistanceData"));
-			TLbsAsistanceDataGroup dataMask = EAssistanceDataReferenceTime;
-			RLbsAssistanceDataBuilderSet assistanceData;
-			ArgUtils::PopulateLC(assistanceData);
-			TInt reason = KErrNone;
-			iProxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-			CleanupStack::PopAndDestroy(&assistanceData);
-			}
-
-		// << ProcessLocationRequest()
-		iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationRequest"));			
-		TBool emergency = EFalse;
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-		TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-		quality.SetMaxFixTime(KAlphaTimer);
-		TLbsNetPosRequestMethod method  = RequestNetworkMethod();
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-		
-		// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-		iAlpha2StartTime.HomeTime();
-		
-		iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionNrhRequestSent;
-		}	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	}
-
-void CT_LbsNetProtocol::RunL()
-	{
-	TInt response(iStatus.Int());
-	switch(iNetworkProtocolProxyStep)
-		{
-		case ENetworkProtocolProxyStepInitial:
-			{
-			switch(response)
-				{
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() for an older session"));
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgGetCurrentCapabilitiesResponse:
-					{
-					// >> AdviceSystemStatus()
-					CLbsNetworkProtocolBase::TLbsSystemStatus status;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-					iStep.TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone || status == CLbsNetworkProtocolBase::ESystemStatusClientTracking);
-					if(status == CLbsNetworkProtocolBase::ESystemStatusClientTracking)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusClientTracking)"));
-						}
-					else if(status == CLbsNetworkProtocolBase::ESystemStatusNone)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusNone)"));
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgTimeoutExpired:
-					{ // can happen that no request has been sent through, so start waiting again
-					if(iClientsFinished)
-						{
-						iObserver.StopTest();						
-						}
-					else
-						{
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				case ENetMsgRequestSelfLocation:
-					{
-					Process_RequestSelfLocationL();
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepInitial received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-
-		case ENetworkProtocolProxyStepSessionNrhRequestSent:
-			{
-			switch(response)
-				{
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-
-					DecideWhatNetworkDoesntReceive();
-					
-					if(iNetworkExpectsMeasurments)
-						{ // measurements should be sent to the network
-						// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-						TTimeIntervalMicroSeconds microseconds;
-						TTime stopTime;
-						stopTime.HomeTime();
-						microseconds = stopTime.MicroSecondsFrom(iAlpha2StartTime); 
-						TInt64 timeElapsed = microseconds.Int64();
-
-						// Test that we do not get response before alpha2 has expired:
-						TInt timeOut = KAlphaTimer - timeElapsed - KDelta > 0 ? KAlphaTimer - timeElapsed - KDelta : 0;
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionWaitingForFirstMeasurmentsTimeOut;
-						iProxy->WaitForResponseL(timeOut, iStatus);
-						SetActive();
-						}
-					else
-						{
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionMeasurmentsReceived;
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-
-					break;
-					}
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					TLbsNetSessionId* sessionId = NULL;
-					TInt cancelReason = KErrNone;
-					TInt cleanupCnt;
-					
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason);
-					if(sessionId->SessionNum() == iSessionId.SessionNum())
-						{ // should complete the session
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation()"));
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						
-						// << ProcessSessionComplete()
-						TInt reason = KErrNone;
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-						iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-						// << ProcessStatusUpdate()
-						MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-						iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();						
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() for an older session"));
-						iStep.TESTL(sessionId->SessionNum() < iSessionId.SessionNum());
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						sessionId = NULL;
-		
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionWaitingForFirstMeasurments;
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				case ENetMsgGetCurrentCapabilitiesResponse:
-					{
-					// >> AdviceSystemStatus()
-					CLbsNetworkProtocolBase::TLbsSystemStatus status;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-					if(status == CLbsNetworkProtocolBase::ESystemStatusClientTracking)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusClientTracking)"));
-						}
-					else if(status == CLbsNetworkProtocolBase::ESystemStatusNone)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusNone)"));
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus() with wrong status"));
-						User::Leave(KErrNotSupported);
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-					SetActive();
-					break;
-					}					
-				case ENetMsgRequestSelfLocation:
-					{
-					Process_RequestSelfLocationL();
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepSessionNrhRequestSent received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-		case ENetworkProtocolProxyStepSessionWaitingForFirstMeasurmentsTimeOut:
-			{
-			switch(response)
-				{
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					TTimeIntervalMicroSeconds microseconds;
-					TTime stopTime;
-					stopTime.HomeTime();
-					microseconds = stopTime.MicroSecondsFrom(iAlpha2StartTime); 
-					TInt64 timeElapsed = microseconds.Int64();
-
-					// Test that we do not get response before alpha2 has expired:
-					TInt timeOut = KAlphaTimer - timeElapsed - KDelta > 0 ? KAlphaTimer - timeElapsed - KDelta : 0;
-					iProxy->WaitForResponseL(timeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgGetCurrentCapabilitiesResponse:
-					{
-					// >> AdviceSystemStatus()
-					CLbsNetworkProtocolBase::TLbsSystemStatus status;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-					if(status == CLbsNetworkProtocolBase::ESystemStatusClientTracking)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusClientTracking)"));
-						}
-					else if(status == CLbsNetworkProtocolBase::ESystemStatusNone)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusNone)"));
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus() with wrong status"));
-						User::Leave(KErrNotSupported);
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					TTimeIntervalMicroSeconds microseconds;
-					TTime stopTime;
-					stopTime.HomeTime();
-					microseconds = stopTime.MicroSecondsFrom(iAlpha2StartTime); 
-					TInt64 timeElapsed = microseconds.Int64();
-
-					// Test that we do not get response before alpha2 has expired:
-					TInt timeOut = KAlphaTimer - timeElapsed - KDelta > 0 ? KAlphaTimer - timeElapsed - KDelta : 0;
-					iProxy->WaitForResponseL(timeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					TLbsNetSessionId* sessionId = NULL;
-					TInt cancelReason = KErrNone;
-					TInt cleanupCnt;
-					
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason);
-					if(sessionId->SessionNum() == iSessionId.SessionNum())
-						{ // should complete the session
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation()"));
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						
-						// << ProcessSessionComplete()
-						TInt reason = KErrNone;
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-						iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-						// << ProcessStatusUpdate()
-						MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-						iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();						
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() for an older session"));
-						iStep.TESTL(sessionId->SessionNum() < iSessionId.SessionNum());
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						sessionId = NULL;
-		
-						TTimeIntervalMicroSeconds microseconds;
-						TTime stopTime;
-						stopTime.HomeTime();
-						microseconds = stopTime.MicroSecondsFrom(iAlpha2StartTime); 
-						TInt64 timeElapsed = microseconds.Int64();
-	
-						// Test that we do not get response before alpha2 has expired:
-						TInt timeOut = KAlphaTimer - timeElapsed - KDelta > 0 ? KAlphaTimer - timeElapsed - KDelta : 0;
-						iProxy->WaitForResponseL(timeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				case ENetMsgTimeoutExpired:
-					{
-					// >> Alpha2 timeout
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy - Network expecting measurements after timeout"));
-					
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionWaitingForFirstMeasurments;
-					iProxy->WaitForResponseL(2 * 1000* KDelta, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgRespondLocationRequest:
-					{ // If the module sends an accurate enough position then the Alpha2 timer might not time-out so check we received positions
-					// >> RespondLocationRequest(gpspos)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RespondLocationRequest(gpspos)"));
-					RequestNetworkMethod();
-					DecideWhatNetworkDoesntReceive();
-					iStep.TESTL(iNetworkExpectsPositions);
-					TLbsNetSessionId* sessionId = NULL;
-					TPositionInfo* positionInfo = NULL;
-					TInt reason;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-					
-					// check it is a position
-					iStep.TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-					iStep.TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-					iStep.TESTL(reason == KErrNone);
-					
-					// << ProcessLocationUpdate(FNP)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-					iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, positionInfo);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionPositionSent;
-					iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepSessionWaitingForFirstMeasurmentsTimeOut received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-		case ENetworkProtocolProxyStepSessionWaitingForFirstMeasurments:
-			{
-			switch(response)
-				{
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					TLbsNetSessionId* sessionId = NULL;
-					TInt cancelReason = KErrNone;
-					TInt cleanupCnt;
-					
-					cleanupCnt = iProxy->GetArgsLC(ENetMsgCancelSelfLocation, &sessionId, &cancelReason);
-					if(sessionId->SessionNum() == iSessionId.SessionNum())
-						{ // should complete the session
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation()"));
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						
-						// << ProcessSessionComplete()
-						TInt reason = KErrNone;
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-						iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-						// << ProcessStatusUpdate()
-						MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-						iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();						
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() for an older session"));
-						iStep.TESTL(sessionId->SessionNum() < iSessionId.SessionNum());
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						sessionId = NULL;
-		
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				case ENetMsgRespondLocationRequest:
-					{
-					// >> RespondLocationRequest(meas)
-					TLbsNetSessionId* sessionId = NULL;
-					TPositionInfo* positionInfo = NULL;
-					TInt reason;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-					RequestNetworkMethod();
-					DecideWhatNetworkDoesntReceive();
-
-					// check it is a position
-					if(positionInfo->PositionClassType() == EPositionGpsMeasurementInfoClass)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RespondLocationRequest(meas)"));
-						iStep.TESTL(iNetworkExpectsMeasurments);
-						iStep.TESTL(sessionId->SessionNum() == iSessionId.SessionNum());	// module sends NAN measurement first
-						if(reason != KErrNone)
-							{
-							iStep.INFO_PRINTF2(_L("NetworkProtocolProxy reason = 0x%x"), reason);
-							}
-						iStep.TESTL(reason == KErrNone);
-						CleanupStack::PopAndDestroy(cleanupCnt);
-						if(iPlannedPositionOriginator == EPositionOriginatorModule)
-							{
-							if(iNetworkExpectsPositions)
-								{
-								// << ProcessLocationRequest(SessionId, HybridMode, t)
-								iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationRequest(SessionId, HybridMode, t)"));
-								TBool emergency = EFalse;
-								MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-								TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-								quality.SetMaxFixTime(KT);
-								TLbsNetPosRequestMethod method  = RequestNetworkMethod();
-								iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-			
-								iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionMeasurmentsReceived;
-								iProxy->WaitForResponseL(KTimeOut, iStatus);
-								SetActive();
-								}
-							else
-								{
-								iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionPositionSent;
-								iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-								SetActive();
-								}
-							}
-						else if(iPlannedPositionOriginator == EPositionOriginatorNetwork)
-							{
-							TPositionInfo positionInfo = ArgUtils::AccurateNetworkPositionInfo();
-							// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-							// Return FinalNetworkPosition
-							iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationUpdate(SessionId, FNP)"));
-							iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-							
-							iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionPositionSent;
-							iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-							SetActive();
-							}
-						}
-					else
-						{
-						// >> RespondLocationRequest(gpspos)
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RespondLocationRequest(gpspos)"));
-						// check it is a position
-						iStep.TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-						iStep.TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-						iStep.INFO_PRINTF3(_L("NetworkProtocolProxy reason = %d(0x%x)"), reason,reason);
-						if(reason != KErrPositionNoGpsUpdate)
-							{
-							iStep.TESTL(reason == KErrNone);
-							}
-						iStep.TESTL(iNetworkExpectsPositions);
-						
-						// << ProcessLocationUpdate(FNP)
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-						iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, positionInfo);
-						CleanupStack::PopAndDestroy(cleanupCnt);
-
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionPositionSent;
-						iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepSessionWaitingForFirstMeasurments received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-		case ENetworkProtocolProxyStepSessionMeasurmentsReceived:
-			{
-			switch(response)
-				{
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgRespondLocationRequest:
-					{ // If the module sends an accurate enough position then the Alpha2 timer might not time-out so check we received positions
-					// >> RespondLocationRequest(gpspos/meas)
-					TLbsNetSessionId* sessionId = NULL;
-					TPositionInfo* positionInfo = NULL;
-					TInt reason;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-					RequestNetworkMethod();
-					DecideWhatNetworkDoesntReceive();
-					
-					// check it is a position
-					if(positionInfo->PositionClassType() == EPositionGpsMeasurementInfoClass)
-						{ // received more measurments
-						// >> RespondLocationRequest(meas)
-						iStep.TESTL(iNetworkExpectsMeasurments);
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RespondLocationRequest(meas)"));
-						iStep.TESTL(iNetworkExpectsMeasurments);
-						iStep.TESTL(sessionId->SessionNum() == iSessionId.SessionNum());	// module sends NAN measurement first
-						if(reason != KErrNone)
-							{
-							iStep.INFO_PRINTF2(_L("NetworkProtocolProxy reason = 0x%x"), reason);
-							}
-						iStep.TESTL(reason == KErrNone);
-						iStep.TESTL(iPlannedPositionOriginator == EPositionOriginatorModule);
-						iStep.TESTL(iNetworkExpectsPositions);
-						// << ProcessLocationRequest(SessionId, HybridMode, t)
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationRequest(SessionId, HybridMode, t)"));
-						TBool emergency = EFalse;
-						MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-						TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-						quality.SetMaxFixTime(KT);
-						TLbsNetPosRequestMethod method  = RequestNetworkMethod();
-						iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-					else
-						{ // received a position
-						iStep.TESTL(iNetworkExpectsPositions);
-						iStep.TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-						iStep.TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-						iStep.TESTL(reason == KErrNone);
-						
-						// << ProcessLocationUpdate(FNP)
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-						iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, positionInfo);
-
-						iNetworkProtocolProxyStep = ENetworkProtocolProxyStepSessionPositionSent;
-						iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-						SetActive();
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepSessionMeasurmentsReceived received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-
-		case ENetworkProtocolProxyStepSessionPositionSent:
-			{
-			switch(response)
-				{
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgGetCurrentCapabilitiesResponse:
-					{
-					// >> AdviceSystemStatus()
-					CLbsNetworkProtocolBase::TLbsSystemStatus status;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-					if(status == CLbsNetworkProtocolBase::ESystemStatusClientTracking)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusClientTracking)"));
-						}
-					else if(status == CLbsNetworkProtocolBase::ESystemStatusNone)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusNone)"));
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus() with wrong status"));
-						User::Leave(KErrNotSupported);
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KSmallTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() - as result of FNP"));
-
-					// << ProcessSessionComplete()
-					TInt reason = KErrNone;
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-					iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-					// << ProcessStatusUpdate()
-					MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-					iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgTimeoutExpired:
-					{
-					// << ProcessSessionComplete()
-					TInt reason = KErrNone;
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessSessionComplete()"));			
-					iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-					// << ProcessStatusUpdate()
-					MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy << ProcessStatusUpdate(EServiceNone)"));			
-					iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-					iNetworkProtocolProxyStep = ENetworkProtocolProxyStepNoSessionRunning;
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgRequestSelfLocation:
-					{
-					Process_RequestSelfLocationL();
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepSessionPositionSent received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-
-		case ENetworkProtocolProxyStepNoSessionRunning:
-			{
-			switch(response)
-				{
-				case ENetMsgCancelSelfLocation:
-					{
-					// >> CancelSelfLocation()
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> CancelSelfLocation() for an older session"));
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgTimeoutExpired:
-					{ // can happen that no request has been sent through, so start waiting again
-					if(iClientsFinished)
-						{
-						iObserver.StopTest();						
-						}
-					else
-						{
-						iProxy->WaitForResponseL(KTimeOut, iStatus);
-						SetActive();
-						}
-					break;
-					}
-				case ENetMsgRequestAssistanceData:
-					{
-					// >> RequestAssistanceData(0)
-					iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> RequestAssistanceData(0)"));
-					TLbsAsistanceDataGroup dataMask;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-					iStep.TESTL(dataMask == EAssistanceDataNone);
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgGetCurrentCapabilitiesResponse:
-					{
-					// >> AdviceSystemStatus()
-					CLbsNetworkProtocolBase::TLbsSystemStatus status;
-					TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-					if(status == CLbsNetworkProtocolBase::ESystemStatusClientTracking)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusClientTracking)"));
-						}
-					else if(status == CLbsNetworkProtocolBase::ESystemStatusNone)
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus(ESystemStatusNone)"));
-						}
-					else
-						{
-						iStep.INFO_PRINTF1(_L("NetworkProtocolProxy >> AdviceSystemStatus() with wrong status"));
-						User::Leave(KErrNotSupported);
-						}
-					CleanupStack::PopAndDestroy(cleanupCnt);
-					
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				case ENetMsgRequestSelfLocation:
-					{
-					Process_RequestSelfLocationL();
-					iProxy->WaitForResponseL(KTimeOut, iStatus);
-					SetActive();
-					break;
-					}
-				default:
-					{
-					iStep.INFO_PRINTF2(_L("Network in state ENetworkProtocolProxyStepNoSessionRunning received unexpected response: %d"), response);
-					User::Leave(KErrNotSupported);
-					}
-				}
-			break;
-			}
-
-		default:
-			{
-			iStep.INFO_PRINTF1(_L("Network in unexpected state"));
-			User::Leave(KErrCorrupt);
-			}
-		}
-	iObserver.OnSignalNetworkStep(iRelativeSessionId, iNetworkProtocolProxyStep);
-	}
-
-TInt CT_LbsNetProtocol::RunError(TInt aError)
-	{
-	iStep.SetTestStepError(aError);
-	iStep.SetTestStepResult(EFail);
-	iObserver.StopTest();
-	return KErrNone;
-	}
-
-void CT_LbsNetProtocol::DoCancel()
-	{
-	iProxy->CancelWait();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbstestactivemanager.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include "ctlbstestactivemanager.h"
-
-CT_LbsTestActiveManager* CT_LbsTestActiveManager::NewL(TInt aObjectId, MTestFlowObserver& aObserver, TPriority aPriority, CTestStep& aStep)
-	{
-	CT_LbsTestActiveManager* self = new(ELeave) CT_LbsTestActiveManager(aObjectId, aObserver, aPriority, aStep);
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-	}
-
-CT_LbsTestActiveManager::~CT_LbsTestActiveManager()
-	{
-	Cancel();
-	}
-
-CT_LbsTestActiveManager::CT_LbsTestActiveManager(TInt aObjectId, MTestFlowObserver& aObserver, TPriority aPriority, CTestStep& aStep)
-	: CTimer(aPriority), iState(EStateNone), iObjectId(aObjectId), 
-		iWaiting(EFalse), iIsDeactivated(EFalse), iObserver(aObserver), iStep(aStep)
-	{
-	CActiveScheduler::Add(this);
-	}
-
-void CT_LbsTestActiveManager::StartL(TTimeIntervalMicroSeconds32 aDelay)
-	{
-	if(iWaiting || iIsDeactivated)
-		{
-		return;
-		}
-
-	iState = EStateWaitingToStart;
-	After(aDelay);
-
-	iWaiting = ETrue;
-	}
-
-void CT_LbsTestActiveManager::WaitForPosition(TTimeIntervalMicroSeconds32 aDelay)
-	{
-	if(iWaiting || iIsDeactivated)
-		{
-		return;
-		}
-
-	iState = EStateWaitingForPosition;
-	After(aDelay);
-	iWaiting = ETrue;
-	}
-
-void CT_LbsTestActiveManager::Deactivate()
-	{
-	iIsDeactivated = ETrue;
-	}
-
-TBool CT_LbsTestActiveManager::IsDeactivated()
-	{
-	return iIsDeactivated;
-	}
-
-// MPosServerObserver
-void CT_LbsTestActiveManager::OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	iWaiting = EFalse;
-	Cancel();
-	TRAPD(err, iObserver.OnGetLastKnownPositionL(iObjectId, aErr, aPosInfo));
-	if(err != KErrNone)
-		{
-		RunError(err);
-		}
-	}
-
-
-void CT_LbsTestActiveManager::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	iWaiting = EFalse;
-	Cancel();
-	TRAPD(err, iObserver.OnNotifyPositionUpdateL(iObjectId, aErr, aPosInfo));
-	if(err != KErrNone)
-		{
-		RunError(err);
-		}
-	}
-
-void CT_LbsTestActiveManager::RunL()
-	{
-	iWaiting = EFalse;
-	switch(iState)
-		{
-		case EStateWaitingToStart:
-			{
-			iState = EStateNone;
-			iObserver.OnReadyL(iObjectId);
-			break;
-			}
-		case EStateWaitingForPosition:
-			{
-			iState = EStateNone;
-			iObserver.OnTimedOutL(iObjectId);
-			break;
-			}
-		default:
-			{
-			User::Leave(KErrCorrupt);
-			}
-		}
-	}
-
-TInt CT_LbsTestActiveManager::RunError(TInt aError)
-	{
-	iStep.SetTestStepError(aError);
-	iStep.SetTestStepResult(EFail);
-	iObserver.StopTest();
-	return KErrNone;
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsueassistedmolrselfgpsinaccuratetimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,451 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbsueassistedmolrselfgpsinaccuratetimeout.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsUEAssistedMOLRSelfGPSInaccurateT* CT_LbsUEAssistedMOLRSelfGPSInaccurateT::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEAssistedMOLRSelfGPSInaccurateT* testStep = new CT_LbsUEAssistedMOLRSelfGPSInaccurateT(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEAssistedMOLRSelfGPSInaccurateT::CT_LbsUEAssistedMOLRSelfGPSInaccurateT(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsUEAssistedMOLRSelfGPSInaccurateT);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-		
-	iState = EInitializing;
-	}
-
-
-void CT_LbsUEAssistedMOLRSelfGPSInaccurateT::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsUEAssistedMOLRSelfGPSInaccurateT::~CT_LbsUEAssistedMOLRSelfGPSInaccurateT()
-	{
-	}
-
-
-TVerdict CT_LbsUEAssistedMOLRSelfGPSInaccurateT::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsUEAssistedMOLRSelfGPSInaccurateT::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	//TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(240*1000*1000));
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(30*1000*1000));
-	pos.SetUpdateOptions(posOpts);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-	INFO_PRINTF1(_L("<< First NotifyPositionUpdate()"));
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-	INFO_PRINTF1(_L(">> Wait for RequestSelfLocation()"));	
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													30*1000*1000,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);
-	TESTL(qualitycheck);
-
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	INFO_PRINTF1(_L("<< ProcessLocationUpdate(SessionId, RefPosition)"));	
-	
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-	INFO_PRINTF1(_L("<< ProcessAssistanceData()"));	
-
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	INFO_PRINTF1(_L("<< ProcessLocationRequest(SessionId, HybridMode, alpha2)"));	
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L(">> Wait for RequestAssistanceData(0)"));	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Client Send -  a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-	INFO_PRINTF1(_L("<< Issue second NotifyPositionUpdate()"));
-
-// Rev --> RequestAssistanceData - we get this as the result of client notify update request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L(">> Wait for RequestAssistanceData(0)"));	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-
-// Recv --> RespondLocationRequest.
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-	INFO_PRINTF1(_L(">> Wait for RespondLocationRequest()"));	
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	INFO_PRINTF1(_L(">> Wait for RequestAssistanceData(0)"));	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	const TInt t = 8 * 1000 * 1000; // 8 secs.
-	quality.SetMaxFixTime(t);
-	
-	for (TInt i = 0; i < 2; i++)
-		{
-// Send <-- ProcessLocationRequest - time t.
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-		INFO_PRINTF1(_L("<< ProcessLocationRequest(SessionId, HybridMode, t)"));	
-
-// Recv --> RequestAssistanceData.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		INFO_PRINTF1(_L(">> Wait for RequestAssistanceData(0)"));	
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		
-		// Expect measurement first time.
-		if (i == 0)
-			{
-			measurementInfo = NULL;
-
-// Recv --> RespondLocationRequest.
-			TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-			INFO_PRINTF1(_L(">> Wait for RespondLocationRequest()"));	
-
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(reason == KErrNone);
-	
-			// Check it is measurement and check contents
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			sessionId = NULL;
-			measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-			INFO_PRINTF1(_L(">> Wait for RequestAssistanceData(0)"));	
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			}
-		
-		// Expect position second time.
-		// second time we don't get response...
-
-		else
-			{
-			// we may have to let the module return a pos
-			TESTL(proxy->WaitForResponse(delta) == ENetMsgTimeoutExpired);
-			INFO_PRINTF1(_L(">> Wait for ENetMsgTimeoutExpired"));	
-			}
-		}
-
-	// At this point we're waiting for the ENetMsgRespondLocationRequest message but we get the
-	// protocol module to simulate a timeout by ...
-	
-// Send <-- ProcessSessionComplete.
-	reason = KErrTimedOut;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	INFO_PRINTF1(_L("<< ProcessSessionComplete(SessionId, KErrNone)"));	
-
-// Send <-- ProcessStatusUpdate.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-	INFO_PRINTF1(_L("<< ENetMsgProcessStatusUpdate()"));	
-
-
-// Wait for the LBS responses due to the Session Complete. NPUD still outstanding so resend 
-// requests for SelfLocation and we may also get a request for Assistance Data. This is timing 
-// related since the PM's SessionComplete is sent to the AGPS Manager and the NRH, and the NRH
-// then sends a cancel message to the AGPS manager.  These events trigger active objects and
-// both AOs will make a RequestLocationUpdate call to the Int. Module.  Another AO in the Int.
-// module will respond with an assistance data request.  However, depending on timing, the 2nd
-// call to RequestLocationUpdate may cancel the AO set off by the 1st call.  Thus we may get 1
-// (most likely) or 2 assistance data requests.  These will result in a SelfLocation request 
-// always being sent to the PM but sometimes the PM may get a request for Assistance Data.
-	
-// Some time later (imperically < 10 secs but could be worked out by going through the test code)
-// the NPUD maxFixTime timer will fire which will cause the SelfLocation request to be cancelled.
-	
-	TInt selfLocationCount = 0;
-	TInt assistanceDataCount = 0;
-	TInt cancelCount = 0;
-	TInt othersCount = 0;
-	TNetProtocolResponseType response = ENetMsgNullResponse;
-	
-	while ((cancelCount == 0) && (othersCount == 0))
-		{
-		response = proxy->WaitForResponse(10*1000*1000);  // wait for a max of 10secs
-		switch (response)
-			{
-			case ENetMsgCancelSelfLocation:
-				{
-				cancelCount++;
-				INFO_PRINTF1(_L(">> Wait for CancelSelfLocation"));	
-				break;
-				}
-			case ENetMsgRequestSelfLocation:
-				{
-				selfLocationCount++;
-				INFO_PRINTF1(_L(">> Wait for RequestSelfLocation"));	
-				break;
-				}
-			case ENetMsgRequestAssistanceData:
-				{
-				assistanceDataCount++;
-				INFO_PRINTF1(_L(">> Wait for RequestAssistanceData"));	
-				break;
-				}
-			default:
-				{
-				othersCount++;
-				INFO_PRINTF2(_L(">> Unexpected message %d"), response);	
-				break;
-				}
-			}
-		}
-	TESTL(othersCount == 0);
-	TESTL(selfLocationCount == 1);
-	TESTL(cancelCount == 1);
-	
-	
-	CheckForObserverEventTestsL(10*1000*1000, *this);
-	
-	// Listen for 10 seconds that there are note further messages
-    TESTL(proxy->WaitForResponse(10*1000*1000) == ENetMsgTimeoutExpired);
-
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-		
-	return TestStepResult();
-	}
-
-
-// MPosServerObserver
-void CT_LbsUEAssistedMOLRSelfGPSInaccurateT::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-void CT_LbsUEAssistedMOLRSelfGPSInaccurateT::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	INFO_PRINTF1(_L("RunL() - OnNotifyPositionUpdate()"));
-
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		iState = ERefLocReceived;
-
-		TEST(aErr == KErrNone);
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-		
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting network pos.
-	else if (iState == ERefLocReceived)
-		{
-		INFO_PRINTF2(_L("RunL() - second %d"), aErr);
-		iState = ENetworkLocReceived;
-
-		if(iExpectedApiBehaviour == EApiVariant2)
-			{
-			TEST(aErr == KErrNone);
-			}
-		else
-			{
-			TEST(aErr == KPositionQualityLoss);
-			}
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);	
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsueassistedmolrselfgpslate.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,384 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Hybrid MoLr Tests
-// 
-//
-
-
-// EPOC includes.
-#include <e32math.h>
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsgpsmeasurement.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "ctlbsueassistedmolrselfgpslate.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsUEAssistedMOLRSelfGPSLate* CT_LbsUEAssistedMOLRSelfGPSLate::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEAssistedMOLRSelfGPSLate* testStep = new CT_LbsUEAssistedMOLRSelfGPSLate(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEAssistedMOLRSelfGPSLate::CT_LbsUEAssistedMOLRSelfGPSLate(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsUEAssistedMOLRSelfGPSLate);
-	
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	
-//	iPositionUpdateRef = EFalse;
-	}
-
-
-void CT_LbsUEAssistedMOLRSelfGPSLate::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsUEAssistedMOLRSelfGPSLate::~CT_LbsUEAssistedMOLRSelfGPSLate()
-	{
-	}
-
-
-TVerdict CT_LbsUEAssistedMOLRSelfGPSLate::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsUEAssistedMOLRSelfGPSLate::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-// Recv --> GetCurrentCapabilitiesResponse.
-	// Soak up the Lbs System Status (produced by A-GPS Manager startup). 
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-
-// Do the /actual/ test step!
-
-	// Setup location session and position watcher.
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-
-	// Set the max fix time for the client request to ensure the location server does not complete the request too soon during the test.
-	TPositionUpdateOptions posOpts(TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds(KMOLRFixTime));
-	pos.SetUpdateOptions(posOpts);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-
-// Recv --> RequestSelfLocation.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-	
-	TBool qualitycheck = ArgUtils::CompareQuality(	opts, 
-													ETrue, 
-													KMinHorizontalAcc, 
-													KMinVerticalAcc, 
-													KMOLRFixTime,
-													0, 
-													EAssistanceDataReferenceTime, 
-													(TPositionModuleInfo::ETechnologyTerminal 
-													| TPositionModuleInfo::ETechnologyAssisted)
-												);
-		
-	TESTL(qualitycheck);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-
-		
-// Send <-- ProcessStatusUpdate.
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService serviceMask = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-	
-// Send <-- ProcessLocationUpdate.
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-	
-// Client recv - the ref position app side.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-
-// Send <-- ProcessAssistanceData.
-	TLbsAsistanceDataGroup			dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet	data;
-	TInt							reason = KErrNone;
-	ArgUtils::PopulateLC(data);
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &data, &reason);
-	CleanupStack::PopAndDestroy(); // data
-
-
-// Send <-- ProcessLocationRequest.
-	TBool												emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality							quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod								method = ArgUtils::RequestHybridMethod();
-	quality.SetMaxFixTime(ArgUtils::Alpha2());
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// Now that the hybrid/alpha2 has been requested, record current time to verify alpha2 timer expires correctly.
-	TTime startTime;
-	startTime.HomeTime();
-
-
-// Recv --> RequestAssistanceData.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Client Send - a self-locate request.
-	pWatch->IssueNotifyPositionUpdate();
-
-// Rev --> RequestAssistanceData - we get this as the result of client notify update request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Determine the value to take off the alpha2 value. This is required because we had to wait for the assistance data response.
-	TTimeIntervalMicroSeconds microseconds;
-	TTime stopTime;
-	stopTime.HomeTime();
-	microseconds = stopTime.MicroSecondsFrom(startTime); 
-	TInt64 timeElapsed = microseconds.Int64();
-
-
-// Recv --> RespondLocationRequest.
-	// First ensure we don't recv response before Alpha2.
-	TInt delta = 2 * 1000 * 1000; // 2 secs.
-	TESTL(proxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - delta) == ENetMsgTimeoutExpired);
-	
-	// Wait for and process the response.
-	TESTL(proxy->WaitForResponse(2 * delta) == ENetMsgRespondLocationRequest);
-
-	TPositionGpsMeasurementInfo* measurementInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	measurementInfo = NULL;
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	const TInt t = 8 * 1000 * 1000; // 8 secs.
-	quality.SetMaxFixTime(t);
-	
-	for (TInt i = 0; i < 2; i++)
-		{
-// Send <-- ProcessLocationRequest - time t.
-		proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-// Recv --> RequestAssistanceData.
-		TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-		TESTL(dataMask == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Recv --> RespondLocationRequest - first measurement, second position.
-		TESTL(proxy->WaitForResponse(t + delta) == ENetMsgRespondLocationRequest);
-
-		sessionId = NULL;
-		
-		// Expect measurement first time.
-		if (i == 0)
-			{
-			measurementInfo = NULL;
-
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);			
-
-			// Check it is a measurement.
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-
-
-// Recv -> RequestAssistanceData - we get an extra msg as the result of the A-GPS manager re-issueing a location request when it's
-//									max fix time timer expries.
-			TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData);
-			TInt cleanupCnt2 = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-			TESTL(dataMask == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt2);
-			}
-		
-		// Expect position second time.
-		else
-			{
-			TPositionInfo* positionInfo = NULL;
-			
-			cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &positionInfo);
-			
-			// Check it is a position.
-			TESTL(positionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-			}
-
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-
-
-// Send <-- ProcessLocationUpdate - return network calculated pos
-	TPositionInfo networkPosInfo = ArgUtils::MolrNetworkPositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-
-
-// Send <-- ProcessSessionComplete.
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-
-// Send <-- ProcessStatusUpdate. NOTE: this is missing from the sequence diagram.
-	serviceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &serviceMask);
-
-
-// Client recv - the gps position determined by the gps module.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	TESTL(iState == EGpsLocReceived);
-
-	// Wait for 10 seconds to ensure no additional responses turn up.
-	delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType mType = proxy->WaitForResponse(delta);
-	TESTL(mType == ENetMsgTimeoutExpired);
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-
-		
-	return TestStepResult();
-	}
-
-
-
-
-// MPosServerObserver
-void CT_LbsUEAssistedMOLRSelfGPSLate::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsUEAssistedMOLRSelfGPSLate::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	// Verify error.
-	TEST(aErr == KErrNone);
-
-	// Verify position.
-	TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		iState = ERefLocReceived;
-
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TESTL(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting network pos.
-	else if (iState == ERefLocReceived)
-		{
-		iState = EGpsLocReceived;
-
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/src/ctlbsuebasedmolrself.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,313 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes. 
-#include <lbs/lbsextendedsatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmolrself.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsUEBasedMOLRSelf* CT_LbsUEBasedMOLRSelf::New(CT_LbsHybridMOLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEBasedMOLRSelf* testStep = new CT_LbsUEBasedMOLRSelf(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEBasedMOLRSelf::CT_LbsUEBasedMOLRSelf(CT_LbsHybridMOLRServer& aParent) : CT_LbsHybridMOLRStep(aParent)
-	{
-	SetTestStepName(KLbsUEBasedMOLRSelf);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	}
-
-
-void CT_LbsUEBasedMOLRSelf::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMOLRStep::ConstructL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsUEBasedMOLRSelf::~CT_LbsUEBasedMOLRSelf()
-	{
-	}
-
-
-TVerdict CT_LbsUEBasedMOLRSelf::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsUEBasedMOLRSelf::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Create Network Protocol Proxy
-	CNetProtocolProxy* proxy = CNetProtocolProxy::NewL();
-	CleanupStack::PushL(proxy);
-
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Do the /actual/ test step!
-	RPositionServer server;
-	TESTL(KErrNone == server.Connect());
-	CleanupClosePushL(server);	
-
-	RPositioner pos;
-	TESTL(KErrNone == pos.Open(server));
-	CleanupClosePushL(pos);
-	
-	CPosServerWatcher *pWatch = CPosServerWatcher::NewLC(pos, *this);
-
-	// <<(App) NotifyPositionUpdate().
-	pWatch->IssueNotifyPositionUpdate();
-
-	// >> RequestSelfLocation()
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestSelfLocation);
-
-	// Process the response.
-	TLbsNetSessionId* 					sessionId = NULL;
-	TLbsNetPosRequestOptionsAssistance*	opts = NULL;
-	
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestSelfLocation, &sessionId, &opts);
-
-	TBool qualitycheck = 	ArgUtils::CompareQuality(	opts, 
-														ETrue, 
-														KMinHorizontalAcc, 
-														KMinVerticalAcc, 
-														KDefaultMaxFixTime,
-														0, 
-														EAssistanceDataReferenceTime, 
-														(TPositionModuleInfo::ETechnologyTerminal 
-														| TPositionModuleInfo::ETechnologyAssisted)
-													);
-		
-	TESTL(qualitycheck);
-	
-	iSessionId.SetSessionNum(sessionId->SessionNum());
-	iSessionId.SetSessionOwner(sessionId->SessionOwner());
-	
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	sessionId = NULL;
-	opts = NULL;	
-	
-	// << ProcessStatusUpdate(EServiceSelfLocation)
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask1 = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	proxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask1);
-
-	// << ProcessLocationUpdate(SessionId, RefPosition)
-	TPositionInfo refPosInfo = ArgUtils::MolrReferencePositionInfo();
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-	// TEST: Get NotifyPositionUpdate app side - get the ref pos.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	pWatch->IssueNotifyPositionUpdate();
-
-
-	// >> RequestAssistanceData - as a result of the second client request.
-	TLbsAsistanceDataGroup dataMask;	
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// << ProcessAssistanceData()
-	dataMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	proxy->CallL(ENetMsgProcessAssistanceData, &dataMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); // assistanceData
-
-	// << ProcessLocationRequest() - this will cancel the client req.
-	TBool emergency = EFalse;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	service = MLbsNetworkProtocolObserver::EServiceSelfLocation;
-	TLbsNetPosRequestQuality quality = ArgUtils::Quality();
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	proxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// >> RequestAssistanceData - as a result of the NRH request.
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataMask);
-	TESTL(dataMask == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// >> RespondLocationRequest()
-	TESTL(proxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest);
-	sessionId = NULL;
-	reason = KErrNone;
-	TPositionExtendedSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = proxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &getPositionInfo);
-	TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(reason == KErrNone);
-	/* Check whether ExtendedSatelliteInfo data received by protocol module is the same as data fed to the GPS module or not. 
-    Latitude(49.2),Longitude(3.5),Altitude(50),HorizontalAccuracy(2),VerticalAccuracy(3), speed(26.0),vertical speed(20.0),heading(25.0),course(30.0), 
-    SPEED_ACCURACY(2.0),VERTICAL_SPEED_ACCURACY(3.0),HEADING_ACCURACY(10.0),COURSE_ACCURACY(4.0),
-    SD_OF_LONG_ERROR(5.0),SD_OF_LAT_ERROR(6.0),SD_OF_ALT_ERROR(7.0),SD_OF_SEMI_MAJOR_AXIS_ERROR(8.0),
-    SD_OF_SEMI_MINOR_AXIS_ERROR(9.0),ORIEN_OF_SEMI_MAJOR_AXIS_ERROR(10.0),RMS_VAL_OF_SD_OF_RANGE(11.0),
-    GEOIDAL_SEPARATION(12.0),MAGNETIC_VARIATION(13.0),COURSE_OVER_GROUND_MAGNETIC(14.0)
-    GPS_TIMING_OF_CELL_MsPart(16383),GPS_TIMING_OF_CELL_LsPart(4294967295),REFERENCE_IDENTITY(511)
-    SFN(4095)*/  
-	    
-    TPosition gpsPos;
-    getPositionInfo->GetPosition(gpsPos);
-    TESTL(gpsPos.Latitude()==49.2 && gpsPos.Longitude()== 3.5 && gpsPos.Altitude()==50 
-          && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3);             
-    TCourse course;
-    getPositionInfo->GetCourse(course);
-         
-    TESTL(course.Speed()==26.0 && course.VerticalSpeed()==20.0 && course.Heading()==25.0 && course.Course()==30.0 && 
-          course.SpeedAccuracy()==2.0 && course.VerticalSpeedAccuracy()==3.0 && course.HeadingAccuracy()==10.0 &&
-          course.CourseAccuracy()==4.0);           
-    
-    TDetailedErrorReport detErrRep;
-    getPositionInfo->GetDetailedErrorReport(detErrRep);
-    TESTL(detErrRep.StanDeviOfLongitudeError()==5.0 && detErrRep.StanDeviOfLatiitudeError()==6.0 && 
-          detErrRep.StanDeviOfAltitudeError()==7.0 && detErrRep.StanDeviOfSemiMajorAxisError()==8.0 && 
-          detErrRep.StanDeviOfSemiMinorAxisError()==9.0 && detErrRep.OrientationOfSemiMajorAxisError()==10.0 && 
-          detErrRep.RmsValOfStanDeviOfRange()==11.0);  
-    
-    TGpsTimingMeasurementData gpsTimingData;
-    getPositionInfo->GetGpsTimingData(gpsTimingData);
-     
-    TESTL(gpsTimingData.DataType()== TGpsTimingMeasurementData::EGpsTimingDataTypeUtran && 
-          gpsTimingData.NetworkMode()== TGpsTimingMeasurementData::ENetworkModeFdd && 
-          gpsTimingData.GPSTimingOfCellMsPart()==16383 && gpsTimingData.GPSTimingOfCellLsPart()==4294967295UL && 
-          gpsTimingData.ReferenceIdentity()==511 && gpsTimingData.Sfn()==4095);  
-                   
-    
-    TESTL(getPositionInfo->GeoidalSeparation()==12.0 && getPositionInfo->MagneticVariation()==13.0 && 
-          getPositionInfo->CourseOverGroundMagnetic()==14.0);  
-	
-	
- 	// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-	proxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, getPositionInfo);
-
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	// Client recv - the gps position determined by the gps module.
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	TESTL(iState == EGpsLocReceived);
-
-	// << ProcessSessionComplete()
-	reason = KErrNone;
-	proxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	proxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// Wait for 10 seconds to ensure no additional responses turn up.
-	TInt delta = 10 * 1000 * 1000;
-	TNetProtocolResponseType mType = proxy->WaitForResponse(delta);
-	TESTL(mType == ENetMsgTimeoutExpired);
-
-
-// Done. Now cleanup...
-	CleanupStack::PopAndDestroy(pWatch);
-	CleanupStack::PopAndDestroy(); // pos
-	CleanupStack::PopAndDestroy(); // server	
-	CleanupStack::PopAndDestroy(proxy);
-		
-	return TestStepResult();
-	}
-
-// MPosServerObserver
-void CT_LbsUEBasedMOLRSelf::OnGetLastKnownPosition(TInt32 /*aErr*/, const TPositionInfoBase& /*aPosInfo*/)
-	{
-	TEST(EFalse); // Shouldn't see this...
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsUEBasedMOLRSelf::OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo)
-	{
-	// Verify error.
-	TEST(aErr == KErrNone);
-
-	// Verify position.
-
-	// Expecting ref pos.
-	if (iState == EInitializing)
-		{
-		iState = ERefLocReceived;
-		
-		TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-		TEST(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-
-		// check for refpos details
-		const TPositionInfo posInfo = static_cast<const TPositionInfo&>(aPosInfo);
-		TEST(ArgUtils::ComparePositionInfoToMolrRefPos(posInfo));
-		}
-		
-	// Expecting gps pos.
-	else if (iState == ERefLocReceived)
-		{
-		iState = EGpsLocReceived;
-
-		TEST(aPosInfo.PositionClassType() == EPositionInfoClass);
-		TEST(aPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted));
-		}
-	
-	// Not expecting anything else.
-	else
-		{
-		TEST(EFalse);
-		}
-
-	ReturnToTestStep();
-	}
-
Binary file lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_futile_sp_on_1028224B.cre has changed
Binary file lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_futile_sp_on_1028224B.txt has changed
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,835 +0,0 @@
-[LBS-MOLR]
-psy_uid=0x101fe98c
-
-[PrivHandler]
-privhandler_type=1
-
-[UEBasedMOLRSelf]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,49.2,3.5,50,2,3*
-
-
-[UEAssistedMOLRCancel]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-tc_id=9
-
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-
-[UEAssistedMOLRGpsOk]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,2,50.2454,0.1668,1.0,10,10*
-
-[INC103714]
-// to test that when the measurement array contains zero elements
-// the array gets passed all the way to the protocol module
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,0,49.2,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,NAN,NAN,NAN,NAN*
-$update,2,0,50.2454,0.1668,1.0,10,10*
-
-[LateGps]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,2,2,50.2454,0.1668,1.0,10,10*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 100 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[Stop_InsideMoLr]
-tc_id = 5
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-agps_module_req_ass_data_req_opt = off
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,1,2,50.2454,0.1668,1.0,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-[Stop_OutsideMoLr]
-tc_id = 6
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-agps_module_req_ass_data_req_opt = off
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,1,2,50.2454,0.1668,1.0,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[InaccurateGpsTimeout]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,4,2,50.2454,0.1668,1.0,2000,2000*
-
-
-[AutonomousFutile]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-expected_api_behaviour = 1
-
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-
-[HybridUEBasedFutile]
-tc_id = 1
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[UEAssistedFutile]
-tc_id = 2
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[AccurateReferencePosition]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-expected_api_behaviour = 1
-
-[UEAssistedFutileTimeout]
-tc_id = 3
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-expected_api_behaviour = 1
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,3,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[NonHybridUEBasedFutile]
-tc_id = 4
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[UEBasedMolrPartial]
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,2,1.0,nan,nan,nan,nan*
-$update,1,2,1.0,2.0,10,1000,1000*
-$update,1,2,1.1,2.0,10,1000,1000*
-// The module should be set to PTB then hybrid and not set again
-// PTB
-$modulemodes,1*
-// Hybrid (= PTB, Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[UEAssistedMolrPartial]
-// on S60 a complete but inaccurate position is returned with KErrNone (rather than 'partial' as on symbian)
-expected_ref_error=0
-// S60 doesn't support early complete:
-early_complete_supported=0
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module produces a partial update and then an inaccurate but complete one
-$update,1,2,1.0,nan,nan,nan,nan*
-$update,1,2,1.0,2.0,10,1000,1000*
-expected_api_behaviour = 1
-
-[UEBasedPartialAfterRef]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-expected_api_behaviour = 1
-
-$update,1,2,1.0,2.0,nan,nan,nan*
-
-
-[UEBasedPartialBeforeRef]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-expected_api_behaviour = 1
-
-$update,1,2,1.0,2.0,50,10,10*
-
-
-
-[ClientTimeout]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,10,2,50.2454,nan,nan,nan,nan*
-
-// client request = 50, 100 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-
-
-[UEBasedMOLRTimeOut_On_RefBest]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,nan,nan,nan,nan,nan*
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[UEBasedMOLRTimeOut_On_GpsBest]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,49.2,3.5,50,80,80*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 80 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[UEBasedMOLRTimeOut_Off_RefBest]
-tc_id = 3
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,49.2,3.5,50,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-
-
-[HybridUEAssistedMOLRTimeOut_On_RefBest]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,nan,nan,nan,nan,nan*
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[HybridUEAssistedMOLRTimeOut_On_GpsBest]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,49.2,NAN,50,80,80*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 80 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[HybridUEAssistedMOLRTimeOut_Off_RefBest]
-tc_id = 3
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,49.2,NAN,50,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-[HybridUEAssistedMOLRNoGpsUpdate]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-agps_module_assistance_data_opt = on
-agps_module_update_timeout = 6000000
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-
-
-[Comment]
-//////////////////////////// TAP TESTS //////////////////////////////
-// Key:
-// 
-// NetworkMethod: 
-// 	1 = TB
-// 	2 = TB+TA
-// 	3 = TA
-//	4 = TA+TB
-//	5 = Unspecified
-//
-// PositionOriginator:
-// 	1 = module
-// 	2 = network
-//
-// Module Modes:
-//	1 entry of this format for eachg time the module mode is reconfigured during test:
-// 	$modulemodes,mode,[pos or meas],[pos or meas]*
-// 
-// 	where mode is one of:
-// 	1 = PTB
-// 	2 = ATB (not supported)
-// 	3 = Autonomous
-// 	4 = PTA
-// 	5 = ATA
-//
-// 	[] = optional
-// 	1 = pos
-// 	2 = meas
-//
-// 	For example, here we expect The module to be set to PTB and then to hybrid:
-// 	$modulemodes,1*
-// 	$modulemodes,1,1,2*
-//
-// Updates:
-//	1 entry of this format for each update to be sent by the module:
-//	$update,number of updates of this type, ?,lat, long, alt, hor acc, vert acc*
-//	
-//	For example, here we expect 3 updates where the first 2 are inaccurate (all NANs) and the third is a proper update:
-//	$update,2,4,NAN,NAN,NAN,NAN,NAN*
-//	$update,1,0,49.2,3.5,50,20,20*
-//
-//	Note: the module makes the meas data details up itself, don't need them in config
-//	Note: the agps hybrid test module always sends a NAN pos/meas soon after the request has been sent, 
-//	      independent of above which are sent at max fix time for each request.
-//	
-//	Note: the TAP test framework will make 2 requests from the NW where measurements are expected (TAP / Hybrid)
-//	      and a single request from the network when a position is expected	(PTB / Hybrid)
-//
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-//------------------------------------------------------------------
-//-------------------------- Admin = PTB ---------------------------
-//------------------------------------------------------------------
-
-
-//----------------------------- TB CAP -----------------------------
-
-[MOLR-TBADMIN-TBCAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBCAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA				
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-// Hybrid test module doesn't support this (dropping into autonomous when no assistance data arrives)
-[MOLR-TBADMIN-TBCAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBCAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//----------------------------- TA CAP -----------------------------
-
-[MOLR-TBADMIN-TACAP]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the module will return the position (not used, but we need to set something)
-PositionOriginator = 1
-// in variant2 modes are validated in the psy and will not be sent out if they conflict with modcaps
-$modulemodes*
-expected_api_behaviour = 1
-
-
-
-//----------------------------- TB||TA CAP -----------------------------
-
-[MOLR-TBADMIN-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-
-[MOLR-TBADMIN-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-
-[MOLR-TBADMIN-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTB and then in PTA and not set again
-// PTB
-$modulemodes,1*
-// PTA
-$modulemodes,4*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//----------------------------- TB&&TA CAP -----------------------------
-
-[MOLR-TBADMIN-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET]
-$update,1,0,49.2,3.5,50,20,20*
-// The network will not specify the gpsmode
-NetworkMethod = 5
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//------------------------------------------------------------------
-//-------------------------- Admin = ATA ---------------------------
-//------------------------------------------------------------------
-
-//----------------------------- TB CAP -----------------------------
-
-[MOLR-ATAADMIN-TBCAP]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the module will return the position (not used, but we need to set something)
-PositionOriginator = 1
-// in variant2 modes are validated in the psy and will not be sent out if they conflict with modcaps
-$modulemodes*
-expected_api_behaviour = 1
-
-
-//----------------------------- TA CAP -----------------------------
-
-[MOLR-ATAADMIN-TACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TB (not supported, request rejected)
-NetworkMethod = 1
-// It is expected that the network will return the position (not used but need to set something)
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TATB 
-NetworkMethod = 4
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-//--------------------------- TB||TA CAP ---------------------------
-
-[MOLR-ATAADMIN-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// hybrid test module will return one complete position
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB 
-NetworkMethod = 1
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then to PTB
-// ATA
-$modulemodes,5*
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TATB
-NetworkMethod = 4
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-//--------------------------- TB&&TA CAP ---------------------------
-
-[MOLR-ATAADMIN-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// hybrid test module will return one complete position
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB 
-NetworkMethod = 1
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then to PTB
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then hybrid
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TATB 
-NetworkMethod = 4
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then hybrid
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-//------------------------------------------------------------------
-
-
-
-[MOLR-RESET-TB-AFTAST]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
-
-[MOLR-RESET-TB-BEFSES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,1,0,49.2,3.5,50,20,20*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset before session is started
-StepForReset = 1
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
-
-
-[MOLR-RESET-TA-AFTMES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr.ini
-$update,3,3,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// Reset after measurements have been received
-StepForReset = 4
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr_tracking.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,322 +0,0 @@
-[LBS-MOLR-Tracking]
-psy_uid=0x101fe98c
-
-[MOLR-ATA-TRACKING-2CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 15, interval = 5s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,15,5000000,3000000,0,false*
-// second client: session ID delay = 1, session step delay = 3, NPUDs = 9, interval = 10s, time out = 5s, max age = 0s, accept partial = false
-$clientdetails,1,3,9,10000000,5000000,0,false*
-
-[MOLR-ATA-TRACKING-2CLIENTS-2]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 8, interval = 10s, time out = 5s, max age = 0s, accept partial = false
-$clientdetails,0,0,8,10000000,5000000,0,false*
-// second client: session ID delay = 1, session step delay = 6, NPUDs = 12, interval = 7s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,6,12,7000000,3000000,0,false*
-
-[MOLR-ATA-TRACKING-3CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,50,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, interval = 5s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,20,5000000,3000000,0,false*
-// second client: session ID delay = 1, session step delay = 3, NPUDs = 10, interval = 9s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,3,10,9000000,3000000,0,false*
-// third client: session ID delay = 1, session step delay = 6, NPUDs = 15, interval = 7s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,6,15,7000000,3000000,0,false*
-
-
-[MOLR-HYBRID-TRACKING-2CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 15, interval = 5s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,15,5000000,3000000,0,false*
-// second client: session ID delay = 1, session step delay = 3, NPUDs = 9, interval = 10s, time out = 5s, max age = 0s, accept partial = false
-$clientdetails,1,3,9,10000000,5000000,0,false*
-
-[MOLR-HYBRID-TRACKING-2CLIENTS-2]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 8, interval = 10s, time out = 5s, max age = 0s, accept partial = false
-$clientdetails,0,0,8,10000000,5000000,0,false*
-// second client: session ID delay = 1, session step delay = 6, NPUDs = 12, interval = 7s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,6,12,7000000,3000000,0,false*
-
-[MOLR-HYBRID-TRACKING-3CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,50,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, interval = 5s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,20,5000000,3000000,0,false*
-// second client: session ID delay = 1, session step delay = 3, NPUDs = 10, interval = 9s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,3,10,9000000,3000000,0,false*
-// third client: session ID delay = 1, session step delay = 6, NPUDs = 15, interval = 7s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,1,6,15,7000000,3000000,0,false*
-
-[MOLR-ATA-WARMDOWNTIMER-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 5s, max age = 0s, accept partial = true
-$clientdetails,0,0,2,5000000,5000000,0,true*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 3, interval = 8s, time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,3,8000000,3000000,0,false*
-
-[MOLR-ATA-EARLYCOMPLETE]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-SpecialTestMode = 3
-expected_api_behaviour = 1
-
-// The client information
-// first client: delay start until session 1:step 3 ,NPUDs = 2, interval = 0s (not tracking), time out = 5s, max age = 0s, accept partial = false
-$clientdetails,1,3,2,0,5000000,0,false*
-// second client: no delay (session 0:step0), NPUDs = 2, interval = 0s (not tracking), time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,2,0,3000000,0,false*
-
-[MOLR-ATA-LASTKNOWNPOSITION]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-SpecialTestMode = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: delay start until session 1:step 3 ,NPUDs = 3, interval = 0s (not tracking), time out = 5s, max age = 0s, accept partial = false
-$clientdetails,1,3,3,0,5000000,0,false*
-// second client: no delay (session 0:step0), NPUDs = 3, interval = 0s (not tracking), time out = 3s, max age = 0s, accept partial = false
-$clientdetails,0,0,3,0,3000000,0,false*
-
-[MOLR-ATA-MAXAGE]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-SpecialTestMode = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: delay start until session 1:step 3 ,NPUDs = 3, interval = 0s (not tracking), time out = 5s, max age = 100s, accept partial = false
-$clientdetails,1,3,3,0,5000000,100000000,false*
-// second client: no delay (session 0:step0), NPUDs = 3, interval = 0s (not tracking), time out = 3s, max age = 100s, accept partial = false
-$clientdetails,0,0,3,0,3000000,100000000,false*
-
-[MOLR-ATA-CANCEL-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 10s, time out = 5s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,10000000,5000000,0,false,cancel,2,1*
-
-
-[MOLR-ATA-CANCEL-2]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 3, interval = 5s, time out = 5s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 3, cancel session step = 1
-$clientdetails,0,0,3,5000000,5000000,0,false,cancel,3,1*
-
-[MOLR-ATA-CANCEL-3]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 3, interval = 30s, time out = 5s, max age = 0s, accept partial = false, cancel = false
-$clientdetails,0,0,3,5000000,5000000,0,false*
-
-[MOLR-HYBRID-CANCEL-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 30s, time out = 5s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,10000000,5000000,0,false,cancel,2,1*
-
-
-[MOLR-HYBRID-CANCEL-2]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 30s, time out = 5s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,10000000,5000000,0,false,cancel,2,2*
-
-
-[MOLR-HYBRID-CANCEL-3]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-expected_api_behaviour = 1
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = true, cancel session ID = 2, cancel session step = 1
-$clientdetails,0,0,2,5000000,3000000,0,false,cancel,2,1*
-// second client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 30s, time out = 5s, max age = 0s, accept partial = false
-$clientdetails,0,0,2,10000000,5000000,0,false*
-
-
-[MOLR-Auto-TB-TRACKING-2CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-expected_api_behaviour = 1
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB (for the non-autonomous session)
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to Autonomous then PTB and then not set again
-// Auto
-$modulemodes,3*
-// PTB
-$modulemodes,1*
-
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 2, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = gps module
-$clientdetails,0,0,2,5000000,3000000,0,false,false,0,0,270526858*
-// second client: session ID delay = 1, session step delay = 0, NPUDs = 4, interval = 9s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = agps module
-$clientdetails,1,0,4,9000000,3000000,0,false,false,0,0,270526860*
-
-
-
-
-[MOLR-TB-Auto-TRACKING-2CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-expected_api_behaviour = 1
-$update,30,4,3.5,2.8,500,10,10*
-// The network will request TB (for the non-autonomous session)
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then Autonomous then not set again
-// PTB
-$modulemodes,1*
-// Auto
-$modulemodes,3*
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 5, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = agps module
-$clientdetails,0,0,2,5000000,3000000,0,false,false,0,0,270526860*
-// second client: session ID delay = 1, session step delay = 0, NPUDs = 6, interval = 10s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = gps module
-$clientdetails,1,0,2,10000000,3000000,0,false,false,0,0,270526858*
-
-
-[MOLR-TA-Auto-TRACKING-2CLIENTS-1]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_tracking.ini
-expected_api_behaviour = 1
-// module will return 3 sets of measurements
-$update,3,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-
-
-// The client information
-// first client: session ID delay = 0, session step delay = 0, NPUDs = 3, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = agps module
-$clientdetails,0,0,3,5000000,3000000,0,false,false,0,0,270526860*
-// second client: session ID delay = 1, session step delay = 0, NPUDs = 1, interval = 5s, time out = 3s, max age = 0s, accept partial = false, cancel = false(, cancel session id = 0, cancel step id = 0), psy uid = gps module, expected error = KErrInUse
-$clientdetails,1,0,1,5000000,3000000,0,false,false,0,0,270526858,-14*
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbs_molr_variant2.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,841 +0,0 @@
-[LBS-MOLR]
-psy_uid=0x101fe98c
-
-[PrivHandler]
-privhandler_type=1
-
-[UEBasedMOLRSelf]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,49.2,3.5,50,2,3*
-
-
-[UEAssistedMOLRCancel]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-tc_id=9
-
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-
-[UEAssistedMOLRGpsOk]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-$update,1,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,2,50.2454,0.1668,1.0,10,10*
-
-[MOLRErrorAssistance]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-
-$update,1,2,49.2,0.3,1.0,10,10*
-
-[INC103714]
-// to test that when the measurement array contains zero elements
-// the array gets passed all the way to the protocol module
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,0,49.2,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,NAN,NAN,NAN,NAN*
-$update,2,0,50.2454,0.1668,1.0,10,10*
-
-[LateGps]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,2,2,50.2454,0.1668,1.0,10,10*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 100 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[Stop_InsideMoLr]
-tc_id = 5
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-agps_module_req_ass_data_req_opt = off
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,1,2,50.2454,0.1668,1.0,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-[Stop_OutsideMoLr]
-tc_id = 6
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-agps_module_req_ass_data_req_opt = off
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,1,2,50.2454,0.1668,1.0,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[InaccurateGpsTimeout]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,4,2,50.2454,0.1668,1.0,2000,2000*
-
-
-[AutonomousFutile]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-expected_api_behaviour = 1
-
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-
-[HybridUEBasedFutile]
-tc_id = 1
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[UEAssistedFutile]
-tc_id = 2
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[AccurateReferencePosition]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-expected_api_behaviour = 1
-
-[UEAssistedFutileTimeout]
-tc_id = 3
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-expected_api_behaviour = 1
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,3,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[NonHybridUEBasedFutile]
-tc_id = 4
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[UEBasedMolrPartial]
-expected_api_behaviour = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,2,1.0,nan,nan,nan,nan*
-$update,1,2,1.0,2.0,10,1000,1000*
-$update,1,2,1.1,2.0,10,1000,1000*
-// The module should be set to PTB then hybrid and not set again
-// PTB
-$modulemodes,1*
-// Hybrid (= PTB, Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[UEAssistedMolrPartial]
-// on S60 a complete but inaccurate position is returned with KErrNone (rather than 'partial' as on symbian)
-expected_ref_error=0
-// S60 doesn't support early complete:
-early_complete_supported=0
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module produces a partial update and then an inaccurate but complete one
-$update,1,2,1.0,nan,nan,nan,nan*
-$update,1,2,1.0,2.0,10,1000,1000*
-expected_api_behaviour = 1
-
-[UEBasedPartialAfterRef]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-expected_api_behaviour = 1
-
-$update,1,2,1.0,2.0,nan,nan,nan*
-
-
-[UEBasedPartialBeforeRef]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-expected_api_behaviour = 1
-
-$update,1,2,1.0,2.0,50,10,10*
-
-
-
-[ClientTimeout]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-$update,1,2,nan,nan,nan,nan,nan*
-$update,1,3,nan,nan,nan,nan,nan*
-$update,10,2,50.2454,nan,nan,nan,nan*
-
-// client request = 50, 100 metres as per profile
-// network request = 100 metres
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-
-
-[UEBasedMOLRTimeOut_On_RefBest]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,nan,nan,nan,nan,nan*
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[UEBasedMOLRTimeOut_On_GpsBest]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,49.2,3.5,50,80,80*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 80 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[UEBasedMOLRTimeOut_Off_RefBest]
-tc_id = 3
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,0,49.2,3.5,50,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-
-
-[HybridUEAssistedMOLRTimeOut_On_RefBest]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,nan,nan,nan,nan,nan*
-$update,1,0,nan,nan,nan,nan,nan,4*	// 4 = KPositionCalculationFutile
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[HybridUEAssistedMOLRTimeOut_On_GpsBest]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,49.2,NAN,50,80,80*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 80 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-
-[HybridUEAssistedMOLRTimeOut_Off_RefBest]
-tc_id = 3
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-$update,2,1,49.2,NAN,50,2000,2000*
-
-// client request = 50, 1000 metres as per profile
-// network request = 50, 1000 metres as per profile
-
-// gps pos = 2000 metres
-// network ref pos = 1000 metres
-// network final pos = 100 metres
-
-[HybridUEAssistedMOLRNoGpsUpdate]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-agps_module_assistance_data_opt = on
-agps_module_update_timeout = 6000000
-expected_api_behaviour = 1
-
-$update,2,2,49.2,NAN,NAN,NAN,NAN*
-
-
-[Comment]
-//////////////////////////// TAP TESTS //////////////////////////////
-// Key:
-// 
-// NetworkMethod: 
-// 	1 = TB
-// 	2 = TB+TA
-// 	3 = TA
-//	4 = TA+TB
-//	5 = Unspecified
-//
-// PositionOriginator:
-// 	1 = module
-// 	2 = network
-//
-// Module Modes:
-//	1 entry of this format for eachg time the module mode is reconfigured during test:
-// 	$modulemodes,mode,[pos or meas],[pos or meas]*
-// 
-// 	where mode is one of:
-// 	1 = PTB
-// 	2 = ATB (not supported)
-// 	3 = Autonomous
-// 	4 = PTA
-// 	5 = ATA
-//
-// 	[] = optional
-// 	1 = pos
-// 	2 = meas
-//
-// 	For example, here we expect The module to be set to PTB and then to hybrid:
-// 	$modulemodes,1*
-// 	$modulemodes,1,1,2*
-//
-// Updates:
-//	1 entry of this format for each update to be sent by the module:
-//	$update,number of updates of this type, ?,lat, long, alt, hor acc, vert acc*
-//	
-//	For example, here we expect 3 updates where the first 2 are inaccurate (all NANs) and the third is a proper update:
-//	$update,2,4,NAN,NAN,NAN,NAN,NAN*
-//	$update,1,0,49.2,3.5,50,20,20*
-//
-//	Note: the module makes the meas data details up itself, don't need them in config
-//	Note: the agps hybrid test module always sends a NAN pos/meas soon after the request has been sent, 
-//	      independent of above which are sent at max fix time for each request.
-//	
-//	Note: the TAP test framework will make 2 requests from the NW where measurements are expected (TAP / Hybrid)
-//	      and a single request from the network when a position is expected	(PTB / Hybrid)
-//
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-//------------------------------------------------------------------
-//-------------------------- Admin = PTB ---------------------------
-//------------------------------------------------------------------
-
-
-//----------------------------- TB CAP -----------------------------
-
-[MOLR-TBADMIN-TBCAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBCAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA				
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-// Hybrid test module doesn't support this (dropping into autonomous when no assistance data arrives)
-[MOLR-TBADMIN-TBCAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBCAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//----------------------------- TA CAP -----------------------------
-
-[MOLR-TBADMIN-TACAP]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the module will return the position (not used, but we need to set something)
-PositionOriginator = 1
-// in variant2 modes are validated in the psy and will not be sent out if they conflict with modcaps
-$modulemodes*
-expected_api_behaviour = 1
-
-
-
-//----------------------------- TB||TA CAP -----------------------------
-
-[MOLR-TBADMIN-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-
-[MOLR-TBADMIN-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-
-[MOLR-TBADMIN-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTB and then in PTA and not set again
-// PTB
-$modulemodes,1*
-// PTA
-$modulemodes,4*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//----------------------------- TB&&TA CAP -----------------------------
-
-[MOLR-TBADMIN-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then in hybrid and not set again
-// PTB
-$modulemodes,1*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-TBADMIN-TBANDTACAP-UNSPECIFIEDNET]
-$update,1,0,49.2,3.5,50,20,20*
-// The network will not specify the gpsmode
-NetworkMethod = 5
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-//------------------------------------------------------------------
-//-------------------------- Admin = ATA ---------------------------
-//------------------------------------------------------------------
-
-//----------------------------- TB CAP -----------------------------
-
-[MOLR-ATAADMIN-TBCAP]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the module will return the position (not used, but we need to set something)
-PositionOriginator = 1
-// in variant2 modes are validated in the psy and will not be sent out if they conflict with modcaps
-$modulemodes*
-expected_api_behaviour = 1
-
-
-//----------------------------- TA CAP -----------------------------
-
-[MOLR-ATAADMIN-TACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TB (not supported, request rejected)
-NetworkMethod = 1
-// It is expected that the network will return the position (not used but need to set something)
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*	
-// The network will request TATB 
-NetworkMethod = 4
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not set again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-//--------------------------- TB||TA CAP ---------------------------
-
-[MOLR-ATAADMIN-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// hybrid test module will return one complete position
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB 
-NetworkMethod = 1
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then to PTB
-// ATA
-$modulemodes,5*
-// PTB
-$modulemodes,1*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TATB
-NetworkMethod = 4
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-//--------------------------- TB&&TA CAP ---------------------------
-
-[MOLR-ATAADMIN-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// hybrid test module will return one complete position
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB 
-NetworkMethod = 1
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then to PTB
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then hybrid
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA 
-NetworkMethod = 3
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to ATA and then not again
-// ATA
-$modulemodes,5*
-expected_api_behaviour = 1
-
-
-[MOLR-ATAADMIN-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TATB 
-NetworkMethod = 4
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should be set to ATA and then hybrid
-// ATA
-$modulemodes,5*
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-expected_api_behaviour = 1
-
-//------------------------------------------------------------------
-
-
-
-[MOLR-RESET-TB-AFTAST]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
-
-[MOLR-RESET-TB-BEFSES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,1,0,49.2,3.5,50,20,20*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset before session is started
-StepForReset = 1
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
-
-
-[MOLR-RESET-TA-AFTMES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_molr_variant2.ini
-$update,3,3,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// Reset after measurements have been received
-StepForReset = 4
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-expected_api_behaviour = 1
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_timeout_off.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Quality Profiles for LBS services
-#
-
-[1]
-ProfileID= 0
-MaxTime= 130
-HorizontalAccuracy= 50
-VerticalAccuracy= 1000
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
-FinalNetPositionLag= 0
-
-[2]
-ProfileID= 1
-MaxTime= 120
-HorizontalAccuracy= 20
-VerticalAccuracy= 1000
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_timeout_on.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Quality Profiles for LBS services
-#
-
-[1]
-ProfileID= 0
-MaxTime= 130
-HorizontalAccuracy= 50
-VerticalAccuracy= 1000
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
-FinalNetPositionLag= 10
-
-[2]
-ProfileID= 1
-MaxTime= 120
-HorizontalAccuracy= 20
-VerticalAccuracy= 1000
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmolr/testdata/sf_lbsprofile_values.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Quality Profiles for LBS services
-#
-
-[1]
-ProfileID= 0
-MaxTime= 130
-HorizontalAccuracy= 40
-VerticalAccuracy= 900
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
-FinalNetPositionLag= 0
-	
-[2]
-ProfileID= 1
-MaxTime= 120
-HorizontalAccuracy= 20
-VerticalAccuracy= 1000
-MeasurementInitialTime= 15
-MeasurementIntermediateTime= 5
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sf_lbs_mtlr.ini	c:/testdata/configs/sf_lbs_mtlr.ini
-../scripts/sf_hybrid_mtlr_futile.script	c:/testdata/scripts/sf_hybrid_mtlr_futile.script
-../scripts/sf_hybrid_ueassisted_mtlr_gps_ok.script	c:/testdata/scripts/sf_hybrid_ueassisted_mtlr_gps_ok.script
-../scripts/sf_hybrid_ueassisted_mtlr_no_gps.script	c:/testdata/scripts/sf_hybrid_ueassisted_mtlr_no_gps.script
-../scripts/sf_hybrid_ueassisted_mtlr_nw.script	c:/testdata/scripts/sf_hybrid_ueassisted_mtlr_nw.script
-../scripts/sf_hybrid_ueassisted_mtlr_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_mtlr_timeout.script
-../scripts/sf_lbs_gpsok.script	c:/testdata/scripts/sf_lbs_gpsok.script
-../scripts/sf_lbs_oom.script	c:/testdata/scripts/sf_lbs_oom.script
-../scripts/sf_mtlr_acc_ref_pos.script	c:/testdata/scripts/sf_mtlr_acc_ref_pos.script
-../scripts/sf_mtlr_gpsmodeoptions.script	c:/testdata/scripts/sf_mtlr_gpsmodeoptions.script
-../scripts/sf_mtlr_network_induced.script	c:/testdata/scripts/sf_mtlr_network_induced.script
-../scripts/sf_uebased_mtlr.script	c:/testdata/scripts/sf_uebased_mtlr.script
-sflbshybridmtlr.iby	/epoc32/rom/include/sflbshybridmtlr.iby
-
-PRJ_TESTMMPFILES
-
-ctsflbshybridmtlrserver.mmp
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/ctsflbshybridmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctsflbsHybridmtlrserver.mmp
-// 
-//
-
-TARGET		sflbshybridmtlrtestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x10287208
-VENDORID 	0x70000001
-CAPABILITY	ProtServ LocalServices WriteDeviceData ReadDeviceData Location
-//CAPABILITY ALL -TCB
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-USERINCLUDE		../inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsNetInternalApi/inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsInternalApi/inc
-USERINCLUDE	    ../../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE	    ../../../../../../locationmgmt/locationcore/LbsDebug/inc
-USERINCLUDE		../../../../../../locationmgmt/locationcore/LbsCommonInternalDataTypes/inc
-
-// Lbs Data Source framework code.
-SOURCEPATH	../src
-SOURCE	ctlbshybridmtlrfutile.cpp
-SOURCE	ctlbshybridmtlrserver.cpp
-SOURCE	ctlbshybridmtlrshareddata.cpp
-SOURCE	ctlbshybridmtlrstep.cpp
-SOURCE	ctlbshybridueassistedmtlrgpsok.cpp
-SOURCE	ctlbshybridueassistedmtlrnogps.cpp
-SOURCE	ctlbshybridueassistedmtlrnw.cpp
-SOURCE	ctlbshybridueassistedmtlrtimeout.cpp
-SOURCE	ctlbsmtlrAccRefPos.cpp
-SOURCE	ctlbsmtlrgpsoptions.cpp
-SOURCE	ctlbsnetworkinducedmtlr.cpp
-SOURCE	ctlbsoom.cpp
-SOURCE	ctlbsuebasedmtlr.cpp
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsassistancedata.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsprivacycontroller.lib
-LIBRARY lbsnetsim.lib
-LIBRARY	lbslocdatasource.lib
-LIBRARY lbsinternalapi.lib
-LIBRARY	lbspartnercommon.lib
-LIBRARY	lbsdebug.lib
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY lbstestclient.lib
-LIBRARY lbsnetprotocolproxy.lib
-
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/group/sflbshybridmtlr.iby	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-#ifndef __LBS_HYBRID_MTLR__
-#define __LBS_HYBRID_MTLR__
-
-#include <testexecute.iby>
-#include <lbs.iby>
-#include <lbsnetworklocationmanager.iby>
-#include <lbstestserver.iby>
-#include <lbstestutils.iby>
-#include <lbstestchannel.iby>
-#include <agpsnpetestintegmodule.iby>
-#include <ctlbsclockplugin.iby>
-#include <hybridprotocolmodule.iby>
-//#include <simtsy.iby>
-
-file=ABI_DIR\DEBUG_DIR\LbsDebug.dll System\libs\LbsDebug.dll
-
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbstestconfig.txt	  testdata\configs\lbstestconfig.txt
-data=EPOCROOT##epoc32\data\C\testdata\configs\ctagpsnpetestmoduledatasource.ini	  testdata\configs\ctagpsnpetestmoduledatasource.ini
-
-file=ABI_DIR\DEBUG_DIR\LbsHybridMTLRTestServer.exe sys\bin\LbsHybridMTLRTestServer.exe
-data=EPOCROOT##epoc32\data\C\testdata\configs\lbs_mtlr.ini	  testdata\configs\lbs_mtlr.ini
-data=EPOCROOT##epoc32\data\C\testdata\scripts\uebased_mtlr.script	  testdata\scripts\uebased_mtlr.script
-data=EPOCROOT##epoc32\data\C\testdata\scripts\run_hw_mtlr.bat	  testdata\scripts\run_hw_mtlr.bat
-
-#endif
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrfutile.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef CTLBSHYBRIDMTLRFUTILE_H
-#define CTLBSHYBRIDMTLRFUTILE_H
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/test/ctlbsagpshandler.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridMTLRFutile, "LbsHybridMtlrFutile");
-
-class CT_LbsHybridMTLRFutile :	public CT_LbsHybridMTLRStep, 
-								public MLbsPrivacyObserver,
-								public MT_ResponseObserver
-	{
-public:
-	~CT_LbsHybridMTLRFutile();
-
-	static CT_LbsHybridMTLRFutile* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-	
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-
-	void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
-	
-protected:
-	CT_LbsHybridMTLRFutile(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;	
-	TInt iTestCaseId;	
-	TBool iPositionUpdateRef;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;
-    CNetProtocolProxy* iProxy;
-
-	// Communication channel between A-Gps module and Test Harness
-	CT_LbsAGpsHandler* iAGpsHandler;
-	};
-
-#endif //	CTLBSHYBRIDMTLRFUTILE_H
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrserver.h
-// This contains the header file for Hybrid LBS MTLR Test server
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_MTLR_SERVER_H__
-#define __CT_LBS_HYBRID_MTLR_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-#include "ctlbshybridmtlrshareddata.h"
-
-//Literals Used
-_LIT(KSfLbsHybridMTLRTestServer,"SfLbsHybridMTLRTestServer");
-
-
-// Implements the LBS Client Test server
-class CT_LbsHybridMTLRServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsHybridMTLRServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsHybridMTLRServer();
-	
-protected:
-	CT_LbsHybridMTLRServer();
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_HYBRID_MTLR_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrshareddata.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrshareddata.h
-// 
-//
-
-
-#ifndef __T_LBS_HYBRID_MTLR_SHARED_DATA_H__
-#define __T_LBS_HYBRID_MTLR_SHARED_DATA_H__
-
-// system includes
-
-// Lbs includes
-#include "ctlbsshareddata.h"
-#include "tlbsutils.h"
-
-class CT_LbsHybridMTLRSharedData : public CT_LbsSharedData
-{
-public:
-	static CT_LbsHybridMTLRSharedData* NewL();
-	~CT_LbsHybridMTLRSharedData();
-
-protected:
-	CT_LbsHybridMTLRSharedData();
-	void ConstructL();
-
-private:
-//	RPointerArray<TLbsModuleUpdateItem>& iUpdateArr;
-};
-
-#endif // __T_LBS_HYBRID_MTLR_SHARED_DATA_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridmtlrstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrserver.h
-// This contains the header file for LBS HYBRID MTLR Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_MTLR_STEP_H__
-#define __CT_LBS_HYBRID_MTLR_STEP_H__
-#include <test/testexecutestepbase.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/test/ctlbsagpsmoduleeventlistener.h>
-
-#include "ctlbshybridmtlrserver.h"
-
-/** Must be the Id of the protool module used for the test */
-const TUid KRequestUid = {0x10282293};
-/** Delta timout value used in all tests */
-const TInt KDelta = 2.0 * 1000 * 1000;	//2 seconds
-
-class CT_LbsHybridMTLRStep : public CTestStep, MT_AgpsModuleEventHandler
-{
-
-public:
-	virtual ~CT_LbsHybridMTLRStep();
-	
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	CT_LbsHybridMTLRStep(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();
-	
-private: // from MT_AgpsModuleEventHandler
-	void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions);
-
-	
-private:
-	RPointerArray<TLbsGpsOptions> iExpectedModuleGpsOptions;
-	TInt iExpectedModuleGpsOptionsIndex;
-	CT_AgpsModuleEventListener* iAgpsModuleEventListener;
-	
-protected:
-	CT_LbsHybridMTLRServer& iParent;
-};
-
-struct SData			
-	{
-	TLbsNetSessionId sessionId;
-	TVerdict response;
-	};
-
-
-#endif // __CT_LBS_HYBRID_MTLR_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrgpsok.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for MTLR UE Assisted GPS ok
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UEASSISTED_GPS_OK_H__
-#define __CT_LBS_HYBRID_UEASSISTED_GPS_OK_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-
-
-// Literals used
-_LIT(KLbsHybridUEAssistedMTLRGPSOK,"LbsHybridUEAssistedMTLRGPSOK");
-
-class CT_LbsHybridUEAssistedMTLRGPSOK: public CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-{
-public:
-    static CT_LbsHybridUEAssistedMTLRGPSOK* New(CT_LbsHybridMTLRServer& aParent);
-    enum TVerdict doTestStepL();
-    ~CT_LbsHybridUEAssistedMTLRGPSOK();
-
-protected:
-	// from MLbsPrivacyObserver
-	void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-	void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-	void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-	
-protected:
-    CT_LbsHybridUEAssistedMTLRGPSOK(CT_LbsHybridMTLRServer& aParent);
-    void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-	CLbsPrivacyController* iController;
-	CNetProtocolProxy* iProxy;
-};
-
-#endif //__CT_LBS_HYBRID_UEASSISTED_GPS_OK_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrnogps.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_MTLR_N0_GPS_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_MTLR_N0_GPS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-/*
-The ini file for NW or GPS ok should differ - We should probably hav a key word in the ini file to say 
-that the GPS has found the result and it sends a cancel request to the network.
-*/
-
-// Literals used
-_LIT(KLbsHybridUEAssitedMTLRNoGPS, "LbsHybridUEAssistedMTLRNoGPS");
-
-class CT_LbsHybridUEAssistedMTLRNoGPS :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-	{
-public:
-	~CT_LbsHybridUEAssistedMTLRNoGPS();
-
-	static CT_LbsHybridUEAssistedMTLRNoGPS* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-
-protected:
-	CT_LbsHybridUEAssistedMTLRNoGPS(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();		
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;	
-    CNetProtocolProxy* iProxy;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_MTLR_N0_GPS_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrnw.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_MTLR_NW_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_MTLR_NW_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-/*
-The ini file for NW or GPS ok should differ - We should probably hav a key word in the ini file to say 
-that the GPS has found the result and it sends a cancel request to the network.
-*/
-
-// Literals used
-_LIT(KLbsHybridUEAssitedMTLRNW, "LbsHybridUEAssistedMTLRNW");
-
-class CT_LbsHybridUEAssistedMTLRNW :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-	{
-public:
-	~CT_LbsHybridUEAssistedMTLRNW();
-
-	static CT_LbsHybridUEAssistedMTLRNW* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-
-protected:
-	CT_LbsHybridUEAssistedMTLRNW(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();		
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;	
-    CNetProtocolProxy* iProxy;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_MTLR_NW_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbshybridueassistedmtlrtimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_MTLR_TIMEOUT_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_MTLR_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsnetprotocolbase.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssitedMTLRTimeout, "LbsHybridUEAssistedMTLRTimeout");
-
-class CT_LbsHybridUEAssistedMTLRTimeout :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-	{
-public:
-	~CT_LbsHybridUEAssistedMTLRTimeout();
-
-	static CT_LbsHybridUEAssistedMTLRTimeout* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-
-protected:
-	CT_LbsHybridUEAssistedMTLRTimeout(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();		
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;	
-    CNetProtocolProxy* iProxy;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_MTLR_TIMEOUT_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsmtlrAccRefPos.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef CTLBSMTLRACCREFPOS_H
-#define CTLBSMTLRACCREFPOS_H
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsMTLRAccurateReferencePosition, "LbsMTLRAccurateReferencePosition");
-
-class CT_LbsMtlrAccRefPos :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver 
-	{
-public:
-	~CT_LbsMtlrAccRefPos();
-
-	static CT_LbsMtlrAccRefPos* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-	
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-	
-protected:
-	CT_LbsMtlrAccRefPos(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;	
-	TBool iPositionUpdateRef;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;
-    CNetProtocolProxy* iProxy;
-	};
-
-#endif //	CTLBSMTLRACCREFPOS_H
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsmtlrgpsoptions.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for MT-LR GPS mode options Tests
-// 
-//
-
-#ifndef __CT_LBS_MTLR_GPS_OPTIONS_H__
-#define __CT_LBS_MTLR_GPS_OPTIONS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "lbs/test/transmitserverwatch.h"
-
-// Literals used
-_LIT(KLbsMTLRGpsOptions, "LbsMTLRGpsOptions");
-
-class CT_LbsMTLRGpsOptions :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-	{
-public:
-	~CT_LbsMTLRGpsOptions();
-
-	static CT_LbsMTLRGpsOptions* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-	virtual TVerdict doTestStepL();
-
-	
-protected:
-	CT_LbsMTLRGpsOptions(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();
-	
-protected:
-// from MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);	
-
-private:
-	TLbsNetPosRequestMethod RequestNetworkMethod();
-	void DecideWhatNetworkReceives();
-
-private:
-	enum TChosenNetworkMethod
-		{
-		ENetworkMethodInvalid,
-		ETerminalBasedNetworkMethod,
-		ETerminalBasedTerminalAssistedNetworkMethod,
-		ETerminalAssistedNetworkMethod,
-		ETerminalAssistedTerminalBasedNetworkMethod,
-		ENetworkMethodNotSet
-		};
-	enum TPlannedPositionOriginator
-		{
-		EPositionOriginatorUnkown,
-		EPositionOriginatorModule,
-		EPositionOriginatorNetwork
-		};
-	
-	TLbsNetSessionId iSessionId;
-	CNetProtocolProxy* iProxy;	
-	
-	/** Used so the network requests the method specified in the ini file */
-	TChosenNetworkMethod iNetworkMethod;
-	/** Used so the network proxy knows if it should return the positions 
-	 	or should let the module calculate it in hybrid case */
-	TPlannedPositionOriginator iPlannedPositionOriginator;
-	/** Used so the network proxy knows what to expect */
-	TBool iNetworkExpectsMeasurements;
-	TBool iNetworkExpectsPositions;
-	/* If network requests a mode that the module does not support it will be rejected */
-	TBool iNetRequestRejected;
-	
-	enum TState
-	{
-	EInitializing,
-	EPrivacyCheckOk,
-	ERefLocReceived,
-	EGpsLocReceived,
-	ERequestComplete
-	};
-	
-	TState iState;
-	CLbsPrivacyController* iController;
-	
-	/** So we know what to expect when network doesn't specify mode */
-	CLbsAdmin::TGpsMode iAdminGpsMode;		
-	};
-
-#endif //__CT_LBS_MTLR_GPS_OPTIONS_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsnetworkinducedmtlr.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Network Induced MTLR requests
-// 
-//
-
-#ifndef __CT_LBS_NETWORK_INDUCED_MTLR_H__
-#define __CT_LBS_NETWORK_INDUCED_MTLR_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-
-// Literals used
-_LIT(KLbsNetworkInducedMTLR,"LbsNetworkInducedMTLR");
-
-class CT_LbsNetworkInducedMTLR: public CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-{
-public:
-    static CT_LbsNetworkInducedMTLR* New(CT_LbsHybridMTLRServer& aParent);
-
-	TVerdict doTestStepPreambleL();
-    TVerdict doTestStepL();
-
-
-    ~CT_LbsNetworkInducedMTLR();
-
-protected:
-	// from MLbsPrivacyObserver
-	void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-	void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-	void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-	
-protected:
-    CT_LbsNetworkInducedMTLR(CT_LbsHybridMTLRServer& aParent);
-    void ConstructL();
-    
-    void PerformMeasurementControl();
-
-    void ProcessNotifyAndReject();
-	void ProcessNotifyAndAccept();
-	void ProcessVerifyAndAccept();
-	void ProcessVerifyAndReject();
-	void ProcessVerifyAndTimeout();
-	void ProcessReject();
-	
-    void PerformSessionComplete();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-	TPositionInfo iRefPosInfo;
-	CLbsPrivacyController* iController;
-	CNetProtocolProxy* iProxy;
-	
-	// Test paramaters, read from ini file.
-	TBool												iProcessPrivReq;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	iService;
-	TBool												iEmergency;
-	CLbsAdmin::TExternalLocateService					iExternalLocateValue;
-	CLbsPrivacyController::TRequestVerificationResult	iExpectedResponse;
-};
-
-#endif //__CT_LBS_NETWORK_INDUCED_MTLR_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsoom.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Emergency Network Induced and MTLR requests
-// 
-//
-
-#ifndef __CT_LBS_OOM_H__
-#define __CT_LBS_OOM_H__
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "LbsOomTest.h"
-
-// Literals used
-_LIT(KLbsOom,"LbsOom");
-
-class CT_LbsOom: public CT_LbsHybridMTLRStep, public MLbsPrivacyObserver
-{
-public:
-    static CT_LbsOom* New(CT_LbsHybridMTLRServer& aParent);
-
-	TVerdict doTestStepPreambleL();
-    TVerdict doTestStepL();
-    ~CT_LbsOom();
-
-protected:
-	// from MLbsPrivacyObserver
-	void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-	void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-	void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-	
-protected:
-	CT_LbsOom(CT_LbsHybridMTLRServer& aParent);
-    void ConstructL();
-    
-    void PerformMeasurementControl();
-
-    
-	void ProcessNotifyAndAccept();
-		
-    void PerformSessionComplete();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-	TPositionInfo iRefPosInfo;
-	CLbsPrivacyController* iController;
-	CNetProtocolProxy* iProxy;
-	
-	// Test paramaters, read from ini file.
-	TBool												iProcessPrivReq;
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService	iService;
-	TBool												iEmergency;
-	CLbsAdmin::TExternalLocateService					iExternalLocateValue;
-	CLbsPrivacyController::TRequestVerificationResult	iExpectedResponse;
-	//Out-Of-Memory test
-	ROomRequest 		iOomRequest;
-};
-
-#endif //__CT_LBS_OOM_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/inc/ctlbsuebasedmtlr.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_UEBASED_MTLR_H__
-#define __CT_LBS_UEBASED_MTLR_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsUEBasedMTLR, "LbsUEBasedMtlr");
-
-class CT_LbsUEBasedMTLR :	public	CT_LbsHybridMTLRStep, public MLbsPrivacyObserver 
-	{
-public:
-	~CT_LbsUEBasedMTLR();
-
-	static CT_LbsUEBasedMTLR* New(CT_LbsHybridMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-	
-// From MLbsPrivacyObserver
-void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-void ProcessRequestComplete(TUint aRequestId, TInt aReason);
-	
-protected:
-	CT_LbsUEBasedMTLR(CT_LbsHybridMTLRServer& aParent);
-	void ConstructL();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		EPrivacyCheckOk,
-		ERefLocReceived,
-		EGpsLocReceived,
-		ERequestComplete
-		};
-		
-	TState iState;	
-	TBool iPositionUpdateRef;
-	TLbsNetSessionId iSessionId;
-    CLbsPrivacyController* iController;
-    CNetProtocolProxy* iProxy;
-	};
-
-#endif //__CT_LBS_UEBASED_MTLR_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_mtlr_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,165 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-FUTILE
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE SFLBS-HybridMTLR-Futile-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-Futile-0001
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEBasedFutile
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridMtlrFutile c:\testdata\configs\sf_lbs_mtlr.ini HybridUEBasedFutile
-END_TESTCASE SFLBS-HybridMTLR-Futile-0001
-
-
-/////////////////////////////////////////////////////////////////////////
-
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-HybridMTLR-Futile-0002
-//!@SYMTestCaseID SFLBS-HybridMTLR-Futile-0002
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini UEAssistedFutile
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridMtlrFutile c:\testdata\configs\sf_lbs_mtlr.ini UEAssistedFutile
-END_TESTCASE SFLBS-HybridMTLR-Futile-0002
-
-
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-HybridMTLR-Futile-0003
-//!@SYMTestCaseID SFLBS-HybridMTLR-Futile-0003
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NonHybridUEBasedFutile
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridMtlrFutile c:\testdata\configs\sf_lbs_mtlr.ini NonHybridUEBasedFutile
-END_TESTCASE SFLBS-HybridMTLR-Futile-0003
-
-
-/////////////////////////////////////////////////////////////////////////
-
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-// For LBS-HybridMTLR-Futile-0004, need to use the admin cenrep with
-// the special setting KLbsSpecialFeatureIntermediateFutileUpdate
-// set to 'on'. Need to copy the file because it is read-only so
-// can't set it through the admin API.
-PREFIX RUN_UTILS
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-CopyFile c:\testdata\configs\1028224b_interfutile_on.cre c:\private\10202be9\1028224b.cre
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-HybridMTLR-Futile-0004
-//!@SYMTestCaseID SFLBS-HybridMTLR-Futile-0004
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEBasedLateFutile
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridMtlrFutile c:\testdata\configs\sf_lbs_mtlr.ini HybridUEBasedLateFutile
-END_TESTCASE SFLBS-HybridMTLR-Futile-0004
-
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Restore the original CenRep file - if there was one when we started
-RUN_UTILS DeleteFile c:\private\10202be9\persists\1028224b.cre
-RUN_UTILS DeleteFile c:\private\10202be9\1028224b.cre
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_gps_ok.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-UEASSISTED-GPSOK
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
- 
-START_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-GpsOk-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-UEAssistedMTLR-GpsOk-0001
-//!@SYMTestCaseDesc	MTLR Request received
-//!			GPS Module generates an accurate position in UE Assisted Mode
-//!			See: lbshybridmtlr/documentation/mtlr.htm#HybridUEAssistedMTLRAccurate
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEAssistedMTLRGPSOK
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridUEAssistedMTLRGPSOK
-END_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-GpsOk-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_no_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-UEASSISTED-NOGPS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
- 
-START_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-NoGps-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-UEAssistedMTLR-NoGps-0001
-//!@SYMTestCaseDesc	MTLR Request received
-//!			GPS Module Unable to generate a Position before Protocol Module timer (alpha4) expires
-//!			See: lbshybridmtlr/documentation/mtlr.htm#HybridUEAssistedMTLRNoGPSResult
-//!@SYMTestActions	
-//!			See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEAssistedMTLRNoGPS
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridUEAssistedMTLRNoGPS
-END_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-NoGps-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_nw.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-UEASSISTED-NW
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-NW-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-UEAssistedMTLR-NW-0001
-//!@SYMTestCaseDesc	MTLR Request received
-//!			GPS Module unable to generates an accurate position 
-//!			GPS Module generates measurements
-//!			Network Send an MC Release
-//!			See: lbshybridmtlr/documentation/mtlr.htm#HybridLBSUEAssistedMTLRInaccurate
-//!@SYMTestActions	
-//!			See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEAssistedMTLRNW
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsHybridUEAssistedMTLRNW
-END_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-NW-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_hybrid_ueassisted_mtlr_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-UEASSISTED-TIMEOUT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-Timeout-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-UEAssistedMTLR-Timeout-0001
-//!@SYMTestCaseDesc	MTLR Request received
-//!			GPS Module generates an accurate position in UE Assisted Mode
-//!			Protocol Module simulates a timeout waiting for network MC Release
-//!			See: lbshybridmtlr/documentation/mtlr.htm#HybridMTLRAssistAccurateMCTimeout
-//!@SYMTestActions	
-//!			See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini HybridUEAssistedMTLRGPSOK
-RUN_TEST_STEP 300 SfLbsHybridMTLRTestServer LbsHybridUEAssistedMTLRTimeout
-END_TESTCASE SFLBS-HybridMTLR-UEAssistedMTLR-Timeout-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_lbs_gpsok.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-GPSOK
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
- 
-START_TESTCASE SFLBS-HybridMTLR-GpsOk-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-GpsOk-0001
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini Config1
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsGPSOk
-END_TESTCASE SFLBS-HybridMTLR-GpsOk-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_lbs_oom.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-OOM
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-//The following tests ensure network induced emergency and  MTLR emergencys requests are completed succesfully under OOM
-//The hybrid protocol module test framework is used, where the test code interacts with the protocol module API (to process simulated network activity) and the privacy controller API (to response to privacy notifications).
-//We are only adding NRH and AGPSMANAGER in the OOM listner loop.
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-// Now start LBS
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-OOM-0001
-//! @SYMTestCaseID              SFLBS-OOM-0001
-//! @SYMTestCaseDesc            Performs a emergency MTLR, where the NRH invokes an accepted privacy request under OOM.
-//!                             Request = Normal MTLR
-//!                             Service = EServiceMobileTerminated
-//!                             Emergency = On
-//!                             Admin = On
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Set oom property ETrue
-//!                             2. Start a emergency location request (EServiceMobileTerminated) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             4. Ensure the controller is sent the reference and a-gps positions.
-//!                             5. Ensure the a-gps position is sent to the protocol module.
-//!                             6. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 2 (notification), 3 (reference + a-gps position privacy notifier), and 4 (a-gps position to network)
-//! @SYMTestType                CIT
-//! @SYMCreationDate            14/5/2009
-//! @SYMAuthor                  Padma
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsOom c:\testdata\configs\sf_lbs_mtlr.ini MTLR_EmergencyOn_AdminAny
-END_TESTCASE                 SFLBS-OOM-0001
-
-
-START_TESTCASE                SFLBS-OOM-0002
-//! @SYMTestCaseID              SFLBS-OOM-0002
-//! @SYMTestCaseDesc            Performs a network induced emergency location request, where the NRH invokes an accepted privacy request under OOM
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = On
-//!                             Admin = Any
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Set oom property ETrue
-//!                             2. Start a emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             4. Ensure the controller is sent a-gps position.
-//!                             5. Ensure the a-gps position is sent to the protocol module.
-//!                             6. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 2 (notification), 3 (a-gps position privacy notifier), and 4 (a-gps position to network)
-//! @SYMTestType                CIT
-//! @SYMCreationDate            14/5/2009
-//! @SYMAuthor                  Padma
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsOom c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOn_AdminAny
-END_TESTCASE                  SFLBS-OOM-0002
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_acc_ref_pos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-ACCREFPOS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridMTLR-AccRefPos-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-AccRefPos-0001
-//!@SYMTestCaseDesc	See: lbshybridmtlr/documentation/AccurateRefPos-LBS-MT-LR.svg
-//!@SYMTestActions	
-//!			See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini AccurateReferencePosition
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRAccurateReferencePosition c:\testdata\configs\sf_lbs_mtlr.ini AccurateReferencePosition
-END_TESTCASE SFLBS-HybridMTLR-AccRefPos-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_gpsmodeoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,836 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-GPSOPTIONS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// NOTE: When the network asks for TA it doesn't typically provide a reference position - need to update scripts + test framework to deal with that!
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-
-//--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
-
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-
-START_TESTCASE                SFLBS-MTLR-TBCAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBCAP-TBNETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TBNET
-END_TESTCASE SFLBS-MTLR-TBCAP-TBNETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBCAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBCAP-TBTANET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB
-//!                             network wants TB+TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB+TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TBTANET
-END_TESTCASE SFLBS-MTLR-TBCAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBCAP-TANET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBCAP-TANET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB
-//!                             network wants TA
-//!                             Rejected by NRH
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - not used
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Location Response with KErrNotSupported (LBS->PM)   >> RespondLocationRequest(KErrNotSupported)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNotSupported)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete with KErrNotSupported(LBS->Privacy App) >> ProcessRequestComplete(KErrNotSupported)
-//! @SYMTestExpectedResults     Location Request from Network is rejected with KErrNotSupported. Privacy App gets RequestComplete with KErrNotSupported.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TANET
-END_TESTCASE SFLBS-MTLR-TBCAP-TANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBCAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBCAP-TATBNET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA+TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBCAP-TATBNET
-END_TESTCASE SFLBS-MTLR-TBCAP-TATBNET-001
-
-
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-
-// Change module caps to TA only:
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TACAP-TBNET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TA
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TB (not used)
-//!                             Read 'position originator' (network/module) from test config - module (not used)
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Location Response with KErrNotSupported (LBS->PM)   >> RespondLocationRequest(KErrNotSupported)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNotSupported)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete with KErrNotSupported(LBS->Privacy App) >> ProcessRequestComplete(KErrNotSupported)
-//! @SYMTestExpectedResults     Location Request from Network is rejected with KErrNotSupported. Privacy App gets RequestComplete with KErrNotSupported.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TBNET
-END_TESTCASE SFLBS-MTLR-TACAP-TBNET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TACAP-TBTANET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TA
-//!                             network wants TBTA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TBTA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB+TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TB+TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module will return measurements. Privacy App gets RequestComplete with KErrNone.
-//!                             Note that privacy app does not see final gps position calculated by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TBTANET
-END_TESTCASE SFLBS-MTLR-TACAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TACAP-TANET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TACAP-TANET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TA
-//!                             network wants TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module will return measurements. Privacy App gets RequestComplete with KErrNone.
-//!                             Note that privacy app does not see final gps position calculated by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TANET
-END_TESTCASE SFLBS-MTLR-TACAP-TANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TACAP-TATBNET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TA
-//!                             network wants TATB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TATB
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA+TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA+TB, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module will return measurements. Privacy App gets RequestComplete with KErrNone.
-//!                             Note that privacy app does not see final gps position calculated by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TACAP-TATBNET
-END_TESTCASE SFLBS-MTLR-TACAP-TATBNET-001
-
-
-//--------------------------------------------------------------- Module Caps = TB || TA -----------------------------------------------------------------------
-
-// Change module caps to TA || TB:
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBORTACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBORTACAP-TBNET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB||TA
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TBNET
-END_TESTCASE SFLBS-MTLR-TBORTACAP-TBNET-001
-
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-//PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBORTACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBORTACAP-TBTANET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB||TA
-//!                             network wants TB+TA
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB+TA (hybrid)
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB+TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TBTANET
-END_TESTCASE SFLBS-MTLR-TBORTACAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB || TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB || TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module will return measurements. Privacy App gets RequestComplete with KErrNone.
-//!                             Note that privacy app does not see final gps position calculated by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TANET
-END_TESTCASE SFLBS-MTLR-TBORTACAP-TANETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBORTACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBORTACAP-TATBNET-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB||TA
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TA+TB (hybrid)
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB+TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TB+TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBORTACAP-TATBNET
-END_TESTCASE SFLBS-MTLR-TBORTACAP-TATBNET-001
-
-//--------------------------------------------------------------- Module Caps = TB && TA -----------------------------------------------------------------------
-
-// Change module caps to Hybrid (TA && TB):
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB && TA
-//!                             network wants TB
-//!                             module supplies accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TBNET
-END_TESTCASE SFLBS-MTLR-TBANDTACAP-TBNETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB && TA
-//!                             network wants TB+TA
-//!                             module supplies 2 sets of measurements then a position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB+TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TB+TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TB+TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in Hybrid mode. Module will return measurements and then a position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TBTANET
-END_TESTCASE SFLBS-MTLR-TBANDTACAP-TBTANETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB && TA
-//!                             network wants TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module will return measurements. Privacy App gets RequestComplete with KErrNone.
-//!                             Note that privacy app does not see final gps position calculated by network.
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TANET
-END_TESTCASE SFLBS-MTLR-TBANDTACAP-TANETWORK-001
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB && TA
-//!                             network wants TA+TB
-//!                             module supplies one (complete) position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TA+TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA+TB, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response with measurement (LBS-->PM)     >> RespondLocationRequest(meas)
-//!                             Send Location Request  (PM->LBS)      << ProcessLocationRequest(TA+TB, t timeout)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in Hybrid mode. Module will return measurements and then a position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-TATBNET
-END_TESTCASE SFLBS-MTLR-TBANDTACAP-TATBNETWORK-001
-
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPTBMode
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-MTLR-TBANDTACAP-NOTSPECIFIEDNETWORK-001
-//! @SYMTestCaseID              SFLBS-MTLR-TBANDTACAP-NOTSPECIFIEDNETWORK-001
-//! @SYMTestCaseDesc            MT-LR request with:
-//!                             mod caps = TB && TA
-//!                             network doesn't specify mode
-//!                             module supplies accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - unspecified
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Send Status Update for MTLR (PM-->LBS)      << ProcessStatusUpdate(EServiceMobileTerminated)
-//!                             Send Privacy Request        << ProcessPrivacyRequest()
-//!                             Verify ProcessNetworkLocationRequest() (LBS->Privacy App)   >> ProcessNetworkLocationRequest()
-//!                             Verify Privacy Request accepted (LBS->PM)     >> RespondPrivacyRequest(EPrivacyResponseAccepted)
-//!                             Send MC  (PM->LBS):
-//!                             Send Ref Position        << ProcessLocationUpdate(ref pos)
-//!                             Send Assistance Data        << ProcessAssistanceData(EAssistanceDataReferenceLocation)
-//!                             Send Location Request        << ProcessLocationRequest(TB, alpha2 timeout)
-//!                             Verify Privacy App gets RefPos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(Ref pos)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Verify Privacy App gets gps Pos (LBS->Privacy App)    >> ProcessNetworkPositionUpdate(gps pos)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNone)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify Privacy App gets RequestComplete (LBS->Privacy App)   >> ProcessRequestComplete(KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode (default admin setting). Module will return the position; privacy app notified of gps position with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-NOTSPECIFIEDNET
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsMTLRGpsOptions c:\testdata\configs\sf_lbs_mtlr.ini MTLR-TBANDTACAP-NOTSPECIFIEDNET
-END_TESTCASE SFLBS-MTLR-TBANDTACAP-NOTSPECIFIEDNETWORK-001
-
-
-
-
-//--------------------------------------------------------------------- END TESTS - Tidyup ---------------------------------------------------------------------
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_mtlr_network_induced.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,337 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-NETWORKINDUCED
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-//The following tests ensure network induced and MTLRs without a prior privacy request requests are supported correctly by LBS and more specifically the NRH.
-//The network induced privacy behaviour is controlled by the admin setting KLbsSettingHomeNetworkInducedLocate and all values are tested. For MTLRs without a prior privacy request the admin setting KLbsSettingHomeExternalLocate is tested for all values also.
-//The hybrid protocol module test framework is used, where the test code interacts with the protocol module API (to process simulated network activity) and the privacy controller API (to response to privacy notifications).
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-// Now start LBS
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0001
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0001
-//! @SYMTestCaseDesc            Performs a network induced emergency location request, where the NRH invokes an accepted privacy request.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = On
-//!                             Admin = Any
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Start a emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             2. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             3. Ensure the controller is sent the reference and a-gps positions.
-//!                             4. Ensure the a-gps position is sent to the protocol module.
-//!                             5. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 2 (notification), 3 (reference + a-gps position privacy notifier), and 4 (a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            8/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOn_AdminAny
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0001
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0002
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0002
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, where the NRH invokes an accepted privacy request.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = On
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to LocateOn.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             4. Ensure the controller is sent the reference and a-gps positions.
-//!                             5. Ensure the a-gps position is sent to the protocol module.
-//!                             6. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification), 4 (reference + a-gps position privacy notifier), and 5 (a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOn
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0002
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0003
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0003
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, where the NRH invokes a privacy verification request which LBS accepts.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = OnButAlwaysVerify
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to OnButAlwaysVerify.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyAndVerifyLocationRejectedIfNoReponse.
-//!                             4. Allow the controller to accept the request.
-//!                             5. Ensure the controller is sent the reference and a-gps positions.
-//!                             6. Ensure the a-gps position is sent to the protocol module.
-//!                             7. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification), 5 (reference + a-gps position privacy notifier), and 6 (a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Accept
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0003
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0004
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0004
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, where the NRH invokes a privacy verification request which LBS rejects.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = OnButAlwaysVerify
-//!                             Response = Reject
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to OnButAlwaysVerify.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyAndVerifyLocationRejectedIfNoReponse.
-//!                             4. Allow the controller to reject the request.
-//!                             5. Ensure a null a-gps position with error KErrAccessDenied is sent to the protcol module.
-//!                             6. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification) and 5 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Reject
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0004
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0005
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0005
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, which the NRH rejects.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = Off
-//!                             Response = Reject
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to Off.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure a null a-gps position with error KErrAccessDenied is sent to the protcol module.
-//!                             4. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify action 4 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOff
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0005
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0006
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0006
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, where the NRH invokes a rejected privacy request.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = OffButNotify
-//!                             Response = Reject
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to Off.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyLocationRejected.
-//!                             4. Ensure a null a-gps position with error KErrAccessDenied is sent to the protcol module.
-//!                             5. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification), 4 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOffButNotify
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0006
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0007
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0007
-//! @SYMTestCaseDesc            Performs a emergency MTLR without a prior privacy request, where the NRH rejects the location request with not supported.
-//!                             Request = MTLR
-//!                             Service = EServiceMobileTerminated
-//!                             Emergency = On
-//!                             Admin = Any
-//!                             Response = Reject
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Start a emergency location request (EServiceMobileTerminated) from the protocol module.
-//!                             2. Ensure a null a-gps position with error KErrNotSupported is sent to the protcol module.
-//!                             3. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify action 2 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NoPrivMTLR_EmergencyOn_AdminAny
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0007
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0008
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0008
-//! @SYMTestCaseDesc            Performs a non-emergency MTLR without a prior privacy request, where the NRH rejects the location request with not supported.
-//!                             Request = MTLR
-//!                             Service = EServiceMobileTerminated
-//!                             Emergency = Off
-//!                             Admin = On
-//!                             Response = Reject
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Start a emergency location request (EServiceMobileTerminated) from the protocol module.
-//!                             2. Ensure a null a-gps position with error KErrNotSupported is sent to the protcol module.
-//!                             3. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify action 2 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NoPrivMTLR_EmergencyOff_AdminOn
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0008
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0009
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0009
-//! @SYMTestCaseDesc            Performs a normal emergency MTLR, where the NRH invokes an accepted privacy request.
-//!                             Request = Normal MTLR
-//!                             Service = EServiceMobileTerminated
-//!                             Emergency = On
-//!                             Admin = On
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Start a emergency location request (EServiceMobileTerminated) from the protocol module.
-//!                             2. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             3. Ensure the controller is sent the reference and a-gps positions.
-//!                             4. Ensure the a-gps position is sent to the protocol module.
-//!                             5. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 2 (notification), 3 (reference + a-gps position privacy notifier), and 4 (a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini MTLR_EmergencyOn_AdminAny
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0009
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0010
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0010
-//! @SYMTestCaseDesc            Performs a normal non-emergency MTLR, where the NRH invokes an accepted privacy request.
-//!                             Request = Normal MTLR
-//!                             Service = EServiceMobileTerminated
-//!                             Emergency = Off
-//!                             Admin = On
-//!                             Response = Accept
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to LocateOn.
-//!                             2. Start a non-emergency location request (EServiceMobileTerminated) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyLocationAccepted.
-//!                             4. Ensure the controller is sent the reference and a-gps positions.
-//!                             5. Ensure the a-gps position is sent to the protocol module.
-//!                             6. Send session complete from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification), 4 (reference + a-gps position privacy notifier), and 5 (a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            9/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 60 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini MTLR_EmergencyOff_AdminOn
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0010
-
-
-START_TESTCASE                SFLBS-MTLR-NETWORKINDUCED-0011
-//! @SYMTestCaseID              SFLBS-MTLR-NETWORKINDUCED-0011
-//! @SYMTestCaseDesc            Performs a network induced non-emergency location request, where the NRH invokes a privacy verification request which is timed out by LBS.
-//!                             Request = Network induced
-//!                             Service = EServiceNetworkInduced
-//!                             Emergency = Off
-//!                             Admin = OnButAlwaysVerify
-//!                             Response = Timeout
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Configure the HomeNetworkInducedLocate admin setting to OnButAlwaysVerify.
-//!                             2. Start a non-emergency location request (EServiceNetworkInduced) from the protocol module.
-//!                             3. Ensure the privacy controller is notified correctly with ENotifyAndVerifyLocationRejectedIfNoReponse.
-//!                             4. Allow the controller to timeout the request.
-//!                             5. Ensure a null a-gps position with error KErrAccessDenied is sent to the protcol module.
-//!                             6. Send session complete with error KErrAccessDenied from the protocol module.
-//! @SYMTestExpectedResults     Verify actions 3 (notification) and 5 (error a-gps position to network).
-//! @SYMTestType                CIT
-//! @SYMCreationDate            16/4/2008
-//! @SYMAuthor                  GrahamL
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 20 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsNetworkInducedMTLR c:\testdata\configs\sf_lbs_mtlr.ini NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Timeout
-END_TESTCASE                  SFLBS-MTLR-NETWORKINDUCED-0011
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/scripts/sf_uebased_mtlr.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDMTLR-UEBASED
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridMTLRTestServer -SharedData
-
-PRINT Run SfLbsHybridMTLRTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_mtlr.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridMTLRTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridMTLR-0001
-//!@SYMTestCaseID SFLBS-HybridMTLR-0001
-//!@SYMTestCaseDesc	MTLR Request received
-//!			GPS Module generates an accurate position in UE Based Mode
-//!			See: lbshybridmtlr/documentation/mtlr.htm#HybridUEBasedMTLR
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridMTLRTestServer LbsStep_InstallScheduler
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_mtlr.ini UEBasedMTLR
-RUN_TEST_STEP 120 SfLbsHybridMTLRTestServer LbsUEBasedMtlr
-END_TESTCASE SFLBS-HybridMTLR-0001
-
-RUN_TEST_STEP 020 SfLbsHybridMTLRTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrfutile.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,333 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbserrors.h>
-
-// LBS test includes.
-#include "ctlbshybridmtlrfutile.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsHybridMTLRFutile* CT_LbsHybridMTLRFutile::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridMTLRFutile* testStep = new CT_LbsHybridMTLRFutile(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridMTLRFutile::CT_LbsHybridMTLRFutile(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridMTLRFutile);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	iPositionUpdateRef = EFalse;
-	}
-
-
-void CT_LbsHybridMTLRFutile::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	iAGpsHandler = CT_LbsAGpsHandler::NewL(this);
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridMTLRFutile::~CT_LbsHybridMTLRFutile()
-	{
-	delete iAGpsHandler;
-	delete iController;
-	delete iProxy;
-	}
-
-/** 
- * HYBRID MTLR FUTILE SCENARIOS:
- * 	Test Case Id 1: Hybrid LBS MTLR UE Based - Futile
- * 	Test Case Id 2: Hybrid LBS MTLR UE Assisted - Futile
- * 	Test Case Id 3: LBS MTLR UE Based - Futile
-*/
-TVerdict CT_LbsHybridMTLRFutile::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridMTLRFutile::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-	// Carryout unique test actions.
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-		{
-		INFO_PRINTF2(_L("Test id %d."), iTestCaseId);
-
-// Comment out while lbs is restarted in this test's script
-//		if (iTestCaseId == 1)
-			{
-			// >> AdviceSystemStatus(0)
-			TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-			CLbsNetworkProtocolBase::TLbsSystemStatus status;
-			CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-			TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-			}
-			
-	// Initiate MTLR Start
-		// << ProcessStatusUpdate()
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-		// << ProcessPrivacyRequest()
-		TBool emergency = ETrue;
-		TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-		TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-		// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		
-		TInt cleanupCnt;
-
-		// >> Respond Privacy Request
-		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-		TLbsNetSessionId* sessionId = NULL;
-		CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &sessionId, &getPrivacy);
-		TESTL(sessionId->SessionNum()==iSessionId.SessionNum());
-		TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-	// Initiate MTLR End
-
-	// MTLR Reference Position Notification Start
-		// << ProcessLocationUpdate()
-		TPositionInfo refPosition = ArgUtils::ReferencePositionInfo();
-		iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosition);
-	// MTLR Reference Position Notification End
-
-	// MTLR Assistance Data Notification Start
-		// << ProcessAssistanceData()
-		TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-		RLbsAssistanceDataBuilderSet assistanceData;
-		ArgUtils::PopulateLC(assistanceData);
-		TInt reason = KErrNone;
-		iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-		CleanupStack::PopAndDestroy();
-	// MTLR Assistance Data Notification End
-
-	// MTLR Network Location Request Start
-		// << ProcessLocationRequest()
-		MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-		TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2();
-		TLbsNetPosRequestMethod method;
-		if ((iTestCaseId == 1) || (iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			method = ArgUtils::RequestHybridMethod();
-			}
-		else if (iTestCaseId == 3)
-			{
- 			method = ArgUtils::RequestMethod();
-			}
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	// MTLR Network Location Request End
-		
-		//Start the timer
-		TTime timerStart;
-		timerStart.HomeTime();
-
-		// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		
-	// MTLR Assistance Data Notification Start
-		// >> RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		TLbsAsistanceDataGroup dataGroup;
-		CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
-		TESTL(dataGroup == EAssistanceDataNone);
-	// MTLR Assistance Data Notification End
-
-		TPositionGpsMeasurementInfo* measurementInfo = NULL;
-		
-		if ((iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			//Find the time elapsed from timer
-			TTimeIntervalMicroSeconds microseconds;
-		 	TTime timerStop;
-		 	timerStop.HomeTime();
-		 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-			TInt64 timeElapsed = microseconds.Int64();
-				
-			// >> RespondLocationRequest()
-			//Test that we do not get response before alpha2 has expired
-			TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2() - timeElapsed - KDelta) == ENetMsgTimeoutExpired); 
-			TESTL(iProxy->WaitForResponse(2 * KDelta) == ENetMsgRespondLocationRequest); 
-
-			sessionId = NULL;
-			reason = KErrNone;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-			TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(reason == KErrNone); 
-			// Check it is a measurement
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			CleanupStack::PopAndDestroy(cleanupCnt); //sessionId, measurementInfo
-		
-		// Force a nother GPS update - this should be the futile one, and it will be returned
-		// in response to the location request below.
-			if (iTestCaseId == 4)
-				{
-				iAGpsHandler->SendRequestForcedUpdate();
-				CActiveScheduler::Start();
-				}
-
-		//NHR's timer alpha2 times out -> Hybrid Positioning Start	
-			//<< ProcessLocationRequest() 
-			quality = ArgUtils::Quality(); //Set timeout t to KTimeOut
-			iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-			
-		// MTLR Assistance Data Notification Start
-			// >> RequestAssistanceData(0)
-			if (iTestCaseId == 2)
-				{
-				TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-				CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
-				TESTL(dataGroup == EAssistanceDataNone);
-				}
-		// MTLR Assistance Data Notification End
-			}
-		
-		// >> RespondLocationRequest()
-		// Error returned by module should be KPositionCalculationFutile
-		// the alpha or t timeout
-		if ((iTestCaseId == 1) || (iTestCaseId == 3))
-			{
-			TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2()) == ENetMsgRespondLocationRequest); 
-			}
-		else if ((iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-			}
-		sessionId = NULL;
-		reason = KErrNone;
-		if ((iTestCaseId == 1) || (iTestCaseId == 2) || (iTestCaseId == 4))
-			{
-			// Check it is a measurement
-			measurementInfo = NULL;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &measurementInfo);
-			TESTL(measurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			}
-		else if (iTestCaseId == 3)
-			{
-			// check it is a position
-			TPositionInfo* posInfo = NULL;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &sessionId, &reason, &posInfo);
-			TESTL(posInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-			}
-		TESTL(sessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(reason == KPositionCalculationFutile);
-		CleanupStack::PopAndDestroy(cleanupCnt); //sessionId, measurementInfo\positionInfo
-		
-	// MTLR Session Completion Start
-		// << ProcessSessionComplete()
-		reason = KErrNone;
-		iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-		// << ProcessStatusUpdate()
-		MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-		iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-		// >> Callback from ProcessRequestComplete()
-		CheckForObserverEventTestsL(KTimeOut, *this);
-		// Verify that the last callback was to ProcessSessionComplete()
-		TESTL(iState==ERequestComplete);
-	// MTLR Session Completion End
-		}
-
-	return TestStepResult();
-	}
-
-void CT_LbsHybridMTLRFutile::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridMTLRFutile::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-}
-
-void CT_LbsHybridMTLRFutile::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridMTLR::ProcessNetworkPositionUpdate()"));
-	if(!iPositionUpdateRef)
-		{
-		TEST(iState == EPrivacyCheckOk);
-		iState = ERefLocReceived;	
-		iPositionUpdateRef = ETrue;	
-		}
-	else
-		{
-		// None of this tests shoud get here
-		TEST(EFalse);
-		}
-	ReturnToTestStep();
-}
-
-void CT_LbsHybridMTLRFutile::ProcessRequestComplete(TUint aRequestId, TInt aReason)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridMTLRFutile::ProcessRequestComplete()"));
-
-	TEST(iState == ERefLocReceived);
-	TEST(aReason == KErrNone);
-	TEST(aRequestId == iSessionId.SessionNum());
-	iState = ERequestComplete; 
-	ReturnToTestStep();
-}
-
-void CT_LbsHybridMTLRFutile::ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse)
-	{
-	if (TT_LbsAGpsResponseMsg::EModuleResponseOk != aResponse)
-		{
-		SetTestStepResult(EPass);
-		}
-
-	CActiveScheduler::Stop();
-	}
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,220 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CTLbsHybridMTLRServer.cpp
-// This is the class implementation for the LBS Hybrid MTLR Test Server
-// 
-//
-
-// System includes
-#include <e32std.h>
-#include <rsshared.h>
-
-// User includes
-#include "ctlbshybridmtlrserver.h"
-#include "ctlbsuebasedmtlr.h"
-#include "ctlbshybridueassistedmtlrnw.h"
-#include "ctlbshybridueassistedmtlrgpsok.h"
-#include "ctlbsstepsetupprotocolstub.h"
-#include "ctlbsstepconfighybridmodule.h"
-#include "ctlbshybridueassistedmtlrtimeout.h"
-#include "ctlbshybridueassistedmtlrnogps.h"
-#include "ctlbshybridmtlrfutile.h"
-#include "ctlbsmtlrAccRefPos.h"
-#include "ctlbsmtlrgpsoptions.h"
-#include "ctlbsnetworkinducedmtlr.h"
-#include "ctlbsoom.h"
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates a server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	__UHEAP_MARK;
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsHybridMTLRServer* server = CT_LbsHybridMTLRServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	__UHEAP_MARKEND;
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-    
-
-
-/**
-  NewL()
-  Constructs a CT_LbsHybridMTLRServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsHybridMTLRServer* CT_LbsHybridMTLRServer::NewL()
-	{
-	CT_LbsHybridMTLRServer*server = new(ELeave) CT_LbsHybridMTLRServer();
-	CleanupStack::PushL(server);
-	server->ConstructL(KSfLbsHybridMTLRTestServer);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-CT_LbsHybridMTLRServer::~CT_LbsHybridMTLRServer()
-	{
-	}
-	
-	
-/**
-  Function : CT_LbsHybridMTLRServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMTLRServer::CT_LbsHybridMTLRServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsHybridMTLRServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	
-	iSharedData = CT_LbsHybridMTLRSharedData::NewL();
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsHybridMTLRServer::CreateTestStep(const TDesC& aStepName)
-	{
-	// NULL if insufficient memory. This suits the API.
-
-	// Test case test steps, each test step supports one or more test cases.
-	if(aStepName == KLbsUEBasedMTLR)	
-		{
-		return CT_LbsUEBasedMTLR::New(*this);
-		}
-	else if(aStepName == KLbsHybridUEAssitedMTLRNW)	
-		{
-		return CT_LbsHybridUEAssistedMTLRNW::New(*this);
-		}	
-	else if(aStepName == KLbsHybridUEAssistedMTLRGPSOK)	
-		{
-		return CT_LbsHybridUEAssistedMTLRGPSOK::New(*this);
-		}	
-	else if(aStepName == KLbsStep_SetupProtocolStub)	
-		{
-		return CT_LbsStep_SetupProtocolStub::New(*this);
-		}	
-	else if(aStepName == KLbsStep_ConfigHybridModule)	
-		{
-		return CT_LbsStep_ConfigHybridModule::New(*this);
-		}	
-	else if(aStepName == KLbsHybridUEAssitedMTLRTimeout)
-		{
-		return CT_LbsHybridUEAssistedMTLRTimeout::New(*this);
-		}
-	else if(aStepName == KLbsHybridUEAssitedMTLRNoGPS)
-		{
-		return CT_LbsHybridUEAssistedMTLRNoGPS::New(*this);
-		}
-	else if(aStepName == KLbsHybridMTLRFutile)
-		{
-		return CT_LbsHybridMTLRFutile::New(*this);
-		}
-	else if(aStepName == KLbsMTLRAccurateReferencePosition)
-		{
-		return CT_LbsMtlrAccRefPos::New(*this);
-		}
-	else if(aStepName == KLbsMTLRGpsOptions)
-		{
-		return CT_LbsMTLRGpsOptions::New(*this);
-		}	
-	else if (aStepName == KLbsNetworkInducedMTLR)
-		{
-		return CT_LbsNetworkInducedMTLR::New(*this);		
-		}
-	else if (aStepName == KLbsOom)
-		{
-		return CT_LbsOom::New(*this);		
-		} 
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrshareddata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrshareddata.cpp
-// This file contains the shared data class for the Lbs MTLR Test server
-// 
-//
-
-
-#include "ctlbshybridmtlrshareddata.h"
-
-
-/**
-  Function : NewL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMTLRSharedData* CT_LbsHybridMTLRSharedData::NewL()
-	{
-	CT_LbsHybridMTLRSharedData* sharedData=new(ELeave) CT_LbsHybridMTLRSharedData();
-	CleanupStack::PushL(sharedData);
-	sharedData->ConstructL();
-	CleanupStack::Pop(sharedData);
-
-	return sharedData;
-	}
-
-
-/**
-  Function : ConstructL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsHybridMTLRSharedData::ConstructL()
-	{
-	CT_LbsSharedData::ConstructL();
-	}
-
-
-/**
-  Function : CT_LbsHybridMTLRSharedData
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridMTLRSharedData::CT_LbsHybridMTLRSharedData()
-	{
-	}
-	
-/**
-  Function : ~CT_LbsHybridMTLRSharedData
-  Description : Destructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/	
-CT_LbsHybridMTLRSharedData::~CT_LbsHybridMTLRSharedData()
-	{
-/*	for (TInt i = 0; i < iUpdateArr.Count(); ++i)
-		{
-		delete iUpdateArr[i];		
-		}
-	iUpdateArr.Close();
-*/	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridmtlrstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridmtlrstep.cpp
-// This is the class implementation for the LBS HYBRID MTLR Test Step Base
-// 
-//
-
-#include "ctlbshybridmtlrstep.h"
-#include <lbs/lbslocdatasourceclasstypes.h>
-
-CT_LbsHybridMTLRStep::~CT_LbsHybridMTLRStep()
-	{
-	iExpectedModuleGpsOptions.ResetAndDestroy();
-	iExpectedModuleGpsOptions.Close();	
-	}
-
-
-CT_LbsHybridMTLRStep::CT_LbsHybridMTLRStep(CT_LbsHybridMTLRServer& aParent) :iExpectedModuleGpsOptionsIndex(0), 
-											iAgpsModuleEventListener(NULL), iParent(aParent)
-	{
-	}
-
-void CT_LbsHybridMTLRStep::ConstructL()
-	{
-	}
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridMTLRStep::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPreabmleL()"));
-
-	// Get the expected module GPS options
-	T_LbsUtils utils;
-	TPtrC configFileName;
-	_LIT(KUpdateOptionsFile, "agps_module_update_file");
-	GetStringFromConfig(ConfigSection(), KUpdateOptionsFile, configFileName);
-	utils.GetExpected_ModuleModes(configFileName, ConfigSection(), iExpectedModuleGpsOptions);
-	if(iExpectedModuleGpsOptions.Count() > 0)
-		{ // Start listening for the GPS module options only if expecting any options
-		iAgpsModuleEventListener = CT_AgpsModuleEventListener::NewL(*this);
-		}
-	
-	SetTestStepResult(EPass);
-
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridMTLRStep::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPostabmleL()"));
-	TEST(iExpectedModuleGpsOptionsIndex == iExpectedModuleGpsOptions.Count());
-	iExpectedModuleGpsOptions.ResetAndDestroy();
-	iExpectedModuleGpsOptionsIndex = 0;
-	delete iAgpsModuleEventListener;
-	iAgpsModuleEventListener = NULL;
-	
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-void CT_LbsHybridMTLRStep::OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions)
-/**
- * Compares the GPS options received by the AGPS module to the ones expected by the test
- */
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridMTLRStep::OnSetGpsOptions()"));
-	if(iExpectedModuleGpsOptionsIndex >= iExpectedModuleGpsOptions.Count())
-		{
-		INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected number of mode changes. Got %d expected %d"), iExpectedModuleGpsOptionsIndex -1, iExpectedModuleGpsOptions.Count());
-		TEST(EFalse);
-		return;
-		}
-	TLbsGpsOptions* expectedOptions = iExpectedModuleGpsOptions[iExpectedModuleGpsOptionsIndex];
-	++iExpectedModuleGpsOptionsIndex;
-
-	if(aGpsOptions.GpsMode() != expectedOptions->GpsMode())
-		{
-		INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected mode. Got 0x%x expected 0x%x()"), aGpsOptions.GpsMode(), expectedOptions->GpsMode());
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() != expectedOptions->ClassType())
-		{
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() & ELbsGpsOptionsArrayClass)
-		{
-		const TLbsGpsOptionsArray& optionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(aGpsOptions);
-		const TLbsGpsOptionsArray& expectedOptionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(*expectedOptions);
-		if(optionsArr.NumOptionItems() != expectedOptionsArr.NumOptionItems())
-			{
-			TEST(EFalse);
-			return;
-			}
-		for(TInt index = 0; index < optionsArr.NumOptionItems(); ++index)
-			{
-			TLbsGpsOptionsItem item;
-			TLbsGpsOptionsItem expectedItem;
-			optionsArr.GetOptionItem(index, item);
-			expectedOptionsArr.GetOptionItem(index, expectedItem);
-
-			if(item.PosUpdateType() != expectedItem.PosUpdateType())
-				{
-				TEST(EFalse);
-				return;
-				}
-			}
-		}
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrgpsok.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,264 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmtlrgpsok.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMTLRGPSOK* CT_LbsHybridUEAssistedMTLRGPSOK::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMTLRGPSOK* testStep = new CT_LbsHybridUEAssistedMTLRGPSOK(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMTLRGPSOK::CT_LbsHybridUEAssistedMTLRGPSOK(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedMTLRGPSOK);
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	}
-
-
-void CT_LbsHybridUEAssistedMTLRGPSOK::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();	
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMTLRGPSOK::~CT_LbsHybridUEAssistedMTLRGPSOK()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-
-TVerdict CT_LbsHybridUEAssistedMTLRGPSOK::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMTLRGPSOK::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000;
-	
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Initiate MTLR Start
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	const TBool emergency = ETrue;
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);//getSessionId
-// Initiate MTLR End
-
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-// MTLR Reference Position Notification Stop
-
-// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-// MTLR Assistance Data Notification Stop
-
-// MTLR Network Location Request Start
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// MTLR Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KSmallTimeOut, *this);
-	
-// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-		
-	// >> RespondLocationRequest()
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt); //getSessionId,getPositionInfo
-
-//NHR's timer alpha2 times out -> Hybrid Positioning Start	
-	//<< ProcessLocationRequest() 
-	quality = ArgUtils::Quality(); //Set timeout to t 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTTimeout) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	getReason = KErrNone;
-	getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);//getSessionId,getPositionInfo
-		
-	//<< ProcessNetworkPositionUpdate() | GPS Pos[Accurate Fix]
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	TESTL(iState==EGpsLocReceived);
-//Hybrid Positioning Stop
-
-// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion Stop
-
-	return TestStepResult();
-	}
-	
-void CT_LbsHybridUEAssistedMTLRGPSOK::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRGPSOK::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-	}
-   
-void CT_LbsHybridUEAssistedMTLRGPSOK::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& aPosInfo)
-	{
-	if(iState==EPrivacyCheckOk)
-		{
-		iState=ERefLocReceived;	
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRGPSOK::ProcessNetworkPositionUpdate(RefPosition)"));
-		}
-	else if(iState==ERefLocReceived)
-		{
-		// Test for $update,1,2,51.5015,-0.105,50,2,3*
-		TPosition getPos;
-		aPosInfo.GetPosition(getPos);
-		if(getPos.Latitude()==51.5015 && getPos.Longitude()==-0.105 && getPos.Altitude()==50 && getPos.HorizontalAccuracy()==2 && getPos.VerticalAccuracy()==3) 		
-			{
-			INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRGPSOK::ProcessNetworkPositionUpdate(GpsPosition)"));
-			iState=EGpsLocReceived;	
-			}
-		}
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRGPSOK::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRGPSOK::ProcessRequestComplete()"));
-	TEST(iState==EGpsLocReceived);
-	iState=ERequestComplete; 
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrnogps.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,248 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmtlrnogps.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMTLRNoGPS* CT_LbsHybridUEAssistedMTLRNoGPS::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMTLRNoGPS* testStep = new CT_LbsHybridUEAssistedMTLRNoGPS(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMTLRNoGPS::CT_LbsHybridUEAssistedMTLRNoGPS(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssitedMTLRNoGPS);
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0004);
-	}
-
-
-void CT_LbsHybridUEAssistedMTLRNoGPS::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMTLRNoGPS::~CT_LbsHybridUEAssistedMTLRNoGPS()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-TVerdict CT_LbsHybridUEAssistedMTLRNoGPS::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMTLRNoGPS::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status)); 
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-
-// Initiate MTLR Start
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	TBool emergency = ETrue;
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Initiate MTLR End
-
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-// MTLR Reference Position Notification Stop
-
-// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-// MTLR Assistance Data Notification Stop
-
-// MTLR Network Location Request Start
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// MTLR Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-		
-	// >> RespondLocationRequest()
-	//Test that we do not get response before alpha2 has expired
-	//At the moment, the test below fails and leaves since respond reaches us before alpha2 times out. We are not in hybrid mode.
-	TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2()-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-		
-//NHR's timer alpha2 times out -> Hybrid Positioning Start
-	quality = ArgUtils::Quality();  // set timeout t 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-//Request (t) times out - As before, no position available return latest measurements
-//Terminal side timer alpha4 expires before stop message received from network
-// Protocol Module (or possibly Network) decides to end positioning session 
-
-// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-	
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion Stop
-
-	return TestStepResult();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNoGPS::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNoGPS::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNoGPS::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-	{
-	if(iState==EPrivacyCheckOk)
-		{
-		iState=ERefLocReceived;	
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNoGPS::ProcessNetworkPositionUpdate(RefPosition)"));
-		}
-	else if(iState==ERefLocReceived)
-		{
-		WARN_PRINTF1(_L("&gt;&gt;Unexpected call: CT_LbsHybridUEAssistedMTLRNoGPS::ProcessNetworkPositionUpdate(GPSLocation)"));	
-		// A second call to this callback should never occur - in this test case the GPS module
-		// is never able to produce a fix of sufficient quality - only positions of
-		// sufficient quality should cause this function to be called
-		TEST(EFalse);
-		}
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNoGPS::ProcessRequestComplete(TUint /*aRequestId*/, TInt aReason)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNoGPS::ProcessRequestComplete()"));
-	TEST(iState==ERefLocReceived);
-	iState=ERequestComplete;
-	TEST(aReason==KErrNone);  
-	ReturnToTestStep();
-	}
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrnw.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,264 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedmtlrnw.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMTLRNW* CT_LbsHybridUEAssistedMTLRNW::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMTLRNW* testStep = new CT_LbsHybridUEAssistedMTLRNW(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMTLRNW::CT_LbsHybridUEAssistedMTLRNW(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssitedMTLRNW);
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0004);
-	}
-
-
-void CT_LbsHybridUEAssistedMTLRNW::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMTLRNW::~CT_LbsHybridUEAssistedMTLRNW()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-TVerdict CT_LbsHybridUEAssistedMTLRNW::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMTLRNW::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Initiate MTLR Start
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	TBool emergency = ETrue;
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Initiate MTLR End
-
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-// MTLR Reference Position Notification Stop
-
-// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-// MTLR Assistance Data Notification Stop
-
-// MTLR Network Location Request Start
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// MTLR Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-		
-	// >> RespondLocationRequest()
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2()-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-		
-//NHR's timer alpha2 times out -> Hybrid Positioning Start
-	quality = ArgUtils::Quality();  // set timeout t = 1s, should eventually be read from ini file?
-	const TInt KN(2); // TODO number of times to send the measurement from GPS to NW, should eventually be read from ini file?
-	for(TInt i=0;i<KN;i++)
-		{
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-		timerStart.HomeTime();
-	
-		// >> RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-		TESTL(dataGroup == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-	 	timerStop.HomeTime();
-	 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-		timeElapsed = microseconds.Int64();
-		
-		// >> RespondLocationRequest()
-		//Test that we do not get response before t has expired
-		TESTL(iProxy->WaitForResponse(KTTimeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired);
-		TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest);
-		getSessionId = NULL;
-		getReason = KErrNone;
-		getPositionInfo = NULL;
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(getReason==KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-//Hybrid Positioning Stop
-
-// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion Stop
-
-	return TestStepResult();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNW::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNW::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNW::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-	{
-	if(iState==EPrivacyCheckOk)
-		{
-		iState=ERefLocReceived;	
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNW::ProcessNetworkPositionUpdate(RefPosition)"));
-		}
-	else if(iState==ERefLocReceived)
-		{
-		WARN_PRINTF1(_L("&gt;&gt;Unexpected call: CT_LbsHybridUEAssistedMTLRNW::ProcessNetworkPositionUpdate(GPSLocation)"));	
-		// A second call to this callback should never occur - in this test case the GPS module
-		// is never able to produce a fix of sufficient quality - only positions of
-		// sufficient quality should cause this function to be called
-		TEST(EFalse);
-		}
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRNW::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRNW::ProcessRequestComplete()"));
-	TEST(iState==ERefLocReceived);
-	iState=ERequestComplete; 
-	ReturnToTestStep();
-	}
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbshybridueassistedmtlrtimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,265 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes
-#include "ctlbshybridueassistedmtlrtimeout.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedMTLRTimeout* CT_LbsHybridUEAssistedMTLRTimeout::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedMTLRTimeout* testStep = new CT_LbsHybridUEAssistedMTLRTimeout(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedMTLRTimeout::CT_LbsHybridUEAssistedMTLRTimeout(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	iState = EInitializing;
-	SetTestStepName(KLbsHybridUEAssitedMTLRTimeout);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	}
-
-
-void CT_LbsHybridUEAssistedMTLRTimeout::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedMTLRTimeout::~CT_LbsHybridUEAssistedMTLRTimeout()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-TVerdict CT_LbsHybridUEAssistedMTLRTimeout::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedMTLRTimeout::doTestStepL()"));	
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Initiate MTLR Start
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	TBool emergency = ETrue;
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-// Initiate MTLR End
-
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-// MTLR Reference Position Notification Stop
-
-// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-// MTLR Assistance Data Notification Stop
-
-// MTLR Network Location Request Start
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// MTLR Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-		
-	// >> RespondLocationRequest()
-	//Test that we do not get response before alpha2 has expired
-	//At the moment, the test below fails and leaves since respond reaches us before alpha2 times out. We are not in hybrid mode.
-	TESTL(iProxy->WaitForResponse(ArgUtils::Alpha2()-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-//NHR's timer alpha2 times out -> Hybrid Positioning Start	
-	//<< ProcessLocationRequest() 
-	quality = ArgUtils::Quality(); //Set timeout to t 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTTimeout) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	getReason = KErrNone;
-	getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-		
-	//<< ProcessNetworkPositionUpdate() | GPS Pos[Accurate Fix]
-	CheckForObserverEventTestsL(KTimeOut, *this);
-//Hybrid Positioning Stop
-
-	/***Add extra delay to simulate the MC Release timing out ***/	
-	User::After(2*KTimeOut);
-	// Test that LBS is not sending any response to the Protocol Module
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgTimeoutExpired); 
-	
-// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion Stop
-
-	return TestStepResult();
-	}
-	
-void CT_LbsHybridUEAssistedMTLRTimeout::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRTimeout::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-	}
-   
-void CT_LbsHybridUEAssistedMTLRTimeout::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& aPosInfo)
-	{
-	if(iState==EPrivacyCheckOk)
-		{
-		iState=ERefLocReceived;	
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRTimeout::ProcessNetworkPositionUpdate(RefPosition)"));
-		}
-	else if(iState==ERefLocReceived)
-		{
-		// Test for $update,1,2,51.5015,-0.105,50,2,3*
-		TPosition getPos;
-		aPosInfo.GetPosition(getPos);
-		if(getPos.Latitude()==51.5015 && getPos.Longitude()==-0.105 && getPos.Altitude()==50 && getPos.HorizontalAccuracy()==2 && getPos.VerticalAccuracy()==3) 		
-			{
-			INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRTimeout::ProcessNetworkPositionUpdate(GpsPosition)"));
-			iState=EGpsLocReceived;	
-			}
-		}
-	ReturnToTestStep();
-	}
-
-void CT_LbsHybridUEAssistedMTLRTimeout::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridUEAssistedMTLRTimeout::ProcessRequestComplete()"));
-	TEST(iState==EGpsLocReceived);
-	iState=ERequestComplete; 
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsmtlrAccRefPos.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,191 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-#include <lbserrors.h>
-
-// LBS test includes.
-#include "ctlbsmtlrAccRefPos.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsMtlrAccRefPos* CT_LbsMtlrAccRefPos::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsMtlrAccRefPos* testStep = new CT_LbsMtlrAccRefPos(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsMtlrAccRefPos::CT_LbsMtlrAccRefPos(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsMTLRAccurateReferencePosition);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	iPositionUpdateRef = EFalse;
-	}
-
-
-void CT_LbsMtlrAccRefPos::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsMtlrAccRefPos::~CT_LbsMtlrAccRefPos()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-TVerdict CT_LbsMtlrAccRefPos::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsMtlrAccRefPos::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-
-
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-			
-	// Initiate MTLR Start
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask 
-		= MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	const TBool KEmergency(ETrue);
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &KEmergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	TLbsNetSessionId* sessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &sessionId, &getPrivacy);
-	TESTL(sessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	// Initiate MTLR End
-
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo refPosition = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosition);
-// MTLR Reference Position Notification End
-
-// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason(KErrNone);
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy();
-// MTLR Assistance Data Notification End
-
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion End
-
-	return TestStepResult();
-	}
-
-void CT_LbsMtlrAccRefPos::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMtlrAccRefPos::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-}
-
-void CT_LbsMtlrAccRefPos::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsHybridMTLR::ProcessNetworkPositionUpdate()"));
-	if(!iPositionUpdateRef)
-		{
-		TEST(iState == EPrivacyCheckOk);
-		iState = ERefLocReceived;	
-		iPositionUpdateRef = ETrue;	
-		}
-	else
-		{
-		// Not expecting anything else.
-		TEST(EFalse);
-		}
-	ReturnToTestStep();
-}
-
-void CT_LbsMtlrAccRefPos::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMtlrAccRefPos::ProcessRequestComplete()"));
-	TEST(iState == ERefLocReceived);
-	iState = ERequestComplete; 
-	ReturnToTestStep();
-}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsmtlrgpsoptions.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,605 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the MTLR GPS Mode Tests
-// EPOC includes.sue
-// 
-//
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbslocdatasourceclasstypes.h>
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <e32property.h>
-#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-#include "LbsExtendModuleInfo.h"
-#include "lbsdevloggermacros.h"
-
-// LBS test includes.
-#include "ctlbsmtlrgpsoptions.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-const TInt KTimeOut = 60*1000*1000;
-const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-const TInt KSmallTimeOut = 3*1000*1000;
-
-/**
-Static Constructor
-*/
-CT_LbsMTLRGpsOptions* CT_LbsMTLRGpsOptions::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsMTLRGpsOptions* testStep = new CT_LbsMTLRGpsOptions(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsMTLRGpsOptions::CT_LbsMTLRGpsOptions(CT_LbsHybridMTLRServer& aParent) 
-	: CT_LbsHybridMTLRStep(aParent), iProxy(NULL), 
-		iNetworkMethod(ENetworkMethodInvalid), 
-		iPlannedPositionOriginator(EPositionOriginatorUnkown),
-		iNetRequestRejected(EFalse),
-		iAdminGpsMode(CLbsAdmin::EGpsModeUnknown)
-	{
-	SetTestStepName(KLbsMTLRGpsOptions);
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);	
-	}
-
-
-void CT_LbsMTLRGpsOptions::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	}
-
-/**
- * Destructor
- */
-CT_LbsMTLRGpsOptions::~CT_LbsMTLRGpsOptions()
-	{	
-	delete iController;
-	}
-
-TVerdict CT_LbsMTLRGpsOptions::doTestStepPreambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMTLRGpsOptions::doTestStepPreambleL()"));
-	CT_LbsHybridMTLRStep::doTestStepPreambleL();
-	iNetworkExpectsMeasurements = EFalse;
-	iNetworkExpectsPositions = EFalse;
-	
-	// Get the GPS mode set in the Admin
-	CLbsAdmin* admin = CLbsAdmin::NewL();
-	CleanupStack::PushL(admin);
-
-	TESTL(KErrNone == admin->Get(KLbsSettingRoamingGpsMode, iAdminGpsMode));
-	CleanupStack::PopAndDestroy(admin);
-	
-	// Set the network step
-	iNetworkMethod = ENetworkMethodInvalid;
-	
-	SetTestStepResult(EPass);
-	T_LbsUtils utils;
-
-	// Get the Network Method
-	_LIT(KNetworkMethod, "NetworkMethod");
-	TInt networkMethodInt;
-	if(GetIntFromConfig(ConfigSection(), KNetworkMethod, networkMethodInt))
-		{
-		iNetworkMethod = static_cast<TChosenNetworkMethod>(networkMethodInt);
-		TEST(iNetworkMethod != ENetworkMethodInvalid);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMTLRGpsOptions::doTestStepPreambleL() - FAILED: no network method configured"));
-		TEST(EFalse);
-		}
-
-	// Is network method supported by module?
-	TPositionModuleInfoExtended::TDeviceGpsModeCapabilities deviceCapabilities;
-	TInt err = LbsModuleInfo::GetDeviceCapabilities(KLbsGpsLocManagerUid, deviceCapabilities);	
-	if((!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalAssisted)) && (!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB)))
-		{
-		if(iNetworkMethod == ETerminalAssistedNetworkMethod)
-			{
-			iNetRequestRejected = ETrue;
-			}
-		}
-	if((!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalBased)) && (!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB)))
-		{
-		if(iNetworkMethod == ETerminalBasedNetworkMethod)
-			{
-			iNetRequestRejected = ETrue;
-			}
-		}	
-	
-	// Get the position originator
-	_LIT(KPositionOriginator, "PositionOriginator");
-	TInt positionOriginatorInt;
-	if(GetIntFromConfig(ConfigSection(), KPositionOriginator, positionOriginatorInt))
-		{
-		iPlannedPositionOriginator = static_cast<TPlannedPositionOriginator>(positionOriginatorInt);
-		TEST(iPlannedPositionOriginator != EPositionOriginatorUnkown);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsMTLRGpsOptions::doTestStepPreambleL() - FAILED: no position originator configured"));
-		TEST(EFalse);
-		}
-
-	iProxy = CNetProtocolProxy::NewL();
-
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMTLRGpsOptions::doTestStepPostambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMTLRGpsOptions::doTestStepPostambleL()"));
-	iNetworkExpectsMeasurements = EFalse;
-	iNetworkExpectsPositions = EFalse;
-	iNetworkMethod = ENetworkMethodInvalid;
-	iPlannedPositionOriginator = EPositionOriginatorUnkown;
-	delete iProxy;
-	iProxy = NULL;
-	CT_LbsHybridMTLRStep::doTestStepPostambleL();
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsMTLRGpsOptions::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsMTLRGpsOptions::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	INFO_PRINTF1(_L("&gt;&gt;			AdviceSystemStatus(ESystemStatusNone)"));		
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Initiate MTLR Start	
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	INFO_PRINTF1(_L("&lt;&lt;			ProcessStatusUpdate(EServiceMobileTerminated)"));		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-	
-	// << ProcessPrivacyRequest()
-	const TBool emergency = EFalse;	// lrm - why is this true in hybrid mtlr testing!?
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();	// notify allow
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	INFO_PRINTF1(_L("&lt;&lt;			ProcessPrivacyRequest()"));	
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);	
-	
-	// >> ProcessNetworkLocationRequest() callback
-	CheckForObserverEventTestsL(KTimeOut, *this);	
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-	INFO_PRINTF1(_L("&gt;&gt;			RespondPrivacyRequest(EPrivacyResponseAccepted)"));	
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);//getSessionId	
-	
-// MTLR Reference Position Notification Start
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	INFO_PRINTF1(_L("&lt;&lt;			ProcessLocationUpdate(ref pos)"));	
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-// MTLR Reference Position Notification Stop	
-	
-	// MTLR Assistance Data Notification Start
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	INFO_PRINTF1(_L("&lt;&lt;			ProcessAssistanceData(EAssistanceDataReferenceTime)"));	
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-// MTLR Assistance Data Notification Stop
-
-// MTLR Network Location Request Start
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = RequestNetworkMethod();
-	INFO_PRINTF1(_L("&lt;&lt;			ProcessLocationRequest(timeout = alpha2)"));		
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// MTLR Network Location Request Stop
-// Initiate MTLR End	
-	
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// >> ProcessNetworkPositionUpdate(refPosition) callback
-	CheckForObserverEventTestsL(KSmallTimeOut, *this);	
-	
-	if(!iNetRequestRejected)
-		{
-		// >> RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-		INFO_PRINTF1(_L("&gt;&gt;			RequestAssistanceData(0)"));	
-		TLbsAsistanceDataGroup dataGroup;
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-		TESTL(dataGroup == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);		
-		}
-	
-	DecideWhatNetworkReceives();	// lrm - hit this line before request from network has been processed!?	
-
-	/*** NRH's Alpha2 timer expires; should get a response now ***/	
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-	TInt delta = 1000*1000; // 1s
-	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	TPositionGpsMeasurementInfo* getMeasurementInfo = NULL;		
-	// >> RespondLocationRequest()	
-	if(iNetRequestRejected)	// network has asked for an unsupported gps mode
-		{// we may get an error response _before_ alpha2 timer expires
-		TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed+delta) == ENetMsgRespondLocationRequest); 	
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		INFO_PRINTF2(_L("&gt;&gt;			RespondLocationRequest(%d)"), getReason);		
-		TEST(getReason==KErrNotSupported);
-		CleanupStack::PopAndDestroy(cleanupCnt);		
-		}
-	else
-		{
-		// The measurements:
-		if(iNetworkExpectsMeasurements)	// If network expecting measurements, they will come first 		
-			{
-			// >> RespondLocationRequest(meas)
-			TLbsAsistanceDataGroup getDataGroup;			
-			//Test that we do not get response before alpha2 has expired
-			TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-delta) == ENetMsgTimeoutExpired); 
-			INFO_PRINTF1(_L("				No RespondLocationRequest before Alpha2 timer expired"));			
-			TESTL(iProxy->WaitForResponse(2*delta) == ENetMsgRespondLocationRequest); 
-			INFO_PRINTF1(_L("&gt;&gt;		RespondLocationRequest(meas)"));
-			getSessionId = NULL;
-			TInt getReason = KErrNone;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getMeasurementInfo);
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(getReason==KErrNone); 
-			CleanupStack::PopAndDestroy(cleanupCnt); 
-			
-			// Make another request from the network
-			//<< ProcessLocationRequest() 
-			quality = ArgUtils::Quality(); //Set timeout to t 
-			INFO_PRINTF1(_L("&lt;&lt;		ProcessLocationRequest(timeout = t)"));	
-			iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-			
-			// module will request assistance data again (mask 0)
-			// >> RequestAssistanceData(0)
-			TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-			INFO_PRINTF1(_L("&gt;&gt;		RequestAssistanceData(0)"));	
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &getDataGroup);
-			TESTL(getDataGroup == EAssistanceDataNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			
-			// >> RespondLocationRequest(meas) note: delta needed here to prevent intermittent failure caused by PM getting meas a fraction of a second late
-			TESTL(iProxy->WaitForResponse(KTTimeout + delta) == ENetMsgRespondLocationRequest); 
-			INFO_PRINTF1(_L("&gt;&gt;		RespondLocationRequest(meas)"));				
-			getSessionId = NULL;
-			getReason = KErrNone;
-			getMeasurementInfo = NULL;
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getMeasurementInfo);
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(getReason==KErrNone);
-			TESTL(getMeasurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-
-			// Make one last request from network if module supplying position (which will result in module returning gps position:
-			if(iPlannedPositionOriginator == EPositionOriginatorModule)
-				{ 
-				// << ProcessLocationRequest(SessionId, HybridMode, t)
-				INFO_PRINTF1(_L("&lt;&lt;		ProcessLocationRequest(timeout = t)"));
-				iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-				// >> RequestAssistanceData(0)
-				TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-				INFO_PRINTF1(_L("&gt;&gt;		RequestAssistanceData(0)"));				
-				cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &getDataGroup);
-				TESTL(getDataGroup == EAssistanceDataNone);
-				CleanupStack::PopAndDestroy(cleanupCnt);					
-				}			
-			}
-		// The final position:
-		if(iPlannedPositionOriginator == EPositionOriginatorModule)
-			{
-			// The module should return the position
-			INFO_PRINTF1(_L("				Network expecting position"));
-			// >> RespondLocationRequest()  position.
-			TESTL(iProxy->WaitForResponse(KTTimeout + delta) == ENetMsgRespondLocationRequest);
-			INFO_PRINTF1(_L("&gt;&gt;		RespondLocationRequest(gpspos)"));			
-			getPositionInfo = NULL;
-			getSessionId = NULL;
-			getReason = KErrNone;			
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-			// check it is a position
-			TESTL(getPositionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(getReason == KErrNone);	
-			TESTL(getPositionInfo->PositionMode() == TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-			// Test position is the same as in the ini file data fed to the GPS module ($update,1,0,49.2,3.5,50,20,20*)
-			TPosition gpsPos;
-			getPositionInfo->GetPosition(gpsPos);
-			TESTL(gpsPos.Latitude()==49.2 && gpsPos.Longitude()==3.5 && gpsPos.Altitude()==50 && gpsPos.HorizontalAccuracy()==20 && gpsPos.VerticalAccuracy()==20); 			
-			CleanupStack::PopAndDestroy(cleanupCnt);	
-
-			//<< ProcessNetworkPositionUpdate(GPS Pos) Callback
-			CheckForObserverEventTestsL(KTimeOut, *this);
-			TESTL(iState==EGpsLocReceived);				
-			}
-		else	// position supplied by network 
-			{
-			__ASSERT_DEBUG(iPlannedPositionOriginator == EPositionOriginatorNetwork, User::Invariant());
-			// privacy app doesn't see network-calculated position, so nothing much happens in this case
-			}
-	
-		}	
-	
-	// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	if(iNetRequestRejected)
-		{
-		reason = KErrNotSupported;
-		}
-	else
-		{
-		reason = KErrNone;
-		}
-	INFO_PRINTF1(_L("&lt;&lt; ProcessSessionComplete()"));	
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	INFO_PRINTF1(_L("&lt;&lt; ProcessStatusUpdate(EServiceNone)"));		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> ProcessRequestComplete() callback
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-// MTLR Session Completion Stop
-	
-	return TestStepResult();
-	}
-
-
-TLbsNetPosRequestMethod CT_LbsMTLRGpsOptions::RequestNetworkMethod()
-/**
- This method will chose the appropiate method requested by the network, depending 
- on the test settings
- 
- @return The network method
- */
-	{
-	TLbsNetPosRequestMethod method;
-	
-	switch(iNetworkMethod)
-		{
-		case ETerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalBasedMethod();
-			break;
-			}
-		case ETerminalBasedTerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestHybridMethod();
-			break;
-			}
-		case ETerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			method = ArgUtils::RequestTAPMethod();
-			break;
-			}
-		case ETerminalAssistedTerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalAssistedAndTerminalBasedMethod();
-			break;
-			}
-		case ENetworkMethodNotSet:
-			{
-			//we should set mode according to default admin 
-			TEST(iAdminGpsMode != CLbsAdmin::EGpsModeUnknown);
-			switch(iAdminGpsMode)
-			{
-			case CLbsAdmin::EGpsPreferTerminalBased:
-				{
-				iNetworkExpectsPositions = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsPreferTerminalAssisted:
-			case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-				{
-				iNetworkExpectsMeasurements = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsAutonomous:	// test framework doesn't currently support this
-			default:
-				{
-				User::Invariant();
-				}
-			}
-				
-			method = ArgUtils::RequestUnspecifiedMethod();
-			break;
-			}			
-		default:
-			{
-			method = ArgUtils::RequestHybridMethod();
-			User::Invariant();
-			}
-		}
-	
-	return method;
-	}
-
-
-void CT_LbsMTLRGpsOptions::DecideWhatNetworkReceives()
-/**
- This method checks what the module was finally set to and decides if the network 
- should expect measuments, or positions
- */
-	{
-	TLbsGpsOptionsArray options;
-	TPckg<TLbsGpsOptionsArray> pckgOptions(options);
-	TEST(KErrNone == RProperty::Get(KUidSystemCategory, ELbsTestAGpsModuleModeChanges, pckgOptions));
-	
-	if(options.ClassType() & ELbsGpsOptionsArrayClass)
-		{ 
-		if(options.NumOptionItems() > 1)
-			{
-			// don't change anything (from what was set in RequestNetworkMethod()), the module is running in hybrid
-			return;
-			}
-		}
-	switch(options.GpsMode())
-		{
-		case CLbsAdmin::EGpsAutonomous:
-			{
-			INFO_PRINTF1(_L(" Module was asked to use Autonomous mode"));
-			iNetworkExpectsPositions = EFalse;
-			iNetworkExpectsMeasurements = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalBased:
-		case CLbsAdmin::EGpsAlwaysTerminalBased:
-			{
-			INFO_PRINTF1(_L(" Module was asked to use Terminal Based mode"));
-			iNetworkExpectsMeasurements = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalAssisted:
-		case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-			{
-			INFO_PRINTF1(_L(" Module was asked to use Terminal Assisted mode"));
-			iNetworkExpectsPositions = EFalse;
-			break;
-			}
-		default:
-			{
-			// change nothing
-			}
-		return;
-		}
-	}
-
-void CT_LbsMTLRGpsOptions::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	TEST(iState==EInitializing);
-	INFO_PRINTF1(_L("&gt;&gt;			ProcessNetworkLocationRequest()"));
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-	}
-   
-void CT_LbsMTLRGpsOptions::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& aPosInfo)
-	{
-	if(iState==EPrivacyCheckOk)	// waiting for ref pos
-		{
-		iState=ERefLocReceived;	
-		INFO_PRINTF1(_L("&gt;&gt; Privacy App - ProcessNetworkPositionUpdate(Ref pos)"));
-		}
-	else if(iState==ERefLocReceived)	// waiting for gps pos
-		{
-		TPosition getPos;
-		aPosInfo.GetPosition(getPos);	
-		TESTL(aPosInfo.PositionModeReason() == EPositionModeReasonNone);		
-		// Verify we got what network sent: 
-		if(iPlannedPositionOriginator == EPositionOriginatorModule)
-			{ 
-			TESTL(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-			// compare to gps pos in test ini ($update,1,0,49.2,3.5,50,20,20*) :			
-			TESTL(getPos.Latitude()==49.2 && getPos.Longitude()==3.5 && getPos.Altitude()==50 && getPos.HorizontalAccuracy()==20 && getPos.VerticalAccuracy()==20);		
-			}
-		else
-			{// compare to gps pos supplied by network:			
-			TPositionInfo positionInfo = ArgUtils::AccurateNetworkPositionInfo();
-			TPosition getFNP;
-			positionInfo.GetPosition(getFNP);			
-			TESTL(aPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);						
-			TESTL(getPos.Latitude()==getFNP.Latitude() && getPos.Longitude()==getFNP.Longitude() && getPos.Altitude()==getFNP.Altitude() && getPos.HorizontalAccuracy()==getFNP.HorizontalAccuracy() && getPos.VerticalAccuracy()==getFNP.VerticalAccuracy());	
-			}
-		
-		INFO_PRINTF1(_L("&gt;&gt; Privacy App - ProcessNetworkPositionUpdate(Gps pos)"));
-		iState=EGpsLocReceived;	
-		}
-	ReturnToTestStep();
-	}
-
-void CT_LbsMTLRGpsOptions::ProcessRequestComplete(TUint /*aRequestId*/, TInt aReason)
-	{
-	INFO_PRINTF2(_L("&gt;&gt; Privacy App - ProcessRequestComplete(%d)"), aReason);
-	if(!iNetRequestRejected && (iPlannedPositionOriginator == EPositionOriginatorModule))
-		{
-		TEST(iState==EGpsLocReceived);
-		}
-	if(iNetRequestRejected)
-		{
-		TEST(aReason == KErrNotSupported);
-		}
-	else
-		{
-		TEST(aReason == KErrNone);
-		}
-	iState=ERequestComplete; 
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsnetworkinducedmtlr.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,669 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsextendedsatellite.h>
-// LBS test includes.
-#include "ctlbsnetworkinducedmtlr.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsNetworkInducedMTLR* CT_LbsNetworkInducedMTLR::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsNetworkInducedMTLR* testStep = new CT_LbsNetworkInducedMTLR(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsNetworkInducedMTLR::CT_LbsNetworkInducedMTLR(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsNetworkInducedMTLR);
-
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	
-	iRefPosInfo = ArgUtils::ReferencePositionInfo();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();	
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsNetworkInducedMTLR::~CT_LbsNetworkInducedMTLR()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-
-TVerdict CT_LbsNetworkInducedMTLR::doTestStepPreambleL()
-	{
-	_LIT(KProcessprivReq, "processprivreq");
-	_LIT(KService, "service");
-	_LIT(KEmergency, "emergency");
-	_LIT(KAdmin, "admin");
-	_LIT(KResponse, "response");
-
-	_LIT(KProcessPrivReqOpt, "Process Priv Req = %d");
-	_LIT(KEmergencyOpt, "Emergency = %d.");
-	_LIT(KAdminOpt, "Admin = %d.");
-	_LIT(KResponseOpt, "Response = %d.");
-	_LIT(KServiceOpt, "Service = %d.");
-
-	TInt value;
-	
-	// Read and setup test values for external locate admin and emergency. Also set the session id via timestamp to ensure
-	// a unique id.
-	
-	// Set process privacy request flag for test. If EFalse a MTLR will be carried out without a prior privacy request, ETrue for
-	// normal MTLR requests.
-	if (GetIntFromConfig(ConfigSection(), KProcessprivReq, value))
-		{
-		INFO_PRINTF2(KProcessPrivReqOpt, value);
-		iProcessPrivReq = EFalse;
-
-		if (value)
-			{
-			iProcessPrivReq = ETrue;
-			}
-	
-		// Set emergency for test.
-		if (GetIntFromConfig(ConfigSection(), KEmergency, value))
-			{
-			INFO_PRINTF2(KEmergencyOpt, value);
-			iEmergency = EFalse;
-
-			if (value)
-				{
-				iEmergency = ETrue;		
-				}
-
-
-			// Set the request service type for the test.
-			if (GetIntFromConfig(ConfigSection(), KService, value))
-				{
-				INFO_PRINTF2(KServiceOpt, value);
-				iService = static_cast<MLbsNetworkProtocolObserver::TLbsNetProtocolService>(value);
-
-		
-				// Set the external locate admin for test.
-				if (GetIntFromConfig(ConfigSection(), KAdmin, value))
-					{
-					INFO_PRINTF2(KAdminOpt, value);
-					iExternalLocateValue = static_cast<CLbsAdmin::TExternalLocateService>(value);
-										
-					CLbsAdmin* adminAPI = CLbsAdmin::NewL();
-					CleanupStack::PushL(adminAPI);
-
-					// MTLR admin setting.
-					if (iService == MLbsNetworkProtocolObserver::EServiceMobileTerminated)
-						{
-						User::LeaveIfError(adminAPI->Set(KLbsSettingHomeExternalLocate, iExternalLocateValue));						
-						}
-
-					// Network Induced location request admin setting.
-					else
-						{
-						User::LeaveIfError(adminAPI->Set(KLbsSettingHomeNetworkInducedLocate, iExternalLocateValue));		
-						}
-					
-					CleanupStack::PopAndDestroy(adminAPI);
-			
-				
-					// Set the expected response for test.
-					if (GetIntFromConfig(ConfigSection(), KResponse, value))
-						{
-						INFO_PRINTF2(KResponseOpt, value);
-						iExpectedResponse = static_cast<CLbsPrivacyController::TRequestVerificationResult>(value);
-
-					
-						// Determine the session id here using a time stamp.
-						TTime timeStamp;
-						timeStamp.HomeTime();
-						iSessionId.SetSessionNum(iSessionId.SessionNum() + I64LOW(timeStamp.Int64()));
-
-						INFO_PRINTF2(_L("Session Id = 0x%x."), iSessionId.SessionNum());
-						}
-					
-					else
-						{
-						ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'response' ini setting.</font></b>\n"));
-						SetTestStepResult(EFail);
-						}
-					}
-					
-				else
-					{
-					ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'admin' ini setting.</font></b>\n"));
-					SetTestStepResult(EFail);
-					}
-				}
-				
-			else
-				{
-				ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'service' ini setting.</font></b>\n"));
-				SetTestStepResult(EFail);
-				}
-			}
-			
-		else
-			{
-			ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'emergency' ini setting.</font></b>\n"));
-			SetTestStepResult(EFail);
-			}
-		}
-		
-	else
-		{
-		ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'process priv req' ini setting.</font></b>\n"));
-		SetTestStepResult(EFail);
-		}
-	
-	return TestStepResult();
-	}
-
-
-TVerdict CT_LbsNetworkInducedMTLR::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsNetworkInducedMTLR::doTestStepL()"));	
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-
-	
-	// Carry out the measurement control, to start the MT-LR or Network Induced request.
-	PerformMeasurementControl();
-
-
-	// Verify location request outcome based on admin and settings.
-	
-	// MTLR without a prior privacy request, test emergency and non-emergency.
-	if ((!iProcessPrivReq) && (iService == MLbsNetworkProtocolObserver::EServiceMobileTerminated))
-		{
-		ProcessReject();		
-		}
-	
-	// Emergency On, Admin any - Accept.
-	else if (iEmergency)
-		{
-		ProcessNotifyAndAccept();
-		}
-
-	// Admin On - Notify and accept.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOn) && (iExpectedResponse == CLbsPrivacyController::ERequestAccepted))
-		{
-		ProcessNotifyAndAccept();
-		}
-	
-	// Admin OnButAlwaysVerify - Verify and accept.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOnButAlwaysVerify) && (iExpectedResponse == CLbsPrivacyController::ERequestAccepted))
-		{
-		ProcessVerifyAndAccept();
-		}
-	
-	// Admin OnButAlwaysVerify - Verify and reject.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOnButAlwaysVerify) && (iExpectedResponse == CLbsPrivacyController::ERequestRejected))
-		{
-		ProcessVerifyAndReject();
-		}
-	
-	// Admin OnButAlwaysVerify - Verfiy and timeout.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOnButAlwaysVerify) && (iExpectedResponse == CLbsPrivacyController::ERequestUnknown))
-		{
-		ProcessVerifyAndTimeout();
-		}
-	
-	// Admin Off - Reject.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOff) && (iExpectedResponse == CLbsPrivacyController::ERequestRejected))
-		{
-		ProcessReject();
-		}
-	
-	// Admin OffButNotify - Notify and reject.
-	else if ((iExternalLocateValue == CLbsAdmin::EExternalLocateOffButNotify) && (iExpectedResponse == CLbsPrivacyController::ERequestRejected))
-		{
-		ProcessNotifyAndReject();
-		}
-
-
-	// Perform session complete.
-	PerformSessionComplete();
-
-
-	return TestStepResult();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::PerformMeasurementControl()
-	{
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-
-	// As we are running many tests, the AdviceSystemStatus will only appear the first time round after LBS start.
-	TNetProtocolResponseType response = iProxy->WaitForResponse(KAdviceSystemStatusTimeout);
-	
-	// >> AdviceSystemStatus(0)
-	if (response == ENetMsgGetCurrentCapabilitiesResponse)
-		{
-		CLbsNetworkProtocolBase::TLbsSystemStatus status;
-		iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-		TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-		}
-
-	// Timeout
-	else
-		{
-		TESTL(response == ENetMsgTimeoutExpired);
-		}
-	
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-
-	// Perform successful privacy request response.
-	// For standard MTLRs with a prior privacy request, the test harness only supports accepted responses.
-	if (iProcessPrivReq)
-		{
-		// << ProcessPrivacyRequest()
-		const TBool emergency = ETrue;
-		TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-		TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-		
-		// >> Callback from RespondNetworkLocationRequest(iExpectedResponse)
-		const TInt KTimeOut = 60*1000*1000;
-		CheckForObserverEventTestsL(KTimeOut, *this);
-
-		// >> Respond Privacy Request
-		TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-		TLbsNetSessionId* getSessionId = NULL;
-		CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-		TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-		TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-		TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-		CleanupStack::PopAndDestroy(cleanupCnt);//getSessionId
-		}
-
-	// << ProcessLocationUpdate()
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &iRefPosInfo);
-
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-
-	// << ProcessLocationRequest()
-	TLbsNetPosRequestQuality quality = ArgUtils::Quality(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &iEmergency, &iService, &quality, &method);
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessVerifyAndAccept()
-	{
-	const TInt KTimeOut = 60*1000*1000;
-
-	// >> Callback from RespondNetworkLocationRequest(iExpectedResponse)
-	if (!iProcessPrivReq)
-		{
-		CheckForObserverEventTestsL(KTimeOut, *this);	
-		}
-
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionExtendedSatelliteInfo* getPositionInfo = NULL;
-	iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	// check it is a position
-    TESTL(getPositionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-    TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-    TESTL(getReason == KErrNone);   
-    /* Check whether ExtendedSatelliteInfo data received by protocol module is the same as data fed to the GPS module or not. 
-    Latitude(51.5015),Longitude(-0.105),Altitude(50),HorizontalAccuracy(2),VerticalAccuracy(3),
-    speed(26.0),vertical speed(20.0),heading(25.0),course(30.0),SPEED_ACCURACY(2.0),VERTICAL_SPEED_ACCURACY(3.0),
-    HEADING_ACCURACY(10.0),COURSE_ACCURACY(4.0),SD_OF_LONG_ERROR(5.0),SD_OF_LAT_ERROR(6.0),SD_OF_ALT_ERROR(7.0),
-    SD_OF_SEMI_MAJOR_AXIS_ERROR(8.0),SD_OF_SEMI_MINOR_AXIS_ERROR(9.0),ORIEN_OF_SEMI_MAJOR_AXIS_ERROR(10.0),
-    RMS_VAL_OF_SD_OF_RANGE(11.0),GEOIDAL_SEPARATION(12.0),MAGNETIC_VARIATION(13.0),COURSE_OVER_GROUND_MAGNETIC(14.0)
-    GPS_TIMING_OF_CELL_MsPart(16383),GPS_TIMING_OF_CELL_LsPart(4294967295),REFERENCE_IDENTITY(511)
-    SFN(4095)*/  
-    
-    TPosition gpsPos;
-    getPositionInfo->GetPosition(gpsPos);
-    TESTL(gpsPos.Latitude()==51.5015 && gpsPos.Longitude()== -0.105 && gpsPos.Altitude()==50 
-          && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3);             
-    TCourse course;
-    getPositionInfo->GetCourse(course);
-         
-    TESTL(course.Speed()==26.0 && course.VerticalSpeed()==20.0 && course.Heading()==25.0 && course.Course()==30.0 && 
-          course.SpeedAccuracy()==2.0 && course.VerticalSpeedAccuracy()==3.0 && course.HeadingAccuracy()==10.0 &&
-          course.CourseAccuracy()==4.0);           
-    
-    TDetailedErrorReport detErrRep;
-    getPositionInfo->GetDetailedErrorReport(detErrRep);
-    TESTL(detErrRep.StanDeviOfLongitudeError()==5.0 && detErrRep.StanDeviOfLatiitudeError()==6.0 && 
-          detErrRep.StanDeviOfAltitudeError()==7.0 && detErrRep.StanDeviOfSemiMajorAxisError()==8.0 && 
-          detErrRep.StanDeviOfSemiMinorAxisError()==9.0 && detErrRep.OrientationOfSemiMajorAxisError()==10.0 && 
-          detErrRep.RmsValOfStanDeviOfRange()==11.0);  
-    
-    TGpsTimingMeasurementData gpsTimingData;
-    getPositionInfo->GetGpsTimingData(gpsTimingData);
-     
-    TESTL(gpsTimingData.DataType()== TGpsTimingMeasurementData::EGpsTimingDataTypeUtran && 
-          gpsTimingData.NetworkMode()== TGpsTimingMeasurementData::ENetworkModeFdd && 
-          gpsTimingData.GPSTimingOfCellMsPart()==16383 && gpsTimingData.GPSTimingOfCellLsPart()==4294967295UL && 
-          gpsTimingData.ReferenceIdentity()==511 && gpsTimingData.Sfn()==4095);  
-                   
-    
-    TESTL(getPositionInfo->GeoidalSeparation()==12.0 && getPositionInfo->MagneticVariation()==13.0 && 
-          getPositionInfo->CourseOverGroundMagnetic()==14.0);  
-    
-        
-    // >> Callback from ProcessNetworkPostionUpdate(GPS Location)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessVerifyAndReject()
-	{
-	const TInt KTimeOut = 60*1000*1000;
-	
-	// >> Callback from RespondNetworkLocationRequest(iExpectedResponse)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// >> RespondLocationRequest()
-	ProcessReject();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessVerifyAndTimeout()
-	{
-	ProcessVerifyAndReject();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessNotifyAndAccept()
-	{
-	ProcessVerifyAndAccept();	
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessNotifyAndReject()
-	{
-	ProcessVerifyAndReject();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessReject()
-	{
-	const TInt KTimeOut = 60*1000*1000;
-
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	
-	if ((!iProcessPrivReq) && (iService == MLbsNetworkProtocolObserver::EServiceMobileTerminated))
-		{
-		TESTL(getReason == KErrNotSupported);
-		}
-		
-	else
-		{
-		TESTL(getReason == KErrAccessDenied);	
-		}
-		
-	}
-
-
-void CT_LbsNetworkInducedMTLR::PerformSessionComplete()
-	{
-	const TInt KTimeOut = 60*1000*1000;
-	
-	// << ProcessSessionComplete()
-	TInt completeReason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &completeReason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// >> Callback from ProcessRequestComplete().
-	
-	// The user/privacy controller is not notified, for these cases:
-	if (((iExternalLocateValue == CLbsAdmin::EExternalLocateOff) && (!iEmergency)) ||					// Admin setting is off and is not an emergency.
-		((!iProcessPrivReq) && (iService == MLbsNetworkProtocolObserver::EServiceMobileTerminated)))	// Invalid MTLR, without a prior privacy request.
-		{
-		// Verify final expected state.
-		TESTL(iState == EInitializing);
-		}
-
-	// The user/privacy controller is notified for all other cases.
-	else
-		{
-		CheckForObserverEventTestsL(KTimeOut, *this);
-
-		// Verify that the last callback was to ProcessSessionComplete()
-		TESTL(iState == ERequestComplete);
-		}		
-	}
-
-	
-void CT_LbsNetworkInducedMTLR::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsNetworkInducedMTLR::ProcessNetworkLocationRequest()"));
-	TEST(iState == EInitializing);
-
-	// Validate request info string.
-	TLbsRequesterId requesterId;
-	TLbsClientName clientName;
-	TLbsClientExternalId clientExternalId;	
-
-	aRequestInfo.GetRequesterId(requesterId);
-	aRequestInfo.GetClientName(clientName);
-	aRequestInfo.GetClientExternalId(clientExternalId);
-
-	// Normal MTLR.
-	if (iProcessPrivReq)
-		{
-		TEST(requesterId == _L8("+441234567891"));	// Values taken from RequestInfo() in argutils.h.
-		TEST(clientName == _L8("THybridNWClient"));
-		TEST(clientExternalId ==_L8("+441234567891"));	
-		}
-
-	// Network Induced MTLR.
-	else
-		{
-		TEST(requesterId == _L8(""));
-		TEST(clientName == _L8(""));
-		TEST(clientExternalId == _L8(""));
-		}
-
-
-	// Validate the notification type.
-	
-	// The following table allows us to determine the expected notification types.
-
-	// Admin setting												TLbsNetPosRequestPrivacy	TNotificationType (held in MLbsPrivacyObserver)
-	// -------------												------------------------	-----------------------------------------------
-	// NetworkInduced_EmergencyOn_AdminAny							ERequestAdviceNotify		ENotifyLocationAccepted
-	// NoPrivMTLR_EmergencyOn_AdminAny								ERequestActionAllow
-																
-	// NetworkInduced_EmergencyOff_AdminOn							ERequestAdviceNotify		ENotifyLocationAccepted
-	// NoPrivMTLR_EmergencyOff_AdminOn								ERequestActionAllow
-																			
-	// NetworkInduced_EmergencyOn_AdminOnButAlwaysVerify_Accept	ERequestAdviceVerify		ENotifyAndVerifyLocationRejectedIfNoReponse
-	// NetworkInduced_EmergencyOn_AdminOnButAlwaysVerify_Reject	ERequestActionReject
-	// NoPrivMTLR_EmergencyOff_AdminOnButAlwaysVerify_Accept
-	// NoPrivMTLR_EmergencyOff_AdminOnButAlwaysVerify_Reject
-
-	// NetworkInduced_EmergencyOff_AdminOff						N/A - just reject
-	// NoPrivMTLR_EmergencyOff_AdminOff
-
-	// NetworkInduced_EmergencyOff_AdminOffButNotify				ERequestAdviceNotfy			ENotifyLocationRejected
-	// NoPrivMTLR_EmergencyOff_AdminOffButNotify					ERequestActionReject
-
-	TNotificationType expectedNotification;
-
-	if ((iEmergency) || (iExternalLocateValue == CLbsAdmin::EExternalLocateOn))
-		{
-		expectedNotification = MLbsPrivacyObserver::ENotifyLocationAccepted;
-		}
-
-	else if (iExternalLocateValue == CLbsAdmin::EExternalLocateOnButAlwaysVerify)
-		{
-		expectedNotification = MLbsPrivacyObserver::ENotifyAndVerifyLocationRejectedIfNoReponse;
-		}
-
-	else
-		{
-		expectedNotification = MLbsPrivacyObserver::ENotifyLocationRejected;
-		}
-
-	TEST(aNotificationType == expectedNotification);
-	
-		
-	// The privacy controller requires a response for verifys.
-	if ((aNotificationType == MLbsPrivacyObserver::ENotifyAndVerifyLocationRejectedIfNoReponse) && (iExpectedResponse != CLbsPrivacyController::ERequestUnknown))	// Note: ERequestUnknown == timeout response.
-		{
-		iController->RespondNetworkLocationRequest(aRequestId, iExpectedResponse);
-		}
-
-	iState = EPrivacyCheckOk;
-	
-	ReturnToTestStep();
-	}
-
-   
-void CT_LbsNetworkInducedMTLR::ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo)
-	{
-	TPosition pos;
-	
-	aPosInfo.GetPosition(pos);
-
-	// Validate session request id.
-	TEST(aRequestId == iSessionId.SessionNum());
-
-	// and position data.	
-	if(iState == EPrivacyCheckOk)
-		{
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsNetworkInducedMTLR::ProcessNetworkPositionUpdate(RefPosition)"));
-
-		// Validate the reference position.
-		TPosition refPos;
-		
-		iRefPosInfo.GetPosition(refPos);
-		if (pos.Latitude() == refPos.Latitude() &&
-			pos.Longitude() == refPos.Longitude() &&
-			pos.Altitude() == refPos.Altitude() &&
-			pos.HorizontalAccuracy() == refPos.HorizontalAccuracy() &&
-			pos.VerticalAccuracy() == refPos.VerticalAccuracy())
-			{
-			iState = ERefLocReceived;		
-			}
-		}
-
-	else if(iState == ERefLocReceived)
-		{
-		INFO_PRINTF1(_L("&gt;&gt;CT_LbsNetworkInducedMTLR::ProcessNetworkPositionUpdate(GpsPosition)"));
-
-		// Validate the GPS position, test for $update,1,2,51.5015,-0.105,50,2,3* taken from the ini file section [NetworkInduced].
-		if(	pos.Latitude() == 51.5015 &&
-			pos.Longitude() == -0.105 &&
-			pos.Altitude() == 50 &&
-			pos.HorizontalAccuracy() == 2 &&
-			pos.VerticalAccuracy() == 3)
-			{
-			iState = EGpsLocReceived;	
-			}
-		}
-
-	ReturnToTestStep();
-	}
-
-
-void CT_LbsNetworkInducedMTLR::ProcessRequestComplete(TUint aRequestId, TInt aReason)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsNetworkInducedMTLR::ProcessRequestComplete()"));
-
-	// Valid request complete parameters and state.
-	TEST(aRequestId == iSessionId.SessionNum());
-	TEST(aReason == KErrNone);
-
-	if ((iExpectedResponse == CLbsPrivacyController::ERequestRejected) || (iExpectedResponse == CLbsPrivacyController::ERequestUnknown))	// Note: ERequestUnknown == timeout response.
-		{
-		TEST(iState == EPrivacyCheckOk); // For rejected requests no updates are received.
-		}
-	
-	else
-		{
-		TEST(iState == EGpsLocReceived);
-		}
-	
-	iState = ERequestComplete; 
-	ReturnToTestStep();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsoom.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,362 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32base.h>
-// LBS test includes.
-#include "ctlbsoom.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-
-/**
-Static Constructor
-*/
-CT_LbsOom* CT_LbsOom::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note that we do not use ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsOom* testStep = new CT_LbsOom(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsOom::CT_LbsOom(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsOom);
-
-	iState = EInitializing;
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0005);
-	
-	iRefPosInfo = ArgUtils::ReferencePositionInfo();
-	}
-
-
-void CT_LbsOom::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();	
-	
-	//Open the RProperty object for OOM
-	iOomRequest.OpenL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsOom::~CT_LbsOom()
-	{
-	delete iController;
-	delete iProxy;
-	//Close the RProperty object of the module
-	iOomRequest.Close();
-	}
-
-
-TVerdict CT_LbsOom::doTestStepPreambleL()
-	{
-	_LIT(KProcessprivReq, "processprivreq");
-	_LIT(KService, "service");
-	_LIT(KEmergency, "emergency");
-	_LIT(KAdmin, "admin");
-	_LIT(KResponse, "response");
-	_LIT(KProcessPrivReqOpt, "Process Priv Req = %d");
-	_LIT(KEmergencyOpt, "Emergency = %d.");
-	_LIT(KAdminOpt, "Admin = %d.");
-	_LIT(KResponseOpt, "Response = %d.");
-	_LIT(KServiceOpt, "Service = %d.");
-     
-	TInt value;
-			
-	// Read and setup test values for external locate admin and emergency. Also set the session id via timestamp to ensure
-	// a unique id.
-	
-	// Set process privacy request flag for test. If EFalse Emergency NetworkInduced will be carried out, ETrue for
-	// Emergency MTLR requests.
-	if (GetIntFromConfig(ConfigSection(), KProcessprivReq, value))
-		{
-		INFO_PRINTF2(KProcessPrivReqOpt, value);
-		iProcessPrivReq = EFalse;
-
-		if (value)
-			{
-			iProcessPrivReq = ETrue;
-			}
-	
-		// Set emergency for test.
-		if (GetIntFromConfig(ConfigSection(), KEmergency, value))
-			{
-			INFO_PRINTF2(KEmergencyOpt, value);
-			iEmergency = EFalse;
-
-			if (value)
-				{
-				iEmergency = ETrue;		
-				}
-			// Set the request service type for the test.
-			if (GetIntFromConfig(ConfigSection(), KService, value))
-				{
-				INFO_PRINTF2(KServiceOpt, value);
-				iService = static_cast<MLbsNetworkProtocolObserver::TLbsNetProtocolService>(value);
-		
-				// Set the external locate admin for test.
-				if (GetIntFromConfig(ConfigSection(), KAdmin, value))
-					{
-					INFO_PRINTF2(KAdminOpt, value);
-					iExternalLocateValue = static_cast<CLbsAdmin::TExternalLocateService>(value);
-										
-					CLbsAdmin* adminAPI = CLbsAdmin::NewL();
-					CleanupStack::PushL(adminAPI);
-
-					// MTLR admin setting.
-					if (iService == MLbsNetworkProtocolObserver::EServiceMobileTerminated)
-						{
-						User::LeaveIfError(adminAPI->Set(KLbsSettingHomeExternalLocate, iExternalLocateValue));						
-						}
-
-					// Network Induced location request admin setting.
-					else
-						{
-						User::LeaveIfError(adminAPI->Set(KLbsSettingHomeNetworkInducedLocate, iExternalLocateValue));		
-						}
-					
-					CleanupStack::PopAndDestroy(adminAPI);
-			
-					// Set the expected response for test.
-					if (GetIntFromConfig(ConfigSection(), KResponse, value))
-						{
-						INFO_PRINTF2(KResponseOpt, value);
-						iExpectedResponse = static_cast<CLbsPrivacyController::TRequestVerificationResult>(value);
-					
-						// Determine the session id here using a time stamp.
-						TTime timeStamp;
-						timeStamp.HomeTime();
-						iSessionId.SetSessionNum(iSessionId.SessionNum() + I64LOW(timeStamp.Int64()));
-
-						INFO_PRINTF2(_L("Session Id = 0x%x."), iSessionId.SessionNum());
-						}
-					
-					else
-						{
-						ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'response' ini setting.</font></b>\n"));
-						SetTestStepResult(EFail);
-						}
-					}
-					
-				else
-					{
-					ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'admin' ini setting.</font></b>\n"));
-					SetTestStepResult(EFail);
-					}
-				}
-				
-			else
-				{
-				ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'service' ini setting.</font></b>\n"));
-				SetTestStepResult(EFail);
-				}
-			}
-			
-		else
-			{
-			ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'emergency' ini setting.</font></b>\n"));
-			SetTestStepResult(EFail);
-			}
-		}
-		
-	else
-		{
-		ERR_PRINTF1(_L("<font><b>FAILED: Couldn't read 'process priv req' ini setting.</font></b>\n"));
-		SetTestStepResult(EFail);
-		}
-	
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsOom::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsOom::doTestStepL()"));	
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-    //Can't run in urel build as oom macros works only in debug build.
-    #if defined(_DEBUG)
-        //Set oom property ETrue 
-        iOomRequest.OomTestUpdates(ETrue);
-        
-        // Carry out the measurement control, to start the MT-LR or Network Induced request.
-        PerformMeasurementControl();
-        //Carry out privacy notify and accept
-        ProcessNotifyAndAccept();
-        
-        // Perform session complete.
-        PerformSessionComplete();
-       
-        //Set oom property EFalse
-        iOomRequest.OomTestUpdates(EFalse);
-    #else
-        SetTestStepResult(EPass);
-	#endif 
-	return TestStepResult();
-	}
-
-void CT_LbsOom::PerformMeasurementControl()
-	{
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-
-	// As we are running many tests, the AdviceSystemStatus will only appear the first time round after LBS start.
-	TNetProtocolResponseType response = iProxy->WaitForResponse(KAdviceSystemStatusTimeout);
-	
-	// >> AdviceSystemStatus(0)
-	if (response == ENetMsgGetCurrentCapabilitiesResponse)
-		{
-		CLbsNetworkProtocolBase::TLbsSystemStatus status;
-		iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status); 
-		TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-		}
-
-	// Timeout
-	else
-		{
-		TESTL(response == ENetMsgTimeoutExpired);
-		}
-	
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// Perform successful privacy request response.
-	// For standard MTLRs with a prior privacy request, the test harness only supports accepted responses.
-	if (iProcessPrivReq)
-		{
-		// << ProcessPrivacyRequest()
-		const TBool emergency = ETrue;
-		TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-		TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-		iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-		const TInt KTimeOut = 60*1000*1000;
-        // >> Respond Privacy Request
-        TNetProtocolResponseType response = iProxy->WaitForResponse(KTimeOut);
-        if (response == ENetMsgRespondPrivacyRequest)
-            {
-            TLbsNetSessionId* getSessionId = NULL;
-            CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-            TInt cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-            TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-            TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-            }
-		}		
-	// << ProcessLocationUpdate()
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &iRefPosInfo);
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(); //assistanceData
-	// << ProcessLocationRequest()
-	TLbsNetPosRequestQuality quality = ArgUtils::Quality(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &iEmergency, &iService, &quality, &method);
-	}
-
-void CT_LbsOom::ProcessNotifyAndAccept()
-	{
-	const TInt KTimeOut = 60*1000*1000;
-	// >> RequestAssistanceData(0)
-	TNetProtocolResponseType response = iProxy->WaitForResponse(KTimeOut);
-	if (response == ENetMsgRequestAssistanceData)
-	    {     
-        //TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-        TLbsAsistanceDataGroup dataGroup;
-        iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-        TESTL(dataGroup == EAssistanceDataNone);
-	    }
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	TPosition pos;
-	iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	getPositionInfo->GetPosition(pos);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	// Validate the GPS position, test for $update,1,2,51.5015,-0.105,50,2,3* taken from the ini file section [NetworkInduced].
-	if( pos.Latitude() == 51.5015 &&
-	    pos.Longitude() == -0.105 &&
-	    pos.Altitude() == 50 &&
-	    pos.HorizontalAccuracy() == 2 &&
-	    pos.VerticalAccuracy() == 3)
-	   {
-	   INFO_PRINTF1(_L("&gt;&gt;RespondLocationRequest()"));
-	   iState = EGpsLocReceived;   
-	   }
-	
-	}
-
-void CT_LbsOom::PerformSessionComplete()
-	{
-	// << ProcessSessionComplete()
-	TInt completeReason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &completeReason);
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-	TESTL(iState == EGpsLocReceived);
-	}
-//In OOM won't expect any callbacks 	
-void CT_LbsOom::ProcessNetworkLocationRequest(TUint /*aRequestId*/, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;Test Failed due to unexpected call back :: ProcessNetworkLocationRequest()"));
-	SetTestStepResult(EFail);
-	}
-  
-void CT_LbsOom::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;Test Failed due to unexpected call back ::ProcessNetworkPositionUpdate()"));
-	SetTestStepResult(EFail);
-	}    	
-	
-void CT_LbsOom::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-	{
-	INFO_PRINTF1(_L("&gt;&gt;Test Failed due to unexpected call back::ProcessRequestComplete()"));
-	SetTestStepResult(EFail);
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/src/ctlbsuebasedmtlr.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,274 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <lbs/lbsloccommon.h>
-
-// LBS test includes.
-#include "ctlbsuebasedmtlr.h"
-#include "tlbsutils.h"
-#include "argutils.h"
-#include <lbs/test/activeyield.h>
-
-/**
-Static Constructor
-*/
-CT_LbsUEBasedMTLR* CT_LbsUEBasedMTLR::New(CT_LbsHybridMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEBasedMTLR* testStep = new CT_LbsUEBasedMTLR(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEBasedMTLR::CT_LbsUEBasedMTLR(CT_LbsHybridMTLRServer& aParent) : CT_LbsHybridMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsUEBasedMTLR);
-	iSessionId.SetSessionOwner(KRequestUid);
-	iSessionId.SetSessionNum(0x0001);
-	iPositionUpdateRef = EFalse;
-	iState = EInitializing;
-	}
-
-
-void CT_LbsUEBasedMTLR::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridMTLRStep::ConstructL();
-	iController = CLbsPrivacyController::NewL(*this);
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsUEBasedMTLR::~CT_LbsUEBasedMTLR()
-	{
-	delete iController;
-	delete iProxy;
-	}
-
-
-TVerdict CT_LbsUEBasedMTLR::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsUEBasedMTLR::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-
-	const TInt KTimeOut = 60*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;	
-
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	
-	// Initiate MTLR Start
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-
-	// << ProcessPrivacyRequest()
-	const TBool emergency = ETrue;
-	TLbsNetPosRequestPrivacy privacy    = ArgUtils::Privacy();
-	TLbsExternalRequestInfo requestInfo = ArgUtils::RequestInfo();
-	iProxy->CallL(ENetMsgProcessPrivacyRequest, &iSessionId, &emergency, &privacy, &requestInfo);
-
-	// >> Callback from RespondNetworkLocationRequest(ERequestAccepted)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> Respond Privacy Request
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondPrivacyRequest);
-
-	TLbsNetSessionId* getSessionId = NULL;
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse getPrivacy;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondPrivacyRequest, &getSessionId, &getPrivacy);
-	TESTL(getSessionId->SessionNum()==iSessionId.SessionNum());
-	TESTL(getPrivacy==CLbsNetworkProtocolBase::EPrivacyResponseAccepted);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// Initiate MTLR End
-
-	// MTLR Reference Position Notification Start
-
-	// << ProcessLocationUpdate()
-	TPositionInfo positionInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);
-
-	// MTLR Reference Position Notification Stop
-
-	// MTLR Assistance Data Notification Start
-
-	// << ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy();
-
-	// MTLR Assistance Data Notification Stop
-
-	// MTLR Network Location Request Start
-
-	// << ProcessLocationRequest()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceMobileTerminated;
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2();
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// MTLR Network Location Request Stop
-
-	// >> Callback from ProcessNetworkPostionUpdate(refPosition)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-
-	// >> Callback from ProcessNetworkPostionUpdate(GPS Location)
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	
-	// >> RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
-	TESTL(dataGroup == EAssistanceDataNone);
-
-	// >> RespondLocationRequest()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionExtendedSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getPositionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	/* Check whether ExtendedSatelliteInfo data received by protocol module is the same as data fed to the GPS module or not. 
-    Latitude(51.5015),Longitude(-0.105),Altitude(50),HorizontalAccuracy(2),VerticalAccuracy(3),
-    speed(26.0),vertical speed(20.0),heading(25.0),course(30.0),SPEED_ACCURACY(2.0),VERTICAL_SPEED_ACCURACY(3.0),
-    HEADING_ACCURACY(10.0),COURSE_ACCURACY(4.0),SD_OF_LONG_ERROR(5.0),SD_OF_LAT_ERROR(6.0),SD_OF_ALT_ERROR(7.0),
-    SD_OF_SEMI_MAJOR_AXIS_ERROR(8.0),SD_OF_SEMI_MINOR_AXIS_ERROR(9.0),ORIEN_OF_SEMI_MAJOR_AXIS_ERROR(10.0),
-    RMS_VAL_OF_SD_OF_RANGE(11.0),GEOIDAL_SEPARATION(12.0),MAGNETIC_VARIATION(13.0),COURSE_OVER_GROUND_MAGNETIC(14.0)
-    GPS_TIMING_OF_CELL_MsPart(16383),GPS_TIMING_OF_CELL_LsPart(4294967295),REFERENCE_IDENTITY(511)
-    SFN(4095)*/   
-	    
-    TPosition gpsPos;
-    getPositionInfo->GetPosition(gpsPos);
-    TESTL(gpsPos.Latitude()==51.5015 && gpsPos.Longitude()== -0.105 && gpsPos.Altitude()==50 
-          && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3);             
-    TCourse course;
-    getPositionInfo->GetCourse(course);
-         
-    TESTL(course.Speed()==26.0 && course.VerticalSpeed()==20.0 && course.Heading()==25.0 && course.Course()==30.0 && 
-          course.SpeedAccuracy()==2.0 && course.VerticalSpeedAccuracy()==3.0 && course.HeadingAccuracy()==10.0 &&
-          course.CourseAccuracy()==4.0);           
-    
-    TDetailedErrorReport detErrRep;
-    getPositionInfo->GetDetailedErrorReport(detErrRep);
-    TESTL(detErrRep.StanDeviOfLongitudeError()==5.0 && detErrRep.StanDeviOfLatiitudeError()==6.0 && 
-          detErrRep.StanDeviOfAltitudeError()==7.0 && detErrRep.StanDeviOfSemiMajorAxisError()==8.0 && 
-          detErrRep.StanDeviOfSemiMinorAxisError()==9.0 && detErrRep.OrientationOfSemiMajorAxisError()==10.0 && 
-          detErrRep.RmsValOfStanDeviOfRange()==11.0);  
-    
-    TGpsTimingMeasurementData gpsTimingData;
-    getPositionInfo->GetGpsTimingData(gpsTimingData);
-     
-    TESTL(gpsTimingData.DataType()== TGpsTimingMeasurementData::EGpsTimingDataTypeUtran && 
-          gpsTimingData.NetworkMode()== TGpsTimingMeasurementData::ENetworkModeFdd && 
-          gpsTimingData.GPSTimingOfCellMsPart()==16383 && gpsTimingData.GPSTimingOfCellLsPart()==4294967295UL && 
-          gpsTimingData.ReferenceIdentity()==511 && gpsTimingData.Sfn()==4095);  
-                   
-    
-    TESTL(getPositionInfo->GeoidalSeparation()==12.0 && getPositionInfo->MagneticVariation()==13.0 && 
-          getPositionInfo->CourseOverGroundMagnetic()==14.0);  
-    			
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	// MTLR Session Completion Start
-	// << ProcessSessionComplete()
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	// << ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask2 = MLbsNetworkProtocolObserver::EServiceNone;	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask2);
-
-	// >> Callback from ProcessRequestComplete()
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	// MTLR Session Completion Stop
-
-	// Verify that the last callback was to ProcessSessionComplete()
-	TESTL(iState==ERequestComplete);
-	
-	return TestStepResult();
-	}
-
-void CT_LbsUEBasedMTLR::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& /*aRequestInfo*/, const TNotificationType& /*aNotificationType*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsUEBasedMTLR::ProcessNetworkLocationRequest()"));
-	TEST(iState==EInitializing);
-	iController->RespondNetworkLocationRequest(aRequestId, CLbsPrivacyController::ERequestAccepted);
-	iState = EPrivacyCheckOk;
-	ReturnToTestStep();
-}
-
-void CT_LbsUEBasedMTLR::ProcessNetworkPositionUpdate(TUint /*aRequestId*/, const TPositionInfo& /*aPosInfo*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsUEBasedMTLR::ProcessNetworkPositionUpdate()"));
-	if(!iPositionUpdateRef)
-		{
-		TEST(iState==EPrivacyCheckOk);
-		iState=ERefLocReceived;	
-		iPositionUpdateRef = ETrue;	
-		}
-	else
-		{
-		//This function is called back twice. First time when it returns the ref loc and second time when it returns a Gps loc
-		//We need to test iState for different state
-		TEST(iState==ERefLocReceived);
-		iState=EGpsLocReceived;
-		}
-	ReturnToTestStep();
-}
-
-void CT_LbsUEBasedMTLR::ProcessRequestComplete(TUint /*aRequestId*/, TInt /*aReason*/)
-{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsUEBasedMTLR::ProcessRequestComplete()"));
-	TEST(iState==EGpsLocReceived);
-	iState=ERequestComplete; 
-	ReturnToTestStep();
-}
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridmtlr/testdata/sf_lbs_mtlr.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,625 +0,0 @@
-[PrivHandler]
-privhandler_type=1
-
-
-[UEBasedMTLR]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,51.5015,-0.105,50,2,3*
-
-
-[HybridUEAssistedMTLRNW]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN*
-$update,1,2,51.5023,-0.1084,10,2000,2000*
-$update,1,3,51.5021,-0.1077,10,2000,2000*
-
-// Quality profile, lbsprofile.ini - [horiz acc, vert acc] [50, 1000]
-// Inaccurate GPS Positions have quality of [2000,2000]
-
-
-[HybridUEAssistedMTLRGPSOK]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,51.5015,-0.105,50,2,3*
-
-
-[HybridUEAssistedMTLRNoGPS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,2,2,NAN,NAN,NAN,NAN,NAN*
-
-
-[HybridUEBasedFutile]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[UEAssistedFutile]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[AccurateReferencePosition]	
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[NonHybridUEBasedFutile]
-tc_id = 3
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-
-// error coded in update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[HybridUEBasedLateFutile]
-tc_id = 4
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-
-// error coded in second update is KPositionCalculationFutile (4)
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[Comment]
-//////////////////////////// TAP TESTS //////////////////////////////
-// Key:
-// 
-// NetworkMethod: 
-// 	1 = TB
-// 	2 = TB+TA
-// 	3 = TA
-//	4 = TA+TB
-//	5 = unspecified
-//
-// PositionOriginator:
-// 	1 = module
-// 	2 = network
-//
-// Module Modes:
-//	1 entry of this format for eachg time the module mode is reconfigured during test:
-// 	$modulemodes,mode,[pos or meas],[pos or meas]*
-// 
-// 	where mode is one of:
-// 	1 = PTB
-// 	2 = ATB (not supported)
-// 	3 = Autonomous
-// 	4 = PTA
-// 	5 = ATA
-//
-// 	[] = optional
-// 	1 = pos
-// 	2 = meas
-//
-// 	For example, here we expect The module to be set to PTB and then to hybrid:
-// 	$modulemodes,1*
-// 	$modulemodes,1,1,2*
-//
-// Updates:
-//	1 entry of this format for each update to be sent by the module:
-//	$update,number of updates of this type, ?,lat, long, alt, hor acc, vert acc*
-//	
-//	For example, here we expect 3 updates where the first 2 are inaccurate (all NANs) and the third is a proper update:
-//	$update,2,4,NAN,NAN,NAN,NAN,NAN*
-//	$update,1,0,49.2,3.5,50,20,20*
-//
-//	Note: the module makes the meas data details up itself, don't need them in config
-//	Note: the agps hybrid test module always sends a NAN pos/meas soon after the request has been sent, 
-//	      independent of above which are sent at max fix time for each request.
-//	
-//	Note: the TAP test framework will make 2 requests from the NW where measurements are expected (TAP / Hybrid)
-//	      and a single request from the network when a position is expected	(PTB / Hybrid)
-//
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-//----------------------------- TB CAP -----------------------------
-
-[MTLR-TBCAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-[MTLR-TBCAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA				
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-// Rejected by NRH
-[MTLR-TBCAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should not be set
-
-
-[MTLR-TBCAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-//----------------------------- TA CAP -----------------------------
-
-// Rejected by NRH
-[MTLR-TACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the network will return the position (not used, but we need to set something)
-PositionOriginator = 2
-// The module should not be set 
-
-
-[MTLR-TACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-[MTLR-TACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-[MTLR-TACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TATB
-NetworkMethod = 4
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-//----------------------------- TB||TA CAP -----------------------------
-
-[MTLR-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-
-[MTLR-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-
-[MTLR-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA
-// PTA
-$modulemodes,4*
-
-
-[MTLR-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the network will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again - the default mode set in LBSAdmin
-// PTB
-$modulemodes,1*
-
-
-//----------------------------- TB&&TA CAP -----------------------------
-
-[MTLR-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-[MTLR-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to hybrid
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[MTLR-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA
-// PTA
-$modulemodes,4*
-
-
-[MTLR-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to hybrid
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[MTLR-TBANDTACAP-NOTSPECIFIEDNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will not specify the gps mode
-NetworkMethod = 5
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-[MTLR-RESET-AUTO-BEG]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,0,49.2,3.5,50,20,20*
-// The network will request Autonomous
-NetworkMethod = 5
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset at the beginning of the sesion
-StepForReset = 2
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF 
-ResetMask = -1
-
-[MTLR-RESET-HYBR-AFTMES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-$update,1,3,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after measurements are received
-StepForReset = 4
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-HYBR-AFTPOS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,3,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after position is received
-StepForReset = 5
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TB-AFTAST]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TB-AFTAST2]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0x00000001, so no assistance data set already should be touched
-//ResetMask = 1
-// Updated ResetMask to 4 as NPE doesnt support EAssistanceDataAquisitionAssistance - 0x00000001
-ResetMask = 4
-
-[MTLR-RESET-TB-AFTAST3]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0x00000008 (EAssistanceDataReferenceTime)
-ResetMask = 8
-
-[MTLR-RESET-TB-AFTCLS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after session close
-StepForReset = 6
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TB-AFTPOS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after position is received
-StepForReset = 5
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFF7 (everything - 0x000000008(EAssistanceDataReferenceTime))
-ResetMask = -9
-
-[MTLR-RESET-TB-BEFSES]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset before session is started
-StepForReset = 1
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TB-BEG]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,1,0,49.2,3.5,50,20,20*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset when session begins
-StepForReset = 2
-// Warm up module (the module will be warmed up in TB)
-WarmUpModule = 1
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TA-AFTAST]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,3,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-[MTLR-RESET-TA-AFTCLS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-$update,2,3,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// Reset after session is closed
-StepForReset = 6
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
-
-
-// key to ini variables for network induced testing
-// ------------------------------------------------
-// processprivreq = 0 (off) or 1 (on)
-// service = 4 (EServiceMobileTerminated) or 16 (EServiceNetworkInduced)
-// emergency = 0 (off) or 1 (on)
-// admin = 	1 (EExternalLocateOn) or 2 (EExternalLocateOnButAlwaysVerify) or 3 (EExternalLocateOff) or 4 (EExternalLocateOffButNotify)
-// response = 1 (ERequestAccepted) or 2 (ERequestRejected)
-
-[NetworkInduced]
-agps_module_update_file = c:\testdata\configs\sf_lbs_mtlr.ini
-
-$update,1,2,51.5015,-0.105,50,2,3*
-
-
-// Network Induced tests.
-
-[NetworkInduced_EmergencyOn_AdminAny]
-processprivreq = 0
-emergency = 1
-service = 16
-admin = 3
-response = 1
-
-
-[NetworkInduced_EmergencyOff_AdminOn]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 1
-response = 1
-
-[NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Accept]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 2
-response = 1
-
-[NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Reject]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 2
-response = 2
-
-[NetworkInduced_EmergencyOff_AdminOnButAlwaysVerify_Timeout]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 2
-response = 0
-
-[NetworkInduced_EmergencyOff_AdminOff]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 3
-response = 2
-
-[NetworkInduced_EmergencyOff_AdminOffButNotify]
-processprivreq = 0
-emergency = 0
-service = 16
-admin = 4
-response = 2
-
-
-// MTLR without prior privacy request tests
-
-[NoPrivMTLR_EmergencyOn_AdminAny]
-processprivreq = 0
-emergency = 1
-service = 4
-admin = 3
-response = 1
-
-
-[NoPrivMTLR_EmergencyOff_AdminOn]
-processprivreq = 0
-emergency = 0
-service = 4
-admin = 1
-response = 1
-
-
-// MTLR with privacy request tests
-
-[MTLR_EmergencyOn_AdminAny]
-processprivreq = 1
-emergency = 1
-service = 4
-admin = 3
-response = 1
-
-
-[MTLR_EmergencyOff_AdminOn]
-processprivreq = 1
-emergency = 0
-service = 4
-admin = 1
-response = 1
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sf_lbs_x3p.ini	c:/testdata/configs/sf_lbs_x3p.ini
-../scripts/sf_hybrid_ueassisted_x3p_accurate_gps.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_accurate_gps.script
-../scripts/sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script
-../scripts/sf_hybrid_ueassisted_x3p_client_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_client_timeout.script
-../scripts/sf_hybrid_ueassisted_x3p_gps_futile.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_gps_futile.script
-../scripts/sf_hybrid_ueassisted_x3p_no_gps.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_no_gps.script
-../scripts/sf_hybrid_ueassisted_x3p_no_gps_timeout.script	c:/testdata/scripts/sf_hybrid_ueassisted_x3p_no_gps_timeout.script
-../scripts/sf_hybrid_uebased_x3p_gps_futile.script	c:/testdata/scripts/sf_hybrid_uebased_x3p_gps_futile.script
-../scripts/sf_uebased_x3p.script	c:/testdata/scripts/sf_uebased_x3p.script
-../scripts/sf_x3p_Acc_ref_pos.script	c:/testdata/scripts/sf_x3p_Acc_ref_pos.script
-../scripts/sf_x3p_gpsmodeoptions.script	c:/testdata/scripts/sf_x3p_gpsmodeoptions.script
-
-PRJ_TESTMMPFILES
-
-ctsflbshybridx3pserver.mmp
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/group/ctsflbshybridx3pserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctsflbsx3pserver.mmp
-// 
-//
-
-TARGET		sflbshybridx3ptestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x10287209
-VENDORID 	0x70000001
-CAPABILITY	ProtServ LocalServices WriteDeviceData ReadDeviceData Location NetworkServices
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-USERINCLUDE	../inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsNetInternalApi/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsInternalApi/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsPartnerCommon/inc
-USERINCLUDE	../../../../../../locationmgmt/locationcore/LbsCommonInternalDataTypes/inc
-// Lbs Data Source test step code.
-SOURCEPATH  ../src
-SOURCE	ctlbshybridueassistedx3paccurategps.cpp
-SOURCE	ctlbshybridueassistedx3paccurategpstimeout.cpp
-SOURCE	ctlbshybridueassistedx3pclienttimeout.cpp
-SOURCE	ctlbshybridueassistedx3pgpsfutile.cpp
-SOURCE	ctlbshybridueassistedx3pnogps.cpp
-SOURCE	ctlbshybridueassistedx3pnogpstimeout.cpp
-SOURCE	ctlbshybriduebasedx3pgpsfutile.cpp
-SOURCE	ctlbshybridx3pserver.cpp
-SOURCE	ctlbshybridx3pstep.cpp
-SOURCE	ctlbsuebasedx3p.cpp
-SOURCE	ctlbsx3pAccRefPos.cpp
-SOURCE	ctlbsx3pgpsoptions.cpp
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsx3p.lib
-LIBRARY lbsassistancedata.lib
-LIBRARY lbsnetsim.lib
-LIBRARY	lbslocdatasource.lib
-LIBRARY lbsnetinternalapi.lib
-LIBRARY lbsinternalapi.lib
-LIBRARY	lbspartnercommon.lib
-
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY	lbstestclient.lib
-LIBRARY lbsnetprotocolproxy.lib
-LIBRARY getafixutils.lib
-
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3paccurategps.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PAccurateGPS, "LbsHybridUEAssistedX3PAccurateGPS");
-
-class CT_LbsHybridUEAssistedX3PAccurateGPS :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PAccurateGPS();
-
-	static CT_LbsHybridUEAssistedX3PAccurateGPS* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PAccurateGPS(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3paccurategpstimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_TIMEOUT_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PAccurateGPSTimeout, "LbsHybridUEAssistedX3PAccurateGPSTimeout");
-
-class CT_LbsHybridUEAssistedX3PAccurateGPSTimeout :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PAccurateGPSTimeout();
-
-	static CT_LbsHybridUEAssistedX3PAccurateGPSTimeout* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PAccurateGPSTimeout(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_ACCURATE_GPS_TIMEOUT_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pclienttimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_CLIENT_TIMEOUT_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_CLIENT_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PClientTimeout, "LbsHybridUEAssistedX3PClientTimeout");
-
-class CT_LbsHybridUEAssistedX3PClientTimeout :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PClientTimeout();
-
-	static CT_LbsHybridUEAssistedX3PClientTimeout* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PClientTimeout(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_CLIENT_TIMEOUT_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pgpsfutile.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_GPS_FUTILE_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_GPS_FUTILE_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PGPSFutile, "LbsHybridUEAssistedX3PGPSFutile");
-
-class CT_LbsHybridUEAssistedX3PGPSFutile :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PGPSFutile();
-
-	static CT_LbsHybridUEAssistedX3PGPSFutile* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PGPSFutile(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_GPS_FUTILE_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pnogps.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PNoGPS, "LbsHybridUEAssistedX3PNoGPS");
-
-class CT_LbsHybridUEAssistedX3PNoGPS :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PNoGPS();
-
-	static CT_LbsHybridUEAssistedX3PNoGPS* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PNoGPS(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridueassistedx3pnogpstimeout.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_TIMEOUT_H__
-#define __CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_TIMEOUT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEAssistedX3PNoGPSTimeout, "LbsHybridUEAssistedX3PNoGPSTimeout");
-
-class CT_LbsHybridUEAssistedX3PNoGPSTimeout :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsHybridUEAssistedX3PNoGPSTimeout();
-
-	static CT_LbsHybridUEAssistedX3PNoGPSTimeout* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEAssistedX3PNoGPSTimeout(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_ASSISTED_X3P_NO_GPS_TIMEOUT_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybriduebasedx3pgpsfutile.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_HYBRID_UE_BASED_X3P_GPS_FUTILE_H__
-#define __CT_LBS_HYBRID_UE_BASED_X3P_GPS_FUTILE_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsHybridUEBasedX3PGPSFutile, "LbsHybridUEBasedX3PGPSFutile");
-
-class CT_LbsHybridUEBasedX3PGPSFutile :public	CT_LbsHybridX3PStep 
-	{
-public:
-	~CT_LbsHybridUEBasedX3PGPSFutile();
-
-	static CT_LbsHybridUEBasedX3PGPSFutile* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsHybridUEBasedX3PGPSFutile(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	TInt iTestCaseId;
-	};
-
-#endif //__CT_LBS_HYBRID_UE_BASED_X3P_GPS_FUTILE_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridx3pserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridx3pserver.h
-// 
-//
-
-#ifndef __CT_LBS_HYBRID_X3P_SERVER_H__
-#define __CT_LBS_HYBRID_X3P_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-
-//Literals Used
-_LIT(KSfLbsHybridX3PTestServer,"SfLbsHybridX3PTestServer");
-
-
-// Implements the LBS Client Test server
-class CT_LbsHybridX3PServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsHybridX3PServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsHybridX3PServer();
-	CT_LbsHybridX3PServer();
-public:
-
-protected:
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_HYBRID_X3P_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbshybridx3pstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-#ifndef __CT_LBS_HYBRID_X3P_STEP_H__
-#define __CT_LBS_HYBRID_X3P_STEP_H__
-
-
-// EPOC includes.
-#include <test/TestExecuteStepBase.h>
-#include <lbs/test/ctlbsagpsmoduleeventlistener.h>
-
-#include "ctlbshybridx3pserver.h"
-
-const TUid KX3PRequestUid = {0x1028228F};
-/** Delta timout value used in all tests */
-const TInt KDelta = 2.0 * 1000 * 1000;	//2 seconds
-
-class CT_LbsHybridX3PStep :	public CTestStep, MT_AgpsModuleEventHandler
-{
-
-public:
-	virtual ~CT_LbsHybridX3PStep();
-
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-	CT_LbsHybridX3PStep(CT_LbsHybridX3PServer& aParent);
-
-	void ConstructL();
-
-	TPosition iRefPos;
-	
-	CT_LbsHybridX3PServer& iParent;
-
-private: // from MT_AgpsModuleEventHandler
-	void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions);
-	
-private:
-	RPointerArray<TLbsGpsOptions> iExpectedModuleGpsOptions;
-	TInt iExpectedModuleGpsOptionsIndex;
-	
-	CT_AgpsModuleEventListener* iAgpsModuleEventListener;
-	
-};
-
-#endif // __CT_LBS_HYBRID_X3P_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsuebasedx3p.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_UE_BASED_X3P_H__
-#define __CT_LBS_UE_BASED_X3P_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsUEBasedX3P, "LbsUEBasedX3P");
-
-class CT_LbsUEBasedX3P :public	CT_LbsHybridX3PStep 
-	{
-public:
-	~CT_LbsUEBasedX3P();
-
-	static CT_LbsUEBasedX3P* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsUEBasedX3P(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_UE_BASED_X3P_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsx3pAccRefPos.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __CT_LBS_X3P_ACC_REF_POS_H__
-#define __CT_LBS_X3P_ACC_REF_POS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include "ctlbshybridx3pserver.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-
-// Literals used
-_LIT(KLbsX3pAccurateReferencePosition, "LbsX3pAccurateReferencePosition");
-
-class CT_LbsX3pAccRefPos :	public	CT_LbsHybridX3PStep
-	{
-public:
-	~CT_LbsX3pAccRefPos();
-
-	static CT_LbsX3pAccRefPos* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsX3pAccRefPos(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();		
-
-private:
-	TLbsNetSessionId iSessionId;
-    CNetProtocolProxy* iProxy;
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iTransmitter;
-	};
-
-#endif //__CT_LBS_X3P_ACC_REF_POS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/inc/ctlbsx3pgpsoptions.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This contains the header file for X3P GPS mode options Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_GPS_OPTIONS_H__
-#define __CT_LBS_X3P_GPS_OPTIONS_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-
-// LBS test includes.
-#include "ctlbshybridx3pstep.h"
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include <lbs/test/transmitserverwatch.h>
-
-// Literals used
-_LIT(KLbsX3PGpsOptions, "LbsX3PGpsOptions");
-
-class CT_LbsX3PGpsOptions :	public	CT_LbsHybridX3PStep, public MTransmitServerObserver
-	{
-public:
-	~CT_LbsX3PGpsOptions();
-
-	static CT_LbsX3PGpsOptions* New(CT_LbsHybridX3PServer& aParent);
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-	virtual TVerdict doTestStepL();
-	
-	// MTransmitServerObserver
-	void OnTransmitRefPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	void OnTransmitPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo);
-	
-protected:
-	CT_LbsX3PGpsOptions(CT_LbsHybridX3PServer& aParent);
-	void ConstructL();
-
-private:
-	TLbsNetPosRequestMethod RequestNetworkMethod();
-	void DecideWhatNetworkReceives();
-
-private:
-	enum TState
-		{
-		EInitializing,
-		ERefLocReceived,
-		EGpsLocReceived
-		};
-	enum TChosenNetworkMethod
-		{
-		ENetworkMethodInvalid,
-		ETerminalBasedNetworkMethod,
-		ETerminalBasedTerminalAssistedNetworkMethod,
-		ETerminalAssistedNetworkMethod,
-		ETerminalAssistedTerminalBasedNetworkMethod,
-		ENetworkMethodNotSet,
-		};
-	enum TPlannedPositionOriginator
-		{
-		EPositionOriginatorUnkown,
-		EPositionOriginatorModule,
-		EPositionOriginatorNetwork
-		};
-	
-	TState iState;
-	TLbsNetSessionId iSessionId;
-	CNetProtocolProxy* iProxy;	
-	RLbsTransmitPositionServer iServer;	
-	RLbsTransmitPosition iTransmitter;	
-	/** Used so the network requests the method specified in the ini file */
-	TChosenNetworkMethod iNetworkMethod;
-	/** Used so the network proxy knows if it should return the positions 
-	 	or should let the module calculate it in hybrid case */
-	TPlannedPositionOriginator iPlannedPositionOriginator;
-	/** Used so the network proxy knows what to expect */
-	TBool iNetworkExpectsMeasurements;
-	TBool iNetworkExpectsPositions;
-	/* If network requests a mode that the module does not support it will be rejected */
-	TBool iNetRequestRejected;
-	/** So we know what to expect when network doesn't specify mode */
-	CLbsAdmin::TGpsMode iAdminGpsMode;	
-	};
-
-#endif //__CT_LBS_X3P_GPS_OPTIONS_H__
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_accurate_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-ACCURATEGPS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-AccurateGps-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-AccurateGps-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates an accurate position in UE Assisted Mode
-//!			See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_UE-Assisted_X3P_Accurate
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PAccurateGPS
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PAccurateGPS
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-AccurateGps-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-ACCURATEGPSTIMEOUT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-AccurateGpsTimeout-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-AccurateGpsTimeout-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates an accurate position
-//!			Timeout in waiting for receive Facility 
-//!			See: lbshybridx3p/documentation/X3P.htm#x3pAssistAccFacilityTimeout
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 600 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PAccurateGPS
-RUN_TEST_STEP 600 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PAccurateGPSTimeout
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-AccurateGpsTimeout-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_client_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-CLIENTTIMEOUT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-ClientTimeout-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-ClientTimeout-0001
-//! @SYMTestCaseDesc            Description missing
-//! @SYMTestPriority            High
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMCreationDate            28/8/2008
-//! @SYMAuthor                  alans
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PClientTimeout
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PClientTimeout
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-ClientTimeout-0001
-
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_gps_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-FUTILE
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-GpsFutile-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-GpsFutile-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates a measurement with Futile Error in UE Assisted State
-//!			See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_X3P_UE-Assisted_Futile
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PGPSFutile
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PGPSFutile
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-GpsFutile-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_no_gps.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-NOGPS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-NoGps-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-NoGps-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates measurement(s)
-//!			GPS Module unable to generates an accurate position
-//!			See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_UE-Assisted_X3P_NoGPSResult
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PNoGPS
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PNoGPS
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-NoGps-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_ueassisted_x3p_no_gps_timeout.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEASSISTED-NOGPSTIMEOUT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-NoGpsTimeout-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEAssistedX3P-NoGpsTimeout-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates measurement(s)
-//!			GPS Module unable to generates an accurate position
-//!			Timeout in waiting for receive Facility 
-//!			See: lbshybridx3p/documentation/X3P.htm#x3pAssistNOResFacilityTimeout
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 600 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEAssistedX3PNoGPS
-RUN_TEST_STEP 600 SfLbsHybridX3PTestServer LbsHybridUEAssistedX3PNoGPSTimeout
-END_TESTCASE SFLBS-HybridX3P-UEAssistedX3P-NoGpsTimeout-0001
-
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_hybrid_uebased_x3p_gps_futile.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEBASED-FUTILE
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0001
-//! @SYMTestCaseID              SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0001
-//! @SYMTestCaseDesc            Client generates X3P request
-//!                             GPS Module generates a measurement with Futile Error in UE Based State
-//!                             See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_X3P_UE-Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini HybridUEBasedX3PGPSFutile
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEBasedX3PGPSFutile c:\testdata\configs\sf_lbs_x3p.ini HybridUEBasedX3PGPSFutile
-END_TESTCASE SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0001
-/////////////////////////////////////////////////////////////////////////
-// It should not be necessary to restart Lbs in between tests. 
-// However do this for now so the next test step does not fail
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-/////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE                SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0002
-//! @SYMTestCaseID              SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0002
-//! @SYMTestCaseDesc            Client generates X3P request
-//!                             GPS Module generates a measurement with Futile Error in UE Based State
-//!                             See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_X3P_UE-Based_Futile
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             See test step Sequence inline comments
-//! @SYMTestExpectedResults     Sequence as per specified by FSM and UML Seq diagram is Followed
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini NonHybridUEBasedX3PGPSFutile
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsHybridUEBasedX3PGPSFutile c:\testdata\configs\sf_lbs_x3p.ini NonHybridUEBasedX3PGPSFutile
-END_TESTCASE SFLBS-HybridX3P-UEBasedX3P-GpsFutile-0002
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_uebased_x3p.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-UEBASED
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-UEBasedX3P-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-UEBasedX3P-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			GPS Module generates an accurate position in UE Based Mode
-//!			See: lbshybridx3p/documentation/X3P.htm#Hybrid_LBS_UE-Based_X3P
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini UEBasedX3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsUEBasedX3P
-END_TESTCASE SFLBS-HybridX3P-UEBasedX3P-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_x3p_Acc_ref_pos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-ACCREFPOS
-//! @SYMScriptTestEnvironment TEF
-
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-//	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-	CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-
-// Select MTLR privacy controller.
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sf_lbs_x3p.ini PrivHandler
-
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-HybridX3P-AccRefPos-0001
-//!@SYMTestCaseID SFLBS-HybridX3P-AccRefPos-0001
-//!@SYMTestCaseDesc	Client generates X3P request
-//!			See: lbshybridx3p/documentation/AccurateRefPos-LBS-X3P.svg
-//!@SYMTestActions	See test step Sequence inline comments
-//!@SYMTestExpectedResults	Sequence as per specified by FSM and UML Seq diagram is Followed
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-// Configure Hybrid AGps module options
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini AccurateReferencePosition
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3pAccurateReferencePosition c:\testdata\configs\sf_lbs_x3p.ini AccurateReferencePosition
-END_TESTCASE SFLBS-HybridX3P-AccRefPos-0001
-
-RUN_TEST_STEP 100 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/scripts/sf_x3p_gpsmodeoptions.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,806 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-HYBRIDX3P-GPSOPTIONS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsHybridX3PTestServer -SharedData
-
-PRINT Run SfLbsHybridX3PTestServer
-
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-// NOTE: When the network asks for TA it doesn't typically provide a reference position - need to update scripts + test framework to deal with that!
-
-// Reset admin (reset will give us the EGpsPreferTerminalBased).
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_ResetDefaultAdmin
-// Use hybrid protocol module
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetupProtocolStub
-
-
-//--------------------------------------------------------------- Module Caps = TB -----------------------------------------------------------------------
-
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-
-START_TESTCASE                SFLBS-X3P-TBCAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBCAP-TBNETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TBNET
-END_TESTCASE SFLBS-X3P-TBCAP-TBNETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBCAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBCAP-TBTANET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB
-//!                             network wants TB+TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TBTANET
-END_TESTCASE SFLBS-X3P-TBCAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBCAP-TANET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBCAP-TANET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB
-//!                             network wants TA
-//!                             Rejected by NRH
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - not used
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response with KErrNotSupported (LBS-->PM)    >> RespondLocationRequest(KErrNotsupported)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNotSupported     >> RunL (KErrNotSupported)
-//! @SYMTestExpectedResults     Network Request is Rejected by NRH
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TANET
-END_TESTCASE SFLBS-X3P-TBCAP-TANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBCAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBCAP-TATBNET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBCAP-TATBNET
-END_TESTCASE SFLBS-X3P-TBCAP-TATBNET-001
-
-
-//--------------------------------------------------------------- Module Caps = TA -----------------------------------------------------------------------
-
-// Change module caps to TA only:
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-X3P-TACAP-TBNET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TA
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TB (not used)
-//!                             Read 'position originator' (network/module) from test config - module (not used)
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus(ESystemStatusNone)
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response with KErrNotSupported (LBS-->PM)    >> RespondLocationRequest(KErrNotsupported)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete(KErrNotSupported)
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (KErrNotSupported)
-//! @SYMTestExpectedResults     NRH Rejects the network request and transmitPosition is completed with KErrNotSupported
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TBNET
-END_TESTCASE SFLBS-X3P-TACAP-TBNET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-X3P-TACAP-TBTANET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TA
-//!                             network wants TBTA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TBTA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module returns 2 measurements. Network calculates position. TransmitPosition is completed with KErrNone
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TBTANET
-END_TESTCASE SFLBS-X3P-TACAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TACAP-TANET-001
-//! @SYMTestCaseID              SFLBS-X3P-TACAP-TANET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TA
-//!                             network wants TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module returns 2 measurements. Network calculates position. TransmitPosition is completed with KErrNone
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TANET
-END_TESTCASE SFLBS-X3P-TACAP-TANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-X3P-TACAP-TATBNET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TA
-//!                             network wants TATB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TA
-//!                             Read network request mode from test config - TATB
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module returns 2 measurements. Network calculates position. TransmitPosition is completed with KErrNone
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TACAP-TATBNET
-END_TESTCASE SFLBS-X3P-TACAP-TATBNET-001
-
-
-//--------------------------------------------------------------- Module Caps = TB || TA -----------------------------------------------------------------------
-
-// Change module caps to TA || TB:
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBORTACAP-TBNET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBORTACAP-TBNET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB||TA
-//!                             network wants TB
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TBNET
-END_TESTCASE SFLBS-X3P-TBORTACAP-TBNET-001
-
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-//PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBORTACAP-TBTANET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBORTACAP-TBTANET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB||TA
-//!                             network wants TB+TA
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TB+TA (hybrid)
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TBTANET
-END_TESTCASE SFLBS-X3P-TBORTACAP-TBTANET-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBORTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB || TA
-//!                             network wants TA
-//!                             module supplies measurements
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB || TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module returns 2 measurements. Network calculates position. TransmitPosition is completed with KErrNone
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TANET
-END_TESTCASE SFLBS-X3P-TBORTACAP-TANETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBORTACAP-TATBNET-001
-//! @SYMTestCaseID              SFLBS-X3P-TBORTACAP-TATBNET-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB||TA
-//!                             network wants TA+TB
-//!                             module supplies an accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB||TA
-//!                             Read network request mode from test config - TA+TB (hybrid)
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBORTACAP-TATBNET
-END_TESTCASE SFLBS-X3P-TBORTACAP-TATBNET-001
-
-//--------------------------------------------------------------- Module Caps = TB && TA -----------------------------------------------------------------------
-
-// Change module caps to Hybrid (TA && TB):
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_UTILS CopyFile c:\testdata\configs\ctagpshybridmoduledatasource.ini  c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBANDTACAP-TBNETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB && TA
-//!                             network wants TB
-//!                             module supplies accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TBNET
-END_TESTCASE SFLBS-X3P-TBANDTACAP-TBNETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBANDTACAP-TBTANETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB && TA
-//!                             network wants TB+TA
-//!                             module supplies 2 sets of measurements then a position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TB+TA
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TBTA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in Hybrid mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TBTANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TBTANET
-END_TESTCASE SFLBS-X3P-TBANDTACAP-TBTANETWORK-001
-
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBANDTACAP-TANETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB && TA
-//!                             network wants TA
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA
-//!                             Read 'position originator' (network/module) from test config - network
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData(0)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TA)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify Location Response (LBS-->PM)       >> RespondLocationRequest(meas)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTA mode. Module returns 2 measurements. Network calculates position. TransmitPosition is completed with KErrNone
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TANET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TANET
-END_TESTCASE SFLBS-X3P-TBANDTACAP-TANETWORK-001
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBANDTACAP-TATBNETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB && TA
-//!                             network wants TA+TB
-//!                             module supplies one (complete) position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - TA+TB
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM)      >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(TATB)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in Hybrid mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TATBNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-TATBNET
-END_TESTCASE SFLBS-X3P-TBANDTACAP-TATBNETWORK-001
-
-
-// The following test requires gpsmode in admin = PTB:
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_SetPTBMode
-
-// Note: Currently all the tests cases check for a SystemStatus update being sent by lbs. But this only happens on startup.
-// Alternative would be to remove Stop Start and not have all tests checking for status update...?
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-RUN_TEST_STEP 030 SfLbsHybridX3PTestServer LbsStep_StartLbs
-
-
-PRINT ----------------------------------------------------------------------------------------------------------------------------------------------------
-
-
-START_TESTCASE                SFLBS-X3P-TBANDTACAP-UNSPECIFIEDNETWORK-001
-//! @SYMTestCaseID              SFLBS-X3P-TBANDTACAP-UNSPECIFIEDNETWORK-001
-//! @SYMTestCaseDesc            X3P request with:
-//!                             mod caps = TB && TA
-//!                             network doesn't specify mode
-//!                             module supplies accurate position
-//! @SYMTestPriority            Medium
-//! @SYMTestActions             Get device capabilities - TB && TA
-//!                             Read network request mode from test config - unspecified
-//!                             Read 'position originator' (network/module) from test config - module
-//!                             create the protocol module proxy
-//!                             Verify AdviceSystemStatus (LBS-->PM)       >> AdviceSystemStatus()
-//!                             Issue a Transmit Position (App-->LBS)      << TransmitPosition()
-//!                             Verify RequestTransmitLocation (LBS-->PM) with appropriate techtype (TB) >> RequestTransmitLocation()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceTransmitPosition)
-//!                             Send ref pos (PM-->LBS)        << ProcessLocationUpdate(SessionId, RefPosition)
-//!                             Send Assistance Data response (PM-->LBS)     << ProcessAssistanceData()
-//!                             Send Loc Request (PM-->LBS)       << ProcessLocationRequest(gpsmode not specified)
-//!                             Verify Assistance data request (LBS-->PM)     >> RequestAssistanceData(0)
-//!                             Verify the ref pos received by App (LBS-->App)     >> RunL (ref pos)
-//!                             Verify Location Response  (LBS-->PM)       >> RespondLocationRequest(gps pos)
-//!                             Send Final Network Position (PM-->LBS)      << ProcessLocationUpdate(SessionId, FNP)
-//!                             Send SessionComplete (PM-->LBS)       << ProcessSessionComplete()
-//!                             Send Status Update (PM-->LBS)       << ProcessStatusUpdate(EServiceNone)
-//!                             Verify X3P completes with KErrNone      >> RunL (gps pos, KErrNone)
-//! @SYMTestExpectedResults     GPS module is asked to run in PTB mode. Module will return the position; returned to client with techtype 'terminal based'
-//! @SYMTestType                CIT
-//! @SYMTESTSTATUS              3. Released
-RUN_TEST_STEP 010 SfLbsHybridX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_SetUpPsy c:\testdata\configs\sf_lbs_x3p.ini LBS-X3P
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsStep_ConfigHybridModule c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-UNSPECIFIEDNET
-RUN_TEST_STEP 120 SfLbsHybridX3PTestServer LbsX3PGpsOptions c:\testdata\configs\sf_lbs_x3p.ini X3P-TBANDTACAP-UNSPECIFIEDNET
-END_TESTCASE SFLBS-X3P-TBANDTACAP-UNSPECIFIEDNETWORK-001
-
-
-//--------------------------------------------------------------------- END TESTS - Tidyup ---------------------------------------------------------------------
-
-RUN_TEST_STEP 020 SfLbsHybridX3PTestServer LbsStep_StopLbs
-
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3paccurategps.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,246 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// LBS includes. 
-// 
-//
-
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3paccurategps.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PAccurateGPS* CT_LbsHybridUEAssistedX3PAccurateGPS::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PAccurateGPS* testStep = new CT_LbsHybridUEAssistedX3PAccurateGPS(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PAccurateGPS::CT_LbsHybridUEAssistedX3PAccurateGPS(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PAccurateGPS);
-	}
-
-
-void CT_LbsHybridUEAssistedX3PAccurateGPS::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PAccurateGPS::~CT_LbsHybridUEAssistedX3PAccurateGPS()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEAssistedX3PAccurateGPS::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PAccurateGPS::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-	
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 6;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// now wait for either to complete - but we will expect only the asynchrous request
-	// waiting for the REF position to complete with KErrNone
-	User::WaitForRequest(refPosStatus, transPosStatus); 
-	TESTL(refPosStatus==KErrNone);
-	TESTL(transPosStatus.Int() == KRequestPending);
-	
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// no need for looping, we assume that the next update location from GPS will give accurate fix
-	quality = ArgUtils::Quality(); 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);		
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	//	GPS positions meets required accuracy. This is sent immediately to protocol module
-	// The ini file should contain accurate gps fix for this test case to work
-	TESTL(iProxy->WaitForResponse(KTTimeout) == ENetMsgRespondLocationRequest);	
-	getSessionId = NULL;
-	getReason = KErrNone;
-	getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	// Test position is the same as in the ini file data fed to the GPS module
-	// $update,1,2,51.5015,-0.105,50,2,3*
-	TPosition gpsPos;
-	getPositionInfo->GetPosition(gpsPos);
-	TESTL(gpsPos.Latitude()==51.5015 && gpsPos.Longitude()==-0.105 && gpsPos.Altitude()==50 && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-				
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	//Final Network Position is the GPS position
-	TPositionInfo gpsPosInfo;
-	gpsPosInfo.SetPosition(gpsPos);
-	gpsPosInfo.SetUpdateType(EPositionUpdateGeneral);
-	gpsPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	gpsPosInfo.SetPositionModeReason(EPositionModeReasonNone);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &gpsPosInfo);
-// Network Result Notification Stop
-	
-// Session Complete Start
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-	// the REF position request has completed, so now, after injecting the FNP and Session Complete
-	// we expect that the other request to complete with KErrNone
-	User::WaitForRequest(transPosStatus);
- 
-	TESTL(transPosStatus==KErrNone);
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3paccurategpstimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,241 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// LBS includes. 
-// 
-//
-
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3paccurategpstimeout.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PAccurateGPSTimeout* CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PAccurateGPSTimeout* testStep = new CT_LbsHybridUEAssistedX3PAccurateGPSTimeout(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::CT_LbsHybridUEAssistedX3PAccurateGPSTimeout(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PAccurateGPSTimeout);
-	}
-
-void CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::~CT_LbsHybridUEAssistedX3PAccurateGPSTimeout()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-TVerdict CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::doTestStepL()"));
-
-	// Stop the test if the preable failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-			
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 6;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(500*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	User::WaitForRequest(refPosStatus, transPosStatus); 
-	TESTL(refPosStatus==KErrNone);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// no need for looping, we assume that the next update location from GPS will give accurate fix
-	quality = ArgUtils::Quality(); 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);		
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	//	GPS positions meets required accuracy. This is sent immediately to protocol module
-	// The ini file should contain accurate gps fix for this test case to work
-	TESTL(iProxy->WaitForResponse(KTTimeout) == ENetMsgRespondLocationRequest);	
-	getSessionId = NULL;
-	getReason = KErrNone;
-	getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	// Test position is the same as in the ini file data fed to the GPS module
-	// $update,1,2,51.5015,-0.105,50,2,3*
-	TPosition gpsPos;
-	getPositionInfo->GetPosition(gpsPos);
-	TESTL(gpsPos.Latitude()==51.5015 && gpsPos.Longitude()==-0.105 && gpsPos.Altitude()==50 && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-// Network Result Notification Start
-	// Add extra delay to simulate the Facility timing out 	
-	User::After(2*KTimeOut);
-	// Test that LBS is not sending any response to the Protocol Module
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgTimeoutExpired); 
-// Network Result Notification Stop
-	
-// Session Complete Start
-	// The network times out and pass an error to the Protocol Module, in this test, we use KErrTimedOut
-	// The protocol module passes the error to the client app
-	reason = KErrTimedOut; 
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-	User::WaitForRequest(transPosStatus); 
-	// We test the error returned from the network
-	TESTL(transPosStatus==KErrTimedOut);
-	return TestStepResult();
-	}
-
-
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pclienttimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,332 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// LBS includes. 
-// 
-//
-
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3pclienttimeout.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PClientTimeout* CT_LbsHybridUEAssistedX3PClientTimeout::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PClientTimeout* testStep = new CT_LbsHybridUEAssistedX3PClientTimeout(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PClientTimeout::CT_LbsHybridUEAssistedX3PClientTimeout(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PClientTimeout);
-	}
-
-
-void CT_LbsHybridUEAssistedX3PClientTimeout::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PClientTimeout::~CT_LbsHybridUEAssistedX3PClientTimeout()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEAssistedX3PClientTimeout::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PClientTimeout::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-	const TInt64 KTransmitTimeOut = 70*1000*1000;
-	
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 1;
-	TTimeIntervalMicroSeconds transmitTimeOut(KTransmitTimeOut);
-	TLbsTransmitPositionOptions options(transmitTimeOut);
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-
-	//Start the transmission timer
-	TTime transmitTimerStart;
-	transmitTimerStart.HomeTime();
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason(KErrNone);
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request End
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// we wait for either to complete but we are expecting
-	// for only the REF pos request to complete
-	User::WaitForRequest(refPosStatus, transPosStatus);
-	TESTL(refPosStatus==KErrNone);
-	TESTL(transPosStatus.Int() == KRequestPending);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	// The way the test works is to check first that the response is not received too early, 
-	// that is, not within the period (t - delta).
-	// Then it checks the response IS received within the period t + delta (so 2 * delta
-	// after the previous check).
-	// If both these tests are satisfied, then the test passes.
-	// There is a problem though. Because the protocol module involves lots of
-	// state transitions for any request, and the priority of its active object is set low to avoid 
-	// hogging system resources, it occasionally happens that a delay creeps in before the
-	// request gets as far as the NRH. 700ms has been observed.
-	// This means that the WaitForResponse() here, which takes its startpoint from 
-	// the issuing of the request, sometimes times out even though the NRH, left for a bit longer,
-	// would time out correctly and return the expected response.
-	// We could just change delta to a large enough value (say, 1 sec) to cover this, but
-	// this might end up concealing a real problem if it happened that a consistent delay was 
-	// introduced for some other reason.
-	// So the solution is to behave as described above, but in the case where the response is not 
-	// received within (t + delta), we wait for a further second. If the response is
-	// still not received, then the test fails. If it is received in this extra period,
-	// the test result is set to EInconclusive, to indicate there's something we're
-	// not happy with, without its being a complete failure. If the test consistently 
-	// finishes with an EInconclusive result, then that is an indication that it ought 
-	// to be looked at
-	TInt extraDelta = 4.0*1000*1000; // 1 sec
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TNetProtocolResponseType result = iProxy->WaitForResponse(KDelta*2);
-	if(result != ENetMsgRespondLocationRequest)
-		{
-		INFO_PRINTF3(_L("********WARNING - EXPECTED %d RECEIVED %d, Checking to see if it arrives at all...."), ENetMsgRespondLocationRequest, result);
-		// Didn't get it. See if it arrives within the extra period
-
-		result = iProxy->WaitForResponse(extraDelta);
-		if(result == ENetMsgRespondLocationRequest)
-			{
-			// Got it eventually. Can't say it passed, but don't worry too much.
-			SetTestStepResult(EInconclusive);
-			}
-		else
-			{
-			// Didn't get it at all. Fail.
-			ERR_PRINTF1(_L("********ERROR - EXPECTED MESSAGE NOT RECEIVED"));
-			User::Leave(result);				
-			}
-		}
-		
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getPositionInfo->PositionClassType()==EPositionGpsMeasurementInfoClass);	
-	TESTL(getReason == KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	quality = ArgUtils::Quality(); 
- 	TTime transmitTimerStop;
- 	transmitTimerStop.HomeTime();
- 	TInt64 transmitTimeElapsed = transmitTimerStop.MicroSecondsFrom(transmitTimerStart).Int64();
- 	while((transmitTimeElapsed + KTTimeout + KDelta + extraDelta)<=KTransmitTimeOut)
-		{
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-		
-		timerStart.HomeTime();
-		
-		// RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-		TESTL(dataGroup == EAssistanceDataNone);		
-		CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	 	timerStop.HomeTime();
- 		microseconds = timerStop.MicroSecondsFrom(timerStart); 
-		timeElapsed = microseconds.Int64();	
-		
-		TESTL(iProxy->WaitForResponse(KTTimeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-		TNetProtocolResponseType result = iProxy->WaitForResponse(KDelta*2);
-		if(result != ENetMsgRespondLocationRequest)
-			{
-			INFO_PRINTF3(_L("********WARNING - EXPECTED %d RECEIVED %d, Checking to see if it arrives at all...."), ENetMsgRespondLocationRequest, result);
-			// Didn't get it. See if it arrives within the extra period
-
-			result = iProxy->WaitForResponse(extraDelta);
-			if(result == ENetMsgRespondLocationRequest)
-				{
-			 	timerStop.HomeTime();
-				microseconds = timerStop.MicroSecondsFrom(timerStart); 
-				TInt64 hadToWait = microseconds.Int64();
-				INFO_PRINTF2(_L("********OK - MESSAGE RECEIVED AFTER %d"),hadToWait);
-				// Got it eventually. Can't say it passed, but don't worry too much.
-				SetTestStepResult(EInconclusive);
-				}
-			else
-				{
-				// Didn't get it at all. Fail.
-				ERR_PRINTF1(_L("********ERROR - EXPECTED MESSAGE NOT RECEIVED"));
-				User::Leave(result);				
-				}
-			}
-
-		getSessionId = NULL;
-		getReason = KErrNone;
-		getPositionInfo = NULL;
-
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		TESTL(getReason == KErrNone);
-		TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(getPositionInfo->PositionClassType()==EPositionGpsMeasurementInfoClass);	
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		
-		transmitTimerStop.HomeTime();
-	 	transmitTimeElapsed = transmitTimerStop.MicroSecondsFrom(transmitTimerStart).Int64();
-		} 
-	
-/*** Client X3P Timer Expires ***/
-	getSessionId = NULL;
-	getReason = KErrNone;
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgCancelTransmitLocation); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgCancelTransmitLocation, &getSessionId, &getReason);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrTimedOut); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-			
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	//Final Network Position is the reference position
-	refPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-
-// Session Complete Start
-	reason = KErrNone; 
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete End
-
-	User::WaitForRequest(transPosStatus); 
-	// We test the error returned from the network
-	TESTL(transPosStatus==KPositionQualityLoss); 
-		
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pgpsfutile.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,241 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3pgpsfutile.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PGPSFutile* CT_LbsHybridUEAssistedX3PGPSFutile::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PGPSFutile* testStep = new CT_LbsHybridUEAssistedX3PGPSFutile(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PGPSFutile::CT_LbsHybridUEAssistedX3PGPSFutile(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PGPSFutile);
-	}
-
-
-void CT_LbsHybridUEAssistedX3PGPSFutile::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PGPSFutile::~CT_LbsHybridUEAssistedX3PGPSFutile()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEAssistedX3PGPSFutile::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PGPSFutile::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-		
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 6;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	const MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone); // NOTE : dataGroup has not been pushed on the CleanupStack by iProxy. Misleading LC suffix in this case.
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-   // here we wait for either of the asynchrnous requestst to complete
-	User::WaitForRequest(refPosStatus, transPosStatus); 
-	// but now we do expect that only the REF position asyn request to complete
-    TESTL(refPosStatus==KErrNone);
-    TESTL(transPosStatus.Int() == KRequestPending);
-
-	
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KErrNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	quality = ArgUtils::Quality(); 
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);		
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-	TESTL(iProxy->WaitForResponse(KTTimeout) == ENetMsgRespondLocationRequest);	
-	getSessionId = NULL;
-	getReason = KErrNone;
-	getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KPositionCalculationFutile);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-				
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	//Final Network Position = ref position
-	refPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-// Network Result Notification Stop
-	
-// Session Complete Start
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-	// the REF position request has completed, so now, after injecting the FNP and Session Complete
-	// we expect that the other request to complete with KErrNone
-	User::WaitForRequest(transPosStatus);  
-
-	TESTL(transPosStatus==KPositionQualityLoss);
-    return TestStepResult();
-	}
-
-
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pnogps.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,246 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// LBS includes. 
-// 
-//
-
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3pnogps.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PNoGPS* CT_LbsHybridUEAssistedX3PNoGPS::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PNoGPS* testStep = new CT_LbsHybridUEAssistedX3PNoGPS(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PNoGPS::CT_LbsHybridUEAssistedX3PNoGPS(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PNoGPS);
-	}
-
-
-void CT_LbsHybridUEAssistedX3PNoGPS::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PNoGPS::~CT_LbsHybridUEAssistedX3PNoGPS()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEAssistedX3PNoGPS::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PNoGPS::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000;
-		
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 1;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason(KErrNone);
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request End
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	User::WaitForRequest(refPosStatus, transPosStatus);
-	TESTL(refPosStatus==KErrNone);
-	TESTL(transPosStatus.Int() == KRequestPending);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	quality = ArgUtils::Quality(); 
-	const TInt KN = 2;
-	for(TInt i=0;i<KN;i++)
-		{
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-	
-		timerStart.HomeTime();
-	
-		// RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-		TESTL(dataGroup == EAssistanceDataNone);		
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
- 		timerStop.HomeTime();
- 		microseconds = timerStop.MicroSecondsFrom(timerStart); 
-		timeElapsed = microseconds.Int64();		
-
-		TESTL(iProxy->WaitForResponse(KTTimeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 		
-		TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest);
-		getSessionId = NULL;
-		getReason = KErrNone;
-		getPositionInfo = NULL;
-		
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-		TESTL(getReason==KErrNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		} 
-	
-	//Alpha4 expires. The Protocol Module requests the network for the MC release
-				
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	TPositionInfo networkPosInfo = ArgUtils::NetworkPositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &networkPosInfo);
-// Network Result Notification End
-	
-// Session Complete Start
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete End
-
-	// the REF position request has completed, so now, after injecting the FNP and Session Complete
-	// we expect that the other request to complete with KErrNone
-	User::WaitForRequest(transPosStatus);  
-
-	TESTL(transPosStatus==KPositionQualityLoss);
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridueassistedx3pnogpstimeout.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// LBS includes. 
-// 
-//
-
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybridueassistedx3pnogpstimeout.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEAssistedX3PNoGPSTimeout* CT_LbsHybridUEAssistedX3PNoGPSTimeout::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEAssistedX3PNoGPSTimeout* testStep = new CT_LbsHybridUEAssistedX3PNoGPSTimeout(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEAssistedX3PNoGPSTimeout::CT_LbsHybridUEAssistedX3PNoGPSTimeout(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEAssistedX3PNoGPSTimeout);
-	}
-
-
-void CT_LbsHybridUEAssistedX3PNoGPSTimeout::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEAssistedX3PNoGPSTimeout::~CT_LbsHybridUEAssistedX3PNoGPSTimeout()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEAssistedX3PNoGPSTimeout::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEAssistedX3PNoGPSTimeout::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-	
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status);
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-	
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 1;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(500*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason(KErrNone);
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request End
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-	TESTL(dataGroup == EAssistanceDataNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// here we wait for either of the asynchrnous requestst to complete
-	User::WaitForRequest(refPosStatus, transPosStatus); 
-	// but now we do expect that only the REF position asyn request to complete
-	TESTL(refPosStatus==KErrNone);
-	TESTL(transPosStatus.Int() == KRequestPending);
-
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires. We enter Hybrid mode.***/
-	//Test that we do not get response before alpha2 has expired
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-	TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest); 
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone); 
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	quality = ArgUtils::Quality(); 
-	const TInt KN = 2;
-	for(TInt i=0;i<KN;i++)
-		{
-		iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-		
-		timerStart.HomeTime();
-		
-		// RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup);
-		TESTL(dataGroup == EAssistanceDataNone);		
-		CleanupStack::PopAndDestroy(cleanupCnt);
-
-	 	timerStop.HomeTime();
- 		microseconds = timerStop.MicroSecondsFrom(timerStart); 
-		timeElapsed = microseconds.Int64();	
-		
-		TESTL(iProxy->WaitForResponse(KTTimeout-timeElapsed-KDelta) == ENetMsgTimeoutExpired); 
-		TESTL(iProxy->WaitForResponse(2*KDelta) == ENetMsgRespondLocationRequest);	
-
-		getSessionId = NULL;
-		getReason = KErrNone;
-		getPositionInfo = NULL;
-
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		TESTL(getReason == KErrNone);
-		TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		} 
-	
-	// Alpha4 expires. 
-	// The Protocol Module requests the network for the MC release
-	
-// Network Result Notification Start
-	// Add extra delay to simulate the Facility timing out 	
-	User::After(2*KTimeOut);
-	// Test that LBS is not sending any response to the Protocol Module
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgTimeoutExpired); 
-// Network Result Notification End
-
-// Session Complete Start
-	// The network times out and pass an error to the Protocol Module, in this test, we use KErrTimedOut
-	// The protocol module passes the error to the client app
-	reason = KErrTimedOut; 
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete End
-
-	User::WaitForRequest(transPosStatus);  
-	// We test the error returned from the network
-	TESTL(transPosStatus==KErrTimedOut);
-	    
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybriduebasedx3pgpsfutile.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbshybriduebasedx3pgpsfutile.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsHybridUEBasedX3PGPSFutile* CT_LbsHybridUEBasedX3PGPSFutile::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsHybridUEBasedX3PGPSFutile* testStep = new CT_LbsHybridUEBasedX3PGPSFutile(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsHybridUEBasedX3PGPSFutile::CT_LbsHybridUEBasedX3PGPSFutile(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsHybridUEBasedX3PGPSFutile);
-	}
-
-
-void CT_LbsHybridUEBasedX3PGPSFutile::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsHybridUEBasedX3PGPSFutile::~CT_LbsHybridUEBasedX3PGPSFutile()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsHybridUEBasedX3PGPSFutile::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsHybridUEBasedX3PGPSFutile::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000; 
-
-	
-	// Carryout unique test actions.
-	if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-		{
-		INFO_PRINTF2(_L("Test id %d."), iTestCaseId);
-		}
-			
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	
-    //Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 1;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2();
-	TLbsNetPosRequestMethod method;
-	
-	if (iTestCaseId == 1)
-	{
-	method   = ArgUtils::RequestHybridMethod();
-	}
-	else if (iTestCaseId == 2)
-	{
-	method   = ArgUtils::RequestMethod();
-	}
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
-	TESTL(dataGroup == EAssistanceDataNone);
-
-	// User expects Reference Position
-	User::WaitForRequest(refPosStatus); 
-	TESTL(refPosStatus==KErrNone);
-
-	// Network expects location request response with KPositionCalculationFutile
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout) == ENetMsgRespondLocationRequest);	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason==KPositionCalculationFutile);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-					
-// Network Result Notification Start
-	// ProcessLocationUpdate() , final network position = ref position
-	refPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-// Network Result Notification Stop
-	
-// Session Complete Start
-	reason =KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-// this call back has been changed, the seq diag was incorrect
-	User::WaitForRequest(transPosStatus);  
-	TESTL(transPosStatus==KPositionQualityLoss);
-	
-	return TestStepResult();
-	}
-
-
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridx3pserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbshybridx3pserver.h.cpp
-// System includes
-// 
-//
-
-#include <e32std.h>
-#include <rsshared.h>
-
-// User includes
-#include "ctlbshybridx3pserver.h"
-#include "ctlbsuebasedx3p.h"
-#include "ctlbshybridueassistedx3pnogps.h"
-#include "ctlbshybridueassistedx3paccurategps.h"
-#include "ctlbsstepsetupprotocolstub.h"
-#include "ctlbsstepconfighybridmodule.h"
-#include "ctlbshybridueassistedx3pnogpstimeout.h"
-#include "ctlbshybridueassistedx3paccurategpstimeout.h"
-#include "ctlbshybriduebasedx3pgpsfutile.h"
-#include "ctlbshybridueassistedx3pgpsfutile.h"
-#include "ctlbshybridueassistedx3pclienttimeout.h"
-#include "ctlbsx3pAccRefPos.h"
-#include "ctlbsx3pgpsoptions.h"
-
-// Header files of LBS Client API Test Steps
-
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates an object of the Email server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
- 	RProcess().DataCaging(RProcess::EDataCagingOn);
-	RProcess().SecureApi(RProcess::ESecureApiOn);
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	__UHEAP_MARK;
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsHybridX3PServer* server = CT_LbsHybridX3PServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	__UHEAP_MARKEND;
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-    
-
-
-/**
-  NewL()
-  Constructs a CT_LbsClientServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsHybridX3PServer* CT_LbsHybridX3PServer::NewL()
-	{
-	CT_LbsHybridX3PServer* server = new(ELeave) CT_LbsHybridX3PServer();
-	CleanupStack::PushL(server);
-	server->ConstructL(KSfLbsHybridX3PTestServer);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-CT_LbsHybridX3PServer::~CT_LbsHybridX3PServer()
-	{
-	}
-	
-	
-/**
-  Function : CT_LbsClientServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsHybridX3PServer::CT_LbsHybridX3PServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsHybridX3PServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	iSharedData = CT_LbsSharedData::NewL();	
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsHybridX3PServer::CreateTestStep(const TDesC& aStepName)
-	{
-	if(aStepName == KLbsStep_SetupProtocolStub)	
-		{
-		return CT_LbsStep_SetupProtocolStub::New(*this);
-		}	
-	else if(aStepName == KLbsStep_ConfigHybridModule)	
-		{
-		return CT_LbsStep_ConfigHybridModule::New(*this);
-		}
-	else if (aStepName == KLbsUEBasedX3P)
-		{
-		return CT_LbsUEBasedX3P::New(*this);
-		}
-	else if(aStepName == KLbsHybridUEAssistedX3PNoGPS)
-		{
-		return CT_LbsHybridUEAssistedX3PNoGPS::New(*this);
-		}	
-	else if(aStepName == KLbsHybridUEAssistedX3PAccurateGPS)
-		{
-		return CT_LbsHybridUEAssistedX3PAccurateGPS::New(*this);
-		}	
-	else if(aStepName == KLbsHybridUEAssistedX3PNoGPSTimeout)	
-		{
-		return CT_LbsHybridUEAssistedX3PNoGPSTimeout::New(*this);
-		}
-	else if(aStepName == KLbsHybridUEAssistedX3PAccurateGPSTimeout)
-		{
-		return CT_LbsHybridUEAssistedX3PAccurateGPSTimeout::New(*this);
-		}		
-	else if (aStepName == KLbsHybridUEBasedX3PGPSFutile)
-		{
-		return CT_LbsHybridUEBasedX3PGPSFutile::New(*this);
-		}
-	else if (aStepName == KLbsHybridUEAssistedX3PGPSFutile)
-		{
-		return CT_LbsHybridUEAssistedX3PGPSFutile::New(*this);
-		}
-	else if(aStepName == KLbsHybridUEAssistedX3PClientTimeout)	
-		{
-		return CT_LbsHybridUEAssistedX3PClientTimeout::New(*this);
-		}
-	else if(aStepName == KLbsX3pAccurateReferencePosition)	
-		{
-		return CT_LbsX3pAccRefPos::New(*this);
-		}
-	else if (aStepName == KLbsX3PGpsOptions)
-		{
-		return CT_LbsX3PGpsOptions::New(*this);
-		}	
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbshybridx3pstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include "ctlbshybridx3pstep.h"
-#include <lbs/lbslocdatasourceclasstypes.h>
-
-
-CT_LbsHybridX3PStep::~CT_LbsHybridX3PStep()
-	{
-	iExpectedModuleGpsOptions.ResetAndDestroy();	
-	iExpectedModuleGpsOptions.Close();		
-	}
-
-
-CT_LbsHybridX3PStep::CT_LbsHybridX3PStep(CT_LbsHybridX3PServer& aParent) 
-	: iParent(aParent), iExpectedModuleGpsOptionsIndex(0), iAgpsModuleEventListener(NULL)
-	{
-	}
-
-void CT_LbsHybridX3PStep::ConstructL()
-	{
-	}
-
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridX3PStep::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPreabmleL()"));
-
-	// The expected module GPS options
-	T_LbsUtils utils;
-	TPtrC configFileName;
-	_LIT(KUpdateOptionsFile, "agps_module_update_file");
-	GetStringFromConfig(ConfigSection(), KUpdateOptionsFile, configFileName);
-	utils.GetExpected_ModuleModes(configFileName, ConfigSection(), iExpectedModuleGpsOptions);
-	if(iExpectedModuleGpsOptions.Count() > 0)
-		{ // if there are some options then start listening for events from the module
-		iAgpsModuleEventListener = CT_AgpsModuleEventListener::NewL(*this);
-		}
-	
-	SetTestStepResult(EPass);
-
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsHybridX3PStep::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("doTestStepPostabmleL()"));
-	TEST(iExpectedModuleGpsOptionsIndex == iExpectedModuleGpsOptions.Count());
-	iExpectedModuleGpsOptions.ResetAndDestroy();
-	iExpectedModuleGpsOptionsIndex = 0;
-	delete iAgpsModuleEventListener;
-	iAgpsModuleEventListener = NULL;
-	
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-void CT_LbsHybridX3PStep::OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions)
-/**
- * Compares the GPS options received by the AGPS module to the ones expected by the test
- */
-	{
-	
-	INFO_PRINTF1(_L("CT_LbsHybridX3PStep::OnSetGpsOptions()"));
-	if(iExpectedModuleGpsOptionsIndex >= iExpectedModuleGpsOptions.Count())
-		{
-		TEST(EFalse);
-		return;
-		}
-	TLbsGpsOptions* expectedOptions = iExpectedModuleGpsOptions[iExpectedModuleGpsOptionsIndex];
-	++iExpectedModuleGpsOptionsIndex;
-
-	if(aGpsOptions.GpsMode() != expectedOptions->GpsMode())
-		{
-		INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected mode. Got 0x%x expected 0x%x()"), aGpsOptions.GpsMode(), expectedOptions->GpsMode());
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() != expectedOptions->ClassType())
-		{
-		INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected class type. Got 0x%x expected 0x%x()"), aGpsOptions.ClassType(), expectedOptions->ClassType());
-		TEST(EFalse);
-		return;
-		}
-	if(aGpsOptions.ClassType() & ELbsGpsOptionsArrayClass)
-		{
-		//INFO_PRINTF1(_L("CT_LbsHybridX3PStep::OnSetGpsOptions Got options array"));
-		const TLbsGpsOptionsArray& optionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(aGpsOptions);
-		const TLbsGpsOptionsArray& expectedOptionsArr = reinterpret_cast<const TLbsGpsOptionsArray&>(*expectedOptions);
-		if(optionsArr.NumOptionItems() != expectedOptionsArr.NumOptionItems())
-			{
-			INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected number of options in array. Got %d expected %d)"), optionsArr.NumOptionItems(), expectedOptionsArr.NumOptionItems());
-			TEST(EFalse);
-			return;
-			}
-		for(TInt index = 0; index < optionsArr.NumOptionItems(); ++index)
-			{
-			TLbsGpsOptionsItem item;
-			TLbsGpsOptionsItem expectedItem;
-			optionsArr.GetOptionItem(index, item);
-			expectedOptionsArr.GetOptionItem(index, expectedItem);
-
-			if(item.PosUpdateType() != expectedItem.PosUpdateType())
-				{
-				INFO_PRINTF3(_L("CT_LbsHybridX3PStep::OnSetGpsOptions - FAILED because got unexpected position update type. Got %d expected %d)"), item.PosUpdateType(), expectedItem.PosUpdateType());
-				TEST(EFalse);
-				return;
-				}
-			}
-		}
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsuebasedx3p.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbsuebasedx3p.h"
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/lbsnetprotocolproxy.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsUEBasedX3P* CT_LbsUEBasedX3P::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsUEBasedX3P* testStep = new CT_LbsUEBasedX3P(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsUEBasedX3P::CT_LbsUEBasedX3P(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsUEBasedX3P);
-	}
-
-void CT_LbsUEBasedX3P::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-/**
- * Destructor
- */
-CT_LbsUEBasedX3P::~CT_LbsUEBasedX3P()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-TVerdict CT_LbsUEBasedX3P::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsUEBasedX3P::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-	const TInt KSmallTimeOut = 3*1000*1000;
-		
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-	
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority= 1;
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo refPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, refPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// ProcessStatusUpdate()
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = ArgUtils::RequestHybridMethod();	
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	// RequestAssistanceData(0)
-	TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-	TLbsAsistanceDataGroup dataGroup;
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &dataGroup));
-	TESTL(dataGroup == EAssistanceDataNone);
-
-	// here we wait for either of the asynchrnous requestst to complete
-	User::WaitForRequest(refPosStatus,transPosStatus); 
-	// but now we do expect that only the REF position asyn request to complete
-	TESTL(refPosStatus==KErrNone);
-	TESTL(transPosStatus.Int() == KRequestPending);
-
-	TESTL(iProxy->WaitForResponse(KAlpha2Timeout) == ENetMsgRespondLocationRequest);	
-	getSessionId = NULL;
-	TInt getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-	TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-	TESTL(getReason == KErrNone);
-	// Test position is the same as in the ini file data fed to the GPS module
-	// $update,1,2,51.5015,-0.105,50,2,3*
-	TPosition gpsPos;
-	getPositionInfo->GetPosition(gpsPos);
-	TESTL(gpsPos.Latitude()==51.5015 && gpsPos.Longitude()==-0.105 && gpsPos.Altitude()==50 && gpsPos.HorizontalAccuracy()==2 && gpsPos.VerticalAccuracy()==3); 
-	CleanupStack::PopAndDestroy(cleanupCnt); //getSessionId, getPositionInfo
-					
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	TPositionInfo gpsPosInfo;
-	gpsPosInfo.SetPosition(gpsPos);
-	gpsPosInfo.SetUpdateType(EPositionUpdateGeneral);
-	gpsPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	gpsPosInfo.SetPositionModeReason(EPositionModeReasonNone);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &gpsPosInfo);
-// Network Result Notification Stop
-	
-// Session Complete Start
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-	// the REF position request has completed, so now, after injecting the FNP and Session Complete
-	// we expect that the other request to complete with KErrNone
-	User::WaitForRequest(transPosStatus);  
-
-	TESTL(transPosStatus==KErrNone);
-	    
-	return TestStepResult();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsx3pAccRefPos.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// LBS includes. 
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbsx3pAccRefPos.h"
-#include <lbs/test/tlbsutils.h>
-#include "argutils.h"
-
-/**
-Static Constructor
-*/
-CT_LbsX3pAccRefPos* CT_LbsX3pAccRefPos::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsX3pAccRefPos* testStep = new CT_LbsX3pAccRefPos(aParent);
-	if (testStep)
-		{
-		TInt err(KErrNone);
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsX3pAccRefPos::CT_LbsX3pAccRefPos(CT_LbsHybridX3PServer& aParent) : CT_LbsHybridX3PStep(aParent)
-	{
-	SetTestStepName(KLbsX3pAccurateReferencePosition);
-	}
-
-
-void CT_LbsX3pAccRefPos::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));
-	iProxy = CNetProtocolProxy::NewL();
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsX3pAccRefPos::~CT_LbsX3pAccRefPos()
-	{
-	iTransmitter.Close();
-	iServer.Close();
-	delete iProxy;
-	}
-
-
-
-TVerdict CT_LbsX3pAccRefPos::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("CT_LbsX3pAccRefPos::doTestStepL()"));
-
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	const TInt KTimeOut = 30*1000*1000;
-	const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-		
-	// >> AdviceSystemStatus(0)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	CLbsNetworkProtocolBase::TLbsSystemStatus status;
-	// nothing is placed on cleanupstack for ENetMsgGetCurrentCapabilitiesResponse
-	CleanupStack::PopAndDestroy(iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &status));
-	TESTL(status == CLbsNetworkProtocolBase::ESystemStatusNone);
-
-	
-//Initiate X3P start
-	// TransmitPosition()
-	_LIT(KThirdParty,"+4407463842101"); 
-	const TInt KPriority(6);
-	TLbsTransmitPositionOptions options(TTimeIntervalMicroSeconds(50*1000*1000));
-	TRequestStatus refPosStatus=KRequestPending;
-	TRequestStatus transPosStatus=KRequestPending;
-	TPositionInfo clientRefPosInfo;
-	TPositionInfo transPosInfo;
-	iTransmitter.SetTransmitOptions(options);
-	iTransmitter.TransmitPosition(KThirdParty, KPriority, refPosStatus, clientRefPosInfo, transPosStatus, transPosInfo);
-	
-	// RequestTransmitLocation()
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	TInt stackCnt = 
-		iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(stackCnt);//getSessionID,getThirdParty
-
-	// ProcessStatusUpdate()
-	const MLbsNetworkProtocolObserver::TLbsNetProtocolService service 
-		= MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-
-//Reference Position Notification Start	
-	// ProcessLocationUpdate()
-	TPositionInfo refPosInfo;
-	refPosInfo = ArgUtils::ReferencePositionInfo();
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-	
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	TInt reason(KErrNone);
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &reason);
-	CleanupStack::PopAndDestroy(1); //assistanceData
-// Assistance Data Notification End
-
-
-// Network Result Notification Start
-	// ProcessLocationUpdate()
-	//Final Network Position = ref position
-	refPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted);
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-// Network Result Notification Stop
-
-	
-// Session Complete Start
-	reason = KErrNone;
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-
-	// Allow session complete to be processed by LBS.
-	TInt delta = 4 * 1000 * 1000; // 4 secs.
-	TESTL(iProxy->WaitForResponse(delta) == ENetMsgTimeoutExpired);
-
-	// Complete client request.
-	User::WaitForRequest(refPosStatus, transPosStatus); 
-
-	// Verify client ref pos.
-	TESTL(clientRefPosInfo.PositionMode() == TPositionModuleInfo::ETechnologyNetwork);
-	TESTL(refPosStatus == KErrNone);
-	
-	// Verify client final pos.
-	TESTL(transPosInfo.PositionMode() == (TPositionModuleInfo::ETechnologyNetwork | TPositionModuleInfo::ETechnologyAssisted));
-	TESTL(transPosStatus == KErrNone);
-
-		
-	return TestStepResult();
-	}
-
-
-
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/src/ctlbsx3pgpsoptions.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,580 +0,0 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This is the class implementation for the Module Information Tests
-// EPOC includes.sue
-// 
-//
-
-// LBS includes. 
-#include <lbssatellite.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsassistancedatabuilderset.h>
-#include <e32math.h>
-#include <lbs/lbsloccommon.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbslocdatasourceclasstypes.h>
-#include <lbs/lbslocdatasourcegpsbase.h>
-#include <e32property.h>
-#include "lbsnetinternalapi.h"
-#include "LbsInternalInterface.h"
-#include "LbsExtendModuleInfo.h"
-#include "lbsdevloggermacros.h"
-
-// LBS test includes.
-#include "ctlbsx3pgpsoptions.h"
-#include <lbs/test/tlbsutils.h>
-#include "argutils.h"
-
-#include <lbs/test/activeyield.h>
-
-const TInt KTimeOut = 30*1000*1000;
-const TInt KAdviceSystemStatusTimeout = 40*1000*1000;
-const TInt KTransmitTimeOut = 50*1000*1000;
-const TInt KSmallTimeOut = 3*1000*1000;
-
-/**
-Static Constructor
-*/
-CT_LbsX3PGpsOptions* CT_LbsX3PGpsOptions::New(CT_LbsHybridX3PServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsX3PGpsOptions* testStep = new CT_LbsX3PGpsOptions(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsX3PGpsOptions::CT_LbsX3PGpsOptions(CT_LbsHybridX3PServer& aParent) 
-	: CT_LbsHybridX3PStep(aParent), iProxy(NULL), 
-		iNetworkMethod(ENetworkMethodInvalid),
-		iPlannedPositionOriginator(EPositionOriginatorUnkown),
-		iNetRequestRejected(EFalse),
-		iAdminGpsMode(CLbsAdmin::EGpsModeUnknown)
-	{
-	SetTestStepName(KLbsX3PGpsOptions);
-	}
-
-
-void CT_LbsX3PGpsOptions::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsHybridX3PStep::ConstructL();
-	User::LeaveIfError(iServer.Connect());
-	User::LeaveIfError(iTransmitter.Open(iServer));	
-	}
-
-/**
- * Destructor
- */
-CT_LbsX3PGpsOptions::~CT_LbsX3PGpsOptions()
-	{
-	iTransmitter.Close();
-	iServer.Close();	
-	}
-
-TVerdict CT_LbsX3PGpsOptions::doTestStepPreambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PGpsOptions::doTestStepPreambleL()"));
-	CT_LbsHybridX3PStep::doTestStepPreambleL();
-	iNetworkExpectsMeasurements = EFalse;
-	iNetworkExpectsPositions = EFalse;
-	
-	// Get the GPS mode set in the Admin
-	CLbsAdmin* admin = CLbsAdmin::NewL();
-	CleanupStack::PushL(admin);
-
-	TESTL(KErrNone == admin->Get(KLbsSettingRoamingGpsMode, iAdminGpsMode));
-	CleanupStack::PopAndDestroy(admin);
-	
-	// Set the network step
-	iNetworkMethod = ENetworkMethodInvalid;
-	
-	SetTestStepResult(EPass);
-	T_LbsUtils utils;
-
-	// Get the Network Method
-	_LIT(KNetworkMethod, "NetworkMethod");
-	TInt networkMethodInt;
-	if(GetIntFromConfig(ConfigSection(), KNetworkMethod, networkMethodInt))
-		{
-		iNetworkMethod = static_cast<TChosenNetworkMethod>(networkMethodInt);
-		TEST(iNetworkMethod != ENetworkMethodInvalid);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsX3PGpsOptions::doTestStepPreambleL() - FAILED: no network method configured"));
-		TEST(EFalse);
-		}
-
-	// Is network method supported by module?
-	TPositionModuleInfoExtended::TDeviceGpsModeCapabilities deviceCapabilities;
-	TInt err = LbsModuleInfo::GetDeviceCapabilities(KLbsGpsLocManagerUid, deviceCapabilities);	
-	if((!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalAssisted)) && (!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB)))
-		{
-		if(iNetworkMethod == ETerminalAssistedNetworkMethod)
-			{
-			iNetRequestRejected = ETrue;
-			}
-		}
-	if((!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeTerminalBased)) && (!(deviceCapabilities & TPositionModuleInfoExtended::EDeviceGpsModeSimultaneousTATB)))
-		{
-		if(iNetworkMethod == ETerminalBasedNetworkMethod)
-			{
-			iNetRequestRejected = ETrue;
-			}
-		}	
-	
-	// Get the position originator
-	_LIT(KPositionOriginator, "PositionOriginator");
-	TInt positionOriginatorInt;
-	if(GetIntFromConfig(ConfigSection(), KPositionOriginator, positionOriginatorInt))
-		{
-		iPlannedPositionOriginator = static_cast<TPlannedPositionOriginator>(positionOriginatorInt);
-		TEST(iPlannedPositionOriginator != EPositionOriginatorUnkown);
-		}
-	else
-		{
-		INFO_PRINTF1(_L("CT_LbsX3PGpsOptions::doTestStepPreambleL() - FAILED: no position originator configured"));
-		TEST(EFalse);
-		}
-
-	iProxy = CNetProtocolProxy::NewL();
-
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsX3PGpsOptions::doTestStepPostambleL()
-	{
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PGpsOptions::doTestStepPostambleL()"));
-	iNetworkExpectsMeasurements = EFalse;
-	iNetworkExpectsPositions = EFalse;
-	iNetworkMethod = ENetworkMethodInvalid;
-	iPlannedPositionOriginator = EPositionOriginatorUnkown;
-	delete iProxy;
-	iProxy = NULL;
-	CT_LbsHybridX3PStep::doTestStepPostambleL();
-	return TestStepResult();
-	}
-
-TVerdict CT_LbsX3PGpsOptions::doTestStepL()
-	{
-	INFO_PRINTF1(_L("CT_LbsX3PGpsOptions::doTestStepL()"));	
-	// Stop the test if the preamble failed
-	TESTL(TestStepResult() == EPass);
-	
-	// >> AdviceSystemStatus(ESystemStatusNone)
-	TESTL(iProxy->WaitForResponse(KAdviceSystemStatusTimeout) == ENetMsgGetCurrentCapabilitiesResponse);
-	INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> AdviceSystemStatus(ESystemStatusNone)"));	
-	CLbsNetworkProtocolBase::TLbsSystemStatus getStatus;
-	TInt cleanupCnt;
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgGetCurrentCapabilitiesResponse, &getStatus);
-	TESTL(getStatus == CLbsNetworkProtocolBase::ESystemStatusNone);
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-//Initiate X3P start
-	// >> TransmitPosition() from App
-	_LIT(KThirdParty,"+4407825255981"); 
-	const TInt KPriority=6;
-	TLbsTransmitPositionOptions options(static_cast<TTimeIntervalMicroSeconds>(KTransmitTimeOut));
-	iTransmitter.SetTransmitOptions(options);
-	INFO_PRINTF1(_L("				(App) TransmitPosition()"));
-	CTransmitServerWatcher *pWatch = CTransmitServerWatcher::NewLC(iTransmitter, this);	
-	pWatch->IssueTransmitPosition(KThirdParty, KPriority);
-	
-	// RequestTransmitLocation() at PM
-	TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestTransmitLocation);
-	INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RequestTransmitLocation()"));	
-	TBufC16<14> thirdParty(KThirdParty);
-	TPtr16 ptr = thirdParty.Des(); 
-	HBufC16* getThirdParty = NULL;
-	TLbsNetSessionId* getSessionId = NULL;
-	TInt getPriority(0);
-	cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestTransmitLocation, &getSessionId, &getThirdParty, &getPriority); 
-	TESTL(ptr.Compare(*getThirdParty)==KErrNone);	
-	TESTL(getPriority == KPriority);
-	iSessionId = *getSessionId; //session ID is initialised by LBS
-	CleanupStack::PopAndDestroy(cleanupCnt);
-
-	// << ProcessStatusUpdate(EServiceTransmitThirdParty)
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessStatusUpdate(EServiceTransmitThirdParty)"));
-	MLbsNetworkProtocolObserver::TLbsNetProtocolService service = MLbsNetworkProtocolObserver::EServiceTransmitThirdParty;		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &service);
-//End Initiate
-
-//Reference Position Notification Start	
-	// << ProcessLocationUpdate(refpos)
-	TPositionInfo refPosInfo;	
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationUpdate(Ref Pos)"));
-	refPosInfo = ArgUtils::ReferencePositionInfo();								
-	iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &refPosInfo);
-//Reference Position Notification End
-
-//Assistance Data Notification Start
-	// ProcessAssistanceData()
-	TInt getReason = KErrNone;
-	TLbsAsistanceDataGroup dataRequestMask = EAssistanceDataReferenceTime;
-	RLbsAssistanceDataBuilderSet assistanceData;
-	ArgUtils::PopulateLC(assistanceData);
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessAssistanceData(EAssistanceDataReferenceTime)"));
-	iProxy->CallL(ENetMsgProcessAssistanceData, &dataRequestMask, &assistanceData, &getReason);
-	CleanupStack::PopAndDestroy(&assistanceData);
-// Assistance Data Notification End
-	
-// Network Location Request Start
-	// ProcessLocationRequest()
-	const TBool emergency(EFalse);
-	TLbsNetPosRequestQuality quality = ArgUtils::QualityAlpha2(); 
-	TLbsNetPosRequestMethod method   = RequestNetworkMethod();
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationRequest(QualityAlpha2)"));
-	iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-// Network Location Request Stop
-
-	//Start the timer
-	TTime timerStart;
-	timerStart.HomeTime();
-	
-	TLbsAsistanceDataGroup getDataGroup;
-	
-	// Module should ask for assistance data if mode supported
-	if(!iNetRequestRejected)
-		{
-		// RequestAssistanceData(0)
-		TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-		INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RequestAssistanceData(0)"));		
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &getDataGroup);
-		TESTL(getDataGroup == EAssistanceDataNone);
-		CleanupStack::PopAndDestroy(cleanupCnt);		
-		}
-
-	// need to yield to scheduler here to allow gps mode notifications and ref pos notification to happen
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	INFO_PRINTF1(_L("				Got Ref Pos"));
-	
-	DecideWhatNetworkReceives();
-	//Find the time elapsed from timer
-	TTimeIntervalMicroSeconds microseconds;
- 	TTime timerStop;
- 	timerStop.HomeTime();
- 	microseconds = timerStop.MicroSecondsFrom(timerStart); 
-	TInt64 timeElapsed = microseconds.Int64();
-						
-/*** NRH's Alpha2 timer expires; should get a response now ***/
-	//Test that we do not get response before alpha2 has expired
-	TInt delta = 1000*1000; // 1s
-	getSessionId = NULL;
-	getReason = KErrNone;
-	TPositionSatelliteInfo* getPositionInfo = NULL;
-	TPositionGpsMeasurementInfo* getMeasurementInfo = NULL;	
-	if(iNetRequestRejected)	// network has asked for an unsupported gps mode
-		{
-		// we may get an error response _before_ alpha2 timer expires
-		TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed+delta) == ENetMsgRespondLocationRequest); 	
-		INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RespondLocationRequest"));
-		cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-		TEST(getReason==KErrNotSupported);
-		INFO_PRINTF2(_L("					RespondLocationRequest reason = %x"), getReason);		
-		CleanupStack::PopAndDestroy(cleanupCnt);
-		}
-	else
-		{
-		// The measurements:
-		if(iNetworkExpectsMeasurements)	// If network expecting measurements, they will come first 
-			{
-			getSessionId = NULL;
-			getReason = KErrNone;
-			getMeasurementInfo = NULL;			
-			// Should not get a response before Alpha2 timer expires:
-			TESTL(iProxy->WaitForResponse(KAlpha2Timeout-timeElapsed-delta) == ENetMsgTimeoutExpired); 
-			INFO_PRINTF1(_L("				No RespondLocationRequest before Alpha2 timer expired"));
-			TESTL(iProxy->WaitForResponse(2*delta) == ENetMsgRespondLocationRequest);		
-			INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RespondLocationRequest(meas)"));
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getMeasurementInfo); 
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			if(getReason != KErrNone)
-				{
-				INFO_PRINTF2(_L("getReason = 0x%x"), getReason);
-				}			
-			TESTL(getReason==KErrNone);
-			TESTL(getMeasurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			
-			// Make another request from the network
-			INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationRequest(Quality)"));	
-			quality = ArgUtils::Quality(); 
-			iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-			// module will request assistance data again (mask 0)
-			// >> RequestAssistanceData(0)
-			TESTL(iProxy->WaitForResponse(KSmallTimeOut) == ENetMsgRequestAssistanceData); 
-			INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RequestAssistanceData(0)"));
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &getDataGroup);
-			TESTL(getDataGroup == EAssistanceDataNone);		
-			CleanupStack::PopAndDestroy(cleanupCnt);	
-			
-			// >> RespondLocationRequest() 
-			TESTL(iProxy->WaitForResponse(KTTimeout + delta) == ENetMsgRespondLocationRequest);
-			INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RespondLocationRequest(meas)"));		
-			getSessionId = NULL;
-			getReason = KErrNone;
-			getMeasurementInfo = NULL;				
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getMeasurementInfo);			
-
-			// Check it is measurement
-			TESTL(getMeasurementInfo->PositionClassType() == EPositionGpsMeasurementInfoClass);
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(getReason == KErrNone);
-			CleanupStack::PopAndDestroy(cleanupCnt);			
-			
-			if(iPlannedPositionOriginator == EPositionOriginatorModule)
-				{ // if hybrid need to do one more request (which will result in module returning gps position)
-				// << ProcessLocationRequest(SessionId, HybridMode, t)
-				INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationRequest(SessionId, HybridMode, t)"));
-				iProxy->CallL(ENetMsgProcessLocationRequest, &iSessionId, &emergency, &service, &quality, &method);
-
-				// >> RequestAssistanceData(0)
-				INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RequestAssistanceData(0)"));
-				TESTL(iProxy->WaitForResponse(KTimeOut) == ENetMsgRequestAssistanceData); 
-				cleanupCnt = iProxy->GetArgsLC(ENetMsgRequestAssistanceData, &getDataGroup);
-				TESTL(getDataGroup == EAssistanceDataNone);
-				CleanupStack::PopAndDestroy(cleanupCnt);					
-				}			
-			}
-		
-		// The final position:
-		if(iPlannedPositionOriginator == EPositionOriginatorModule)
-			{
-			// The module should return the position
-			ASSERT(iNetworkExpectsPositions);
-			INFO_PRINTF1(_L("				Network expecting position"));
-			// >> RespondLocationRequest() - first measurement, second position.
-			TESTL(iProxy->WaitForResponse(KTTimeout + delta) == ENetMsgRespondLocationRequest);
-			INFO_PRINTF1(_L(">>>>>>>>>>>>>>>>>>>>>>>>>>> RespondLocationRequest(gpspos)"));			
-			getPositionInfo = NULL;
-			getSessionId = NULL;
-			getReason = KErrNone;			
-			cleanupCnt = iProxy->GetArgsLC(ENetMsgRespondLocationRequest, &getSessionId, &getReason, &getPositionInfo);
-			// check it is a position
-			TESTL(getPositionInfo->PositionClassType() == (EPositionInfoClass|EPositionCourseInfoClass|EPositionSatelliteInfoClass|EPositionExtendedSatelliteInfoClass));
-			TESTL(getSessionId->SessionNum() == iSessionId.SessionNum());
-			TESTL(getReason == KErrNone);
-			// Test position is the same as in the ini file data fed to the GPS module
-			// $update,1,0,49.2,3.5,50,20,20*
-			TPosition gpsPos;
-			getPositionInfo->GetPosition(gpsPos);
-			TESTL(gpsPos.Latitude()==49.2 && gpsPos.Longitude()==3.5 && gpsPos.Altitude()==50 && gpsPos.HorizontalAccuracy()==20 && gpsPos.VerticalAccuracy()==20); 			
-			CleanupStack::PopAndDestroy(cleanupCnt);
-			// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-			// Return modules' position as FinalNetworkPosition
-			TPositionInfo gpsPosInfo;
-			gpsPosInfo.SetPosition(gpsPos);
-			gpsPosInfo.SetUpdateType(EPositionUpdateGeneral);
-			gpsPosInfo.SetPositionMode(TPositionModuleInfo::ETechnologyTerminal | TPositionModuleInfo::ETechnologyAssisted);
-			gpsPosInfo.SetPositionModeReason(EPositionModeReasonNone);			
-			INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-			iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &gpsPosInfo);			
-			}
-		else if(iPlannedPositionOriginator == EPositionOriginatorNetwork)
-			{
-			// The network should return the position
-			TPositionInfo positionInfo = ArgUtils::AccurateNetworkPositionInfo();
-			// << ProcessLocationUpdate(SessionId, FinalNetworkPosition)
-			// Return FinalNetworkPosition
-			INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessLocationUpdate(SessionId, FinalNetworkPosition)"));
-			iProxy->CallL(ENetMsgProcessLocationUpdate, &iSessionId, &positionInfo);			
-			}
-		}
-		
-// Session Complete Start
-	TInt reason;
-	if(iNetRequestRejected)
-		{
-		reason = KErrNotSupported;
-		}
-	else
-		{
-		reason = KErrNone;
-		}
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessSessionComplete()"));		
-	iProxy->CallL(ENetMsgProcessSessionComplete, &iSessionId, &reason);
-	MLbsNetworkProtocolObserver::TLbsNetProtocolServiceMask activeServiceMask = MLbsNetworkProtocolObserver::EServiceNone;
-	INFO_PRINTF1(_L("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ProcessStatusUpdate(EServiceNone)"));		
-	iProxy->CallL(ENetMsgProcessStatusUpdate, &activeServiceMask);
-// Session Complete Stop
-	
-	// need to yield to scheduler here to allow gps mode notifications and transmit pos notification to happen
-	CheckForObserverEventTestsL(KTimeOut, *this);
-	INFO_PRINTF1(_L("				Got Transmitted Pos"));	
-	
-	// Done. Now cleanup...	
-	CleanupStack::PopAndDestroy(pWatch);
-	
-	return TestStepResult();
-	}
-
-
-TLbsNetPosRequestMethod CT_LbsX3PGpsOptions::RequestNetworkMethod()
-/**
- This method will chose the appropiate method requested by the network, depending 
- on the test settings
- 
- @return The network method
- */
-	{
-	
-	TLbsNetPosRequestMethod method;
-	
-	switch(iNetworkMethod)
-		{
-		case ETerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalBasedMethod();
-			break;
-			}
-		case ETerminalBasedTerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestHybridMethod();
-			break;
-			}
-		case ETerminalAssistedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			method = ArgUtils::RequestTAPMethod();
-			break;
-			}
-		case ETerminalAssistedTerminalBasedNetworkMethod:
-			{
-			iNetworkExpectsMeasurements = ETrue;
-			iNetworkExpectsPositions = ETrue;
-			method = ArgUtils::RequestTerminalAssistedAndTerminalBasedMethod();
-			break;
-			}
-		case ENetworkMethodNotSet:
-			{
-			//we should set mode according to default admin 
-			TEST(iAdminGpsMode != CLbsAdmin::EGpsModeUnknown);
-			switch(iAdminGpsMode)
-			{
-			case CLbsAdmin::EGpsPreferTerminalBased:
-				{
-				iNetworkExpectsPositions = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsPreferTerminalAssisted:
-			case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-				{
-				iNetworkExpectsMeasurements = ETrue;
-				break;
-				}
-			case CLbsAdmin::EGpsAutonomous:	// test framework doesn't currently support this
-			default:
-				{
-				User::Invariant();
-				}
-			}	
-			method = ArgUtils::RequestUnspecifiedMethod();
-			break;
-			}
-		default:
-			{
-			User::Invariant();
-			}
-		}
-	return method;
-	}
-
-
-void CT_LbsX3PGpsOptions::DecideWhatNetworkReceives()
-/**
- This method checks what the module was finally set to and decides if the network 
- should expect measuments, or positions
- */
-	{
-	TLbsGpsOptionsArray options;
-	TPckg<TLbsGpsOptionsArray> pckgOptions(options);
-	TEST(KErrNone == RProperty::Get(KUidSystemCategory, ELbsTestAGpsModuleModeChanges, pckgOptions));
-
-	if(options.ClassType() & ELbsGpsOptionsArrayClass)
-		{ 
-		if(options.NumOptionItems() > 1)
-			{
-			// don't change anything (from what was set in RequestNetworkMethod()), the module is running in hybrid
-			return;
-			}
-		}
-	switch(options.GpsMode())
-		{
-		case CLbsAdmin::EGpsAutonomous:
-			{
-			iNetworkExpectsPositions = EFalse;
-			iNetworkExpectsMeasurements = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalBased:
-		case CLbsAdmin::EGpsAlwaysTerminalBased:
-			{
-			iNetworkExpectsMeasurements = EFalse;
-			break;
-			}
-		case CLbsAdmin::EGpsPreferTerminalAssisted:
-		case CLbsAdmin::EGpsAlwaysTerminalAssisted:
-			{
-			iNetworkExpectsPositions = EFalse;
-			break;
-			}
-		default:
-			{
-			// change nothing
-			}
-		return;
-		}
-	}
-
-void CT_LbsX3PGpsOptions::OnTransmitRefPosition(TInt32 aErr, const TPositionInfoBase& /* aPosInfo */)
-	{
-	TESTL(aErr==KErrNone);	
-	ReturnToTestStep();
-	}
-	
-void CT_LbsX3PGpsOptions::OnTransmitPosition(TInt32 aErr, const TPositionInfoBase& /* aPosInfo */)
-	{
-	if(iNetRequestRejected)
-		{
-		TESTL(aErr==KErrNotSupported);
-		}
-	else
-		{
-		// TO DO - verify technology type is as expected?
-		TESTL(aErr==KErrNone);
-		}	
-	
-	ReturnToTestStep();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbshybridx3p/testdata/sf_lbs_x3p.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,345 +0,0 @@
-[LBS-X3P]
-psy_uid=0x101fe98c
-
-[PrivHandler]
-privhandler_type=1
-
-
-[UEBasedX3P]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,51.5015,-0.105,50,2,3*
-
-[HybridUEAssistedX3PNoGPS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt= on
-agps_module_multi_updates_opt = off
-$update,3,2,NAN,NAN,NAN,NAN,NAN*
-
-[HybridUEAssistedX3PAccurateGPS]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt= on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN*			
-$update,1,2,51.5015,-0.105,50,2,3*
-
-[HybridUEAssistedX3PGPSFutile]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN*
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-
-[HybridUEBasedX3PGPSFutile]
-tc_id = 1
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[NonHybridUEBasedX3PGPSFutile]
-tc_id = 2
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[HybridUEAssistedX3PClientTimeout]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt= on
-agps_module_multi_updates_opt = off
-$update,10,2,NAN,NAN,NAN,NAN,NAN*
-
-[AccurateReferencePosition]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-agps_module_assistance_data_opt = on
-agps_module_multi_updates_opt = off
-$update,1,2,NAN,NAN,NAN,NAN,NAN*
-$update,1,2,NAN,NAN,NAN,NAN,NAN,4*
-
-[Comment]
-//////////////////////////// TAP TESTS //////////////////////////////
-// Key:
-// 
-// NetworkMethod: 
-// 	1 = TB
-// 	2 = TB+TA
-// 	3 = TA
-//	4 = TA+TB
-//	5 = Unspecified
-//
-// PositionOriginator:
-// 	1 = module
-// 	2 = network
-//
-// Module Modes:
-//	1 entry of this format for eachg time the module mode is reconfigured during test:
-// 	$modulemodes,mode,[pos or meas],[pos or meas]*
-// 
-// 	where mode is one of:
-// 	1 = PTB
-// 	2 = ATB (not supported)
-// 	3 = Autonomous
-// 	4 = PTA
-// 	5 = ATA
-//
-// 	[] = optional
-// 	1 = pos
-// 	2 = meas
-//
-// 	For example, here we expect The module to be set to PTB and then to hybrid:
-// 	$modulemodes,1*
-// 	$modulemodes,1,1,2*
-//
-// Updates:
-//	1 entry of this format for each update to be sent by the module:
-//	$update,number of updates of this type, ?,lat, long, alt, hor acc, vert acc*
-//	
-//	For example, here we expect 3 updates where the first 2 are inaccurate (all NANs) and the third is a proper update:
-//	$update,2,4,NAN,NAN,NAN,NAN,NAN*
-//	$update,1,0,49.2,3.5,50,20,20*
-//
-//	Note: the module makes the meas data details up itself, don't need them in config
-//	Note: the agps hybrid test module always sends a NAN pos/meas soon after the request has been sent, 
-//	      independent of above which are sent at max fix time for each request.
-//	
-//	Note: the TAP test framework will make 2 requests from the NW where measurements are expected (TAP / Hybrid)
-//	      and a single request from the network when a position is expected	(PTB / Hybrid)
-//
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-//----------------------------- TB CAP -----------------------------
-
-[X3P-TBCAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-[X3P-TBCAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA				
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-// Rejected by NRH
-[X3P-TBCAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the module will return the position 
-PositionOriginator = 1
-// The module should not be set
-
-
-[X3P-TBCAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and then not set again
-// PTB
-$modulemodes,1*
-
-
-//----------------------------- TA CAP -----------------------------
-
-// Rejected by NRH
-[X3P-TACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TB (not used, but we need to set something)
-NetworkMethod = 1
-// It is expected that the network will return the position (not used, but we need to set something)
-PositionOriginator = 2
-// The module should not be set - lrm?
-
-
-[X3P-TACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TBTA 
-NetworkMethod = 2
-// It is expected that the network will return the position 
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-[X3P-TACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-[X3P-TACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TATB
-NetworkMethod = 4
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA and then not set again
-// PTA
-$modulemodes,4*
-
-
-//----------------------------- TB||TA CAP -----------------------------
-
-[X3P-TBORTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-
-[X3P-TBORTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-
-[X3P-TBORTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA
-// PTA
-$modulemodes,4*
-
-
-[X3P-TBORTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the network will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again - the default gps mode setting in lbsadmin
-// PTB
-$modulemodes,1*
-
-
-//----------------------------- TB&&TA CAP -----------------------------
-
-[X3P-TBANDTACAP-TBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-
-[X3P-TBANDTACAP-TBTANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB+TA
-NetworkMethod = 2
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to hybrid
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[X3P-TBANDTACAP-TANET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will return 2 sets of measurements
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-// The network will request TA
-NetworkMethod = 3
-// It is expected that the network will return the position
-PositionOriginator = 2
-// The module should be set to PTA
-// PTA
-$modulemodes,4*
-
-
-[X3P-TBANDTACAP-TATBNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will return 2 sets of measurements, then an accurate position
-$update,2,0,NAN,NAN,NAN,NAN,NAN*
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TA+TB
-NetworkMethod = 4
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to hybrid
-// PTB (Pos, Mes)
-$modulemodes,1,1,2*
-
-
-[X3P-TBANDTACAP-UNSPECIFIEDNET]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-// module will send one (complete) update
-$update,1,0,49.2,3.5,50,20,20*
-// The network will not specify gps mode
-NetworkMethod = 5
-// It is expected that the module will return the position
-PositionOriginator = 1
-// The module should be set to PTB and not set again
-// PTB
-$modulemodes,1*
-
-[X3P-RESET-TB-AFTAST]
-agps_module_update_file = c:\testdata\configs\sf_lbs_x3p.ini
-$update,1,0,49.2,3.5,50,20,20*
-// The network will request TB
-NetworkMethod = 1
-// It is expected that the module will return the position
-PositionOriginator = 1
-// Reset after assistance data is sent
-StepForReset = 3
-// Don't warm up module
-WarmUpModule = 0
-// The reset mask is 0xFFFFFFFF
-ResetMask = -1
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sflbsmtlr.ini	c:/testdata/configs/sflbsmtlr.ini
-../testdata/sf_1028224b_custom1behaviour_noextprofileinuse.cre	c:/testdata/configs/sf_1028224b_custom1behaviour_noextprofileinuse.cre
-../testdata/sf_1028224b_custom1behaviour_noextprofileinuse.txt	c:/testdata/configs/sf_1028224b_custom1behaviour_noextprofileinuse.txt
-../testdata/sf_1028224b_originalbehaviour_noextprofileinuse.cre	c:/testdata/configs/sf_1028224b_originalbehaviour_noextprofileinuse.cre
-../testdata/sf_1028224b_originalbehaviour_noextprofileinuse.txt	c:/testdata/configs/sf_1028224b_originalbehaviour_noextprofileinuse.txt
-../testdata/sf_lbstestprofile_valid_profilenotinuse.ini	c:/testdata/configs/sf_lbstestprofile_valid_profilenotinuse.ini
-../scripts/sflbsmtlr.script	c:/testdata/scripts/sflbsmtlr.script
-
-PRJ_TESTMMPFILES
-
-ctsflbsmtlrserver.mmp
-
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/group/ctsflbsmtlrserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctsflbsmtlrserver.mmp
-// 
-//
-
-TARGET		sflbsmtlrtestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x1028720A
-VENDORID 	0x70000001
-CAPABILITY	ProtServ LocalServices WriteDeviceData ReadDeviceData Location
-//CAPABILITY ALL -TCB
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-USERINCLUDE		../inc
-
-// Lbs Data Source framework code.
-SOURCEPATH	../src
-SOURCE	ctlbsmtlrprivcntrlstepmain.cpp
-SOURCE	ctlbsmtlrserver.cpp
-SOURCE	ctlbsmtlrshareddata.cpp
-SOURCE	ctlbsmtlrstep.cpp
-
-
-// Lbs MTLR test step code.
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsassistancedata.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsprivacycontroller.lib
-
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY lbsnetsim.lib
-LIBRARY lbstestclient.lib
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrprivcntrlstepmain.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,157 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrprivcntrlstepmain.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_MTLR_PRIV_CNTRL_STEP_H__
-#define __CT_LBS_MTLR_PRIV_CNTRL_STEP_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/lbsprivacycontroller.h>
-#include <lbs/lbsadmin.h>
-#include <lbs/lbsnetprotocolbase.h>
-#include <lbs/lbsnetcommon.h>
-#include <lbs/test/lbsnetsimtest.h>
-
-// LBS test includes.
-#include "ctlbsmtlrstep.h"
-#include "ctlbsmtlrserver.h"
-
-// Literals used
-_LIT(KLbsMTLRPrivCntrlStep_Main, "LbsMTLRPrivCntrlStep_Main");
-
-// Callbacks flags.
-
-const TLbsCallbackFlags KLbsCallback_Got_PrivCntrlNetworkLocationRequest= 0x1000;	// network location request is received by the LBS system
-const TLbsCallbackFlags KLbsCallback_Got_PrivCntrlNetworkPositionUpdate	= 0x2000;	// position update (reference / final) is ready
-const TLbsCallbackFlags KLbsCallback_Got_PrivCntrlRequestComplete		= 0x4000;	// network location request (e.g. MT-LR) has been completed
-//const TLbsCallbackFlags KLbsCallback_Got_AdminSetting					= 0x8000;	// got callback for admin setting change
-
-const TLbsCallbackFlags KLbsCallback_PrivCntrl = 	KLbsCallback_Got_PrivCntrlNetworkLocationRequest |
-													KLbsCallback_Got_PrivCntrlNetworkPositionUpdate |
-													KLbsCallback_Got_PrivCntrlRequestComplete;
-
-
-class CT_LbsMTLRPrivCntrlStep_Main : public	CT_LbsMTLRStep, MLbsPrivacyObserver, MLbsAdminObserver
-	{
-public:
-	~CT_LbsMTLRPrivCntrlStep_Main();
-
-	static CT_LbsMTLRPrivCntrlStep_Main* New(CT_LbsMTLRServer& aParent);
-	virtual TVerdict doTestStepL();
-
-	// From CT_LbsNetSimStep via CT_LbsMTLRStep
-	void Connected();
-	void Disconnected();
-	void NotifyMeasurementControlLocation(const TPositionInfo& aPosition, const RLbsAssistanceDataBuilderSet& aData, const TLbsNetPosRequestQuality& aQuality);
-	void NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult);
-	void NotifyMeasurementReportLocation(const TPositionInfo& aPosition);
-	void NotifyMeasurementReportControlFailure(TInt aReason);
-	void NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter);
-
-	// From MLbsPrivacyObserver:	
-	void ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType);
-	void ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo);
-	void ProcessRequestComplete(TUint aRequestId, TInt aReason);	
-
-	// From MLbsAdminObserver:
-	void OnSettingUpdateEvent(TInt aError, const TLbsAdminSetting& aSetting);
-	
-private:
-	void VerifyRequestorDetails(const TLbsExternalRequestInfo& aRequestInfo);
-		
-	CT_LbsMTLRPrivCntrlStep_Main(CT_LbsMTLRServer& aParent);
-	void ConstructL();
-	
-	enum  {	EAdminWait = CT_LbsNetSimStep::ELast, EStartMTLRPrivReq,
-			EStartMTLRLocReq, ENetPosUpdCountWait};
-	
-	// For changing admin settings:			
-	CLbsAdmin*	iLbsAdmin;
-	
-	// the lbs privacy controller interface:
-	CLbsPrivacyController* iLbsPrivacyController;
-	
-	// number of times that the privacy controller's ProcessNetworkPositionUpdate() callback has been called for this test case
-	TUint iProcessNetPosUpdCount;	
-	
-	
-	
-	// Should we use bad request Id
-	TBool iUseBadRequestId;
-	
-	TBool iRespondWithBadId;
-	TBool iEarlyCancelWithBadId;
-	TBool iLateCancelWithBadId;	
-	TBool iRespondAndCancelWithBadId;
-	
-	// cause test module to stall for this amount of time (defaults to 0)
-	TTimeIntervalMicroSeconds iTestModuleStallTime;
-	
-	// extend the keepalive timer for this amount after all callbacks received
-	TTimeIntervalMicroSeconds32	iExtendedTimerTime;
-	
-	
-	// Current test case being executed:
-	TInt iTestCaseId;
-	//Current profileid being used
-	TInt iProfileId;
-	// this set of member vars defines an indicidual test case:
-	
-	// How test should configure the external locate service
-	CLbsAdmin::TExternalLocateService	iConfiguredExtLocateService;
-	
-	// privacy controller's response (accept/reject/ignore) to priv request:	
-	CLbsPrivacyController::TRequestVerificationResult iPrivResult;
-	
-	// expected response sent to network 
-	CLbsNetworkProtocolBase::TLbsPrivacyResponse iExpectedNetworkResult;	
-		
-	TUint iExpectedNetPosUpdCount;
-	
-	// whether privacy controller should respond to a privacy request (as configured above)
-	TBool iRespondToPrivacyRequest;
-	TBool iCancelAfterResponding;
-	TUint iSessionId;
-	
-	// whether we should kick off a location request when notified that response to privacy request has been sent to network
-	TBool	iStartLocationRequest;
-	
-	// configure emergency request? 
-	TBool iConfigureEmergencyRequest;
-	
-	// configure 'roaming'?
-	TBool iConfigureRoaming;
-	// configure 'quality profile'?
-	TBool iConfigureProfile;
-	// type of network request to configure (requestaction/requestadvice)
-	TLbsNetPosRequestPrivacy::TLbsRequestAction	iConfiguredRequestAction;	
-	TLbsNetPosRequestPrivacy::TLbsRequestAdvice	iConfiguredRequestAdvice;
-	
-	TUint iExpectedCompleteRequestId;
-	
-	// expecting control failure with this reason:	
-	TInt	iExpectedControlFailureReason;
-		
-	// should the privacy controller cancel the test on receiving 
-	TBool	iCancelBeforeFinalPosUpd;
-
-	};
-
-#endif //__CT_LBS_MTLR_PRIV_CNTRL_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrserver.h
-// This contains the header file for LBS MTLR Test server
-// 
-//
-
-#ifndef __CT_LBS_MTLR_SERVER_H__
-#define __CT_LBS_MTLR_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-#include "ctlbsmtlrshareddata.h"
-
-//Literals Used
-_LIT(KSfLbsMTLRTestServer,"SfLbsMTLRTestServer");
-
-
-// Implements the LBS Client Test server
-class CT_LbsMTLRServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsMTLRServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsMTLRServer();
-	CT_LbsMTLRServer();
-public:
-
-protected:
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_MTLR_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrshareddata.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrshareddata.h
-// 
-//
-
-
-#ifndef __T_LBS_MTLR_SHARED_DATA_H__
-#define __T_LBS_MTLR_SHARED_DATA_H__
-
-// system includes
-
-// Lbs includes
-#include "ctlbsshareddata.h"
-
-class CT_LbsMTLRSharedData : public CT_LbsSharedData
-{
-public:
-	static CT_LbsMTLRSharedData* NewL();
-	CT_LbsMTLRSharedData();
-	~CT_LbsMTLRSharedData();
-
-protected:
-	void ConstructL();
-
-public:
-	// Add any other things we may need.
-};
-
-#endif // __T_LBS_MTLR_SHARED_DATA_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/inc/ctlbsmtlrstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrserver.h
-// This contains the header file for LBS MTLR Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_MTLR_STEP_H__
-#define __CT_LBS_MTLR_STEP_H__
-
-#include "ctlbsnetsimstep.h"
-#include "ctlbsmtlrserver.h"
-
-
-class CT_LbsMTLRStep : public CT_LbsNetSimStep
-{
-
-public:
-	virtual ~CT_LbsMTLRStep();
-
-protected:
-	CT_LbsMTLRStep(CT_LbsMTLRServer& aParent);
-
-	void ConstructL();
-
-	
-	CT_LbsMTLRServer& iParent;
-};
-
-#endif // __CT_LBS_MTLR_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/scripts/sflbsmtlr.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1117 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-MTLR
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRINT TO DO: need to add correct PREQ/REQ numbers to these test cases:
-PRINT *** DELETE LBS LOG ***
-RUN_UTILS DeleteFile c:\private\101f401d\Logdbu.dat
-
-LOAD_SUITE SfLbsMTLRTestServer -SharedData
-
-PRINT Run SfLbsMTLRTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PRINT select the test A-GPS integration module to use (copy .ini file to appropriate place)
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini 
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-	DeleteFile c:\private\10202be9\persists\1028224b.cre
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr
-
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_StartLbs
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0001
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0001
-//!@SYMTestCaseDesc		'Notify and Accept' request from network accepted
-//!					This case also tests the logging API by verifying the relevant logs are written, can be read
-//!					and as are expected. A self locate log, and external log and an assistance log.
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify) and kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request accepted and location sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0001
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0001
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0001
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0002
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0002
-//!@SYMTestCaseDesc		'Verify, Accept if no response' request from network accepted
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request accepted and location sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0002
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0002
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0003
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0003
-//!@SYMTestCaseDesc		'Verify, Accept if no response' request from network rejected
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), reject the request (use RespondNetworkLocationRequest() ).
-//!					5. When privacy controller is called with ProcessRequestComplete(), verify that the reason is KErrNone
-//!					6. Verify that 'rejected' response is sent to the network
-//!
-//!@SYMTestExpectedResults	Privacy request rejected
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0003
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0003
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0006
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0006
-//!@SYMTestCaseDesc		'Verify, Accept if no response' allowed to timeout
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), do not respond
-//!					5. Verify that 'accepted' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos 	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0006
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0006
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0007
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0007
-//!@SYMTestCaseDesc		Cancel location request before final result
-//!@SYMTestActions	1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the 
-//!					   request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accepted' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. When ProcessNetworkPositionUpdate() is called for the first time (reference location), cancel the request 
-//!					8. When privacy controller is called with ProcessRequestComplete(), verify that the reason is KErrNone
-//!					9. Confirm that location is NOT sent to network
-//!@SYMTestExpectedResults	Location is never passed to network
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-PRINT This test case can only be run with the test AGPS module, since it requires the module to be configure to stall
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0007
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-END_TESTCASE SFLBS-MTLR-PrivCntr-0007
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0008
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0008
-//!@SYMTestCaseDesc			Negative test on RespondNetworkLocationRequest with incorrect parameter.
-//!@SYMTestActions	1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy requestof type 'verify, accept' with a valid Id.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), respond to a 
-//!					   request (use RequestNetworkLocationRequest() ) passing an invalid ID.
-//!					5. Original privacy request with valid Id is processed 'as normal' (accepted and location request kicked off)
-//!@SYMTestExpectedResults	
-//!					Location expected to be sent to network. Response to 'bad'  request is ignored
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0008
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-END_TESTCASE SFLBS-MTLR-PrivCntr-0008
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0009
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0009
-//!@SYMTestCaseDesc			Negative test on CancelNetworkLocationRequest with incorrect parameter.
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy requestof type 'verify, accept' with a valid Id.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), cancel a 
-//!					   request (use CancelNetworkLocationRequest() ) passing an invalid ID.
-//!					5. Original privacy request with valid Id is processed 'as normal' (accepted and location request kicked off)
-//!					
-//!@SYMTestExpectedResults	
-//!					Location expected to be sent to network. Cancelled 'bad' request is ignored
-//!
-//!
-//!					
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0009
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0009
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0010
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0010
-//!@SYMTestCaseDesc			Negative test on CancelNetworkLocationRequest called directly after RespondNetworkLocationRequest, with a bad ID.
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy requestof type 'verify, accept' with a valid Id.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept a 
-//!					   request (use RequestNetworkLocationRequest() ) passing an invalid ID.
-//!					5. Also call CancelNetworkLocationRequest passing an invalid ID.
-//!					6. Original privacy request with valid Id is processed 'as normal' (accepted and location request kicked off)
-//!					
-//!@SYMTestExpectedResults	
-//!					Location sent to network as normal. Cancel/Response of 'bad' request ignored
-//!
-//!					
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0010
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0010
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0011
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0011
-//!@SYMTestCaseDesc			Negative test on CancelNetworkLocationRequest called directly after ProcessNetworkLocationRequest
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy requestof type 'verify, accept' with a valid Id.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept a 
-//!					   request (use RequestNetworkLocationRequest() ) passing a valid ID.
-//!					5. After ProcessNetworkLocationRequest() callback completes, we cancel a request passing a bad ID inside
-//!					   ProcessNetworkPositionUpdate() during its first call for reference data.
-//!					
-//!@SYMTestExpectedResults
-//!					Location sent to network. Cancel of 'bad' request is ignored
-//!
-//!					
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0011
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0011
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0012
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0012
-//!@SYMTestCaseDesc		Location request received after privacy request rejected
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), reject the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'rejected' response is sent to the network
-//!					6. Kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() is not called
-//!					8. When privacy controller is called with ProcessRequestComplete(), verify that the reason is KErrNone
-//!					9. Confirm that control failure is sent to network with reason KErrPermissionDenied
-//!
-//!@SYMTestExpectedResults		Control failure is sent with reason KErrPermissionDenied
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0012
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0012
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0013
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0013
-//!@SYMTestCaseDesc		Silent request
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'silent'(ERequestAdviceSilent).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0013
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0013
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0014
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0014
-//!@SYMTestCaseDesc		Request when external locate turned off in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOff) to disallow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request.  
-//!					4. Verify that the privacy controller callbacks are not called
-//!					5. Confirm that location is not sent to network
-//!
-//!@SYMTestExpectedResults		Privacy controller is never called and location not sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0014
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0014
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0015
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0015
-//!@SYMTestCaseDesc		'Verify, Reject if no response' allowed to timeout
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy request of type 'verify, accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), do not respond
-//!					5. When privacy controller is called with ProcessRequestComplete(), verify that the reason is KErrNone
-//!					6. Verify that 'rejected' response is sent to the network
-//!
-//!@SYMTestExpectedResults	Privacy request is rejected and location is NOT sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos 	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0015
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0015
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0016
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0016
-//!@SYMTestCaseDesc		Request when external locate turned to 'off but notify' in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOffButNotify) so external locate set to 'offbutnotify' and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'notify/reject' (ERequestAdviceNotify).
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), check that the notification type has been changed to ENotifyLocationRejected.
-//!					4a. Make sure that Session Complete is sent to the Privacy Controller.
-//!					5. Don't accept the request (the NRH should reply for you).
-//!					6. Verify that 'reject' response is sent to the network
-//!					7. There should be no other privacy controller callbacks.
-//!
-//!@SYMTestExpectedResults		Privacy controller is called but the NRH rejects the request; no location is sent to the network.
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0016
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0016
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0017
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0017
-//!@SYMTestCaseDesc		Request when external locate turned to 'on but always verify' in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOnButAlwaysVerify) and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'verify' (ERequestAdviceVerify).
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), check that the notification type has not been changed
-//!					5. Accept the request (use RespondNetworkLocationRequest() ).
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy controller is called as usual and location sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0017
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0017
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0018
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0018
-//!@SYMTestCaseDesc		        Cancel Network location request in the RespondNetworkLocationRequest()
-//!
-//!@SYMTestActions		
-//!                           1. Register as the privacy observer app.
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify).
-//!					3. Configure netSim (use ERequestAdviceNotify) and kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), cancel the request (use CancelNetworkLocationRequest() ).
-//!                           5. Verify network receive 'reject' response from LBS in NotifyReleaseLcsLocationNotification() and do not start Network
-//!					6. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() are not called and ProcessRequestComplete() called with KErrNone
-//!
-//!@SYMTestExpectedResults		Privacy controller is canceled 
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0018
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0018
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0019
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0019
-//!@SYMTestCaseDesc		CancelNetworkLocationRequest with bad session id.
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 
-//!					3. Configure netSim (use ERequestAdviceVerify) and kick off an privacy requestof type 'verify, accept' with a valid Id.  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), cancel a 
-//!					   request (use CancelNetworkLocationRequest() ) passing an invalid ID.
-//!					5. Original privacy request with valid Id is ignored
-//!					6. Expect original request to timeout and be automatically accepted. Cancelled (bad) request should be ignored.
-//!					
-//!@SYMTestExpectedResults	
-//!					Location sent to network. Cancel of 'bad' id ignored
-//!
-//!
-//!					
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0019
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0019
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-0020
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-0020
-//!@SYMTestCaseDesc		        Cancel Network location request after after accepting. This relates to defect INC102106[QAT98]
-//!
-//!@SYMTestActions		
-//!                           	1. Register as the privacy observer app.
-//!			    	2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify).
-//!				3. Configure netSim (use ERequestAdviceNotify) and kick off an privacy request of type 'notify the user and automatically accept'.  
-//!				4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request.
-//!				5. When receiving NotifyReleaseLcsLocationNotification,  cancel the request (use CancelNetworkLocationRequest() )
-//!
-//!@SYMTestExpectedResults		Privacy controller is canceled 
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-0020
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-0020
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-SilentReject-0001
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-SilentReject-0001
-//!@SYMTestCaseDesc			Silent/Reject request behaviourmode = 'custom1'
-//!					Note: this behaviour seems odd (accepting a 'silent reject'), but is apparently what 'customer1' wanted!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'silent/reject'(ERequestAdviceSilent/ERequestActionReject).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-SilentReject-0001
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-SilentReject-0001
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0001
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0001
-//!@SYMTestCaseDesc		Emergency request of type 'accept and notify' is accepted by privacy controller
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy request of type 'notify the user and automatically accept'(ERequestAdviceNotify).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0001
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0001
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0002
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0002
-//!@SYMTestCaseDesc		Emergency request of type 'accept and notify' is rejected by privacy controller
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy requestof type 'accept and notify'(ERequestAdviceNotify).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), reject the request (use RespondNetworkLocationRequest() ).
-//!					5. Verify that 'accept' response is sent to the network (despite the priv controller rejecting it)
-//!					6. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					7. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					8. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0002
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0002
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0003
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0003
-//!@SYMTestCaseDesc		Emergency request of type 'verify, reject' is rejected by privacy controller
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy requestof type 'verify/reject' (ERequestAdviceVerify + ERequestActionReject).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), verify that the notification type has been changed to 'accept/notify'  
-//!					5. Reject the request (use RespondNetworkLocationRequest() ).
-//!					6. Verify that 'accept' response is sent to the network (despite the priv controller rejecting it)
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0003
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0003
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0004
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0004
-//!@SYMTestCaseDesc		Privacy controller attempts to cancel Emergency request
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy request of type 'notify/accept' (ERequestAdviceNotify + ERequestActionAllow).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), verify the notification type
-//!					5. Cancel the request (use CancelNetworkLocationRequest())
-//!					6. Verify that 'accept' response is sent to the network (despite the priv controller cancelling it)
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0004
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0004
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0005
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0005
-//!@SYMTestCaseDesc		Emergency request of type 'verify, allow' is ignored by privacy controller
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy request of type 'verify/allow'(ERequestAdviceVerify + ERequestActionAllow).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), verify that the notification type has been changed to 'accept/notify'  
-//!					5. Do not respond to the privacy request.
-//!					6. Verify that 'accept' response is sent to the network (despite the priv controller rejecting it)
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0005
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0005
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0006
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0006
-//!@SYMTestCaseDesc		Emergency request of type 'silent' accepted by privacy controller
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy request of type 'silent'(ERequestAdviceSilent).  
-//!					4. When ProcessNetworkLocationRequest() called, accept it and kick off a network location request (via NetSim).
-//!					5. Verify that 'accept' response is sent to the network.
-//!					6. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					7. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0006
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0006
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0008
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-Emergency-0008
-//!@SYMTestCaseDesc		Emergency request of type 'verify, reject' is rejected by privacy controller while emergencylocate set to 'OnButAlwaysVerify'
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOnButVerify) to allow Emergency MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use SetEmergenyStatus) and kick off an emergency privacy requestof type 'verify/reject' (ERequestAdviceVerify + ERequestActionReject).  
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), verify that the notification type has been changed to 'accept/notify'  
-//!					5. Reject the request (use RespondNetworkLocationRequest() ).
-//!					6. Verify that 'accept' response is sent to the network (despite the priv controller rejecting it)
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	'OnButVerify' setting has no effect when using privacy controller. Privacy request is accepted and location is sent to network
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Emergency-0008
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-Emergency-0008
-
-START_TESTCASE SFLBS-MTLR-Quality-Profile-0001
-//!@SYMTestCaseID			SFLBS-MTLR-Quality-Profile-0001
-//!@SYMTestCaseDesc		Request a location update from Network by setting required quality profile Id in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use KSettingQualityProfileExternalLocate) to allow MT-LR uses quality profile and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify) and set MAXTime to zero by calling SetQuality function
-//!                                         *Note: Ensure ntework uses qualityprofile while requesting a location.
-//!                                     4. kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					5. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request accepted and location sent to network with the specified accuracy
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0001
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0001
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-Quality-Profile-0001
-
-
-START_TESTCASE SFLBS-MTLR-Timeout-0001
-//!@SYMTestCaseID			SFLBS-MTLR-Timeout-0001
-//!@SYMTestCaseDesc		Request a location update from Network by setting required quality profile Id in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use KSettingQualityProfileExternalLocate) to allow MT-LR uses quality profile and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify and do not provide valid quality params in request)
-//!                                         *Note: Above ensures ntework uses qualityprofile while requesting a location.
-//!                                     4. kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					5. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request (use RespondNetworkLocationRequest() ).
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request (via NetSim)
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults	Privacy request accepted and location sent to network with the specified accuracy
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Timeout-0001
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Timeout-0001
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-Timeout-0001
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0001
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0001
-//!@SYMTestCaseDesc			Privacy request of type 'notify/reject timesout. External locate turned to 'on but always verify' in admin. Behaviourmode = 'custom1'
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOnButAlwaysVerify) and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'notify/reject' (ERequestAdviceNotify/ERequestActionReject).
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), check the notification type 
-//!					5. Do not respond to request (so it timesout)
-//!					6. Verify that 'reject' response is sent to the network
-//!
-//!@SYMTestExpectedResults		Privacy request is rejected
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0001
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0001
-
-
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0002
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0002
-//!@SYMTestCaseDesc			Privacy request of type 'notify/allow' timesout. External locate turned to 'on but always verify' in admin. Behaviourmode = 'custom1'
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOnButAlwaysVerify) and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'notify/allow' ERequestAdviceNotify + ERequestActionAllow).
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), check the notification type 
-//!					5. Do not respond to request (so it timesout)
-//!					6. Verify that 'accept' response is sent to the network
-//!
-//!@SYMTestExpectedResults		Privacy request is accepted
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0002
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0002
-
-
-// We need to re-start LBS with a profile ini containing a valid profile for 'profile not in use' id and 'profile not in use' id in admin cenrep
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_StopLbs
-
-PREFIX RUN_UTILS
-CopyFile c:\testdata\configs\sf_lbstestprofile_valid_profilenotinuse.ini c:\private\10282253\lbs\lbsprofile.ini 
-CopyFile c:\private\10202be9\1028224b.cre c:\private\10202be9\1028224B.cre.save
-DeleteFile c:\private\10202be9\1028224b.cre 
-DeleteFile c:\private\10202be9\persists\1028224b.cre 
-CopyFile c:\testdata\configs\sf_1028224b_custom1behaviour_noextprofileinuse.cre c:\private\10202be9\persists\1028224b.cre
-CopyFile c:\testdata\configs\sf_1028224b_custom1behaviour_noextprofileinuse.cre c:\private\10202be9\1028224B.cre
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-MTLR-Quality-Profile-0005
-//!@SYMTestCaseID			SFLBS-MTLR-Quality-Profile-0005
-//!@SYMTestCaseDesc			'custom1' behaviour mode. Privacy + Location Request from Network with quality profile = "quality profile not in use" Id in admin
-//!					profile details for "quality profile not in use" id exists in profile .ini file
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use KSettingQualityProfileExternalLocate) to indicate that MT-LR should not use a quality profile and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify and invalid quality params)
-//!                                     4. kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					5. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called with KErrNone
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request accepted and location sent to network
-//!
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0005
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0005
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-Quality-Profile-0005
-
-// Tidy up after SFLBS-MTLR-Quality-Profile-0005:
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_StopLbs
-PREFIX RUN_UTILS
-DeleteFile c:\private\10202be9\1028224b.cre 
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-CopyFile c:\private\10202be9\1028224B.cre.save c:\private\10202be9\1028224B.cre
-CopyFile c:\private\10202be9\1028224B.cre.save c:\private\10202be9\persists\1028224B.cre
-DeleteFile c:\private\10202be9\1028224B.cre.save
-REMOVE_PREFIX
-
-
-// Move the admin cenrep file out of the way and replace with a test version (original behaviour + profilenotinuse). Also use profile.ini with no entry for 'profilenotinuse' id
-PREFIX RUN_UTILS
-CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini 
-CopyFile c:\private\10202be9\1028224b.cre c:\private\10202be9\1028224B.cre.save
-DeleteFile c:\private\10202be9\1028224b.cre 
-DeleteFile c:\private\10202be9\persists\1028224b.cre 
-CopyFile c:\testdata\configs\sf_1028224b_originalbehaviour_noextprofileinuse.cre c:\private\10202be9\1028224B.cre
-CopyFile c:\testdata\configs\sf_1028224b_originalbehaviour_noextprofileinuse.cre c:\private\10202be9\persists\1028224B.cre
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr
-RUN_TEST_STEP 030 SfLbsMTLRTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-MTLR-Quality-Profile-0006
-//!@SYMTestCaseID			SFLBS-MTLR-Quality-Profile-0006
-//!@SYMTestCaseDesc			'Vanilla' behaviour mode. Privacy + Location Request from Network with quality profile = "quality profile not in use" Id in admin
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use KSettingQualityProfileExternalLocate) to indicate that MT-LR should not use a quality profile and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify and valid quality params)
-//!                                     4. kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					5. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called with KErrNone
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request accepted and location sent to network
-//!
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0006
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0006
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-Quality-Profile-0006
-
-START_TESTCASE SFLBS-MTLR-Quality-Profile-0007
-//!@SYMTestCaseID			SFLBS-MTLR-Quality-Profile-0007
-//!@SYMTestCaseDesc			'Vanilla' behaviour mode. Privacy + Location Request from Network with quality profile = "quality profile not in use" Id in admin
-//!					Not all quality params supplied by network
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use KSettingQualityProfileExternalLocate) to indicate that MT-LR should not use a quality profile and wait for this to propogate (verify). 				
-//!					3. Configure netSim (use ERequestAdviceNotify and valid quality params)
-//!                                     4. kick off an privacy request of type 'notify the user and automatically accept'.  
-//!					5. When privacy controller is called (with ProcessNetworkLocationRequest()), accept the request
-//!					6. Verify that 'accept' response is sent to the network
-//!					7. When response to privacy request has been sent to network, kick off a network location request, with invalid quality params
-//!					8. Confirm that privacy controller callbacks ProcessNetworkPositionUpdate() and ProcessRequestComplete() are called with appropriate error
-//!					9. Confirm that location is sent to network
-//!
-//!@SYMTestExpectedResults		Privacy request accepted, location request rejected
-//!
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0007
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Quality-Profile-0007
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-MTLR-Quality-Profile-0007
-
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-SilentReject-0002
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-SilentReject-0002
-//!@SYMTestCaseDesc			Silent request,  behaviourmode = 'vanilla'
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOn) to allow MT-LRs and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'silent'(ERequestAdviceSilent) and Reject (ERequestActionReject)  
-//!					4. Verify that 'reject' response is sent to the network
-//!					
-//!
-//!@SYMTestExpectedResults		Privacy request is rejected
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-SilentReject-0002
-
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-SilentReject-0002
-
-START_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0003
-//!@SYMTestCaseID			SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0003
-//!@SYMTestCaseDesc			Privacy request (ERequestAdviceNotify + ERequestActionAllow) timesout. External locate turned to 'on but always verify' in admin. Behaviourmode = 'vanilla'
-//!
-//!@SYMTestActions		
-//!					1. Register as the privacy observer app. 
-//!					2. Change admin settings (use EExternalLocateOnButAlwaysVerify) and wait for this to propogate (verify). 				
-//!					3. Configure netSim and kick off a privacy request of type 'verify' (ERequestAdviceVerify).
-//!					4. When privacy controller is called (with ProcessNetworkLocationRequest()), check that the notification type has not been changed
-//!					5. Do not respond to request (so it timesout)
-//!					6. Verify that 'reject' response is sent to the network
-//!
-//!@SYMTestExpectedResults		Privacy request is rejected
-//!
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus				3. Released
-
-RUN_TEST_STEP 010 SfLbsMTLRTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_CreateVerifyPosInfos	c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-Position
-RUN_TEST_STEP 120 SfLbsMTLRTestServer LbsMTLRPrivCntrlStep_Main c:\testdata\configs\sflbsmtlr.ini LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0003
-
-END_TESTCASE SFLBS-MTLR-PrivCntr-AlwaysVerify-Timeout-0003
-
-
-RUN_TEST_STEP 020 SfLbsMTLRTestServer LbsStep_StopLbs
-PREFIX RUN_UTILS 
-DeleteFile c:\private\10202be9\1028224b.cre 
-DeleteFile c:\private\10202be9\persists\1028224b.cre
-CopyFile c:\private\10202be9\1028224B.cre.save c:\private\10202be9\1028224B.cre
-CopyFile c:\private\10202be9\1028224B.cre.save c:\private\10202be9\persists\1028224B.cre
-DeleteFile c:\private\10202be9\1028224B.cre.save
-REMOVE_PREFIX
-
-// Re-select the lbsprofile.ini .
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-
-// Re-select the real A-GPS integration module.
-PRINT Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrprivcntrlstepmain.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1327 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrprivcntrlstepmain.cpp
-// This is the class implementation for the MTLR Privacy controller Tests
-// 
-//
-
-// EPOC includes.
-#include <e32property.h>
-
-
-// LBS test includes.
-#include "ctlbsmtlrprivcntrlstepmain.h"
-#include "tlbsutils.h"
-
-// Incorrect aRequestId
-const TInt KBadRequestId = 696969;
-
-const TTimeIntervalMicroSeconds KTimeToStallTestModule	= 120 * 1000000;	// 2 mins
-
-_LIT8(KTestRequesterId, "MT-LR test requester id");
-_LIT8(KTestClientName, "MT-LR test client name");
-_LIT8(KTestClientExternalId, "MT-LR test client external id");
-
-//profile_id in ini file
-_LIT(KLbsProfileId, "profile_id");
-
-
-TTimeIntervalMicroSeconds32 KExtendedTimerInterval = 60*1000000;	// 1 minute
-
-// by default, a test case will abort after this time if all callbacks not completed:
-// Note that this must be less than the TEF timeout in the script to be of any value
-TTimeIntervalMicroSeconds32 KDefaultAbortTimerPeriod = 90*1000000;	// 1.5 mins 
-
-// by default, a test case running with real gps hardware will abort after this time 
-// Note that this must be less than the TEF timeout in the script to be of any value
-TTimeIntervalMicroSeconds32 KDefaultAbortTimerPeriod_real = 300*1000000;	// 5 mins
-
-/**
-Static Constructor
-*/
-CT_LbsMTLRPrivCntrlStep_Main* CT_LbsMTLRPrivCntrlStep_Main::New(CT_LbsMTLRServer& aParent)
-	{
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	CT_LbsMTLRPrivCntrlStep_Main* testStep = new CT_LbsMTLRPrivCntrlStep_Main(aParent);
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-
-	return testStep;
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsMTLRPrivCntrlStep_Main::CT_LbsMTLRPrivCntrlStep_Main(CT_LbsMTLRServer& aParent) : CT_LbsMTLRStep(aParent)
-	{
-	SetTestStepName(KLbsMTLRPrivCntrlStep_Main);
-	}
-
-
-void CT_LbsMTLRPrivCntrlStep_Main::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsMTLRStep::ConstructL();
-	
-	// Create object for changing admin settings:		
-	iLbsAdmin = CLbsAdmin::NewL(*this, KLbsSettingHomeExternalLocate | KLbsSettingRoamingExternalLocate | KLbsSettingHomeEmergencyLocate | KLbsSettingRoamingEmergencyLocate);
-	// Create object for privacy controller api:
-	iLbsPrivacyController = CLbsPrivacyController::NewL(*this);
-		
-	}
-
-
-/**
- * Destructor
- */
-CT_LbsMTLRPrivCntrlStep_Main::~CT_LbsMTLRPrivCntrlStep_Main()
-	{
-	delete iLbsAdmin;
-	iLbsAdmin = NULL;
-	delete iLbsPrivacyController;
-	iLbsPrivacyController = NULL;
-	}
-
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsMTLRPrivCntrlStep_Main::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsMTLRPrivCntrlStep_Main::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{		
-		// Carry out common test actions (such as connecting to a server).
-		T_LbsUtils utils;
-			
-		// set default values									
-		// Expected callbacks flags, most test steps require MT-LR and privacy controller.
-		iFlagsToHaltOn =
-							KLbsCallback_NetSim_Got_Connect | 		// Net Sim callback events.
-							KLbsCallback_PrivCntrl |
-							KLbsCallback_MtLr;						
-				
-		iExpectedControlFailureReason = KErrNone;									// we usually don't expect a control failure to happen
-		iConfigureEmergencyRequest = EFalse;											// kick off non-emergency request
-		iPrivResult = CLbsPrivacyController::ERequestAccepted;						// accept the privacy request
-		iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseAccepted;	// default is to expect to abide with priv controller's response						
-		iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceNotify;	// want netsim to do privacy request of type 'accept and notify'
-		iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;	// as above
-		iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOn;					// almost all TCs want external locate turned on
-		iRespondToPrivacyRequest = ETrue;
-		iExpectedNetPosUpdCount	= 2;												// most TCs expect to get 2 position updates								
-		iStartLocationRequest = ETrue;
-		
-		iUseBadRequestId = EFalse;
-		iEarlyCancelWithBadId = EFalse;
-		iRespondAndCancelWithBadId = EFalse;
-		iLateCancelWithBadId = EFalse;
-		iTestModuleStallTime = 0;
-		iExtendedTimerTime = 0;
-		iConfigureRoaming = EFalse;
-		iConfigureProfile = ETrue;
-		iProfileId = 3;
-		TTimeIntervalMicroSeconds32 abortInterval;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			abortInterval = KDefaultAbortTimerPeriod;
-			}
-		else
-			{	
-			abortInterval = KDefaultAbortTimerPeriod_real;
-			}
-	
-		// configure unique test actions:
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-			// TO DO: we could read all this from config file instead...?:
-			switch (iTestCaseId)
-				{
-				case 1:	// Test case LBS-MTLR-Priv-Cntr-0001
-					// use defaults
-					break;
-					
-				case 2:	// Test case LBS-MTLR-Priv-Cntr-0002
-					{
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// want netsim to do privacy request of type 'verify'
-					}
-					break;
-					
-				case 3:	// Test case LBS-MTLR-Priv-Cntr-0003
-					{
-					// since we reject the privacy request here, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					iExpectedNetPosUpdCount = 0;
-					iPrivResult = CLbsPrivacyController::ERequestRejected;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;
-					iStartLocationRequest = EFalse;	// don't kick off a location request
-					}
-					break;
-					
-				case 4:	// Test case LBS-MTLR-Priv-Cntr-0004
-					{
-					ASSERT(FALSE);	// ERequestIgnore is unsupported currently (behaviour not defined)
-					iPrivResult = CLbsPrivacyController::ERequestIgnore;
-					}
-					break;
-					
-				case 6:	// Test case LBS-MTLR-Priv-Cntr-0006
-					{
-					iRespondToPrivacyRequest = EFalse;
-					}
-					break;
-					
-				case 7:	// Test case LBS-MTLR-Priv-Cntr-0007
-					{	
-					iTestModuleStallTime = KTimeToStallTestModule;
-					
-					// Cancel request in first ProcessNetworkPositionUpdate()
-					iCancelBeforeFinalPosUpd = ETrue;
-					
-					iExpectedNetPosUpdCount	= 1;
-					
-					iExtendedTimerTime = KExtendedTimerInterval;
-
-					iFlagsToHaltOn &= ~(KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation);
-					
- 					iFlagsToHaltOn |= KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
- 					iExpectedControlFailureReason = KErrCancel;										
-					}
-					break;
-					
-					
-					
-				case 8:	// Test case LBS-MTLR-Priv-Cntr-0008
-					{
-					// Negative test on RespondNetworkLocationRequest with incorrect parameter.
-					// Pass bad request value to perform negative test
-					iUseBadRequestId = ETrue; 			// Use bad Id to...
-					iRespondWithBadId = ETrue;
-					}
-					break;
-				
-				case 9:	// Test case LBS-MTLR-Priv-Cntr-0009
-					{
-					// Negative test on CancelNetworkLocationRequest with incorrect parameter.
-					// Pass bad request value to perform negative test			
-			
-					//Pass bad request value to perform negative test
-					iUseBadRequestId = ETrue; 			// Use bad Id to...
-					iEarlyCancelWithBadId = ETrue; 		// respond or cancel
-					}
-					break;
-					
-				case 10:// Test case LBS-MTLR-Priv-Cntr-00010
-					{
-					// Call RespondNetworkLocationRequest passing ERequestAccepted as a parameter.
-					// Call CancelNetworkLocationRequest passing an invalid aRequestId parameter straight after. 
-					iRespondAndCancelWithBadId = ETrue;
-					
-					//Pass bad request value to perform negative test
-					iUseBadRequestId = ETrue; 		// Use bad Id to...
-					iRespondAndCancelWithBadId = ETrue;	// or both					
-					}
-					break;
-				
-				case 11:// Test case LBS-MTLR-Priv-Cntr-00011
-					{
-					//Pass bad request value to perform negative test
-					iUseBadRequestId = ETrue; 			// Use bad Id to...
-					iLateCancelWithBadId = ETrue;			// or cancel in the second callback
-					}
-					break;
-					
-				case 12:// Test case LBS-MTLR-Priv-Cntr-0012					
-					{
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// want netsim to do privacy request of type 'verify'
-					iPrivResult = CLbsPrivacyController::ERequestRejected;
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;
-					
-					// since we reject the privacy request here, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-										
-					iFlagsToHaltOn |= KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-					iExpectedControlFailureReason = KErrPermissionDenied;					
-					iExpectedNetPosUpdCount = 0;
-					}
-					break;
-					
-				case 13:// Test case LBS-MTLR-Priv-Cntr-0013
-					{
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceSilent;	// kick-off a 'silent' request
-					}
-					break;
-				
-				case 14:	// Test case LBS-MTLR-Priv-Cntr-0014
-					{					
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOff;
-					iFlagsToHaltOn &= ~(KLbsCallback_PrivCntrl | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					
-					iExpectedNetPosUpdCount	= 0;
-					iStartLocationRequest = EFalse;	// do not kick off a location request
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;	// lbs should reject															
-					}
-					break;
-					
-				case 15:	// Test case LBS-MTLR-Priv-Cntr-0015
-					{
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// want netsim to do privacy request of type 'verify, reject if no response'
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;	// as above
-			 		
-					iRespondToPrivacyRequest = EFalse;
-					iStartLocationRequest = EFalse;
-					
-					// since we reject the privacy request here, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-										
-					iExpectedNetPosUpdCount = 0;	
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;	
-					}
-					break;
-					
-				case 16:	// Test case LBS-MTLR-Priv-Cntr-0016
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOffButNotify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceNotify;
-
-					iRespondToPrivacyRequest = EFalse;
-					iStartLocationRequest = EFalse;
-					
-					// Since the NRH should reject the privacy request, we don't expect these callbacks.
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					iExpectedNetPosUpdCount = 0;
-					
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;
-					}
-					break;
-					
-				case 17:	// Test case LBS-MTLR-Priv-Cntr-0017
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOnButAlwaysVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;
-					}
-					break;	
-				
-				case 18:	// Test case LBS-MTLR-Priv-Cntr-0018
-					{
-					iPrivResult = CLbsPrivacyController::ERequestUnknown;	// using this to indicate we should cancel request
-					// since we cancel the privacy request here, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |		// location request
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					iExpectedNetPosUpdCount = 0;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;
-					iStartLocationRequest = EFalse;
-					}
-					break;
-					
-				case 19:	// Test case LBS-MTLR-Priv-Cntr-0019
-					{			
-					iUseBadRequestId = ETrue; 			
-					iEarlyCancelWithBadId = ETrue; 	
-					iRespondToPrivacyRequest = EFalse;										
-					}
-					break;
-				case 20:	// Test case LBS-MTLR-Priv-Cntr-0020
-					{
-					// Call RespondNetworkLocationRequest passing ERequestAccepted as a parameter.
-					// Call CancelNetworkLocationRequest passing an valid aRequestId parameter straight after. 
-					iRespondToPrivacyRequest = ETrue;
-					iCancelAfterResponding = ETrue;
-					iStartLocationRequest = ETrue;
-					iExpectedControlFailureReason = KErrCancel;
-					iExpectedNetPosUpdCount = 0;
-					
-					iFlagsToHaltOn = (KLbsCallback_NetSim_Got_Connect |
-									  KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									  KLbsCallback_NetSim_Got_NotifyReleaseLcsLocationNotification |
-									  KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure |
-									  KLbsCallback_Got_PrivCntrlNetworkLocationRequest |
-									  KLbsCallback_Got_PrivCntrlRequestComplete);
-					}
-					break;
-					
-				case 21:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0001
-					{
-					iConfigureEmergencyRequest = ETrue;	
-					}
-					break;
-				case 22:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0002
-					{
-					iConfigureEmergencyRequest = ETrue;
-					iPrivResult = CLbsPrivacyController::ERequestRejected;	// reject the privacy request
-					}
-					break;
-					
-				case 23:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0003
-					{
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// kick-off a 'verify/reject' request
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;	// as above
-					iPrivResult = CLbsPrivacyController::ERequestRejected;	
-					}
-					break;
-					
-				case 24:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0004
-					{
-					iConfigureEmergencyRequest = ETrue;
-					iPrivResult = CLbsPrivacyController::ERequestUnknown;	// using this to indicate we should cancel request
-					}
-					break;
-
-				case 25:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0005
-					{
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// kick-off a 'verify/reject' request
-					iRespondToPrivacyRequest = EFalse;											// don't respond to privacy request
-					}
-					break;
-					
-				case 26:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0006
-					{
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceSilent;	// kick-off a 'silent' request					
-					}
-					break;					
-					
-				case 27:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0007
-					{					
-					iExtendedTimerTime = KExtendedTimerInterval;
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOff;
-					iFlagsToHaltOn &= ~(KLbsCallback_PrivCntrl | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					
-					iExpectedNetPosUpdCount	= 0;
-					iStartLocationRequest = EFalse;	// do not kick off a location request
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;	// lbs should reject					
-					}
-					break;
-					
-				case 28:	// Test case LBS-MTLR-Priv-Cntr-Emergency-0008
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOnButAlwaysVerify;					
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceVerify;	// kick-off a 'verify/reject' request
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;	// as above
-					iPrivResult = CLbsPrivacyController::ERequestRejected;						// reject the privacy request						
-					}
-					break;
-							   
-			   			   			   
-			   case 1001:	// Test case LBS-MTLR-Priv-Cntr-Roaming-0001	Roaming. Request while ExternalLocateOn
-					{
-					iConfigureRoaming = ETrue;
-					}
-					break;
-					
-			   case 1002:	// Test case LBS-MTLR-Priv-Cntr-Roaming-0002	Roaming. Request while ExternalLocateOn
-					{
-					iConfigureRoaming = ETrue;
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOff;
-					iFlagsToHaltOn &= ~(KLbsCallback_PrivCntrl | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					
-					iExpectedNetPosUpdCount	= 0;
-					iStartLocationRequest = EFalse;	// do not kick off a location request
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;	// lbs should reject
-					
-					}
-					break;			
-					
-				case 2001:	// Test case LBS-MTLR-Priv-Cntr-Emergency-Roaming-0001	Roaming. Emergency request while EmergencyLocateOn
-					{
-					iConfigureRoaming = ETrue;
-					iConfigureEmergencyRequest = ETrue;
-					}
-					break;	
-
-				case 2002:	// Test case LBS-MTLR-Priv-Cntr-Emergency-Roaming-0002	Roaming. Emergency request while EmergencyLocateOff
-					{
-					iConfigureRoaming = ETrue;
-					iConfigureEmergencyRequest = ETrue;
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOff;
-					iFlagsToHaltOn &= ~(KLbsCallback_PrivCntrl | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-					
-					iExpectedNetPosUpdCount	= 0;
-					iStartLocationRequest = EFalse;	// do not kick off a location request
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;	// lbs should reject					
-					}
-					break;
-							    			   				   	
-			   case 3001:// LBS-MTLR-Quality-Profile-0001 
-					{
-					// Read the profile ID from test config and fail if not found there
-					TBool profileid_exists;
-			        profileid_exists = GetIntFromConfig(ConfigSection(), KLbsProfileId, iProfileId);
-		            if(!profileid_exists)
-						{
-						INFO_PRINTF1(_L("Could not get profileid from section"));
-						SetTestStepResult(EFail);
-						} 
-					iConfigureProfile = ETrue;
-					}
-				    break;
-
-			   case 3005:	// LBS-MTLR-Quality-Profile-0005
-			   case 3006:	// LBS-MTLR-Quality-Profile-0006
-				   	{
-			   		iConfigureProfile = EFalse;	// taken from admin cenrep
-				   	}
-			   		break;
-			   		
-			   case 3007:	// LBS-MTLR-Quality-Profile-0007
-					{
-					iConfigureProfile = EFalse;	// taken from admin cenrep
-					// the privacy request is accepted, but location request fails due to lack of quality params:
- 					iFlagsToHaltOn &= ~(KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation	);
- 					iFlagsToHaltOn |= KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
- 					iExpectedControlFailureReason = KErrAccessDenied;	//
- 					
-					iExpectedNetPosUpdCount = 1;			// we get the ref pos, but no FNP
-					}
-					break;			
-					
-			   case 3003:	// LBS-MTLR-Timeout-0001
-					{
-					iFlagsToHaltOn &= ~(KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation);
- 					iFlagsToHaltOn |= KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-					iExpectedControlFailureReason = KPositionQualityLoss;
-					}
-				    break;
-
-				case 4001:// Test case LBS-MTLR-Priv-Cntr-SilentReject-0001
-					{
-					// kick-off a 'silent/reject' request
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceSilent;	
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;	
-					
-					iRespondToPrivacyRequest = EFalse;	// don't need to respond as LBS will do that automatically for 'silent'
-					// note that even tho' the action is reject here, we expect it to be accepted for 'custom1' behaviour!
-					}
-					break;
-					
-				case 4002:// Test case LBS-MTLR-Priv-Cntr-SilentReject-0002
-					{
-					// kick-off a 'silent/reject' request
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceSilent;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;	
-					
-					iRespondToPrivacyRequest = EFalse;	// don't need to respond as LBS will do that automatically for 'silent'					
-					iStartLocationRequest = EFalse;
-					
-					// since privacy request is rejected, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-										
-					iExpectedNetPosUpdCount = 0;	
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;						
-					}
-					break;			
-				
-				case 5001:	// LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0001  (behaviourmode = 'custom1')
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOnButAlwaysVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionReject;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceNotify;	
-					
-					iRespondToPrivacyRequest = EFalse;	// want lbs to timeout
-					iStartLocationRequest = EFalse;
-					
-					// privacy request is rejected on timeout, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-										
-					iExpectedNetPosUpdCount = 0;	
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;					
-					}
-					break;
-					
-				case 5002:	// LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0002	(behaviourmode = 'vanilla')
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOnButAlwaysVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceNotify;	
-					
-					iRespondToPrivacyRequest = EFalse;	// want lbs to timeout
-					
-					// privacy request should be accepted on timeout
-					}
-					break;
-					
-				case 5003:	// LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0003 (behaviourmode = 'vanilla')
-					{
-					iConfiguredExtLocateService = CLbsAdmin::EExternalLocateOnButAlwaysVerify;
-					iConfiguredRequestAction = TLbsNetPosRequestPrivacy::ERequestActionAllow;
-					iConfiguredRequestAdvice = TLbsNetPosRequestPrivacy::ERequestAdviceNotify;	
-					
-					iRespondToPrivacyRequest = EFalse;	// want lbs to timeout
-					iStartLocationRequest = EFalse;
-					
-					// privacy request is rejected on timeout, we do not expect these callbacks:
-					iFlagsToHaltOn &= ~(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation | 
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation
-										);
-										
-					iExpectedNetPosUpdCount = 0;	
-					iExpectedNetworkResult = CLbsNetworkProtocolBase::EPrivacyResponseRejected;						
-					}
-					break;
-					
-			   	default:
-					{
-					INFO_PRINTF2(_L("Unrecognised test case id %d"), iTestCaseId);
-					ASSERT(FALSE);	
-					}
-					break;
-				}
-			}
-		else
-			{
-			INFO_PRINTF1(_L("Unrecognised test case"));
-			ASSERT(FALSE);
-			}
-		
-		// Carry out the test.
-		if((iTestModuleStallTime > 0) && (iParent.iSharedData->iTestModuleInUse))
-			{
-			// Configure test agps module to stall on next location request:
-			TPckgBuf<TModuleDataIn> modDataInBuf;
-			TModuleDataIn& modDataIn = modDataInBuf();
-			
-			modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut; 
-			modDataIn.iTimeOut =  iTestModuleStallTime;
-			
-			User::LeaveIfError(RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleIn, modDataInBuf));
-			}
-			
-		if(iExtendedTimerTime.Int() > 0)
-			{
-			// Set an extended timer interval to make sure we don't receive unexpected callbacks:
-			// This will cause the test to continue running for this period after all expected flags have been set
-			SetExtendedTimerInterval(iExtendedTimerTime);
-			}
-			
-		// Connect to net sim.
-		iNetSim.ConnectL(this);
-
-		// Create reference location:
-		// Location to use.
-		RPointerArray<TAny>& srcPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-		TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(srcPosInfoArr[0]);
-		TPosition srcPos;
-		srcPosInfo->GetPosition(srcPos);
-	
-		if (!iNetSim.SetReferenceLocation(srcPos))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's reference location."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}	
-	
-		TLbsNetPosRequestQuality netPosQuality;
-		// LBS-MTLR-Quality-Profile-0001, -0002, -0004, -0007:  
-		if(iTestCaseId==3001 || iTestCaseId==3002 || iTestCaseId==3005 || iTestCaseId==3007)
-			{
-			// Set all parameters invalid (0 for max fix time; NaN for
-			// accuracy) then network should use quality profile with the 
-			// ID set
-			TTimeIntervalMicroSeconds maxFixTime(0);	
-			netPosQuality.SetMaxFixTime(maxFixTime);
-    		TRealX nan;
-    		nan.SetNaN();
-			netPosQuality.SetMinHorizontalAccuracy(nan);
-	    	netPosQuality.SetMinVerticalAccuracy(nan);    		
-			}
-			
-		else if (iTestCaseId==3003) //LBS-MTLR-Timeout-0001
-			{
-			TTimeIntervalMicroSeconds maxFixTime(5000000);
-			netPosQuality.SetMaxFixTime(maxFixTime);
-			netPosQuality.SetMinHorizontalAccuracy(1);
-	    	netPosQuality.SetMinVerticalAccuracy(1);
-			}
-		
-		else
-			{
-			//Set the position quality required by the network.
-			TTimeIntervalMicroSeconds maxFixTime(600 * 1000000);
-			netPosQuality.SetMaxFixTime(maxFixTime);
-			netPosQuality.SetMinHorizontalAccuracy(srcPos.HorizontalAccuracy());
-	    	netPosQuality.SetMinVerticalAccuracy(srcPos.VerticalAccuracy());
-			}
-		if (!iNetSim.SetQuality(netPosQuality))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's quality."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		// Set plugin to use.
-		TUid pluginUid;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			pluginUid = TUid::Uid(KSimpleAssistanceDataProviderPluginUidValue);
-			}
-		else
-			{
-			pluginUid = TUid::Uid(KSuplAssistanceDataProviderPluginUidValue);
-			}
-			
-		if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's assistance data plugin uid."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-	
-		// Kick off the keep alive timer
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod);
-
-		iKeepAliveTimer->SetTimer(interval);
-		
-		iAbortTimer->SetTimer(abortInterval);
-
-		// Kick off test
-		CActiveScheduler::Start();
-		
-		if(EDone != iState)
-			{
-			INFO_PRINTF2(_L("Failed test, finished in state %d"), iState);
-			INFO_PRINTF3(_L("Callback flags currently set = 0x%x. Expecting 0x%x"), iCallbackFlags, iFlagsToHaltOn);
-			SetTestStepResult(EFail);
-			}
-		else
-			{
-			INFO_PRINTF2(_L("Got all expected callbacks (0x%x)"), iCallbackFlags);			
-			}
-
-		if(iExpectedNetPosUpdCount != iProcessNetPosUpdCount)
-			{
-			INFO_PRINTF3(_L("<FONT><B>  Network Position Update Count mismatch>>  Expected : Received, %d : %d </B></FONT>"),
-							iExpectedNetPosUpdCount,iProcessNetPosUpdCount);
-			SetTestStepResult(EFail);
-			}
-		
-		//Reset 'sticky' settings:
-		if((iTestModuleStallTime > 0) && (iParent.iSharedData->iTestModuleInUse))
-			{
-			// Configure test agps module to stall on next location request:
-			TPckgBuf<TModuleDataIn> modDataInBuf;
-			TModuleDataIn& modDataIn = modDataInBuf();
-			
-			modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut; 
-			modDataIn.iTimeOut =  0;
-			
-			User::LeaveIfError(RProperty::Set(KUidSystemCategory, ELbsTestAGpsModuleIn, modDataInBuf));
-			}
-			
-		if(iExtendedTimerTime.Int() > 0)
-			{
-			// Set an extended timer interval to make sure we don't receive unexpected callbacks:
-			// This will cause the test to continue running for this period after all expected flags have been set
-			SetExtendedTimerInterval(0);
-			}
-			
-		// Clean up.		
-		iNetSim.ClearAssistanceDataFilters();
-		iNetSim.Close();
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsMTLRPrivCntrlStep_Main::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-
-/** NetSim callbacks given for a MoLr, which we invoke as a result of the notify position update.
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::Connected()
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::Connected();
-	TInt err;
-	
-	if(iConfigureEmergencyRequest)	// emergency
-		{
-		if(iConfigureRoaming)	// roaming
-			{
-			// Set external locate service for home network and wait for notification:
-			err = iLbsAdmin->Set(KLbsSettingRoamingEmergencyLocate, iConfiguredExtLocateService);
-			}
-		else	// home
-			{
-			// Set external locate service for roaming network and wait for notification:
-			err = iLbsAdmin->Set(KLbsSettingHomeEmergencyLocate,iConfiguredExtLocateService);
-			}
-		}
-	else	// non-emergency
-		{
-		
-		if(iConfigureProfile)	// quality profile
-			{
-			//Set ExternalLocate quality profile & id then wait for notification
-			err = iLbsAdmin->Set(KLbsSettingQualityProfileExternalLocate, TLbsQualityProfileId(iProfileId));
-			}
-		
-		if(iConfigureRoaming)	// roaming
-			{
-			// Set external locate service on home network and wait for notification:
-			err = iLbsAdmin->Set(KLbsSettingRoamingExternalLocate, iConfiguredExtLocateService);
-			}
-		else	// home
-			{
-			// Set external locate service on roaming network and wait for notification:
-			err = iLbsAdmin->Set(KLbsSettingHomeExternalLocate, iConfiguredExtLocateService);
-			}
-		}
-		
-	iState = EAdminWait;
-	INFO_PRINTF1(_L("iState -> EAdminWait"));
-		
-	// TO DO - not ideal, but necessary since we can't leave:
-	if(KErrNone != err)
-		{
-		INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::Connected() Failed - unable to change admin setting. Err = %d"), err);
-		SetTestStepResult(EFail);
-		}
-	}
-
-
-/** NetSim has disconnected
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::Disconnected()
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::Disconnected();
-	INFO_PRINTF1(_L("Got - NetSim Notify Disconnected - Callback Event."));
-	}
-
-
-
-/** Network has requested location
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::NotifyMeasurementControlLocation(const TPositionInfo& aPosition, 
-															  const RLbsAssistanceDataBuilderSet& aData, 
-															  const TLbsNetPosRequestQuality& aQuality)
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::NotifyMeasurementControlLocation(aPosition, aData, aQuality);
-
-	(void)aQuality;
-		
-	}
-
-/** Response to privacy request has been sent to network
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult)
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::NotifyReleaseLcsLocationNotification(aResult);
-	if (iCancelAfterResponding)
-		{
-		iLbsPrivacyController->CancelNetworkLocationRequest(iSessionId);
-		}
-
-	// We should get this callback only if kicked off a privacy request.
-	ASSERT(iState == EStartMTLRPrivReq);				
-			
-	if(aResult != iExpectedNetworkResult)	
-		{
-		INFO_PRINTF3(_L("CT_LbsMTLRPrivCntrlStep_Main::NotifyReleaseLcsLocationNotification() Failed: Expected result %d, got %d"), iExpectedNetworkResult, aResult);
-		SetTestStepResult(EFail);		
-		}
-	// Tell NetSim to do location request?
-	else if(iStartLocationRequest) 
-		{
-		iNetSim.StartNetworkLocationRequest();		
-		iState = EStartMTLRLocReq;
-		INFO_PRINTF1(_L("iState -> EStartMTLRLocReq"));
-		}
-	else
-		{
-		iState = EWaiting;
-		INFO_PRINTF1(_L("iState -> EWaiting"));
-		}
-	}
-
-
-/** Location has been sent to network
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::NotifyMeasurementReportLocation(const TPositionInfo& aPosition)
-	{	
-	// Call base implementation.
-	CT_LbsNetSimStep::NotifyMeasurementReportLocation(aPosition);
-	
-	// MT-LR complete.
-	if(iState != ENetPosUpdCountWait)
-		{
-		ASSERT((EStartMTLRLocReq == iState) || (EWaiting == iState));
-		iState = EWaiting;	
-		INFO_PRINTF1(_L("iState -> EWaiting"));
-		}
-
-	
-	// Verify the position given to the network:
-	T_LbsUtils utils;
-	RPointerArray<TAny>& verifyPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-	TPositionInfo* verifyPosInfo = reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0]);
-	
-	TBool res;
-	if(iParent.iSharedData->iTestModuleInUse)
-		{
-		res = utils.Compare_PosInfo(*verifyPosInfo, aPosition, T_LbsUtils::EExactAccuracy);
-		}
-	else
-		{
-		res = utils.Compare_PosInfo(*verifyPosInfo, aPosition, T_LbsUtils::ERoughAccuracy);
-		}
-	if(!res)
-		{
-		INFO_PRINTF1(_L("Failed test, position incorrect."));
-		SetTestStepResult(EFail);
-		}
-	}
-
-
-/** Location failure sent to network
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-	// Call base implementation.
-	CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-
-	if(KErrNone == iExpectedControlFailureReason)
-		{
-		INFO_PRINTF2(_L("Failed test, got unexpected control failure, with reason code %d"), aReason);
-		SetTestStepResult(EFail);
-		}
-	else if(iExpectedControlFailureReason != aReason)
-		{
-		INFO_PRINTF3(_L("Failed test, got expected control failure, but wrong reason code = expected %d, got %d"), iExpectedControlFailureReason, aReason);
-		SetTestStepResult(EFail);
-		}
-	else
-		{
-		iState = EWaiting;
-		INFO_PRINTF1(_L("iState -> EWaiting"));		
-		}
-	}
-
-
-void CT_LbsMTLRPrivCntrlStep_Main::NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter)
-	{
-	(void)aFilter;
-
-	INFO_PRINTF1(_L("Got - Net Sim Notify Measurement Report Request More Assistance Data - Callback Event."));
-	
-	}
-
-
-
-/** External Locate has been set
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::OnSettingUpdateEvent(TInt aError, const TLbsAdminSetting& aSetting)
-	{
-	// We've only registered to be told about TExternalLocateService, so this is it
-	if (aError == KErrNone)
-		{
-		TInt err;
-		// LBS-MTLR-Quality-Profile-0001 or LBS-MTLR-Quality-Profile-0002 
-		if (iTestCaseId==3001 || iTestCaseId==3002)
-		    {
-		    TLbsQualityProfileId profileId;
-		  
-		    // Verify that the profileid setting exists
-		    err = iLbsAdmin->Get(KLbsSettingQualityProfileExternalLocate, profileId);
-		    		    
-		    if(KErrNone != err)
-				{
-				INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::OnSettingUpdateEvent() Failed - unable to get admin setting. Er = %d"), err);
-				SetTestStepResult(EFail);
-				}	
-		    // Check profile Id is as we expect
-		    if(profileId != TLbsQualityProfileId(iProfileId))
-				{
-				SetTestStepResult(EFail);
-				}
-		    }
-		    
-		else	
-			{
-			// Verify that the setting is what we expect
-			CLbsAdmin::TExternalLocateService extLocService;
-			err = iLbsAdmin->Get(aSetting, extLocService);
-			
-			// TO DO - not ideal, but necessary since we can't leave:
-			if(KErrNone != err)
-				{
-				INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::OnSettingUpdateEvent() Failed - unable to get admin setting. Er = %d"), err);
-				SetTestStepResult(EFail);
-				}		
-			
-	        if(iConfiguredExtLocateService != extLocService) 
-		        {
-				INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::OnSettingUpdateEvent TExternalLocateService  not set successfully to %d"), extLocService);		
-				SetTestStepResult(EFail);
-	    		}
-			}
-				
-		if((iConfiguredExtLocateService)  && (iState == EAdminWait))	
-			{
-			// start the MT-LR request (privacy first)
-			TLbsNetPosRequestPrivacy reqType;
-			TLbsExternalRequestInfo reqInfo; 	
-			reqInfo.SetRequesterId(KTestRequesterId);	
-			reqInfo.SetClientName(KTestClientName);
-			reqInfo.SetClientExternalId(KTestClientExternalId);			
-		
-			reqType.SetRequestAction(iConfiguredRequestAction); 
-			reqType.SetRequestAdvice(iConfiguredRequestAdvice);
-			iNetSim.SetEmergenyStatus(iConfigureEmergencyRequest);
-			iNetSim.SetRoamingStatus(iConfigureRoaming);
-						
-			// kick off the privacy request:
-			iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-			iState = EStartMTLRPrivReq;
-			INFO_PRINTF1(_L("iState -> EStartMTLRPrivReq"));
-			}
-		}
-	else
-		{
-		INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::OnSettingUpdateEvent Failed: Admin setting failed with err = %d."), aError);
-		SetTestStepResult(EFail);
-		}
-	}
-	
-
-/** Verifies that RequestInfo passed matches what we set and prints supplied requestor details to TEF log
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::VerifyRequestorDetails(const TLbsExternalRequestInfo& aRequestInfo)
-	{
-	TLbsRequesterId requesterId;
-	TLbsClientName clientName;
-	TLbsClientExternalId clientExternalId;
-	
-	aRequestInfo.GetRequesterId(requesterId);
-	aRequestInfo.GetClientName(clientName);
-	aRequestInfo.GetClientExternalId(clientExternalId);
-	
-	if(!((requesterId == KTestRequesterId)&& (clientName == KTestClientName) && (clientExternalId == KTestClientExternalId)))
-		{
-		INFO_PRINTF1(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkLocationRequest: Failed. Requester info not as expected"));
-		SetTestStepResult(EFail);
-		}
-	}
-
-
-/**
-Called when a network privacy request is received by the LBS system.
-The implementer of this function must decide whether the location request 
-is allowed and give the result to the LBS system. The result is passed 
-by calling CLbsPrivacyController::RespondNetworkLocationRequest().
-
-@param aRequestId Identifies the request within the LBS system.
-@param aRequestInfo Information about the external client making the request.
-@param aNotificationType The value set by the network for the user notification.
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkLocationRequest(TUint aRequestId, const TLbsExternalRequestInfo& aRequestInfo, const TNotificationType& aNotificationType)
-	{
-	INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkLocationRequest.RequestID = 0x%x"), aRequestId);	
-	
-	SetCallbackFlag(KLbsCallback_Got_PrivCntrlNetworkLocationRequest);
-	
-	// verify that requester id is what we set:
-	VerifyRequestorDetails(aRequestInfo);
-		
-	iExpectedCompleteRequestId = aRequestId;
-	
-	if(iConfigureEmergencyRequest)
-		{
-		if((ENotifyLocationAccepted != aNotificationType))
-			{
-			INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkLocationRequest() Failed: expected notification type ENotifyLocationAccepted during emergency request. Got %d"), aNotificationType);
-			SetTestStepResult(EFail);
-			}
-		}
-	else	// non-emergency
-		{	
-		// Verify that the notification type is as we expected (configured in NetSim via TLbsNetPosRequestPrivacy below)
-		switch(aNotificationType)
-			{
-			case ENotifyLocationAccepted:
-				{
-				// Note: the following assertion no longer holds true - in 'Custom1' behaviour we accept 'silent reject' requests!
-				//ASSERT((TLbsNetPosRequestPrivacy::ERequestActionAllow == iConfiguredRequestAction) && ((TLbsNetPosRequestPrivacy::ERequestAdviceNotify == iConfiguredRequestAdvice) || (TLbsNetPosRequestPrivacy::ERequestAdviceSilent == iConfiguredRequestAdvice)));
-				}
-				break;
-				
-			case ENotifyAndVerifyLocationAcceptedIfNoReponse:
-				{
-				// This assertion isn't necessarily true - LBS will convert notify->verify if admin says "AlwaysVerify"
-				// ASSERT((TLbsNetPosRequestPrivacy::ERequestActionAllow == iConfiguredRequestAction) && (TLbsNetPosRequestPrivacy::ERequestAdviceVerify == iConfiguredRequestAdvice));
-				ASSERT(TLbsNetPosRequestPrivacy::ERequestActionAllow == iConfiguredRequestAction);
-				}
-				break;
-				
-			case ENotifyAndVerifyLocationRejectedIfNoReponse:
-				{
-				// The following isn't necessarily true. LBS will convert notify->verify if admin says "AlwaysVerify"
-				// ASSERT((TLbsNetPosRequestPrivacy::ERequestActionReject == iConfiguredRequestAction) && (TLbsNetPosRequestPrivacy::ERequestAdviceVerify == iConfiguredRequestAdvice));
-				ASSERT(TLbsNetPosRequestPrivacy::ERequestActionReject == iConfiguredRequestAction);
-				}
-				break;
-				
-			case ENotifyLocationRejected:
-				{
-				// This assertion does not hold true for 'custom1' behaviour where 'Silent + Reject' requests are accepted!
-				//ASSERT((TLbsNetPosRequestPrivacy::ERequestActionReject == iConfiguredRequestAction) && (TLbsNetPosRequestPrivacy::ERequestAdviceNotify == iConfiguredRequestAdvice));
-				}
-				break;
-				
-			default:
-				
-				break;	
-			}	
-		}
-
-	if(iRespondToPrivacyRequest)
-		{
-	
-		if(CLbsPrivacyController::ERequestUnknown != iPrivResult)
-			{		
-			// respond to the privacy request:	
-			iLbsPrivacyController->RespondNetworkLocationRequest(aRequestId, iPrivResult);
-			}
-		else	// we're using unknown to indicate that we should cancel
-			{
-			iLbsPrivacyController->CancelNetworkLocationRequest(aRequestId);
-			}
-		}
-	if (iCancelAfterResponding)
-		{
-		iSessionId = aRequestId;
-		}
-
-	if(iUseBadRequestId && !iLateCancelWithBadId)
-	{
-	if(iRespondWithBadId)
-		{
-		// LBS-MTLR-Priv-Cntr-0008
-		iLbsPrivacyController->RespondNetworkLocationRequest(KBadRequestId, iPrivResult);
-		}
-	if(iEarlyCancelWithBadId)
-		{
-		// LBS-MTLR-Priv-Cntr-0009
-		iLbsPrivacyController->CancelNetworkLocationRequest(KBadRequestId);
-		}
-	if(iRespondAndCancelWithBadId)
-		{		
-		// LBS-MTLR-Priv-Cntr-0010
-		iLbsPrivacyController->RespondNetworkLocationRequest(KBadRequestId, iPrivResult);
-		iLbsPrivacyController->CancelNetworkLocationRequest(KBadRequestId);
-		}
-	}
-	
-	if(EExtendedWaiting == iState)
-		{
-		SetTestStepResult(EFail);
-		INFO_PRINTF1(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkLocationRequest(): Failed. Called during extended waiting state."));
-		}		
-	}
-
-/**
-Called whenever a position update is ready while processing a network 
-location request. Typically, it will be called twice:
-1) As soon as the network reference position is available.
-2) As soon as the final calculated position is available.
-
-@param aRequestId Identifies the request within the LBS system.
-@param aPosInfo The latest position data.
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkPositionUpdate(TUint aRequestId, const TPositionInfo& aPosInfo)
-	{
-	INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkPositionUpdate.RequestID = 0x%x"), aRequestId);	
-	
-	SetCallbackFlag(KLbsCallback_Got_PrivCntrlNetworkPositionUpdate);
-	
-	iProcessNetPosUpdCount++;	
-	
-	if((iProcessNetPosUpdCount) && (iProcessNetPosUpdCount < iExpectedNetPosUpdCount))
-		{
-		iState = ENetPosUpdCountWait;
-		INFO_PRINTF1(_L("iState -> ENetPosUpdCountWait"));
-		}
-	else if(iState == ENetPosUpdCountWait)
-		{
-		iState = EWaiting;
-		INFO_PRINTF1(_L("iState -> EWaiting"));
-		}
-		
-	TPosition pos;
-	aPosInfo.GetPosition(pos);
-	// Note: not verifying position here, since we do that later
-	if(1 == iProcessNetPosUpdCount)
-		{
-		INFO_PRINTF4(_L("ProcessNetworkPositionUpdate called - network reference position available (lat, long, alt:) %LF, %LF, %f"), pos.Latitude(), pos.Longitude(), pos.Altitude());
-		if(iCancelBeforeFinalPosUpd)
-			{
-			iLbsPrivacyController->CancelNetworkLocationRequest(aRequestId);
-			iState = EWaiting;
-			}
-				
-		if(iLateCancelWithBadId)
-			{
-			// LBS-MTLR-Priv-Cntr-0011
-			iLbsPrivacyController->CancelNetworkLocationRequest(KBadRequestId);
-			}
-		}
-	else
-		{
-		ASSERT(2 == iProcessNetPosUpdCount);
-		INFO_PRINTF4(_L("ProcessNetworkPositionUpdate called - final calculated position available (lat, long, alt:) %LF, %LF, %f"), pos.Latitude(), pos.Longitude(), pos.Altitude());
-		}
-
-	if(EExtendedWaiting == iState)
-		{
-		SetTestStepResult(EFail);
-		INFO_PRINTF1(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessNetworkPositionUpdate(): Failed. Called during extended waiting state."));
-		}		
-	}
-	
-/**
-Called when a network location request (e.g. MT-LR) has been completed.
-
-@param aRequestId Identifies the request within the LBS system.
-@param aReason Contains the reason for the completion of the request.
-               Usually KErrNone, or a standard Symbian error code.
-               KErrNotFound if aRequestId is not a currently 
-               active external location request.
-               KErrCancel if the request was cancelled by a 
-               call to CLbsPrivacyController::CancelNetworkLocationRequest().
-*/
-void CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete(TUint aRequestId, TInt aReason)
-	{
-	INFO_PRINTF3(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete.RequestID = 0x%x, aReason = %d"), aRequestId, aReason);	
-	
-	SetCallbackFlag(KLbsCallback_Got_PrivCntrlRequestComplete);
-	
-	if(iExpectedCompleteRequestId != aRequestId)
-			    {
-				SetTestStepResult(EFail);
-				INFO_PRINTF3(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete() Failed: Expected RequestId %d and received %d"), iExpectedCompleteRequestId, aRequestId);		
-			    }
-	
-	switch (iTestCaseId)
-		{
-		case 3002:	// LBS-MTLR-Quality-Profile-0002  Negative Test
-		{
-		if(KErrAccessDenied!= aReason)
-			{
-			SetTestStepResult(EFail);
-			INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete() Failed: Expected KErrAccessDenied and received %d"), aReason);
-			}	
-		}
-		break;
-		
-		case 3003:	// LBS-MTLR-Timeout-0001
-		{
-		if(aReason != KPositionQualityLoss)
-			{
-			SetTestStepResult(EFail);
-			INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete() Failed: Expected KPositionQualityLoss and received %d"), aReason);
-			}	
-		}
-		break;
-
-		case 3007:
-			{
-			if(aReason != KErrAccessDenied)
-				{
-				SetTestStepResult(EFail);
-				INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete() Failed: Expected KErrAccessDenied and received %d"), aReason);
-				}			
-			}
-		break;
-		default:
-			{
-			if(KErrNone!= aReason)
-				{
-				SetTestStepResult(EFail);
-				INFO_PRINTF2(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete() Failed: Expected KErrNone and received %d"), aReason);
-				}
-			 	    
-		    if(EExtendedWaiting == iState)
-			    {
-			    SetTestStepResult(EFail);
-			    INFO_PRINTF1(_L("CT_LbsMTLRPrivCntrlStep_Main::ProcessRequestComplete(): Failed. Called during extended waiting state."));
-			    }
-		
-		    }
-		    break;
-		    }
-	
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,170 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CTLbsMTLRServer.cpp
-// This is the class implementation for the LBS MTLR Test Server
-// 
-//
-
-// User includes
-#include "ctlbsmtlrserver.h"
-
-// System includes
-#include <e32std.h>
-#include <rsshared.h>
-
-// Header files of LBS Client API Test Steps
-#include "ctlbsmtlrprivcntrlstepmain.h"
-
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates an object of the Email server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	__UHEAP_MARK;
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsMTLRServer* server = CT_LbsMTLRServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	__UHEAP_MARKEND;
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-    
-
-
-/**
-  NewL()
-  Constructs a CT_LbsClientServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsMTLRServer* CT_LbsMTLRServer::NewL()
-	{
-	CT_LbsMTLRServer*server = new(ELeave) CT_LbsMTLRServer();
-	CleanupStack::PushL(server);
-	server->ConstructL(KSfLbsMTLRTestServer);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-CT_LbsMTLRServer::~CT_LbsMTLRServer()
-	{
-	}
-	
-	
-/**
-  Function : CT_LbsClientServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsMTLRServer::CT_LbsMTLRServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsMTLRServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	
-	iSharedData = CT_LbsMTLRSharedData::NewL();
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsMTLRServer::CreateTestStep(const TDesC& aStepName)
-	{
-	// NULL if insufficient memory. This suits the API.
-
-	// Test case test steps, each test step supports one or more test cases.
-	if(aStepName == KLbsMTLRPrivCntrlStep_Main)	
-		{
-		return CT_LbsMTLRPrivCntrlStep_Main::New(*this);
-		}
-
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrshareddata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrshareddata.cpp
-// This file contains the shared data class for the Lbs MTLR Test server
-// 
-//
-
-
-#include "ctlbsmtlrshareddata.h"
-
-
-/**
-  Function : NewL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsMTLRSharedData* CT_LbsMTLRSharedData::NewL()
-	{
-	CT_LbsMTLRSharedData* sharedData=new(ELeave) CT_LbsMTLRSharedData();
-	CleanupStack::PushL(sharedData);
-	sharedData->ConstructL();
-	CleanupStack::Pop(sharedData);
-
-	return sharedData;
-	}
-
-
-/**
-  Function : ConstructL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsMTLRSharedData::ConstructL()
-	{
-	CT_LbsSharedData::ConstructL();
-	}
-
-
-/**
-  Function : CT_LbsDataSrcSharedData
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsMTLRSharedData::CT_LbsMTLRSharedData()
-	{
-	}
-	
-/**
-  Function : ~CT_LbsDataSrcSharedData
-  Description : Destructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/	
-CT_LbsMTLRSharedData::~CT_LbsMTLRSharedData()
-	{
-	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/src/ctlbsmtlrstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsmtlrstep.cpp
-// This is the class implementation for the LBS MTLR Test Step Base
-// 
-//
-
-#include "ctlbsmtlrstep.h"
-
-
-CT_LbsMTLRStep::~CT_LbsMTLRStep()
-	{
-	}
-
-
-CT_LbsMTLRStep::CT_LbsMTLRStep(CT_LbsMTLRServer& aParent) : CT_LbsNetSimStep(), iParent(aParent)
-	{
-	}
-
-void CT_LbsMTLRStep::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsNetSimStep::ConstructL();
-	}
Binary file lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_custom1behaviour_noextprofileinuse.cre has changed
Binary file lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_custom1behaviour_noextprofileinuse.txt has changed
Binary file lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_originalbehaviour_noextprofileinuse.cre has changed
Binary file lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_1028224b_originalbehaviour_noextprofileinuse.txt has changed
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_lbsmtlr_real.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-[LBS-MTLR-Priv-Cntr]
-# 1 == privacy controller, 2 == notifier:
-privhandler_type=1
-
-
-[LBS-MTLR-Priv-Cntr-Position]
-module_type=real
-pos_infos_file=c:\testdata\configs\sf_lbsmtlr_real.ini
-# this should be the location of the device when the test is being run:
-# antenna in the Cambridge office (to 4dps)
-# type / repeat / lat / long / alt / dat / H / V /...
-$position,1,52.2454,0.1668,1.0,0,100,100*
-
-[LBS-MTLR-Priv-Cntr-0001]
-tc_id=01
-
-[LBS-MTLR-Priv-Cntr-0002]
-tc_id=02
-
-[LBS-MTLR-Priv-Cntr-0003]
-tc_id=03
-
-[LBS-MTLR-Priv-Cntr-0004]
-tc_id=04
-
-[LBS-MTLR-Priv-Cntr-0006]
-tc_id=06
-
-[LBS-MTLR-Priv-Cntr-0007]
-tc_id=07
-
-[LBS-MTLR-Priv-Cntr-0008]
-tc_id=08
-
-[LBS-MTLR-Priv-Cntr-0009]
-tc_id=09
-
-[LBS-MTLR-Priv-Cntr-0010]
-tc_id=10
-
-[LBS-MTLR-Priv-Cntr-0011]
-tc_id=11
-
-[LBS-MTLR-Priv-Cntr-0012]
-tc_id=12
-
-[LBS-MTLR-Priv-Cntr-0013]
-tc_id=13
-
-[LBS-MTLR-Priv-Cntr-0014]
-tc_id=14
-
-[LBS-MTLR-Priv-Cntr-0015]
-tc_id=15
-
-[LBS-MTLR-Priv-Cntr-0016]
-tc_id=16
-
-[LBS-MTLR-Priv-Cntr-0017]
-tc_id=17
-
-[LBS-MTLR-Priv-Cntr-0018]
-tc_id=18
-
-[LBS-MTLR-Priv-Cntr-0019]
-tc_id=19
-
-[LBS-MTLR-Priv-Cntr-0020]
-tc_id=20
-[LBS-MTLR-Priv-Cntr-Emergency-0001]
-tc_id=21
-
-[LBS-MTLR-Priv-Cntr-Emergency-0002]
-tc_id=22
-
-[LBS-MTLR-Priv-Cntr-Emergency-0003]
-tc_id=23
-
-[LBS-MTLR-Priv-Cntr-Emergency-0004]
-tc_id=24
-
-[LBS-MTLR-Priv-Cntr-Emergency-0005]
-tc_id=25
-
-[LBS-MTLR-Priv-Cntr-Emergency-0006]
-tc_id=26
-
-[LBS-MTLR-Priv-Cntr-Emergency-0007]
-tc_id=27
-
-[LBS-MTLR-Priv-Cntr-Emergency-0008]
-tc_id=28
-
-
-[LBS-MTLR-Priv-Cntr-Roaming-0001]
-tc_id=1001
-
-[LBS-MTLR-Priv-Cntr-Roaming-0002]
-tc_id=1002
-
-[LBS-MTLR-Priv-Cntr-Emergency-Roaming-0001]
-tc_id=2001
-
-[LBS-MTLR-Priv-Cntr-Emergency-Roaming-0002]
-tc_id=2002
-
-[LBS-MTLR-Quality-Profile-0001]
-tc_id=3001
-module_type=real
-profile_id =3
-pos_infos_file=c:\testdata\configs\sf_lbsmtlr_real.ini
-$position,1,52.2454,0.1668,1.0,0,10,500*
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sf_lbstestprofile_valid_profilenotinuse.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-#
-# Quality Profiles for LBS services
-#--------------------------------------
-
-#ExternalLocate QualityProfile(MTLR)
-[3]
-ProfileID= -1
-MaxTime= 120 
-HorizontalAccuracy= 20
-VerticalAccuracy= 1000
-
--- a/lbstest/lbstestproduct/sf/core/sflbsmtlr/testdata/sflbsmtlr.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-[LBS-MTLR-Priv-Cntr]
-# 1 == privacy controller, 2 == notifier:
-privhandler_type=1
-
-
-[LBS-MTLR-Priv-Cntr-Position]
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1*
-
-
-[LBS-MTLR-Priv-Cntr-0001]
-tc_id=01
-log_type=4
-
-[LBS-MTLR-Priv-Cntr-0002]
-tc_id=02
-
-[LBS-MTLR-Priv-Cntr-0003]
-tc_id=03
-
-[LBS-MTLR-Priv-Cntr-0004]
-tc_id=04
-
-[LBS-MTLR-Priv-Cntr-0006]
-tc_id=06
-
-[LBS-MTLR-Priv-Cntr-0007]
-tc_id=07
-
-[LBS-MTLR-Priv-Cntr-0008]
-tc_id=08
-
-[LBS-MTLR-Priv-Cntr-0009]
-tc_id=09
-
-[LBS-MTLR-Priv-Cntr-0010]
-tc_id=10
-
-[LBS-MTLR-Priv-Cntr-0011]
-tc_id=11
-
-[LBS-MTLR-Priv-Cntr-0012]
-tc_id=12
-
-[LBS-MTLR-Priv-Cntr-0013]
-tc_id=13
-
-[LBS-MTLR-Priv-Cntr-0014]
-tc_id=14
-
-[LBS-MTLR-Priv-Cntr-0015]
-tc_id=15
-
-[LBS-MTLR-Priv-Cntr-0016]
-tc_id=16
-
-[LBS-MTLR-Priv-Cntr-0017]
-tc_id=17
-
-[LBS-MTLR-Priv-Cntr-0018]
-tc_id=18
-
-[LBS-MTLR-Priv-Cntr-0019]
-tc_id=19
-
-[LBS-MTLR-Priv-Cntr-0020]
-tc_id=20
-
-[LBS-MTLR-Priv-Cntr-Emergency-0001]
-tc_id=21
-
-[LBS-MTLR-Priv-Cntr-Emergency-0002]
-tc_id=22
-
-[LBS-MTLR-Priv-Cntr-Emergency-0003]
-tc_id=23
-
-[LBS-MTLR-Priv-Cntr-Emergency-0004]
-tc_id=24
-
-[LBS-MTLR-Priv-Cntr-Emergency-0005]
-tc_id=25
-
-[LBS-MTLR-Priv-Cntr-Emergency-0006]
-tc_id=26
-
-[LBS-MTLR-Priv-Cntr-Emergency-0007]
-tc_id=27
-
-[LBS-MTLR-Priv-Cntr-Emergency-0008]
-tc_id=28
-
-
-[LBS-MTLR-Priv-Cntr-Roaming-0001]
-tc_id=1001
-
-[LBS-MTLR-Priv-Cntr-Roaming-0002]
-tc_id=1002
-
-[LBS-MTLR-Priv-Cntr-Emergency-Roaming-0001]
-tc_id=2001
-
-[LBS-MTLR-Priv-Cntr-Emergency-Roaming-0002]
-tc_id=2002
-
-[LBS-MTLR-Quality-Profile-0001]
-tc_id=3001
-profile_id =3
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Timeout-0001]
-tc_id=3003
-profile_id =3
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,100,100*
-
-[LBS-MTLR-Quality-Profile-0004]
-tc_id=3004
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-
-[LBS-MTLR-Quality-Profile-0005]
-tc_id=3005
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Quality-Profile-0006]
-tc_id=3006
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-
-[LBS-MTLR-Quality-Profile-0007]
-tc_id=3007
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Priv-Cntr-SilentReject-0001]
-tc_id=4001
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Priv-Cntr-SilentReject-0002]
-tc_id=4002
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0001]
-tc_id=5001
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0002]
-tc_id=5002
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
-[LBS-MTLR-Priv-Cntr-AlwaysVerify-Timeout-0003]
-tc_id=5003
-pos_infos_file=c:\testdata\configs\sflbsmtlr.ini
-$position,1,1,2,3,0,10,500*
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_TESTEXPORTS
-
-../testdata/sflbsx3pcancel.ini	c:/testdata/configs/sflbsx3pcancel.ini
-../testdata/sflbsx3pcancelrefpos.ini	c:/testdata/configs/sflbsx3pcancelrefpos.ini
-../testdata/sflbsx3popenclose.ini	c:/testdata/configs/sflbsx3popenclose.ini
-../testdata/sflbsx3ptransmit.ini	c:/testdata/configs/sflbsx3ptransmit.ini
-../testdata/sflbsx3ptransmitrefpos.ini	c:/testdata/configs/sflbsx3ptransmitrefpos.ini
-../scripts/sflbsx3pcancel.script	c:/testdata/scripts/sflbsx3pcancel.script
-../scripts/sflbsx3pcancelrefpos.script	c:/testdata/scripts/sflbsx3pcancelrefpos.script
-../scripts/sflbsx3pconflict.script	c:/testdata/scripts/sflbsx3pconflict.script
-../scripts/sflbsx3popenclose.script	c:/testdata/scripts/sflbsx3popenclose.script
-../scripts/sflbsx3ptransmit.script	c:/testdata/scripts/sflbsx3ptransmit.script
-../scripts/sflbsx3ptransmitconcurrent.script	c:/testdata/scripts/sflbsx3ptransmitconcurrent.script
-../scripts/sflbsx3ptransmitconcurrentrefpos.script	c:/testdata/scripts/sflbsx3ptransmitconcurrentrefpos.script
-../scripts/sflbsx3ptransmitrefpos.script	c:/testdata/scripts/sflbsx3ptransmitrefpos.script
-
-PRJ_TESTMMPFILES
-
-ctsflbsx3pserver.mmp
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/group/ctsflbsx3pserver.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctsflbsx3pserver.mmp
-// 
-//
-
-TARGET		sflbsx3ptestserver.exe
-TARGETTYPE	exe
-UID			0x1000007A 0x1028720B
-VENDORID 	0x70000001
-CAPABILITY	ProtServ LocalServices WriteDeviceData ReadDeviceData Location NetworkServices
-
-#include 	"../../../../common/group/ctlbscommon.mmp"
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-USERINCLUDE		../inc
-
-// Lbs Data Source framework code.
-SOURCEPATH	../src
-SOURCE	ctlbsx3pdotransmitpos.cpp
-SOURCE	ctlbsx3pdummyao.cpp
-SOURCE	ctlbsx3pserver.cpp
-SOURCE	ctlbsx3pshareddata.cpp
-SOURCE	ctlbsx3pstep.cpp
-SOURCE	ctlbsx3pstepcancel.cpp
-SOURCE	ctlbsx3pstepconflict.cpp
-SOURCE	ctlbsx3pstepopenclose.cpp
-SOURCE	ctlbsx3psteptransmit.cpp
-SOURCE	ctlbsx3psteptransmitconcurrent.cpp
-SOURCE	ctlbsx3pstepnegative.cpp
-
-// Lbs Data Source test step code.
-
-// LBS libraries.
-LIBRARY	lbs.lib
-LIBRARY	lbsloccommon.lib
-LIBRARY	lbsadmin.lib
-LIBRARY lbsrootapi.lib
-LIBRARY lbsnetprotocol.lib
-LIBRARY lbsx3p.lib
-LIBRARY lbsassistancedata.lib
-
-// LBS test libraries.
-LIBRARY lbstestutils.lib
-LIBRARY lbsnetsim.lib
-LIBRARY	lbstestclient.lib
-
-
-SMPSAFE
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pdotransmitpos.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-/**
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file ctlbsx3pdotransmitpos.h
-*/
-#if (!defined __CTLBSX3PDOTRANSMITPOS_H__)
-#define __CTLBSX3PDOTRANSMITPOS_H__
-
-#include <e32base.h>
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-
-
-_LIT(KCT_LbsX3PDoTransmitPos, "CT_LbsX3PDoTransmitPos");
-
-class CT_LbsX3PDoTransmitPos;
-
-// Async callbacks
-class MT_LbsX3PDoTransmitPosObserver
-	{
-	public:
-		virtual void MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos *aDoTransmitPos=NULL) = 0;	// do we need the aStatus...
-		virtual void MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo) = 0;
-	};
-	
-
-class CT_LbsX3pRefLocWaiter: public CActive
-	{
-	public:
-		~CT_LbsX3pRefLocWaiter();
-		static CT_LbsX3pRefLocWaiter* NewL(MT_LbsX3PDoTransmitPosObserver* aObserver);
-		void Activate();
-		
-	protected:
-		void RunL();
-		virtual TInt RunError(TInt aError);
-		void DoCancel();
-		
-	private:
-		CT_LbsX3pRefLocWaiter(MT_LbsX3PDoTransmitPosObserver* aObserver);
-		void ConstructL();
-		
-	public:
-		TPositionInfo iRefPosInfo;
-		
-	private:
-		MT_LbsX3PDoTransmitPosObserver* iObserver;
-	};
-
-
-
-class CT_LbsX3PDoTransmitPos: public CActive
-	{
-	public:
-		~CT_LbsX3PDoTransmitPos();
-		static CT_LbsX3PDoTransmitPos* NewL(MT_LbsX3PDoTransmitPosObserver* aObserver, RLbsTransmitPosition& aPositionTransmitter);
-
-		void TransmitPosition(const TDesC& aDestinationID, TUint aTransmitPriority, TPositionInfo & aTransmittedPosInfo);
-		void TransmitPositionReportingRefLoc(const TDesC& aDestinationID, TUint aTransmitPriority, TPositionInfo & aTransmittedPosInfo);
-		CT_LbsX3pRefLocWaiter* GetRefLocWaiter(void) { return iRefLocWaiter; }
-
-	protected:
-		//	Functions from CActive:
-		virtual void DoCancel();
-		virtual void RunL();
-		virtual TInt RunError(TInt aError);
-		
-	private:
-		CT_LbsX3PDoTransmitPos(MT_LbsX3PDoTransmitPosObserver* aObserver, RLbsTransmitPosition& aPositionTransmitter);
-		void CT_LbsX3PDoTransmitPos::ConstructL();
-		
-
-	private:
-		// caller
-		MT_LbsX3PDoTransmitPosObserver* iObserver;
-		
-		// Self locate server.
-		RLbsTransmitPosition& iPositionTransmitter;
-		CT_LbsX3pRefLocWaiter* iRefLocWaiter;
-
-	};
-
-#endif // __CTLBSX3PDOTRANSMITPOS_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pdummyao.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/**
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-/**
- @file ctlbsx3pdummyao.h
-*/
-#if (!defined __CTLBSX3PDUMMYAO_H__)
-#define __CTLBSX3PDUMMYAO_H__
-
-#include <e32base.h>
-#include <lbs.h>
-//#include <lbsx3p.h>
-
-
-_LIT(KCT_LbsX3PDummyAO, "CT_LbsX3PDummyAO");
-
-
-// Async callbacks
-class MT_LbsX3PDummyObserver
-	{
-public:
-	virtual void MT_LbsX3PDummyCallbackHandler(TRequestStatus& aStatus) = 0;	// do we need the aStatus...
-	};
-	
-	
-class CT_LbsX3PDummyAO: public CActive
-	{
-public:
-	~CT_LbsX3PDummyAO();
-	static CT_LbsX3PDummyAO* NewL(MT_LbsX3PDummyObserver* aObserver);
-
-	
-protected:
-	//	Functions from CActive:
-	virtual void DoCancel();
-	virtual void RunL();
-	virtual TInt RunError(TInt aError);
-	
-private:
-	CT_LbsX3PDummyAO(MT_LbsX3PDummyObserver* aObserver);
-	//void CT_LbsX3PDoTransmitPos::ConstructL();
-	
-	// caller
-	MT_LbsX3PDummyObserver* iObserver;
-	
-	};
-
-#endif // __CTLBSX3PDUMMYAO_H__
\ No newline at end of file
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pserver.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pserver.h
-// This contains the header file for LBS Client Test server
-// 
-//
-
-#ifndef __CT_LBS_X3P_SERVER_H__
-#define __CT_LBS_X3P_SERVER_H__
-
-// System includes
-
-// User includes
-#include "ctlbsserver.h"
-#include "ctlbsx3pshareddata.h"
-
-//Literals Used
-_LIT(KSfLbsX3PTestServer,"SfLbsX3PTestServer");
-
-//Common defines
-_LIT(KLbsRefPos, "RefPos");
-
-#define X3P_PRIORITY_PUSH			0x02
-#define X3P_PRIORITY_MENU			0x08
-#define X3P_PRIORITY_TIMER			0x10
-
-
-// Implements the LBS Client Test server
-class CT_LbsX3PServer : public CT_LbsServer
-	{
-public :
-	static CT_LbsX3PServer* NewL();
-	// Creates the test steps based on the test step name 
-	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
-	~CT_LbsX3PServer();
-	CT_LbsX3PServer();
-public:
-
-protected:
-	void ConstructL(const TDesC& aName);
-	};
-
-#endif //__CT_LBS_X3P_SERVER_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pshareddata.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pshareddata.h
-// 
-//
-
-
-#ifndef __T_LBS_X3P_SHARED_DATA_H__
-#define __T_LBS_X3P_SHARED_DATA_H__
-
-// system includes
-
-// Lbs includes
-#include "ctlbsshareddata.h"
-
-class CT_LbsX3PSharedData : public CT_LbsSharedData
-{
-public:
-	static CT_LbsX3PSharedData* NewL();
-	CT_LbsX3PSharedData();
-	~CT_LbsX3PSharedData();
-
-protected:
-	void ConstructL();
-
-public:
-	// Add any other things we may need.
-};
-
-#endif // __T_LBS_X3P_SHARED_DATA_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pserver.h
-// This contains the header file for LBS Assistance GPS Data Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_H__
-#define __CT_LBS_X3P_STEP_H__
-
-#include <test/testexecutestepbase.h>
-#include <lbs.h>
-
-#include "ctlbsx3pserver.h"
-#include "ctlbsnetsimstep.h"
-
-
-const TLbsCallbackFlags KLbsCallback_Got_NotifyDoTransmitPos					= 0x1000;
-const TLbsCallbackFlags KLbsCallback_Got_DoPosUpdate							= 0x2000;
-const TLbsCallbackFlags KLbsCallback_Got_NotifyDoTransmitReferencePos			= 0x4000;
-//#define X3P_PRIORITY_PUSH			0x02
-//#define X3P_PRIORITY_MENU			0x08
-//#define X3P_PRIORITY_TIMER			0x10
-
-class CT_LbsX3PStep : public CT_LbsNetSimStep
-{
-
-public:
-	virtual ~CT_LbsX3PStep();
-
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-protected:
-
-	// From MLbsNetSimTestObserver
-	//NOTE: The functions are defined here to avoid unnecessary implementation in derived class.
-	//The derived class has to implement required functions
-
-	void ConstructL();
-	CT_LbsX3PStep(CT_LbsX3PServer& aParent);
-	
-protected:
-
-	CT_LbsX3PServer& iParent;
-		
-};
-
-#endif // __CT_LBS_X3P_STEP_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepcancel.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepcancel.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_CANCEL_H__
-#define __CT_LBS_X3P_STEP_CANCEL_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-
-//#include <lbs/test/lbsnetsimtestobserver.h>
-
-// LBS test includes.
-#include "ctlbsx3pstep.h"
-#include "ctlbsx3pserver.h"
-#include "ctlbsx3pdotransmitpos.h"
-#include <lbs/test/ctlbstimerutils.h>
-//#include "ctlbsx3pnetsim.h"
-
-// Literals used
-_LIT(KLbsX3PStep_Cancel, "LbsX3PStep_Cancel");
-
-class CT_LbsX3PStep_Cancel : public CT_LbsX3PStep,
-									MT_LbsX3PDoTransmitPosObserver
-	{
-public:
-	~CT_LbsX3PStep_Cancel();
-
-	static CT_LbsX3PStep_Cancel* New(CT_LbsX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-	void ConstructL();
-
-
-	// From MT_LbsTimerUtilsObserver - keep alive timer to ensure we recvice all callbacks.
-	//void HandleTimerL(TInt aTimerId, const TTime& aTargetTime);
-
-	// From MT_LbsX3PDoTransmitPosObserver - Transmit Position callback.
-	void MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO);
-	void MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo);
-
-	// From MLbsX3PNetSim (MLbsNetSimTestObserver).	
-	void Connected();
-	void NotifyRegisterLcsMoLr(const TDesC& aData);
-	void NotifyReleaseLcsMoLr(TInt aReason);
-	void NotifyMeasurementReportLocation(const TPositionInfo& aPosition);
-	void NotifyMeasurementControlLocation(const TPositionInfo& aPosition, 
-													  const RLbsAssistanceDataBuilderSet& aData, 
-													  const TLbsNetPosRequestQuality& aQuality);
-	void NotifyMeasurementReportControlFailure(TInt aReason);
-	void NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter);
-	void NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition);	
-	
-private:
-	CT_LbsX3PStep_Cancel(CT_LbsX3PServer& aParent);
-
-	//enum TState
-		//{
-		//EWaitingNotifyRegisterLcsMolr,
-		//EWaitingNotifycationMeasurementControlLocation,
-		//EWaitingNotifycationMeasurementReportLocation,
-		//EWaitingNotifyReleaseLcsMolr,
-		//EWaiting,
-		//EDone
-		//};
-	
-	TRequestStatus 		iStatus;
-	//TRequestStatus 		iSignalStatus;
-	//TState				iState;
-	//CT_LbsTimerUtils* 		iKeepAliveTimer;
-	RLbsTransmitPosition 	iTransmitPositioner;
-	RLbsTransmitPosition 	iTransmitPositioner2;
-	CT_LbsX3PDoTransmitPos* iDoTransmitPosAO;
-	CT_LbsX3PDoTransmitPos* iDoTransmitPosAO2;
-	TInt 					iTestCaseId;
-	TBool 					iRefPosFlag;
-
-	};
-
-#endif //__CT_LBS_X3P_STEP_CANCEL_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepconflict.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,155 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepconflict.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_CONFLICT_H__
-#define __CT_LBS_X3P_STEP_CONFLICT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-
-//#include <lbs/test/lbsnetsimtestobserver.h>
-
-// LBS test includes.
-#include "ctlbsx3pstep.h"
-#include "ctlbsx3pserver.h"
-#include "ctlbsx3pdotransmitpos.h"
-#include <lbs/test/ctlbstimerutils.h>
-#include "ctlbsdoposupdate.h"
-//#include "ctlbsx3pnetsim.h"
-//#include "ctlbsx3pdummyao.h"
-
-// Literals used
-_LIT(KLbsX3PStep_Conflict, "LbsX3PStep_Conflict");
-
-typedef struct TimeStamp
-{
-	TLbsCallbackFlags	flag;
-	TTime			sysTime;		
-} TIME_STAMP;
-
-
-class CT_LbsX3PStep_Conflict : public CT_LbsX3PStep,
-										//MT_LbsTimerUtilsObserver,
-										MT_LbsX3PDoTransmitPosObserver,
-										MT_LbsDoPosUpdateObserver
-	{
-public:
-	~CT_LbsX3PStep_Conflict();
-
-	static CT_LbsX3PStep_Conflict* New(CT_LbsX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-	void ConstructL();
-
-	// From MT_LbsTimerUtilsObserver - keep alive timer to ensure we recvice all callbacks.
-	void HandleTimerL(TInt aTimerId, const TTime& aTargetTime);
-
-	// From MT_LbsDoPosUpdateObserver - transmit position callback.
-	void MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO);
-
-	// From MT_LbsDoPosUpdateObserver - Position notify update callback.
-	void MT_LbsDoPosUpdateCallback(TRequestStatus& aStatus);
-	void MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo);
-
-	//From MT_LbsX3PDummyObserver - To handle callback notifications from other threads eg. netsim...
-	//void MT_LbsX3PDummyCallbackHandler(TRequestStatus& aStatus);
-
-	void Connected();
-	void NotifyRegisterLcsMoLr(const TDesC& aData);
-	void NotifyReleaseLcsMoLr(TInt aReason);
-	void NotifyMeasurementReportLocation(const TPositionInfo& aPosition);
-	void NotifyMeasurementControlLocation(const TPositionInfo& aPosition, 
-													  const RLbsAssistanceDataBuilderSet& aData, 
-													  const TLbsNetPosRequestQuality& aQuality);
-
-	void NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult);
-	void NotifyMeasurementReportControlFailure(TInt aReason);
-	void NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition);
-
-	TInt64 CallbackTime(TLbsCallbackFlags aCallbackFlags);
-	
-private:
-	CT_LbsX3PStep_Conflict(CT_LbsX3PServer& aParent);
-
-	void SetCallbackFlag(TLbsCallbackFlags aCallbackFlag);
-	void AnalyseCallbackFlags(TLbsCallbackFlags aCallbackFlag, RPointerArray<TTime> & aCallbackTime);
-
-	//enum TState
-	//	{
-		//EWaitingNotifyRegisterLcsMolr,
-		//EWaitingNotifyAssitanceData,
-		//EWaitingNotifycationMeasurementReportLocation,
-		//EWaitingNotifyReleaseLcsMolr,
-		//EMtlrCompleted,
-		//EX3PCompleted,
-	//	EStartNetworkLocationRequest,
-	//	EStartNetworkPrivacyRequest,
-	//	EStartMtlrRequest,
-	//	EStartMtlrPrivacyRequest,
-	//	EStartMolrTransmitInNotifyMeasurementReportLocation,
-	//	EStartMolrTransmitInNotifyMeasurementControlLocation,
-	//	EWaiting,
-	//	EDone
-	//	};
-
-	enum TStateX3P
-		{
-		//EX3PNormal,
-		//EX3PPriorityInterrupt,
-		//EX3PPriorityNormal,
-		//EX3PControlCancel,
-		//EX3PNotifyReleaseDone,
-		//EX3PPhaseOneOK,
-		//EX3PPhaseTwoOK,
-		//EX3PAny,
-		EX3POk,
-		EX3PErrorReported
-		};
-
-	#if 0
-	enum TCallbackNotification
-		{
-		EWaitingNotifyReleaseLcsLocationNotification,
-		EWaitingNotifyMeasurementReportLocation,
-		EWaitingNone
-		};
-	#endif
-	
-	//TRequestStatus 		m_aStatus;
-	TRequestStatus 		iSignalStatus;
-	//TState				iState;
-	//TCallbackNotification	iCallbackNotification;
-	TStateX3P			iStateX3P;
-	RLbsTransmitPositionServer iServer;
-
-	//CT_LbsTimerUtils* 		iKeepAliveTimer;
-	RLbsTransmitPosition 	iTransmitPositioner;
-	RLbsTransmitPosition 	iTransmitPositioner2;
-	//RLbsNetSimTest 		iNetSim;
-	CT_LbsX3PDoTransmitPos* 	iDoTransmitPosAO;	//AO for X3P
-	CT_LbsX3PDoTransmitPos* 	iDoTransmitPosAO2;  //AO for X3P
-	CT_LbsDoPosUpdate* iDoPosUpdate;	//AO for MOLR
-
-	//CT_LbsX3PDummyAO *		iDummyAO;
-	TInt 						iTestCaseId;
-	RPointerArray<TIME_STAMP>	iTSArray;
-	TPositionInfo* iPosInfo0;
-	TPositionInfo* iPosInfo1;
-	};
-
-#endif //__CT_LBS_X3P_STEP_CONFLICT_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepnegative.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepnegative.h
-// This contains the header file for LBS Assistance GPS Data Test Step Base
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_NEGATIVE_H__
-#define __CT_LBS_X3P_STEP_NEGATIVE_H__
-
-#include <test/testexecutestepbase.h>
-
-
-#include "ctlbsx3pserver.h"
-
-const TUint KBadPriority = 0;
-_LIT(KLbsX3P_Step_Negative, "LbsX3P_Step_Negative");
-_LIT(KBadDestination, "07712345678");
-
-
-//#define X3P_PRIORITY_PUSH			0x02
-//#define X3P_PRIORITY_MENU			0x08
-//#define X3P_PRIORITY_TIMER			0x10
-
-
-class CT_LbsX3PStep_Negative :	public CTestStep
-{
-
-public:
-
-	virtual TVerdict doTestStepPreambleL();
-	virtual TVerdict doTestStepPostambleL();
-
-	virtual ~CT_LbsX3PStep_Negative();
-	static CT_LbsX3PStep_Negative* New(CT_LbsX3PServer& aParent);
-	
-private:
-	TInt iTestCaseId;
-
-	void ConstructL();
-	virtual TVerdict doTestStepL();
-		
-		
-protected:
-	CT_LbsX3PStep_Negative(CT_LbsX3PServer& aParent);
-
-	// Class members which will be common to all individual test steps:
-	const CT_LbsX3PServer& iParent;
-		
-};
-
-#endif // __CT_LBS_X3P_STEP_NEGATIVE_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3pstepopenclose.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepopenclose.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_SRC_OPENCLOSE_H__
-#define __CT_LBS_X3P_SRC_OPENCLOSE_H__
-
-// LBS includes.
-#include <lbscommon.h>
-
-// LBS test includes.
-#include "ctlbsx3pstep.h"
-#include "ctlbsx3pserver.h"
-
-
-// Literals used
-_LIT(KLbsX3PStep_OpenClose, "LbsX3PStep_OpenClose");
-
-
-class CT_LbsX3PStep_OpenClose : public CT_LbsX3PStep
-	{
-public:
-	~CT_LbsX3PStep_OpenClose();
-	void ConstructL();
-
-	static CT_LbsX3PStep_OpenClose* New(CT_LbsX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-
-private:
-	CT_LbsX3PStep_OpenClose(CT_LbsX3PServer& aParent);
-	};
-
-#endif //__CT_LBS_X3P_SRC_OPENCLOSE_H__
\ No newline at end of file
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3psteptransmit.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3psteptransmit.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_TRANSMIT_H__
-#define __CT_LBS_X3P_STEP_TRANSMIT_H__
-
-// LBS includes.
-#include <lbs.h>
-#include <lbscommon.h>
-
-#include <lbs/lbslocerrors.h>
-
-// LBS test includes.
-#include "ctlbsx3pstep.h"
-#include "ctlbsx3pserver.h"
-#include "ctlbsx3pdotransmitpos.h"
-#include <lbs/test/tlbsutils.h>
-// LBS test includes.
-
-#include "ctlbsnetsimstep.h"
-
-// Literals used
-_LIT(KLbsX3PStep_Transmit, "LbsX3PStep_Transmit");
-
-
-
-const TInt KMaxCount = 3; //Number of parallel/cuncurrent instances of teststep 13 we expect.
-// Kick off transmit position.
-_LIT(KDefaultDestination, "07712345678");
-_LIT(KInvalidDestination, "INVALID_PHONE_NUMBER_BECAUSE_ITS_CHARACTERS");
-const TUint KTransmitPriority = X3P_PRIORITY_PUSH;
-
-class CT_LbsX3PStep_Transmit : public 	CT_LbsX3PStep, 
-										MT_LbsX3PDoTransmitPosObserver
-	{
-public:
-	~CT_LbsX3PStep_Transmit();
-
-	static CT_LbsX3PStep_Transmit* New(CT_LbsX3PServer& aParent);
-	virtual TVerdict doTestStepL();
-	void ConstructL();
-
-	// From MLbsNetSimTestObserver.	
-	// In order...
-	void Connected();
-	void NotifyRegisterLcsMoLr(const TDesC& aData);
-	void NotifyMeasurementControlLocation(const TPositionInfo& aPosition, const RLbsAssistanceDataBuilderSet& aData, const TLbsNetPosRequestQuality& aQuality);
-	void NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter);
-	void NotifyMeasurementReportLocation(const TPositionInfo& aPosition);
-	void NotifyReleaseLcsMoLr(TInt aReason);
-	
-	void NotifyMeasurementReportControlFailure(TInt aReason);
-	
-	// Callback is fired on completion of the Transmitposition() call
-	void MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO);
-	void MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo);
-	
-	void ProcessMeasurementControlLocationError(TInt aError);
-
-private:
-	CT_LbsX3PStep_Transmit(CT_LbsX3PServer& aParent);
-	
-	// Doing CleanupClosePushL/PopAndDestroy on these member variables in each test case.
-	// Not in constructor/destructor. 
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iPositionTransmitter;
-
-	//TransmitPosition objects used for parallel subsession tests
-	RLbsTransmitPosition iTransmitPos1;
-	RLbsTransmitPosition iTransmitPos2;
-	RLbsTransmitPosition iTransmitPos3;
-	
-	TLbsNetPosRequestQuality iNetPosQuality;
-	
-		
-	CT_LbsX3PDoTransmitPos* iDoTransmitPos;
-	
-	T_LbsUtils 	iUtils;
-	TBool 		iRefPosFlag;
-	/** Reference position used to setup Net sim and later verification. */
-	TPosition iRefPos;
-	/** used to compare position update timeout **/ 
-	TTime iTimeRequested,iTimeReceived;
-	
-	RPointerArray<CT_LbsX3PDoTransmitPos> iDoTransmitPosArr;
-	TInt iTestCaseId;
-	TInt iReleaseCallBackCount;
-	};
-
-#endif //__CT_LBS_X3P_STEP_TRANSMIT_H__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/inc/ctlbsx3psteptransmitconcurrent.h	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3psteptransmitconcurrent.h
-// This contains the header file for Location Data Source Tests
-// 
-//
-
-#ifndef __CT_LBS_X3P_STEP_TRANSMIT_CONCURRENT__
-#define __CT_LBS_X3P_STEP_TRANSMIT_CONCURRENT__
-
-/**
- * LBS includes.
- */
-#include <lbs.h>
-#include <lbscommon.h>
-#include <lbs/lbslocerrors.h>
-
- /**
-  * LBS test includes.
-  */
-#include "ctlbsx3pserver.h"
-#include <lbs/test/tlbsutils.h>
-#include "ctlbsx3pdotransmitpos.h"
- 
- /**
-  * Literals and constants used
-  */  
-_LIT(KLbsX3PStep_Transmit_Concurrent, "LbsX3PStep_Transmit_Concurrent");
-_LIT(KConcurrentDestination, "07712345678");
-const TUint KConcurrentTransmitPriority = X3P_PRIORITY_PUSH;
-
-
-/**
- * The CT_LbsX3PStep_Transmit_Concurrent class was written
- * with the intention of running concurrently using TEF commands.
- * It performs the common tasks of installing a scheduler, creating
- * verifiable position info, performing an X3P task, verifying recieved 
- * positions and finally verifying log info.
- * 
- * \author Peter Turner
- */
-class CT_LbsX3PStep_Transmit_Concurrent :public CTestStep,
-											  CActive,
-											  MT_LbsX3PDoTransmitPosObserver
-	{
-public:
-	/**
-	 * Standard constructors, destructors and test step entry point.
-	 */
-	~CT_LbsX3PStep_Transmit_Concurrent();
-	static CT_LbsX3PStep_Transmit_Concurrent* New();
-	void ConstructL();
-	
-	virtual TVerdict doTestStepL();
-
-
-	void MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo);
-	void MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO);
-
-private:
-	CT_LbsX3PStep_Transmit_Concurrent();
-	
-	/**
-	 * These methods perform the functions normally found in other test steps.
-	 * This functionality had to be copied into methods to run correctly
-	 * in a concurrent fashion.
-	 */
-	void CreateVerifyPositionInfoL();
-	void VerifyPosInfo();
-	// VerifyLogInfo
-	TInt OpenNetSim();
-	
-	/**
-	 * Current test case value initialised from the ini files value.
-	 */
-	TInt iTestCaseId;
-	
-	/**
-	 * Network Simulator, to allow MT-LRs and to monitor network messages.
-	 */
-	RLbsNetSimTest iNetSim;
-	
-	/**
-	 * This objects active scheduler
-	 */
-	CActiveScheduler* iScheduler;
-
-	/**
-	 * Server and session used during the tests.
-	 */
-	RLbsTransmitPositionServer iServer;
-	RLbsTransmitPosition iPositionTransmitter;
-	CT_LbsX3pRefLocWaiter* iRefLocWaiter;
-	
-	/**
-	 * Position quality used to setup Net sim.
-	 */
-	TLbsNetPosRequestQuality iNetPosQuality;
-
-	/** 
-	 * Reference position used to setup Net sim and later verification.#
-	 */
-	TPosition iRefPos;
-	
-	/** 
-	 * Shared data to store positions from ini file. CONCURRENT test step
-	 * command does not work when the -SharedData parameter is used on the server.
-	 * The -SharedData functionality is internalised here.
-	 */
-	RPointerArray<TAny>	iVerifyPosInfoArr;
-	RPointerArray<TAny>	iCurrentPosInfoArr;
-	
-	/** 
-	 * Flag used to indicate if the A-GPS integration test module is being used during testing.
-	 */
-	TBool iTestModuleInUse;
-	
-protected:
-	/** 
-	 * Functions from CActive:
-	 */
-	virtual void DoCancel();
-	virtual void RunL();
-	virtual TInt RunError(TInt aError);
-	
-	};
-
-#endif //__CT_LBS_X3P_STEP_TRANSMIT_CONCURRENT__
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pcancel.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,256 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-CANCEL
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-PRINT Start LBS
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0001
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0001
-//! @SYMTestCaseDesc            Call RlbsTransmitPosition::CancelTransmitPosition() when no transmit is outstanding.
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Open sub-session
-//!                             2. Do not request X3P
-//!                             3. Attempt to cancel X3P
-//! @SYMTestExpectedResults     CancelTransmitPosition() fails with KErrNotFound
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0001
-
-END_TESTCASE SFLBS-X3P-Cancel-0001
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0002
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0002
-//! @SYMTestCaseDesc            Request X3P, then cancel request before MO-LR started ()
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Open a session with the transmit position server
-//!                             2. Create a sub-session
-//!                             3. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             giving a valid destination Id (email/phone number).
-//!                             4. RLbsTransmitPosition::CancelTransmitPosition()
-//!                             5. Wait for request to complete
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	May not be possible to implement. Need to get the cancel in after the NRH sends the request to the NG, 
-//	but before the protocol module sends the MOLR to the network.
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0002
-
-END_TESTCASE SFLBS-X3P-Cancel-0002
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0003
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0003
-//! @SYMTestCaseDesc            Request X3P, then cancel request before MO-LR started ()
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Tell NetSim that next request should have a time delay (needed)
-//!                             2. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             3. Wait for notification from NetSim that MOLR has been sent
-//!                             4. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUE: Jarek mentioned using the timelag feature in NetSim for the MOLR, but not sure why that would be needed?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0003
-
-END_TESTCASE SFLBS-X3P-Cancel-0003
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0004
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0004
-//! @SYMTestCaseDesc            Request X3P, then cancel request after location request received
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for notification of Location Request from network (sent in response to MOLR)
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUE: Jarek mentioned using the timelag feature in NetSim for the MOLR, but not sure why that would be needed?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0004
-
-END_TESTCASE SFLBS-X3P-Cancel-0004
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0005
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0005
-//! @SYMTestCaseDesc            Request X3P, then cancel request after responding to location request
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for notification of response to Location Request from network
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0005
-
-END_TESTCASE SFLBS-X3P-Cancel-0005
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0006
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0006
-//! @SYMTestCaseDesc            Request X3P, then cancel request after protocol module closed MOLR but before it sent X3P complete to NRH
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0006
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-Cancel-0006
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0007
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0007
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!                             2. Try to cancel Active object using Cancel function and in the cancel function call CancelTransmitPostion()
-//! @SYMTestExpectedResults     TransmitPosition should be canceled without any problem
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0007
-
-END_TESTCASE SFLBS-X3P-Cancel-0007
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0008
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0008
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Create two transmit Positional objects
-//!                             2. Call TransmitPosition from the first one
-//!                             3. Try canceling on the second TransmitPosition object
-//! @SYMTestExpectedResults     Transmit Postion should complete properly on first one. Cancel on second one should not have any effect
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0008
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-END_TESTCASE SFLBS-X3P-Cancel-0008
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0009
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0009
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Create two transmit Positional objects
-//!                             2. Call TransmitPosition from the first one
-//!                             3. Try canceling on the second TransmitPosition object using Active Object->Cancel() function
-//! @SYMTestExpectedResults     Transmit Postion should complete properly on first one. Cancel on second one should not have any effect
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0009
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-END_TESTCASE SFLBS-X3P-Cancel-0009
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0010
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0010
-//! @SYMTestCaseDesc            Request X3P, then cancel after network has provided MoLrResult
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for NetSim's notification that MOLR result has been sent to LBS
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0011
-END_TESTCASE SFLBS-X3P-Cancel-0010
-//This test added at end because it caused the next test fail. 
-//Cancelling at More assistance data callback causes Network Gateway to ask for assistance data which affects next test
-
-
-START_TESTCASE                SFLBS-X3P-Cancel-0011
-//! @SYMTestCaseID              SFLBS-X3P-Cancel-0011
-//! @SYMTestCaseDesc            Cancel X3P when we get NotifyMeasurementReportRequestMoreAssitanceData callback from NetSim
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable so that
-//!                             Lbs system will ask for more assistance data to get position
-//!                             2. Call TransmitPostion
-//!                             3. Wait for NotifyMeasurementReportRequestMoreAssitanceData callback from NetSim
-//!                             4. Call CancelTransmitPosition() to cancel X3P
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancel.ini LBS-X3P-Cancel-0010
-
-END_TESTCASE SFLBS-X3P-Cancel-0011
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pcancelrefpos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,302 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-CANCELREFPOS
-//! @SYMScriptTestEnvironment TEF
-//
-//Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-//All rights reserved.
-//This component and the accompanying materials are made available
-//under the terms of "Eclipse Public License v1.0"
-//which accompanies this distribution, and is available
-//at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-//Initial Contributors:
-//Nokia Corporation - initial contribution.
-//
-//Contributors:
-//
-//Description:
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-MkDir c:\private\10282253\
-MkDir c:\private\10282253\lbs\
-MkDir c:\private\10282253\lbs\locmods\
-CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-PRINT Start LBS
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0001
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0001
-//! @SYMTestCaseDesc            Call RlbsTransmitPosition::CancelTransmitPosition() when no transmit is outstanding.
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Open sub-session
-//!                             2. Do not request X3P
-//!                             3. Attempt to cancel X3P
-//! @SYMTestExpectedResults     CancelTransmitPosition() fails with KErrNotFound
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0001
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0001
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0002
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0002
-//! @SYMTestCaseDesc            Request X3P, then cancel request before MO-LR started ()
-//! @SYMTestPriority            High
-//! @SYMTestActions             1. Open a session with the transmit position server
-//!                             2. Create a sub-session
-//!                             3. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             giving a valid destination Id (email/phone number).
-//!                             4. RLbsTransmitPosition::CancelTransmitPosition()
-//!                             5. Wait for request to complete
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrCancel
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	May not be possible to implement. Need to get the cancel in after the NRH sends the request to the NG, 
-//	but before the protocol module sends the MOLR to the network.
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0002
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0002
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0003
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0003
-//! @SYMTestCaseDesc            Request X3P, then cancel request before MO-LR started ()
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Tell NetSim that next request should have a time delay (needed)
-//!                             2. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             3. Wait for notification from NetSim that MOLR has been sent
-//!                             4. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUE: Jarek mentioned using the timelag feature in NetSim for the MOLR, but not sure why that would be needed?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0003
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0003
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0004
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0004
-//! @SYMTestCaseDesc            Request X3P, then cancel request after location request received
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for notification of Location Request from network (sent in response to MOLR)
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUE: Jarek mentioned using the timelag feature in NetSim for the MOLR, but not sure why that would be needed?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0004
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0004
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0005
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0005
-//! @SYMTestCaseDesc            Request X3P, then cancel request after responding to location request
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for notification of response to Location Request from network
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0005
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0005
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0006
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0006
-//! @SYMTestCaseDesc            Request X3P, then cancel request after protocol module closed MOLR but before it sent X3P complete to NRH
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0006
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0006
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0007
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0007
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!                             2. Try to cancel Active object using Cancel function and in the cancel function call CancelTransmitPostion()
-//! @SYMTestExpectedResults     TransmitPosition should be canceled without any problem
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0007
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0007
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0008
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0008
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Create two transmit Positional objects
-//!                             2. Call TransmitPosition from the first one
-//!                             3. Try canceling on the second TransmitPosition object
-//! @SYMTestExpectedResults     Transmit Postion should complete properly on first one. Cancel on second one should not have any effect
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0008
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0008
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0009
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0009
-//! @SYMTestCaseDesc            Description was missing
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Create two transmit Positional objects
-//!                             2. Call TransmitPosition from the first one
-//!                             3. Try canceling on the second TransmitPosition object using Active Object->Cancel() function
-//! @SYMTestExpectedResults     Transmit Postion should complete properly on first one. Cancel on second one should not have any effect
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-//	ISSUES: Currently not possible to implement. Think it would require new functionality (to insert a time lag) in NetSim
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0009
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0009
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0011
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0011
-//! @SYMTestCaseDesc            Request X3P, then cancel after network has provided MoLrResult
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party ? RlbsTransmitPosition::TransmitPosition()
-//!                             2. Wait for NetSim's notification that MOLR result has been sent to LBS
-//!                             3. RLbsTransmitPosition::CancelTransmitPosition()
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0011
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0011
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0012
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0012
-//! @SYMTestCaseDesc            Request X3P, then cancel X3P RefPos active object
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!                             2. Cancel X3P Refpos active object
-//!                             3. wait for request to complete
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0012
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0012
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0013
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0013
-//! @SYMTestCaseDesc            Request X3P, then cancel X3P when X3P RefPos active object completes
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!                             2. Cancel X3P when X3P Reference position is received
-//!                             3. Wait for X3P to complete
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0013
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0013
-//This test added at end because it caused the next test fail. 
-//Cancelling at More assistance data callback causes Network Gateway to ask for assistance data which affects next test
-
-
-START_TESTCASE                SFLBS-X3P-CancelRefPos-0010
-//! @SYMTestCaseID              SFLBS-X3P-CancelRefPos-0010
-//! @SYMTestCaseDesc            Cancel X3P when we get NotifyMeasurementReportRequestMoreAssitanceData callback from NetSim
-//! @SYMTestPriority            Critical
-//! @SYMTestActions             1. Set modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable so that
-//!                             Lbs system will ask for more assistance data to get position
-//!                             2. Call TransmitPostion
-//!                             3. Wait for NotifyMeasurementReportRequestMoreAssitanceData callback from NetSim
-//!                             4. Call CancelTransmitPosition() to cancel X3P
-//! @SYMTestExpectedResults     No panic. X3P request completes with KErrNone or KErrCancel in CActive::Cancel()
-//! @SYMTestType                CIT
-//! @SYMTestStatus              3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos 
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Cancel c:\testdata\configs\sflbsx3pcancelrefpos.ini LBS-X3P-Cancel-0010
-
-END_TESTCASE SFLBS-X3P-CancelRefPos-0010
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3pconflict.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1241 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-CONFLICT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	MOLR and X3P(Push) 		//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0001
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0001
-//!@SYMTestCaseDesc			MoLr when X3P(Push) is called at RegisterLcsMolr
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Wait for RegisterLcsMolr and then Request X3P(Push)
-//!							3. Verify that X3P(Push) completes and MoLr cancelled
-//!
-//!@SYMTestExpectedResults	MoLr request is cancelled and X3P(Push) request completes.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0002
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0001
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0002
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0002
-//!@SYMTestCaseDesc			MoLr when X3P(Push) is called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Wait for ProcessMeasurementControlLocation and then Request X3P(Push)
-//!							3. Verify that X3P(Push) completes and MoLr cancelled
-//!
-//!@SYMTestExpectedResults	MoLr request is cancelled and X3P(Push) request completes.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0003
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0002
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0003
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0003
-//!@SYMTestCaseDesc			MoLr when X3P(Push) is called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Wait for ProcessMeasurementReportLocation and then Request X3P(Push)
-//!							*******3. Verify that X3P(Push) completes and MoLr cancelled
-//!
-//!@SYMTestExpectedResults	*******MoLr request is cancelled and X3P(Push) request completes.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0004
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0003
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0004
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0004
-//!@SYMTestCaseDesc			MoLr when X3P(Push) is called at FacilityLcsMoLr
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Wait for FacilityLcsMoLr and then Request X3P(Push)
-//!							******3. Verify that X3P(Push) completes and MoLr cancelled
-//!
-//!@SYMTestExpectedResults	******MoLr request is cancelled and X3P(Push) request completes.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0005
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0004
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	MOLR and X3P(Timer)		//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0005
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0005
-//!@SYMTestCaseDesc			MoLr when X3P(Timer) is called at RegisterLcsMolr
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Wait for RegisterLcsMolr notifiction and then Request X3P(Timer)
-//!							3. Verify that X3P(Timer) is queued and MoLr completes before X3P(Timer)
-//!
-//!@SYMTestExpectedResults	MoLr request is completed before X3P(Timer) request.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0012
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0005
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Push) and X3P(Timer)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0006
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0006
-//!@SYMTestCaseDesc			X3P(Push) and X3P(Timer) are called at same time.
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Push).
-//!							4. On 2nd sub-session, request X3P(Timer).
-//!							5. Wait for requests to complete.
-//!							6. Verify that X3P(Push) completes before X3P(Timer)
-//!
-//!@SYMTestExpectedResults	X3P(Push) completes before X3P(Timer) request.
-//!							Locations reported and received match what test-module sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0021
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0006
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0007
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0007
-//!@SYMTestCaseDesc			X3P(Push) when X3P(Timer) is called at RegisterLcsMolr
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Push).
-//!							4. Wait for RegisterLcsMoLr notification from netsim and then on 2nd sub-session, request X3P(Timer).
-//!							5. Wait for requests to complete.
-//!							6. Verify that X3P(Push) completes before X3P(Timer)
-//!
-//!@SYMTestExpectedResults	X3P(Push) request is completed before X3P(Timer) request.
-//!							Locations reported and received match what test-module sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0022
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0007
-
-
-////////////////////////////////////////////////////////////////////////////
-////////////////       X3P(Push) and MTLR        //////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0008
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0008
-//!@SYMTestCaseDesc			X3P(Push) and MTLR are called at same time
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Request MTLR
-//!							4. Verify that X3P(Push) completes and MTLR is cancelled
-//!
-//!@SYMTestExpectedResults	X3P(Push) request is completed and MTLR is cancelled.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0031
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0008
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0009
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0009
-//!@SYMTestCaseDesc			X3P(Push) when MTLR is called at RegisterLcsMolr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for RegisterLcsMolr notifiction and then Request MTLR
-//!							4. Verify that X3P(Push) completes and MTLR canceled
-//!
-//!@SYMTestExpectedResults	X3P(Push) request is completed and MTLR is cancelled.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0032
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0009
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0010
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0010
-//!@SYMTestCaseDesc			X3P(Push) when MTLR is called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for ProcessMeasurementReportLocation notifiction and then Request MTLR
-//!							4. Verify that X3P(Push) completes and MTLR canceled
-//!
-//!@SYMTestExpectedResults	*****TBD
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0034
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0010
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0011
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0011
-//!@SYMTestCaseDesc			X3P(Push) when MTLR is called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for ReleaseLcsMoLr notifiction and then Request MTLR
-//!							4. Verify that X3P(Push) completes and then MTLR completes
-//!
-//!@SYMTestExpectedResults	Both request are completed - First X3P(Push) and then MTLR
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0035
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0011
-
-
-/////////////////////////////////////////////////////////////////////////////
-//////////////////     X3P(Push) and E-MTLR     //////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0012
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0012
-//!@SYMTestCaseDesc			X3P(Push) when E-MTLR is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for RegisterLcsMoLr notification and then request Request E-MTLR
-//!							4. Verify that both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0042
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0012
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0013
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0013
-//!@SYMTestCaseDesc			X3P(Push) when E-MTLR is called at MeasurementControlLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for MeasurementControlLocation notification and then request Request E-MTLR
-//!							4. Verify that both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0043
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0013
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0014
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0014
-//!@SYMTestCaseDesc			X3P(Push) when E-MTLR is called at MeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for MeasurementReportLocation notification and then request Request E-MTLR
-//!							4. Verify that both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Push)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0044
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0014
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0015
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0015
-//!@SYMTestCaseDesc			X3P(Push) when E-MTLR is called at ReleaseLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Push)
-//!							3. Wait for ReleaseLcsMoLr notification and then request Request E-MTLR
-//!							4. Verify that both requests complete and X3P(Push) completes before E-MTLR
-//!
-//!@SYMTestExpectedResults	both requests complete and X3P(Push) completes before E-MTLR
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0045
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0015
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Menu) and X3P(Push)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0016
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0016
-//!@SYMTestCaseDesc			X3P(Menu) when X3P(Push) called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Menu).
-//!							4. Wait for ProcessMeasurementControlLocation notification and then on 2nd sub-session, request X3P(Push).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	X3P(Menu) should be cancelled and X3P(Push) will complete successfully
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0053
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0016
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0017
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0017
-//!@SYMTestCaseDesc			X3P(Menu) when X3P(Push) called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Menu).
-//!							4. Wait for ProcessMeasurementReportLocation notification and then on 2nd sub-session, request X3P(Push).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	X3P(Menu) completes and then X3P(Push) completes
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0054
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0017
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Menu) and X3P(Timer)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0018
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0018
-//!@SYMTestCaseDesc			X3P(Menu) when X3P(Timer) is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Menu).
-//!							4. Wait for RegisterLcsMoLr notification and then on 2nd sub-session, request X3P(Timer).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	X3P(Timer) is queued and X3P(Menu) should complete first and then X3P(Timer) request completes.
-//!							Locations reported and received match what test-module sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0062
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0018
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Menu) and MTLR	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0019
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0019
-//!@SYMTestCaseDesc			X3P(Menu) when MTLR is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for RegisterLcsMoLr and then request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Menu) completes and MTLR is cancelled
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0072
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0019
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0020
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0020
-//!@SYMTestCaseDesc			X3P(Menu) when MTLR is called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for ProcessMeasurementReportLocation notification and then Request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Menu) completes and MTLR is cancelled
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0074
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0020
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0021
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0021
-//!@SYMTestCaseDesc			X3P(Menu) when MTLR is called at RelaseLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for RelaseLcsMoLr notification and then Request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests complete - first X3P(Menu) and MTLR
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0075
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0021
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Menu) and E-MTLR		//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-START_TESTCASE SFLBS-X3P-Conflict-0022
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0022
-//!@SYMTestCaseDesc			X3P(Menu) when E-MTLR is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for RegisterLcsMoLr and then Request E-MTLR
-//!							4. Wait for Requests to complete
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Menu)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0082
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0022
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0023
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0023
-//!@SYMTestCaseDesc			X3P(Menu) when E-MTLR is called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for ProcessMeasurementControlLocation and then request E-MTLR
-//!							4. Wait for Requests to complete
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Menu)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0083
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0023
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0024
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0024
-//!@SYMTestCaseDesc			X3P(Menu) when E-MTLR called at ProcessMeasureReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for ProcessMeasurementReportLocation and Request E-MTLR
-//!							4. Wait for Requests to complete
-//!
-//!@SYMTestExpectedResults	both requests complete and E-MTLR completes before X3P(Menu)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0084
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0024
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0025
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0025
-//!@SYMTestCaseDesc			X3P(Menu) when E-MTLR called at ReleaseLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Menu)
-//!							3. Wait for ReleaseLcsMoLr and Request E-MTLR
-//!							4. Wait for Requests to complete
-//!
-//!@SYMTestExpectedResults	both requests complete and X3P(Menu) completes before E-MTLR
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0085
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0025
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Timer) and X3P(Push)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-START_TESTCASE SFLBS-X3P-Conflict-0026
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0026
-//!@SYMTestCaseDesc			X3P(Timer) when X3P(Push) called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Timer).
-//!							4. Wait for ProcessMeasurementControlLocation notification and then on 2nd sub-session, request X3P(Push).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	X3P(TImer) request would be queued and X3P(Push) will finish before X3P(Timer)
-//!							Locations reported and received match what test-module sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0093
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0026
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0027
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0027
-//!@SYMTestCaseDesc			X3P(Timer) when X3P(Push) called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Timer).
-//!							4. Wait for ProcessMeasurementReportLocation notification and then on 2nd sub-session, request X3P(Push).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	both requests complete and X3P(Timer) complets before X3P(Push)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0094
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0027
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Timer) and X3P(Timer)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-START_TESTCASE SFLBS-X3P-Conflict-0028
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0028
-//!@SYMTestCaseDesc			X3P(Timer) when X3P(Timer) is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!							3. On 1st sub-session, request X3P(Timer).
-//!							4. Wait for RegisterLcsMoLr notification and then on 2nd sub-session, request X3P(Timer).
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	The first X3P(Timer) request should complete before second X3P(Timer) request.
-//!							Locations reported and received match what test-module sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0102
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0028
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Timer) and MTLR	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-START_TESTCASE SFLBS-X3P-Conflict-0029
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0029
-//!@SYMTestCaseDesc			X3P(Timer) when MTLR is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for RegisterLcsMoLr and then Request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Timer) should complete successfully and MTLR request would be cancelled
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0112
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0029
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0030
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0030
-//!@SYMTestCaseDesc			X3P(Timer) when MTLR is called at MeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for MeasurementReportLocation and then Request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Timer) should complete successfully and MTLR request would be cancelled
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0114
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0030
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0031
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0031
-//!@SYMTestCaseDesc			X3P(Timer) when MTLR is called at ReleaseLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for ReleaseLcsMoLr and then Request MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Timer) should complete successfully and then MTLR should complete
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0115
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0031
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////	X3P(Timer) and E-MTLR		//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0032
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0032
-//!@SYMTestCaseDesc			X3P(Timer) when E-MTLR is called at RegisterLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for RegisterLcsMoLr and then Request E-MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests complete - First E-MTLR and then X3P(Timer)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0122
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0032
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0033
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0033
-//!@SYMTestCaseDesc			X3P(Timer) when E-MTLR is called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for ProcessMeasurementControlLocation and then Request E-MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests complete - First E-MTLR and then X3P(Timer)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0123
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0033
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0034
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0034
-//!@SYMTestCaseDesc			X3P(Timer) when E-MTLR is called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for ProcessMeasurementReportLocation and then Request E-MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests complete - First E-MTLR and then X3P(Timer)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0124
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0034
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0035
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0035
-//!@SYMTestCaseDesc			X3P(Timer) when E-MTLR is called at ReleaseLcsMoLr
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P(Timer)
-//!							3. Wait for ReleaseLcsMoLr and then Request E-MTLR
-//!							4. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests complete - First X3P(Timer) and then E-MTLR
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0125
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-END_TESTCASE SFLBS-X3P-Conflict-0035
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////		MTLR and X3P(Push)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0036
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0036
-//!@SYMTestCaseDesc			MTLR when X3P(Push) called at ReleaseLcsLocation
-//!
-//!@SYMTestActions			1. Request MTLR
-//!							2. Wait for ReleaseLcsLocation and then Request X3P(Push)
-//!							3. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	MTLR would be cancelled and X3P(Push) would complete successfully.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0133
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0036
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0037
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0037
-//!@SYMTestCaseDesc			MTLR when X3P(Push) called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Request MTLR
-//!							2. Wait for ProcessMeasurementControlLocation and then Request X3P(Push)
-//!							3. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	MTLR would be cancelled and X3P(Push) would complete successfully.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0134
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0037
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0038
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0038
-//!@SYMTestCaseDesc			MTLR when X3P(Push) called at ProcessMeasurementReportLocation
-//!
-//!@SYMTestActions			1. Request MTLR
-//!							2. Wait for ProcessMeasurementReportLocation and then Request X3P(Push)
-//!							3. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	Both requests should complete - first MTLR and then X3P(Push)
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0135
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0038
-
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////		MTLR and X3P(Timer)	//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0039
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0039
-//!@SYMTestCaseDesc			MTLR when X3P(Timer) is called at RegisterLcsLocation
-//!
-//!@SYMTestActions			1. Request MTLR
-//!							2. Wait for RegisterLcsLocation and then Request X3P(Timer)
-//!							3. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Timer) would be queued and MTLR would finish first and then X3P(TImer) would complete.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0143
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0039
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0040
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0040
-//!@SYMTestCaseDesc			MTLR when X3P(Timer) is called at ProcessMeasurementControlLocation
-//!
-//!@SYMTestActions			1. Request MTLR
-//!							2. Wait for ProcessMeasurementControlLocation and then Request X3P(Timer)
-//!							3. Wait for requests to complete
-//!
-//!@SYMTestExpectedResults	X3P(Timer) would be queued and MTLR would finish first and then X3P(TImer) would complete.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-0144
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0040
-
-//////////////////////////////////////////////////////////////////////////////
-/////////////////		Other Conflicts		//////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0041
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0041
-//!@SYMTestCaseDesc			MO-LR pre-empted by EMERGENCY NI-LR
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request X3P
-//!							3. Ask NetSim to send a network induced emergency request
-//!							4. Verify that emergency location is sent to network (Notification from NetSim) before the X3P request completes (RunL_TransmitPositionResult())
-//!
-//!@SYMTestExpectedResults	X3P request is queued until after SOS request completes and then completes successfully
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-1001
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0041
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0042
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0042
-//!@SYMTestCaseDesc			MO-LR pre-empted by EMERGENCY NI-LR
-//!
-//!@SYMTestActions			1. Configure test a-gps with a min response time (so X3P doesn't complete before emergency request received)
-//!							2. Request multiple X3Ps (2?) with different priorities.
-//!							3. Ask NetSim to send a network induced emergency request
-//!							4. Verify that emergency location is sent to network (Notification from NetSim) before the X3P request completes (RunL_TransmitPositionResult())
-//!
-//!@SYMTestExpectedResults	X3P requests are queued until after SOS request completes and then complete successfully in priority order
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-1002
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-1002
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0042
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0043
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0043
-//!@SYMTestCaseDesc			Two X3P requests from same sub-session object.
-//!
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!							2. Open a sub-session (RlbsTransnitPosition objects)
-//!							3. Request X3P(Push) or any.
-//!							4. Request X3P(Timer) or any.
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	*****TBD
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-1003
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0043
-
-
-START_TESTCASE SFLBS-X3P-Conflict-0044
-
-//!@SYMTestCaseID			SFLBS-X3P-Conflict-0044
-//!@SYMTestCaseDesc			MoLr, X3P and MTLR at same time
-//!
-//!@SYMTestActions			1. Request MoLr
-//!							2. Request X3P(any)
-//!							3. Request MTLR
-//!							5. Wait for requests to complete.
-//!
-//!@SYMTestExpectedResults	*****TBD
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Conflict c:\testdata\configs\sflbsx3pconflict.ini LBS-X3P-Conflict-1004
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
-END_TESTCASE SFLBS-X3P-Conflict-0044
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 LbsMTLRTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3popenclose.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,251 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-OPENCLOSE
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-//Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt 
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-START_TESTCASE SFLBS-X3P-OpenClose-0001
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0001
-//!@SYMTestCaseDesc			Connect multiple clients to  Transmit Position server
-//!					
-//!@SYMTestActions			1. Connect to multiple servers
-//!							3. Disconnect from all servers
-//!					
-//!@SYMTestExpectedResults	Connect and Closes all complete successfully. 
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-ConnectClose-0001
-
-END_TESTCASE SFLBS-X3P-OpenClose-0001
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0002
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0002
-//!@SYMTestCaseDesc			Connect multiple clients to  Transmit Position server
-//!					
-//!@SYMTestActions			1. Connect to transmit Position Server
-//!							3. Close the server
-//!					
-//!@SYMTestExpectedResults	Connect and Close should complete successfully. 
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-ConnectClose-0002
-
-END_TESTCASE SFLBS-X3P-OpenClose-0002
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0003
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0003
-//!@SYMTestCaseDesc			Connect multiple clients to  Transmit Position server
-//!					
-//!@SYMTestActions			1. Connect to transmit Position Server
-//!							2. Connect to the same server again
-//!					
-//!@SYMTestExpectedResults	Second Connect() should panic. 
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP !PanicCode=5 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-ConnectClose-0003
-
-END_TESTCASE SFLBS-X3P-OpenClose-0003
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0004
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0004
-//!@SYMTestCaseDesc			Create multiple transmit server sub-sessions
-//!					
-//!@SYMTestActions			1. Connect to server 
-//!							2. create multiple sessions
-//!							3. Close all subsession and then server
-//!					
-//!@SYMTestExpectedResults	All open close should work fine
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0001
-
-END_TESTCASE SFLBS-X3P-OpenClose-0004
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0005
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0005
-//!@SYMTestCaseDesc			Create multiple transmit server sub-sessions
-//!					
-//!@SYMTestActions			1.Connect to server 
-//!							2.Create a single RLbsTransmitPosition objects and open a sub-session on it
-//!							3.Attempt to open the sub-session again.
-//!					
-//!@SYMTestExpectedResults	Second open() panics 
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP !PanicCode=5 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0002 
-
-END_TESTCASE SFLBS-X3P-OpenClose-0005
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0006
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0006
-//!@SYMTestCaseDesc			Disconnect from Transmit Position server while there is a sub-session open
-//!					
-//!@SYMTestActions			1.RLbsTransmitPositionServer::Connect()
-//!							2.RLbsTransmitPosition::Open()
-//!							3.RLbsTransmitPositionServer::Close()
-//!					
-//!@SYMTestExpectedResults	Close should be fine ().
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0003
-
-END_TESTCASE SFLBS-X3P-OpenClose-0006
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0007
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0007
-//!@SYMTestCaseDesc			Multiple clients and multiple sub-sessions per client
-//!					
-//!@SYMTestActions			1.Create multiple RLbsTransmitPositionServer objects and connect to them
-//!					 		   RLbsTransmitPositionServer::Connect()
-//!							2.For each connection, create multiple sub-sessions (RLbsTransmitPosition objects) and open them:
-//!					  		   RLbsTransmitPosition::Open()
-//!							3.Close all sub-sessions and disconnect from all servers:
-//!					  		  RLbsTransmitPositionServer::Close()
-//!					
-//!@SYMTestExpectedResults	No panics/errors
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0004
-
-END_TESTCASE SFLBS-X3P-OpenClose-0007
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0008
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0008
-//!@SYMTestCaseDesc			Do not connect to server and try to open session
-//!					
-//!@SYMTestActions			1. Create a server object but do not connect to server
-//!					 		2. Try to open a session
-//!					
-//!@SYMTestExpectedResults	Opening session should panic
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP !PanicCode=6 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0005
-
-END_TESTCASE SFLBS-X3P-OpenClose-0008
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0009
-
-//!@SYMTestCaseID			SFLBS-X3P-OpenClose-0009
-//!@SYMTestCaseDesc			Closing session without opening it
-//!					
-//!@SYMTestActions			1. Create a RLbsTransmitPosition object but do not open session
-//!					 		2. Try to close session with this object
-//!					
-//!@SYMTestExpectedResults	--TBD
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-OpenClose-0006
-
-END_TESTCASE SFLBS-X3P-OpenClose-0009
-
-
-START_TESTCASE SFLBS-X3P-OpenClose-0010
-
-//!@SYMTestCaseID		SFLBS-X3P-OpenClose-0010
-//!@SYMTestCaseDesc		Get the version of Transmit Position server
-//!					
-//!@SYMTestActions		1. Connect to server
-//!						2. Get the version of server
-//!					
-//!@SYMTestExpectedResults	Should return valid version
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_OpenClose c:\testdata\configs\sflbsx3popenclose.ini LBS-X3P-Version-0001
-
-END_TESTCASE SFLBS-X3P-OpenClose-0010
-
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmit.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,720 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-TRANSMIT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-// Delete lbs log
-RUN_UTILS DeleteFile c:\private\101f401d\Logdbu.dat
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module and network reg status txt file to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini  
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0001
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0001
-//!@SYMTestCaseDesc			Request Transmit to third party with timeout value as specified by profile
-//!					
-//!@SYMTestActions			1. Configure gps-test-module to respond after the specified timeout.
-//!					2. Change admin settings (use KLbsSettingQualityProfileTransmitLocate and set valid profile Id) to allow X3P uses quality profile and wait for this to propagate (verify). 
-//!                                     3. Request to send current position to third party 
-//!					4. Wait for request to complete
-//!					5. Verify request completes with timeout
-//!					6. verify time difference between position requested time and received time match with maxfixtime in quality profile ini 
-//!                                     7. Verify request is logged with all appropriate details (requestor, recipient, outcome, position).
-//!					
-//!@SYMTestExpectedResults		Request completes with KErrTimeout
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-Profile-0033 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-Profile-0033 
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-
-END_TESTCASE SFLBS-X3P-Transmit-0001
-
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0002
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0002
-//!@SYMTestCaseDesc			Request Transmit to third party with timeout
-//!					
-//!@SYMTestActions			1. Configure gps-test-module to respond after the specified timeout.
-//!					2. Request to send current position to third party having set the timeout option with TLbsTransmitPositionOptions::SetTimeOut(), and then RLbsTransmitPosition::SetTransmitOptions()
-//!					3. Call GetTransmitOptions() and verify the returned time matches the one just set.
-//!					4. Wait for request to complete
-//!					5. Verify request completes with timeout
-//!					6. Verify request is logged with all appropriate details (requestor, recipient, outcome, position).
-//!					
-//!@SYMTestExpectedResults		Request completes with KErrTimeout
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0001 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0001 
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-
-END_TESTCASE SFLBS-X3P-Transmit-0002
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0003
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0003
-//!@SYMTestCaseDesc			Attempt to set an invalid timeout
-//!					
-//!@SYMTestActions			1. Call TLbsTransmitPositionOptions::SetTimeOut(), passing in an invalid timeout (negative number, say)
-//!					
-//!@SYMTestExpectedResults		SetTimeout() will panic -12.
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=12 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0002
-
-END_TESTCASE SFLBS-X3P-Transmit-0003
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0004
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0004
-//!@SYMTestCaseDesc		Default Timout when creating TLbsTransmitPositionOptions
-//!					
-//!@SYMTestActions		1. Create object of TLbsTransmitPositionOptions but do not pass any object (so that default constructor is called)
-//!					2. Check for the timout set
-//!
-//!@SYMTestExpectedResults	Default Timeout to set to 0
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0003
-RUN_TEST_STEP 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0003
-
-END_TESTCASE SFLBS-X3P-Transmit-0004
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0005
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0005
-//!@SYMTestCaseDesc		Setting negative timout value to TLbsTransmitPositionOptions constructor 	
-//!					
-//!@SYMTestActions		1. Create object of TLbsTransmitPositionOptions by assigning negative value for timeout in constructor
-//!
-//!@SYMTestExpectedResults	The request should cause Panic with EPositionBadTime (12)
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0004 
-RUN_TEST_STEP !PanicCode=12 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0004
-
-END_TESTCASE SFLBS-X3P-Transmit-0005
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0006
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0006
-//!@SYMTestCaseDesc			Request two X3Ps, then Transmit request for one at Connected callback from Netsim
-//!					
-//!@SYMTestActions			1. Set a-gps time out to 70 seconds
-//!						2. Set X3P Timeout to 20 Secondos
-//!						3. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!						4. Wait for the request to complete
-//!					 
-//!@SYMTestExpectedResults	NotifyMeasurementControlFailure should be called with KErrTimedOut
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0005 
-RUN_TEST_STEP 180 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Options-0005
-
-END_TESTCASE SFLBS-X3P-Transmit-0006
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0007
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0007
-//!@SYMTestCaseDesc			Transmit current position with default options (no SetTransmitOptions() call 
-//!					and quality profile left as default) to a valid destination.
-//!					This case also tests the logging API by verifying the relevant logs are written, can be read
-//!					and as are expected. An assistance data log, an external log and an x3p log.
-//!					
-//!@SYMTestActions			1. Open a session with the transmit position server
-//!					2. Create a sub-session
-//!					3. Request current position be sent to a third party � RlbsTransnitPosition::TransmitPosition() 
-//!					   giving a valid destination Id (email/phone number).
-//!					4. Wait for request to complete.
-//!					5. Verify that the request completed successfully and that the transmitted info (TPositionInfo& supplied 
-//!					   with request complete) contains the position info we expected it to 
-//!					   (whatever test-gps-module was configured to send).
-//!					6. Verify that the position info received by the network also matches above (need NetSim to allow this)
-//!					7. Verify that the request was logged. Details logged should include requesting application, remote recipient, //!					   outcome of request and position info
-//!					
-//!@SYMTestExpectedResults		Request completes successfully (KErrNone)
-//!					Transmitted info matches (we can use the test-gps-module and verify that location transmitted is the same)
-//!					Can we check that the position info is actually received at the supplied email address � only manually, when we have full system available (ETEL)?
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-//!ISSUE: Does network simulator allow us to see what position was sent to the network?
-//!       Lrm: look into: how does the initiating app receive notification that the location was sent and detail of that location?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ClearLog
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0001
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0001
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_VerifyLogInfo c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0001
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0007
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0008
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0008
-//!@SYMTestCaseDesc			Transmit current position with default options (no SetTransmitOptions() call 
-//!					and quality profile left as default) to a valid destination.
-//!					This case also tests the logging API by verifying the relevant logs are written, can be read
-//!					and as are expected. An assistance data log, an external log and an x3p log.
-//!					
-//!@SYMTestActions			1. Open a session with the transmit position server
-//!					2. Create a sub-session
-//!					3. Request current position be sent to a third party � RlbsTransnitPosition::TransmitPosition() 
-//!					   giving a valid destination Id (email/phone number).
-//!					4. Wait for request to complete.
-//!					5. Verify that the request completed with KPositionQualityLoss as
-//!					   the position provided didn't meet the quality requirements.
-//!					6. Verify that the position info received by the network also matches above (need NetSim to allow this)
-//!					
-//!@SYMTestExpectedResults		Request completes with failure (KPositionQualityLoss)
-//!					
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Timeout-0001
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Timeout-0001
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0008
-
-START_TESTCASE SFLBS-X3P-Transmit-0009
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0009
-//!@SYMTestCaseDesc			Request transmit current position from multiple sessions.
-//!					
-//!@SYMTestActions			1. Create single client (RlbsTransnitPositionServer object)
-//!					2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!					3. Request X3P on each sub-session (can have same priorities)
-//!					4. Wait for requests to complete
-//!					
-//!@SYMTestExpectedResults		-All requests complete successfully (KErrNone).
-//!					-Locations reported and received match what gps-test-module sent.
-//!					-Details logged
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0003
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0003
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0009
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0010
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0010
-//!@SYMTestCaseDesc			Transmit current position with specified quality profile Id in admin setting .
-//!					
-//!@SYMTestActions			1. Open a session with the transmit position server
-//!					2. Create a sub-session
-//!                                     3. Configure netSim and set MAXTime to zero by calling SetQuality function
-//!                                         *Note: Ensure ntework uses qualityprofile while requesting a location.
-//!                                     4. Change admin settings (use KLbsSettingQualityProfileTransmitLocate and set valid profile Id) to allow X3P uses quality profile and wait for this to propagate (verify). 
-//!                                     5. Request current position be sent to a third party � RlbsTransnitPosition::TransmitPosition() 
-//!					   giving a valid destination Id (email/phone number).
-//!					6. Wait for request to complete.
-//!					7. Verify that the request completed successfully and that the transmitted info (TPositionInfo& supplied 
-//!					   with request complete) contains the position info we expected it to 
-//!					   (whatever test-gps-module was configured to send).
-//!					8. Verify that the position info received by the network also matches above 
-//!					9. Verify that the request was logged.
-//!					
-//!@SYMTestExpectedResults		Request completes successfully (KErrNone)
-//!					Transmitted info matches (we can use the test-gps-module and verify that location transmitted is the same)
-//!			
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
- RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0004
- RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0004
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
- END_TESTCASE SFLBS-X3P-Transmit-0010
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0011
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0011
-//!@SYMTestCaseDesc			Request X3P when gps unavailable
-//!
-//!@SYMTestActions			1. Configure test a-gps module to respond with error (gps unavailable)
-//!							2. Connect to transmit server
-//!							3. Open sub-session
-//!							4. Request to transmit position to 3rd party
-//!							5. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request completes with error
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Medium
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0006
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0006
-// AGPS disbaled so no position retuernd to verify.
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0011
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0012
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0012
-//!@SYMTestCaseDesc			Transmit to 3rd party with 'autonomous-only' mode set 
-//!
-//!@SYMTestActions			1. Set 'autonomous-only' (EGpsAutonomous) mode via admin api
-//!							2. Connect to transmit server
-//!							3. Open sub-session
-//!							4. Request to transmit position to 3rd party
-//!							5. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request completes successfully 
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Medium
-//!@SYMTestStatus			3. Released
-
-PRINT Set Autonomous Mode
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_SetAutonomousMode
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0007
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0007
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0012
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0013
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0013
-//!@SYMTestCaseDesc			Request X3P when X3P turned off in admin settings
-//!
-//!@SYMTestActions			1. ETransmitLocateOff for KSettingHomeTransmitLocate
-//!							2. Request transmit to 3rd party
-//!							3. Monitor NetSim notifications to make sure that MOLR is not sent to network
-//!							4. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request should fail KErrAccessDenied. No location sent.
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0008
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0008
-// X3P off, no location to verify
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0013
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0014
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0014
-//!@SYMTestCaseDesc			Request X3P when self-locate turned off in admin settings.
-//!
-//!@SYMTestActions			1. ESelfLocateOff for KSettingHomeTransmitLocate
-//!							2. Request transmit to 3rd party
-//!							3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should succeed
-//!							Location is sent to 3P
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0009
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0009
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0014
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0015
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0015
-//!@SYMTestCaseDesc			Request X3P when ExternalLocateOff set in admin settings.
-//!
-//!@SYMTestActions			1. EExternalLocateOff for KSettingHomeTransmitLocate
-//!							2. Request transmit to 3rd party
-//!							3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should complete successfully and details appear in log
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0010
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0010
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0015
-
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0016
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0016
-//!@SYMTestCaseDesc			Request X3P when self-locate turned off in admin settings.
-//!
-//!@SYMTestActions			1. ESelfLocateOff for KSettingRoamingTransmitLocate
-//!							2. Request transmit to 3rd party
-//!							3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should succeed
-//!							Location is sent to 3P
-//!							
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0012
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0012
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0016
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0017
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0017
-//!@SYMTestCaseDesc			Request X3P when ExternalLocateOff set in admin settings.
-//!
-//!@SYMTestActions			1. EExternalLocateOff for KSettingRoamingTransmitLocate
-//!							2. Request transmit to 3rd party
-//!							3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should complete successfully and details appear in log
-//!							
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0013
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0013
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-Transmit-0017
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0018
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0018
-//!@SYMTestCaseDesc		SetTimeout to Zero and call X3P transmit position	
-//!					
-//!@SYMTestActions		1. SetTimeout to zero
-//!					2. Set a-gps delay to 20 seconds so that A-GPS would reply after this much time.
-//!					2. Call X3P TransmitPosition to any destination with any priority
-//!
-//!@SYMTestExpectedResults	The request should complete fine as Timeout should be disabled
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0014
-RUN_TEST_STEP 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0014
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-Transmit-0018
-
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0019
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0019
-//!@SYMTestCaseDesc		Setting Network Not available after RegisterLcsMoLr callback	
-//!					
-//!@SYMTestActions		1. Call X3P Transmit Position
-//!					2. Once NotifyRegisterLcsMoLr is received, set NetSim SetResponseError to KNetSimNetworkNotAvailable
-//!					   so that NetSim blocks rest of the callbacks.
-//!					3. Wait for the request to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion should complete with KErrDisconneted.
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0015
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0015
-
-END_TESTCASE SFLBS-X3P-Transmit-0019
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0020
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0020
-//!@SYMTestCaseDesc		Setting Network Not available after NotifyMeasurementControlLocation callback	
-//!					
-//!@SYMTestActions		1. Call X3P Transmit Position
-//!					2. Once NotifyMeasurementControlLocation is received, set NetSim SetResponseError to KNetSimNetworkNotAvailable
-//!					   so that NetSim blocks rest of the callbacks.
-//!					3. Wait for the request to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion should complete with KErrDisconneted.
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0016
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0016
-
-END_TESTCASE SFLBS-X3P-Transmit-0020
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0021
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0021
-//!@SYMTestCaseDesc		Setting X3P to look for more assistance data to get position	
-//!					
-//!@SYMTestActions		1. Set modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable so that
-//!					   Lbs system will ask for more assistance data to get position
-//!					2. Call TransmitPostion
-//!					3. Wait for the requests to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion request should complete fine and we should get callback about requesting more assistance data
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0017
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0017
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-Transmit-0021
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0022
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0022
-//!@SYMTestCaseDesc		X3P TransmitPostion is called after NotifyMeasurementReportLocation	
-//!					
-//!@SYMTestActions		1. Call TransmitPostion
-//!					2. when we receive TransmitPosition completion callback, check for NotifyMeasurementReportLocation netsim callback
-//!
-//!@SYMTestExpectedResults	NotifyMeasurementReportLocation should have been called before TransmitPosition completion
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0018
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0018
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-Transmit-0022
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0023
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0023
-//!@SYMTestCaseDesc			Description was missing
-//!
-//!@SYMTestActions			1. Connect to transmit server
-//!							2. Open sub-session
-//!							3. TransmitPosition() to invalid destination (bad phone number/email address)
-//!							4. Wait for request to complete
-//!							5. Verify logged
-//!							
-//!@SYMTestExpectedResults	Request fails with� KErrNotFound?
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0030
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0030
-// Bad destination, no position returned to verify
-
-END_TESTCASE SFLBS-X3P-Transmit-0023
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0024
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0024
-//!@SYMTestCaseDesc			Request X3P when we have no server connection
-//!
-//!@SYMTestActions			1. RLbsTransmitPositionServer server
-//!					2. RLbsTransmitPosition sub-session
-//!					3. Sub-session.TransmitPosition()
-//!							
-//!@SYMTestExpectedResults	Panics with "EPositionServerBadHandle - 6
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=6 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0031
-
-END_TESTCASE SFLBS-X3P-Transmit-0024
-
-
-START_TESTCASE SFLBS-X3P-Transmit-0025
-
-//!@SYMTestCaseID			SFLBS-X3P-Transmit-0025
-//!@SYMTestCaseDesc			Request X3P when sub-session is not open
-//!
-//!@SYMTestActions			1. Create a sub-session, but don't open it
-//!							2. RLbsTransmitPositionServer server
-//!							3. server.Connect()
-//!							4. RLbsTransmitPosition sub-session
-//!							5. Sub-session.TransmitPosition()
-//!							
-//!@SYMTestExpectedResults	Panics with "EPositionServerBadHandle - 6
-//!
-//!
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=6 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0032
-
-END_TESTCASE SFLBS-X3P-Transmit-0025
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-
-// Re-select the profile ini
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitconcurrent.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-TRANSMITCONCURRENT
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsX3PTestServer
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-START_TESTCASE SFLBS-X3P-TransmitConcurrent-0001
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitConcurrent-0001
-//!@SYMTestCaseDesc			Request transmit current position from multiple clients.
-//!					
-//!@SYMTestActions			1. Create multiple clients (RlbsTransnitPositionServer objects) in separate processes (concurrent test steps in TEF).
-//!					2. Open a sub-session on each client
-//!					3. Request X3P on each sub-session (priorities can be the same on each)
-//!					4. Wait for requests to complete
-//!					
-//!@SYMTestExpectedResults		-All requests complete successfully (KErrNone).
-//!					-Locations reported and received match what gps-test-module sent.
-//!					-Details (timestamp, sending app, recipient, position) of all requests are logged
-//!					
-//!@SYMTestType				CIT
-//!@SYMTestPriority			High
-//!@SYMTestStatus			3. Released
-
-CONCURRENT
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0002
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0002
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmit.ini LBS-X3P-Transmit-0002
-CONSECUTIVE
-
-END_TESTCASE SFLBS-X3P-TransmitConcurrent-0001
-
-
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitconcurrentrefpos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-TRANSMITCONCURRENTREFPOS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsX3PTestServer
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-START_TESTCASE SFLBS-X3P-TransmitConcurrentRefPos-0001
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitConcurrentRefPos-0001
-//!@SYMTestCaseDesc		Request transmit current position from multiple clients.
-//!					
-//!@SYMTestActions		1. Create multiple clients (RlbsTransnitPositionServer objects) in separate processes (concurrent test steps in TEF).
-//!					2. Open a sub-session on each client
-//!					3. Request X3P on each sub-session (priorities can be the same on each)
-//!					4. Wait for requests to complete
-//!					
-//!@SYMTestExpectedResults	-All requests complete successfully (KErrNone).
-//!					-Locations reported and received match what gps-test-module sent.
-//!					-Details (timestamp, sending app, recipient, position) of all requests are logged
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-CONCURRENT
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0002
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0002
-RUN_TEST_STEP 120 SfLbsX3PTestServer LbsX3PStep_Transmit_Concurrent c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0002
-CONSECUTIVE
-
-END_TESTCASE SFLBS-X3P-TransmitConcurrentRefPos-0001
-
-
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/scripts/sflbsx3ptransmitrefpos.script	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,676 +0,0 @@
-//! @File
-//! @SYMTestSuiteName	SF-LBS-X3P-TRANSMITREFPOS
-//! @SYMScriptTestEnvironment TEF
-
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-LOAD_SUITE SfLbsX3PTestServer -SharedData
-
-PRINT Run SfLbsX3PTestServer
-PRINT
-
-// Before we start LBS, select the test A-GPS integration module to use.
-PREFIX RUN_UTILS
-	MkDir c:\private\10282253\
-	MkDir c:\private\10282253\lbs\
-	MkDir c:\private\10282253\lbs\locmods\
-	CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-        CopyFile c:\testdata\configs\lbstestprofile.ini c:\private\10282253\lbs\lbsprofile.ini
-        CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
-REMOVE_PREFIX
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin 
-RUN_TEST_STEP 030 SfLbsX3PTestServer LbsStep_StartLbs
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0001
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0001
-//!@SYMTestCaseDesc			Request Transmit to third party with timeout value as specified by profile
-//!					
-//!@SYMTestActions			1. Configure gps-test-module to respond after the specified timeout.
-//!					2. Change admin settings (use KLbsSettingQualityProfileTransmitLocate and set valid profile Id) to allow X3P uses quality profile and wait for this to propagate (verify). 
-//!                                     3. Request to send current position to third party 
-//!					4. Wait for request to complete
-//!					5. Verify request completes with timeout
-//!					6. verify time difference between position requested time and received time match with maxfixtime in quality profile ini 
-//!                                     7. Verify request is logged with all appropriate details (requestor, recipient, outcome, position).
-//!					
-//!@SYMTestExpectedResults		Request completes with KErrTimeout
-//!@SYMTestType				CIT
-//!@SYMTestPriority			Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Profile-0033 
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Profile-0033 
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0001
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0002
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0002
-//!@SYMTestCaseDesc		Request Transmit to third party with timeout
-//!					
-//!@SYMTestActions		1. Configure gps-test-module to respond after the specified timeout.
-//!					2. Request to send current position to third party having set the timeout option with TLbsTransmitPositionOptions::SetTimeOut(), and then RLbsTransmitPosition::SetTransmitOptions()
-//!					3. Call GetTransmitOptions() and verify the returned time matches the one just set.
-//!					4. Wait for request to complete
-//!					5. Verify request completes with timeout
-//!					6. Verify request is logged with all appropriate details (requestor, recipient, outcome, position).
-//!					
-//!@SYMTestExpectedResults	Request completes with KErrTimeout
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Options-0001 
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0002
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0003
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0003
-//!@SYMTestCaseDesc		Attempt to set an invalid timeout
-//!					
-//!@SYMTestActions		1. Call TLbsTransmitPositionOptions::SetTimeOut(), passing in an invalid timeout (negative number, say)
-//!					
-//!@SYMTestExpectedResults	SetTimeout() will panic -12.
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=12 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Options-0002
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0003
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0004
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0004
-//!@SYMTestCaseDesc		Default Timout when creating TLbsTransmitPositionOptions
-//!					
-//!@SYMTestActions		1. Create object of TLbsTransmitPositionOptions but do not pass any object (so that default constructor is called)
-//!					2. Check for the timout set
-//!
-//!@SYMTestExpectedResults	Default Timeout to set to 0
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Options-0003
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0004
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0005
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0005
-//!@SYMTestCaseDesc		Setting negative timout value to TLbsTransmitPositionOptions constructor 	
-//!					
-//!@SYMTestActions		1. Create object of TLbsTransmitPositionOptions by assigning negative value for timeout in constructor
-//!
-//!@SYMTestExpectedResults	The request should cause Panic with EPositionBadTime (12)
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP !PanicCode=12 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Options-0004
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0005
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0006
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0006
-//!@SYMTestCaseDesc		Request two X3Ps, then Transmit request for one at Connected callback from Netsim
-//!					
-//!@SYMTestActions		1. Set a-gps time out to 70 seconds
-//!					2. Set X3P Timeout to 20 Secondos
-//!					3. Request current position be sent to a third party - RlbsTransmitPosition::TransmitPosition()
-//!					4. Wait for the request to complete
-//!					 
-//!@SYMTestExpectedResults	NotifyMeasurementControlFailure should be called with KErrTimedOut
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 180 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Options-0005
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0006
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0007
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0007
-//!@SYMTestCaseDesc		Transmit current position with default options (no SetTransmitOptions() call 
-//!					and quality profile left as default) to a valid destination.
-//!					
-//!@SYMTestActions		1. Open a session with the transmit position server
-//!					2. Create a sub-session
-//!					3. Request current position be sent to a third party � RlbsTransnitPosition::TransmitPosition() 
-//!					   giving a valid destination Id (email/phone number).
-//!					4. Wait for request to complete.
-//!					5. Verify that the request completed successfully and that the transmitted info (TPositionInfo& supplied 
-//!					   with request complete) contains the position info we expected it to 
-//!					   (whatever test-gps-module was configured to send).
-//!					6. Verify that the position info received by the network also matches above (need NetSim to allow this)
-//!					7. Verify that the request was logged. Details logged should include requesting application, remote recipient, //!					   outcome of request and position info
-//!					
-//!@SYMTestExpectedResults	Request completes successfully (KErrNone)
-//!					Transmitted info matches (we can use the test-gps-module and verify that location transmitted is the same)
-//!					Can we check that the position info is actually received at the supplied email address � only manually, when we have full system available (ETEL)?
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-//!ISSUE: Does network simulator allow us to see what position was sent to the network?
-//!       Lrm: look into: how does the initiating app receive notification that the location was sent and detail of that location?
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0001
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0007
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0008
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0008
-//!@SYMTestCaseDesc		Request transmit current position from multiple sessions.
-//!					
-//!@SYMTestActions		1. Create single client (RlbsTransnitPositionServer object)
-//!					2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-//!					3. Request X3P on each sub-session (can have same priorities)
-//!					4. Wait for requests to complete
-//!					
-//!@SYMTestExpectedResults	-All requests complete successfully (KErrNone).
-//!					-Locations reported and received match what gps-test-module sent.
-//!					-Details logged					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-	
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0003
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0003
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0008
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0009
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0009
-//!@SYMTestCaseDesc		Transmit current position with specified quality profile Id in admin setting .
-//!					
-//!@SYMTestActions		1. Open a session with the transmit position server
-//!					2. Create a sub-session
-//!                           3. Configure netSim and set MAXTime to zero by calling SetQuality function
-//!                              *Note: Ensure ntework uses qualityprofile while requesting a location.
-//!                           4. Change admin settings (use KLbsSettingQualityProfileTransmitLocate and set valid profile Id) to allow X3P uses quality profile and wait for this to propagate (verify). 
-//!                           5. Request current position be sent to a third party � RlbsTransnitPosition::TransmitPosition() 
-//!					   giving a valid destination Id (email/phone number).
-//!					6. Wait for request to complete.
-//!					7. Verify that the request completed successfully and that the transmitted info (TPositionInfo& supplied 
-//!					   with request complete) contains the position info we expected it to 
-//!					   (whatever test-gps-module was configured to send).
-//!					8. Verify that the position info received by the network also matches above 
-//!					9. Verify that the request was logged.
-//!					
-//!@SYMTestExpectedResults	Request completes successfully (KErrNone)
-//!					Transmitted info matches (we can use the test-gps-module and verify that location transmitted is the same)
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
- RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
- RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0004
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
- RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-
- END_TESTCASE SFLBS-X3P-TransmitRefPos-0009
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0010
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0010
-//!@SYMTestCaseDesc		Request X3P when gps unavailable
-//!
-//!@SYMTestActions		1. Configure test a-gps module to respond with error (gps unavailable)
-//!					2. Connect to transmit server
-//!					3. Open sub-session
-//!					4. Request to transmit position to 3rd party
-//!					5. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request completes with error
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Medium
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0006
-// AGPS disbaled so no position retuernd to verify.
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0010
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0011
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0011
-//!@SYMTestCaseDesc		Transmit to 3rd party with 'autonomous-only' mode set 
-//!
-//!@SYMTestActions		1. Set 'autonomous-only' (EGpsAutonomous) mode via admin api
-//!					2. Connect to transmit server
-//!					3. Open sub-session
-//!					4. Request to transmit position to 3rd party
-//!					5. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request completes successfully 
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Medium
-//!@SYMTestStatus			3. Released
-
-PRINT Set Autonomous Mode
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_SetAutonomousMode
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0007
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0011
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0012
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0012
-//!@SYMTestCaseDesc		Request X3P when X3P turned off in admin settings
-//!
-//!@SYMTestActions		1. ETransmitLocateOff for KSettingHomeTransmitLocate
-//!					2. Request transmit to 3rd party
-//!					3. Monitor NetSim notifications to make sure that MOLR is not sent to network
-//!					4. Wait for request to complete
-//!
-//!@SYMTestExpectedResults	Request should fail KErrAccessDenied. No location sent.
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0008
-// X3P off, no location to verify
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0012
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0013
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0013
-//!@SYMTestCaseDesc		Request X3P when self-locate turned off in admin settings.
-//!
-//!@SYMTestActions		1. ESelfLocateOff for KSettingHomeTransmitLocate
-//!					2. Request transmit to 3rd party
-//!					3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should succeed
-//!					Location is sent to 3P
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0009
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0013
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0014
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0014
-//!@SYMTestCaseDesc		Request X3P when ExternalLocateOff set in admin settings.
-//!
-//!@SYMTestActions		1. EExternalLocateOff for KSettingHomeTransmitLocate
-//!					2. Request transmit to 3rd party
-//!					3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should complete successfully and details appear in log
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0010
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0014
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0015
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0015
-//!@SYMTestCaseDesc		Request X3P when self-locate turned off in admin settings.
-//!
-//!@SYMTestActions		1. ESelfLocateOff for KSettingRoamingTransmitLocate
-//!					2. Request transmit to 3rd party
-//!					3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should succeed
-//!					Location is sent to 3P
-//!							
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0012
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0015
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0016
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0016
-//!@SYMTestCaseDesc		Request X3P when ExternalLocateOff set in admin settings.
-//!
-//!@SYMTestActions		1. EExternalLocateOff for KSettingRoamingTransmitLocate
-//!					2. Request transmit to 3rd party
-//!					3. Wait for request to complete
-//!							
-//!@SYMTestExpectedResults	Request should complete successfully and details appear in log
-//!							
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0013
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyLogInfo
-PRINT Reset Default Admin
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_ResetDefaultAdmin
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0016
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0017
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0017
-//!@SYMTestCaseDesc		SetTimeout to Zero and call X3P transmit position	
-//!					
-//!@SYMTestActions		1. SetTimeout to zero
-//!					2. Set a-gps delay to 20 seconds so that A-GPS would reply after this much time.
-//!					2. Call X3P TransmitPosition to any destination with any priority
-//!
-//!@SYMTestExpectedResults	The request should complete fine as Timeout should be disabled
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060  SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0014
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0017
-
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0018
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0018
-//!@SYMTestCaseDesc		Setting Network Not available after RegisterLcsMoLr callback	
-//!					
-//!@SYMTestActions		1. Call X3P Transmit Position
-//!					2. Once NotifyRegisterLcsMoLr is received, set NetSim SetResponseError to KNetSimNetworkNotAvailable
-//!					   so that NetSim blocks rest of the callbacks.
-//!					3. Wait for the request to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion should complete with KErrDisconneted.
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0015
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0018
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0019
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0019
-//!@SYMTestCaseDesc		Setting Network Not available after NotifyMeasurementControlLocation callback	
-//!					
-//!@SYMTestActions		1. Call X3P Transmit Position
-//!					2. Once NotifyMeasurementControlLocation is received, set NetSim SetResponseError to KNetSimNetworkNotAvailable
-//!					   so that NetSim blocks rest of the callbacks.
-//!					3. Wait for the request to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion should complete with KErrDisconneted.
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0016
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0019
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0020
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0020
-//!@SYMTestCaseDesc		Setting X3P to look for more assistance data to get position	
-//!					
-//!@SYMTestActions		1. Set modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable so that
-//!					   Lbs system will ask for more assistance data to get position
-//!					2. Call TransmitPostion
-//!					3. Wait for the requests to complete
-//!
-//!@SYMTestExpectedResults	The TransmitPostion request should complete fine and we should get callback about requesting more assistance data
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0017
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0020
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0021
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0021
-//!@SYMTestCaseDesc		X3P TransmitPostion is called after NotifyMeasurementReportLocation	
-//!					
-//!@SYMTestActions		1. Call TransmitPostion
-//!					2. when we receive TransmitPosition completion callback, check for NotifyMeasurementReportLocation netsim callback
-//!
-//!@SYMTestExpectedResults	NotifyMeasurementReportLocation should have been called before TransmitPosition completion
-//!					
-//!					
-//!@SYMTestType			CIT
-//!@SYMTestPriority		Critical
-//!@SYMTestStatus			3. Released
-
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0018
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_VerifyPosInfos
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0021
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0022
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0022
-//!@SYMTestCaseDesc			Description was missing
-//!
-//!@SYMTestActions		1. Connect to transmit server
-//!					2. Open sub-session
-//!					3. TransmitPosition() to invalid destination (bad phone number/email address)
-//!					4. Wait for request to complete
-//!					5. Verify logged
-//!							
-//!@SYMTestExpectedResults	Request fails with� KErrNotFound?
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP 010 SfLbsX3PTestServer LbsStep_InstallScheduler
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-Common
-RUN_TEST_STEP 060 SfLbsX3PTestServer LbsX3PStep_Transmit c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0030
-// Bad destination, no position returned to verify
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0022
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0023
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0023
-//!@SYMTestCaseDesc		Request X3P when we have no server connection
-//!
-//!@SYMTestActions		1. RLbsTransmitPositionServer server
-//!					2. RLbsTransmitPosition sub-session
-//!					3. Sub-session.TransmitPosition()
-//!							
-//!@SYMTestExpectedResults	Panics with "EPositionServerBadHandle - 6
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=6 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0031
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0023
-
-
-START_TESTCASE SFLBS-X3P-TransmitRefPos-0024
-
-//!@SYMTestCaseID			SFLBS-X3P-TransmitRefPos-0024
-//!@SYMTestCaseDesc		Request X3P when sub-session is not open
-//!
-//!@SYMTestActions		1. Create a sub-session, but don't open it
-//!					2. RLbsTransmitPositionServer server
-//!					3. server.Connect()
-//!					4. RLbsTransmitPosition sub-session
-//!					5. Sub-session.TransmitPosition()
-//!							
-//!@SYMTestExpectedResults	Panics with "EPositionServerBadHandle - 6
-//!
-//!
-//!@SYMTestType			CIT
-//!@SYMTestPriority		High
-//!@SYMTestStatus			3. Released
-
-RUN_TEST_STEP !PanicCode=6 060 SfLbsX3PTestServer LbsX3P_Step_Negative c:\testdata\configs\sflbsx3ptransmitrefpos.ini LBS-X3P-Transmit-0032
-
-END_TESTCASE SFLBS-X3P-TransmitRefPos-0024
-
-
-
-PRINT Stop LBS
-RUN_TEST_STEP 020 SfLbsX3PTestServer LbsStep_StopLbs
-
-// Re-select the profile ini
-RUN_UTILS DeleteFile c:\private\10282253\lbs\lbsprofile.ini
-
-// Re-select the real A-GPS integration module.
-RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini
-
-// Delete network registration status text file
-RUN_UTILS DeleteFile c:\config.txt
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pdotransmitpos.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// ao wrapper around the a-gps mgr function NotifyPositionUpdate
-// 
-//
-
-/**
- @file ctlbsx3pdotransmitpos.cpp
-*/
-
-#include <lbs/lbsx3p.h>
-
-#include "ctlbsx3pdotransmitpos.h"
-
-
-CT_LbsX3PDoTransmitPos* CT_LbsX3PDoTransmitPos::NewL(MT_LbsX3PDoTransmitPosObserver* aObserver, RLbsTransmitPosition& aPositionTransmitter)
-/**
- *	'public constructor' may leave
- */
-	{
-	CT_LbsX3PDoTransmitPos* doTransmitPos = new(ELeave)CT_LbsX3PDoTransmitPos(aObserver, aPositionTransmitter);
-	CleanupStack::PushL(doTransmitPos);
-	doTransmitPos->ConstructL();
-	CleanupStack::Pop(doTransmitPos);
-
-	return doTransmitPos;
-	}
-
-
-CT_LbsX3PDoTransmitPos::CT_LbsX3PDoTransmitPos(MT_LbsX3PDoTransmitPosObserver* aObserver, RLbsTransmitPosition& aPositionTransmitter) : CActive(EPriorityStandard), iObserver(aObserver), iPositionTransmitter(aPositionTransmitter)
-/**
- * 	Constructor - will not leave
- */
-	{
-	CActiveScheduler::Add(this); 
-	}
-
-
-void CT_LbsX3PDoTransmitPos::ConstructL()
-	{
-	iRefLocWaiter = CT_LbsX3pRefLocWaiter::NewL(iObserver);
-	}
-	
-
-CT_LbsX3PDoTransmitPos::~CT_LbsX3PDoTransmitPos()
-/**
- * 	Destructor
- */
-	{
-	Cancel();
-	delete iRefLocWaiter;
-	iPositionTransmitter.Close();
-	}
-
-void CT_LbsX3PDoTransmitPos::TransmitPosition(const TDesC& aDestinationID, TUint aTransmitPriority, TPositionInfo & aTransmittedPosInfo)
-/**
- * 	wrapper for async  function RLbsPositionUpdates::NotifyPositionUpdate(). 
- *  Will panic if there's another outstanding request.
- */
-	{
-	__ASSERT_ALWAYS(!IsActive(), User::Panic(KCT_LbsX3PDoTransmitPos, KErrInUse));
-
-	// Invoke the position update.	
-	iPositionTransmitter.TransmitPosition(aDestinationID, aTransmitPriority, iStatus, aTransmittedPosInfo);
-	SetActive();
-	}
-
-void CT_LbsX3PDoTransmitPos::TransmitPositionReportingRefLoc(const TDesC& aDestinationID, TUint aTransmitPriority, TPositionInfo & aTransmittedPosInfo)
-/**
- * 	wrapper for async  function RLbsPositionUpdates::NotifyPositionUpdate(). 
- *  Will panic if there's another outstanding request.
- */
-	{
-	__ASSERT_ALWAYS(!IsActive(), User::Panic(KCT_LbsX3PDoTransmitPos, KErrInUse));
-
-	// Invoke the position update.	
-	iPositionTransmitter.TransmitPosition(aDestinationID, aTransmitPriority, iRefLocWaiter->iStatus, iRefLocWaiter->iRefPosInfo, iStatus, aTransmittedPosInfo);
-	iRefLocWaiter->Activate();
-	SetActive();
-	}
-
-void CT_LbsX3PDoTransmitPos::DoCancel()
-	{
-	iPositionTransmitter.CancelTransmitPosition(); 
-	}
-
-void CT_LbsX3PDoTransmitPos::RunL()
-	{
-	// iStatus will contain error code
-	// async request completed. Notify caller via callback:
-	if (iObserver)
-		{
-		iObserver->MT_LbsX3PDoTransmitPosCallback(iStatus, this);
-		}
-	}
-
-TInt CT_LbsX3PDoTransmitPos::RunError(TInt aError)
-	{
-	return aError;
-	}
-
-
-
-CT_LbsX3pRefLocWaiter* CT_LbsX3pRefLocWaiter::NewL(MT_LbsX3PDoTransmitPosObserver* aObserver)
-	{
-	CT_LbsX3pRefLocWaiter* self = new(ELeave)CT_LbsX3pRefLocWaiter(aObserver);
-	CleanupStack::PushL(self);
-	self->ConstructL();
-	CleanupStack::Pop(self);
-	return self;
-	}
-
-CT_LbsX3pRefLocWaiter::CT_LbsX3pRefLocWaiter(MT_LbsX3PDoTransmitPosObserver* aObserver):CActive(EPriorityStandard),
-	iObserver(aObserver)
-	{
-	CActiveScheduler::Add(this);
-	}
-
-void CT_LbsX3pRefLocWaiter::ConstructL()
-	{
-	}
-	
-CT_LbsX3pRefLocWaiter::~CT_LbsX3pRefLocWaiter()
-	{
-	Cancel();
-	}
-	
-void CT_LbsX3pRefLocWaiter::RunL()
-	{
-	// Let the test know the returned status and the position in iRefPosInfo,
-	// which is the Reference Location if the iStatus is KErrNone.
-	if (iObserver)
-		{
-		iObserver->MT_LbsX3PDoRefPosCallback(iStatus, iRefPosInfo);
-		}
-	}
-	
-void CT_LbsX3pRefLocWaiter::DoCancel()
-	{
-	// Nothing to do. The ref loc request is cancelled when
-	// TransmitPosition is cancelled.
-	}
-
-TInt CT_LbsX3pRefLocWaiter::RunError(TInt aError)
-	{
-	return aError;
-	}
-	
-void CT_LbsX3pRefLocWaiter::Activate()
-	{
-    __ASSERT_ALWAYS(!IsActive(), User::Panic(KCT_LbsX3PDoTransmitPos, KErrInUse));
-	SetActive();	
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pdummyao.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// ao wrapper around the a-gps mgr function NotifyPositionUpdate
-// 
-//
-
-/**
- @file ctlbsx3pdummyao.cpp
-*/
-
-#include <lbs/lbsx3p.h>
-#include "ctlbsx3pdummyao.h"
-
-
-CT_LbsX3PDummyAO* CT_LbsX3PDummyAO::NewL(MT_LbsX3PDummyObserver* aObserver)
-/**
- *	'public constructor' may leave
- */
-	{
-	CT_LbsX3PDummyAO* dummyAO = new(ELeave)CT_LbsX3PDummyAO(aObserver);
-	return dummyAO;
-	}
-
-
-CT_LbsX3PDummyAO::CT_LbsX3PDummyAO(MT_LbsX3PDummyObserver* aObserver) : CActive(EPriorityStandard), iObserver(aObserver)
-/**
- * 	Constructor - will not leave
- */
-	{ 	
-	CActiveScheduler::Add(this); 
-	//Since it is dummy active object, Set it active now so that active scheduler can start it immediately.
-	SetActive(); 
-	}
-
-CT_LbsX3PDummyAO::~CT_LbsX3PDummyAO()
-/**
- * 	Destructor
- */
-	{
-	DoCancel();
-
-	}
-
-void CT_LbsX3PDummyAO::DoCancel()
-	{
-	Cancel();		//Not sure about this...might have to change
-
-	}
-
-
-void CT_LbsX3PDummyAO::RunL()
-	{
-	TInt err = iStatus.Int();
-	User::LeaveIfError(err);	// remove if we wish to process the err
-
-	// iStatus will contain error code
-	// async request completed. Notify caller via callback:
-	if (iObserver)
-		{
-		iObserver->MT_LbsX3PDummyCallbackHandler(iStatus);
-		}
-	}
-
-TInt CT_LbsX3PDummyAO::RunError(TInt aError)
-	{
-	return aError;
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,196 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file CT_LbsX3PServer.cpp
-// This is the class implementation for the LBS Client Test Server
-// 
-//
-
-// User includes
-#include "ctlbsx3pserver.h"
-
-// System includes
-#include <e32std.h>
-#include <rsshared.h>
-
-// Header files of LBS Client API Test Steps
-#include "ctlbsx3pstepopenclose.h"
-#include "ctlbsx3pstepconflict.h"
-#include "ctlbsx3pstepcancel.h"
-#include "ctlbsx3psteptransmit.h"
-#include "ctlbsx3psteptransmitconcurrent.h"
-#include "ctlbsx3pstepnegative.h"
-
-/**
-  MainL()
-  Description :		This is the main function which installs the 
-					active scheduler and creates an object of the Email server
-  @internalTechnology
-  @param  none
-  @return none
-  @pre    None
-  @post   None
-*/
-LOCAL_C void MainL()
-	{
-	CActiveScheduler* sched = new (ELeave) CActiveScheduler;
-	CleanupStack::PushL(sched);
-	CActiveScheduler::Install(sched);
-
-	__UHEAP_MARK;
-	// this registers the server with the active scheduler and calls SetActive
-	CT_LbsX3PServer* server = CT_LbsX3PServer::NewL();
-
-	// signal to the client that we are ready by
-	// rendevousing process
-	RProcess::Rendezvous(KErrNone);
-
-	// run the active scheduler
-	sched->Start();
-
-	// clean up
-	delete server;
-	__UHEAP_MARKEND;
-	CleanupStack::PopAndDestroy(sched);
-	}
-
-
-
-
-/**
-  E32Main()
-  Description :	It is the entry point 
-  @internalTechnology
-  @param  none
-  @return Returns the error code
-  @pre    None
-  @post   None
-*/
-GLDEF_C TInt E32Main()
-	{
-	__UHEAP_MARK;
-	CTrapCleanup* cleanup = CTrapCleanup::New();
-	if(cleanup == NULL)
-		{
-		return KErrNoMemory;
-		}
-
-	TRAPD(err, MainL());
-
-	delete cleanup;
-	__UHEAP_MARKEND;
-
-	return err;
-	}
-    
-
-
-/**
-  NewL()
-  Constructs a CT_LbsClientServer object.
-  Uses two phase construction and leaves nothing on the CleanupStack.
-  @internalTechnology
-  @param  none
-  @return Created object of type CT_LbsClientServer
-  @pre    None
-  @post   None
-*/
-CT_LbsX3PServer* CT_LbsX3PServer::NewL()
-	{
-	CT_LbsX3PServer*server = new(ELeave) CT_LbsX3PServer();
-	CleanupStack::PushL(server);
-	server->ConstructL(KSfLbsX3PTestServer);
-	CleanupStack::Pop(server);
-	return server;
-	}
-
-
-CT_LbsX3PServer::~CT_LbsX3PServer()
-	{
-	}
-	
-	
-/**
-  Function : CT_LbsClientServer
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsX3PServer::CT_LbsX3PServer()
-	{
-	}
-
-/**
-  Function : ConstructL
-  Description : 
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsX3PServer::ConstructL(const TDesC& aName)
-	{
-	CT_LbsServer::ConstructL(aName);
-	
-	iSharedData = CT_LbsX3PSharedData::NewL();
-	}
-
-	
-/**
-  Function : CreateTestStep
-  Description : Creates a test step based on the step name read from the script file
-  @internalTechnology
-  @param : aStepName   The step name which needs to be created
-  @return : Created object of type CTestStep
-  @precondition : none
-  @postcondition : none
-*/
-CTestStep* CT_LbsX3PServer::CreateTestStep(const TDesC& aStepName)
-	{
-	// NULL if insufficient memory. This suits the API.
-
-	// Test case test steps, each test step supports one or more test cases.
-	if(aStepName == KLbsX3PStep_OpenClose)	
-		{
-		return CT_LbsX3PStep_OpenClose::New(*this);
-		}
-	if(aStepName == KLbsX3PStep_Cancel)	
-		{
-		return CT_LbsX3PStep_Cancel::New(*this);
-		}
-	if(aStepName == KLbsX3PStep_Conflict)	
-		{
-		return CT_LbsX3PStep_Conflict::New(*this);
-		}
-	if(aStepName == KLbsX3PStep_Transmit)	
-		{
-		return CT_LbsX3PStep_Transmit::New(*this);
-		}
-	if (aStepName == KLbsX3PStep_Transmit_Concurrent)
-		{
-		return CT_LbsX3PStep_Transmit_Concurrent::New();
-		}	
-	if (aStepName == KLbsX3P_Step_Negative)
-		{
-		return CT_LbsX3PStep_Negative::New(*this);
-		}	
-    
-	
-	// Let base class handle any common test steps - will return NULL if test step is not supported.
-	return CT_LbsServer::CreateTestStep(aStepName);
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pshareddata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pshareddata.cpp
-// This file contains the shared data class for the Lbs Assistance GPS Data Test server
-// 
-//
-
-
-#include "ctlbsx3pshareddata.h"
-
-
-/**
-  Function : NewL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsX3PSharedData* CT_LbsX3PSharedData::NewL()
-	{
-	CT_LbsX3PSharedData* sharedData=new(ELeave) CT_LbsX3PSharedData();
-	CleanupStack::PushL(sharedData);
-	sharedData->ConstructL();
-	CleanupStack::Pop(sharedData);
-
-	return sharedData;
-	}
-
-
-/**
-  Function : ConstructL
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-void CT_LbsX3PSharedData::ConstructL()
-	{
-	CT_LbsSharedData::ConstructL();
-	}
-
-
-/**
-  Function : CT_LbsDataSrcSharedData
-  Description : Constructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/
-CT_LbsX3PSharedData::CT_LbsX3PSharedData()
-	{
-	}
-	
-/**
-  Function : ~CT_LbsDataSrcSharedData
-  Description : Destructor
-  @internalTechnology
-  @param :
-  @return : N/A
-  @precondition : none
-  @postcondition : none
-*/	
-CT_LbsX3PSharedData::~CT_LbsX3PSharedData()
-	{
-	}
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstep.cpp
-// This is the class implementation for the LBS Client Test Step Base
-// 
-//
-
-#include "ctlbsx3pstep.h"
-
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/ctlbsasyncwaiter.h>
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsX3PStep::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep::doTestStepPreambleL()"));
-	SetTestStepResult(EPass);
-
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsX3PStep::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep::doTestStepPostabmleL()"));
-
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-
-CT_LbsX3PStep::~CT_LbsX3PStep()
-	{
-	}
-
-
-CT_LbsX3PStep::CT_LbsX3PStep(CT_LbsX3PServer& aParent) : iParent(aParent)
-	{
-	}
-
-void CT_LbsX3PStep::ConstructL()
-	{
-	// Create the base class objects.
-	CT_LbsNetSimStep::ConstructL();
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepcancel.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,836 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepcancel.cpp
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include <lbs/test/lbsnetsimtest.h>
-#include "ctlbsx3pstepcancel.h"
-#include <lbs/test/tlbsutils.h>
-
-//const TTimeIntervalMicroSeconds32 KExtendedTimerInterval = 60*1000000;	// 1 minute
-//const TInt KLbsTestModuleTimeOut = 50*1000000;
-//const TTimeIntervalMicroSeconds KLbsX3PTimeOut = 20*1000000;
-
-//const TInt KSimpleAssistanceDataProviderPluginUidValue = 0x10281D77;
-//const TInt KSuplAssistanceDataProviderPluginUidValue = 0x1028225B;
-//_LIT(KLbsRefPos, "RefPos");
-
-
-//TBool bConnected = EFalse; //To make sure that connected wouldnt get called twice - TBD
-/**
- * Destructor
- */
-CT_LbsX3PStep_Cancel::~CT_LbsX3PStep_Cancel()
-	{	
-	if(iDoTransmitPosAO != NULL)
-			delete iDoTransmitPosAO;
-	
-	if(iDoTransmitPosAO2 != NULL)
-			delete iDoTransmitPosAO2;
-	}
-
-/**
- * Constructor
- */
-CT_LbsX3PStep_Cancel::CT_LbsX3PStep_Cancel(CT_LbsX3PServer& aParent) : CT_LbsX3PStep(aParent)
-	{
-	SetTestStepName(KLbsX3PStep_Cancel);
-	//iCallbackFlags = 0;
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsX3PStep_Cancel* CT_LbsX3PStep_Cancel::New(CT_LbsX3PServer& aParent)
-	{
-	CT_LbsX3PStep_Cancel* testStep = new CT_LbsX3PStep_Cancel(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-		
-	return testStep;
-	}
-
-void CT_LbsX3PStep_Cancel::ConstructL()
-	{
-		//Call the base class c'tor to create timer.
-		CT_LbsX3PStep::ConstructL();
-	}
-
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsX3PStep_Cancel::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Cancel::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{
-		
-		TInt err = KErrNone;
-		RLbsTransmitPositionServer server;
-
-		// Carry out common test actions (such as connecting to a server).
-
-		User::LeaveIfError(server.Connect());
-		CleanupClosePushL(server);
-
-		INFO_PRINTF1(_L("server opened"));
-	
-		User::LeaveIfError(iTransmitPositioner.Open(server));
-		CleanupClosePushL(iTransmitPositioner);
-
-		// Create the active object to carry out the Transmit Position functionality.					
-		iDoTransmitPosAO = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPositioner);
-		
-		//T_LbsUtils utils;
-		//TModuleDataIn modDataIn; // Used to send test information to the test module.
-
-	    iRefPosFlag = GetIntFromConfig(ConfigSection(), KLbsRefPos, iRefPosFlag);
-	    
-
-		// Carry out unique test actions.
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-			switch (iTestCaseId)
-				{
-				// Test case LBS-X3P-Cancel-0001
-				case 1:
-					{
-					//Try to cancel Transmition without X3P
-					iTransmitPositioner.CancelTransmitPosition();  
-
-					//Below code might not be needed...added as Netsim panics if I dont start scheduler
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect;
-					
-					}
-					break;
-					
-				// Test case LBS-X3P-Cancel-0002
-				case 2:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect| 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr |
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-					
-				// Test case LBS-X3P-Cancel-0003
-				case 3:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr |
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-					
-				// Test case LBS-X3P-Cancel-0004
-				case 4:
-					{
-					//SetExtendedTimerInterval(30000000);
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-									 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-					
-				// Test case LBS-X3P-Cancel-0005
-				case 5:
-				case 6:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-									 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-					
-													
-				// Test case LBS-X3P-Cancel-0007
-				case 7:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr |
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0);
-
-					//Not sure how we will get status in this case when the request is cancelled from Cancel() - TBD
-					}
-					break;
-
-				
-				// Test case LBS-X3P-Cancel-0009-0010
-				case 8:
-				case 9:
-					{
-					User::LeaveIfError(iTransmitPositioner2.Open(server));
-					CleanupClosePushL(iTransmitPositioner2);
-
-					// Create the active object to carry out the Transmit Position functionality.					
-					iDoTransmitPosAO2 = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPositioner2);
-
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |								 
-									 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-
-
-				case 10:
-					{
-					//Cancel at NotifyMeasurementReportRequestMoreAssitanceData
-
-					//Configure gps-test-module to request for more assitance data.
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						T_LbsUtils utils;
-						TModuleDataIn modDataIn; // Used to send test information to the test module.
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTestMode;
-						modDataIn.iAssDataEventType = TModuleDataIn::EAssDataEventExpectSingle;
-						modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable;
-						
-						utils.NotifyModuleOfConfigChangeL(modDataIn);
-						}
-						
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportRequestMoreAssistanceData |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;					
-					
-				case 11:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-									 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0)|
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-					}
-					break;
-
-				case 12:
-					{
-					
-					//Note sure which callbacks would be needed - TBD
-					if(iRefPosFlag)
-						{
-						iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-										 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-										 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-										 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-										 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult |
-										 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-										 KLbsCallback_Got_NotifyDoTransmitPos;
-						}
-					else
-						{
-						INFO_PRINTF2(_L("This test case is invalid for this interface: Testcase ID-  %d"), iTestCaseId);
-						ASSERT(FALSE);	
-						}
-					}
-					break;
-
-				case 13:
-					{
-					if(iRefPosFlag)
-						{
-						iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect | 
-										 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-										 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-										 KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure |
-										 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-										 KLbsCallback_Got_NotifyDoTransmitReferencePos|
-										 KLbsCallback_Got_NotifyDoTransmitPos;
-						}
-					else
-						{
-						INFO_PRINTF2(_L("This test case is invalid for this interface: Testcase ID-  %d"), iTestCaseId);
-						ASSERT(FALSE);	
-						}
-					}
-					break;
-
-				default:
-					{
-					INFO_PRINTF2(_L("Unrecognised test case id %d"), iTestCaseId);
-					ASSERT(FALSE);	
-					}					
-				}
-			}
-		else
-			{
-			INFO_PRINTF1(_L("Error in reading config file"));
-			ASSERT(FALSE);
-			}
-
-		RPointerArray<TAny>& srcPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-		TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(srcPosInfoArr[0]);
-		TPosition srcPos;
-		srcPosInfo->GetPosition(srcPos);
-
-		// Conect to the NetSim.
-		iNetSim.ConnectL(this); // Once we have connected, we will get NetSim callbacks.
-		//iNetSim.SetStepMode(ETrue);
-
-		// Set plugin to use.
-		TUid pluginUid;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			pluginUid = TUid::Uid(KSimpleAssistanceDataProviderPluginUidValue);
-			}
-		else
-			{
-			pluginUid = TUid::Uid(KSuplAssistanceDataProviderPluginUidValue);
-			}
-			
-		if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's assistance data plugin uid."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		if (!iNetSim.SetReferenceLocation(srcPos))
-			{
-				INFO_PRINTF1(_L("Failed test, can't set NetSim's reference location."));
-				SetTestStepResult(EFail);
-				iNetSim.Close();
-				return TestStepResult();
-			}	
-
-		// Set the MaxFix time required by the network.
-		TTimeIntervalMicroSeconds maxFixTime(150*1000000);
-		TLbsNetPosRequestQuality netPosQuality;
-
-		netPosQuality.SetMaxFixTime(maxFixTime);
-		netPosQuality.SetMinHorizontalAccuracy(srcPos.HorizontalAccuracy());
-		netPosQuality.SetMinVerticalAccuracy(srcPos.VerticalAccuracy());
-		if (!iNetSim.SetQuality(netPosQuality))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's quality."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-		
-		//Timeout for Transmit Location
-		TLbsTransmitPositionOptions transmitOptions;
-		transmitOptions.SetTimeOut(120*1000000);
-		iTransmitPositioner.SetTransmitOptions(transmitOptions);
-
-		// Kick off the keep alive timer.
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod);
-		iKeepAliveTimer->SetTimer(interval);
-
-		if(iTestCaseId == 3)
-			{
-			const TInt32 time=1000;
-			iNetSim.SetResponseTime(time, ETrue);  //TBD
-			}
-		
-		CActiveScheduler::Start();
-		
-		err = iStatus.Int();
-		switch(iTestCaseId)
-			{
-			case 1:
-			case 7:
-				break;
-				
-			case 2:
-			case 3:
-			case 10:
-			case 13:
-				{
-				if(KErrCancel != err)
-					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel</B></FONT>"));
-					SetTestStepResult(EFail);	
-					}
-				}
-				break;
-			
-			case 4:
-				{
-				if(KErrCancel == err && !(iCallbackFlags & KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure))
-					{
-					INFO_PRINTF1(_L("<FONT><B>Should have been completed with KErrCancel</B></FONT>"));
-					SetTestStepResult(EFail);	
-					}
-				}
-				//not using break as want to go ahead with below check.
-				
-			case 5:
-			case 11:
-			case 12: //TBD
-     			// In testcases that cancel "late" in the X3P proceudure, cancellation may arrive to NRH before
-				// or after the session has finished. Therefore the error code will sometimes be
-				// KErrCancel (session cancelled) and other times KErrNone (nothing to cancel due to session complete).
-				//
-				{
-				if(!(KErrCancel == err || KErrNone == err))
-					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrCancel or KErrNone</B></FONT>"));
-					SetTestStepResult(EFail);	
-					}
-				}
-			break;
-			
-			case 6:
-			case 8:
-			case 9:
-				{
-				if(KErrNone != err)
-					{
-					INFO_PRINTF1(_L("<FONT><B>CancelTransmitPosition() should have returned KErrNone</B></FONT>"));
-					SetTestStepResult(EFail);	
-					}
-				}
-				break;
-			
-			default:
-				{
-				INFO_PRINTF2(_L("Unrecognised test case id %d"), iTestCaseId);
-				ASSERT(FALSE);	
-				}	
-			}
-
-		// Clean up.
-		// Clear A-GPS timeout.
-		//if(iParent.iSharedData->iTestModuleInUse)
-		//	{
-		//	modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-		//	modDataIn.iTimeOut = 0;
-		//	utils.NotifyModuleOfConfigChangeL(modDataIn);
-		//	}
-
-		iNetSim.ClearAssistanceDataFilters();
-		iNetSim.Close();  
-
-		if(iTestCaseId == 8 || iTestCaseId == 9)
-			{
-			CleanupStack::PopAndDestroy(&iTransmitPositioner2);					
-			}
-		//CleanupStack::PopAndDestroy(iKeepAliveTimer);
-		CleanupStack::PopAndDestroy(&iTransmitPositioner);					
-		CleanupStack::PopAndDestroy(&server);	
-		
-		
-		if(iTestCaseId==13) //Wait while all activities in the PM stop and not interfere with the remaining tests 
-			{
-			User::After(5000000);
-			}
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsX3PStep_Cancel::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-void CT_LbsX3PStep_Cancel::MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo)
-	{
-	//(void)aStatus;
-	(void)aRefPosInfo;
-	
-	INFO_PRINTF2(_L("Got - Transmit Position Reference Postion - Callback Event:: Status=%d"), aStatus.Int());
-
-	//if(iTestCaseId !=4)
-		{
-		SetCallbackFlag(KLbsCallback_Got_NotifyDoTransmitReferencePos);	
-		}
-	
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-		case 7:
-			{
-			if(aStatus != KErrCancel)
-				{
-				INFO_PRINTF1(_L("<FONT><B> MT_LbsX3PDoRefPosCallback should have been completed with KErrCancel</B></FONT>"));
-				SetTestStepResult(EFail);	
-				}
-			}
-			break;
-
-		case 4:
-			{
-			if(aStatus != KErrCancel && aStatus != KErrNone)
-				{
-				INFO_PRINTF1(_L("<FONT><B> MT_LbsX3PDoRefPosCallback should have been completed with KErrCancel</B></FONT>"));
-				SetTestStepResult(EFail);	
-				}
-			}
-			break;
-			
-		case 13:
-			{
-			iTransmitPositioner.CancelTransmitPosition();
-			}
-			break;
-			
-		default:
-			break;
-		}
-	}
-
-
-/**	Notify position update callback.
-	The notify position update as completed. We can mark as done in the callback flags.
-**/
-
-void CT_LbsX3PStep_Cancel::MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO)
-	{
-	(void)aDoTransmitPosAO;
-	INFO_PRINTF1(_L("Got - Transmit Position - Callback Event."));
-
-	//if(iTestCaseId == 18)
-	//	{
-	//	if(!(iCallbackFlags & KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation))
-	//		{
-	//		INFO_PRINTF1(_L("<FONT><B> TransmitPostion completed before </B></FONT>"));
-	//		SetTestStepResult(EFail);	
-	//		}
-	//	}
-
-	iStatus = aStatus;
-	SetCallbackFlag(KLbsCallback_Got_NotifyDoTransmitPos);
-	}	
-
-void CT_LbsX3PStep_Cancel::Connected()
-	{
-//	if(bConnected)
-//		return;
-	
-//	bConnected = ETrue;	//probably a hack
-	
-	CT_LbsNetSimStep::Connected();
-	
-	_LIT(KDestID, "07703125837");
-
-	TUint priority = X3P_PRIORITY_PUSH;
-	TPositionInfo* posInfo = NULL;;
-	RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-	posInfo = new(ELeave) TPositionInfo();
-	
-	T_LbsUtils utils;
-	utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-	posInfoArr.Append(posInfo);
-
-	switch(iTestCaseId)
-		{
-		case 1:
-			//Do not start Transmit Position
-			break;
-		case 2:
-			{
-			// Request X3P
-			if(iRefPosFlag)
-				iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			else
-				iDoTransmitPosAO->TransmitPosition( KDestID, priority, *posInfo);
-			
-			//Is it good idea to wait for some time before starting cancel ....TBD
-			iTransmitPositioner.CancelTransmitPosition(); 
-			
-			break;
-			}
-		case 3:
-		case 4:
-		case 5:
-		case 6:
-		case 10:
-		case 11:
-			{
-			if(iRefPosFlag)
-				iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			else
-				iDoTransmitPosAO->TransmitPosition( KDestID, priority, *posInfo);
-			}
-			break;
-
-		case 7:
-			{
-			// Request X3P
-			if(iRefPosFlag)
-				iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			else
-				iDoTransmitPosAO->TransmitPosition( KDestID, priority, *posInfo);
-
-			//Cancel the active object instead of calling CancelTransmitPosition()
-			iDoTransmitPosAO->Cancel(); 
-			}
-			break;
-			
-		case 8:
-			{
-		
-			if(iRefPosFlag)
-				iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			else
-				iDoTransmitPosAO->TransmitPosition( KDestID, priority, *posInfo);
-			
-			//CancelTransmitPosition from different object
-			iTransmitPositioner2.CancelTransmitPosition(); 
-						
-			}
-			break;
-			
-		case 9:
-			{
-		
-			if(iRefPosFlag)
-				iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			else
-				iDoTransmitPosAO->TransmitPosition( KDestID, priority, *posInfo);
-			
-			//Cancel() the other TransmitPostion Active Object
-			iDoTransmitPosAO2->Cancel(); 
-			}
-			break;
-		
-		case 12:
-		case 13:
-			{
-			iDoTransmitPosAO->TransmitPositionReportingRefLoc( KDestID, priority, *posInfo);
-			}
-			break;
-					
-		default:
-			break;
-		}
-	}
-
-void CT_LbsX3PStep_Cancel::NotifyRegisterLcsMoLr(const TDesC& aData)
-	{
-	CT_LbsNetSimStep::NotifyRegisterLcsMoLr(aData);
-	
-	if(iTestCaseId==3)
-		{
-		iTransmitPositioner.CancelTransmitPosition();
-		}
-	else if(iTestCaseId == 12)
-		{
-		iDoTransmitPosAO->GetRefLocWaiter()->Cancel();
-		}
-	
-	//iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Cancel::NotifyMeasurementControlLocation(const TPositionInfo& aPosition, 
-													  const RLbsAssistanceDataBuilderSet& aData, 
-													  const TLbsNetPosRequestQuality& aQuality)
-	{
-	CT_LbsNetSimStep::NotifyMeasurementControlLocation(aPosition, aData, aQuality);
-	
-	//When we cancel the TransmitLocation request, it may happen that the ProcessAssistanceData request
-	//from a PM to the NG is sent before the cancel takes effect.
-	//If it happens we need to add KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation to iFlagsToHaltOn
-	//to avoid the test hanging.
-	if(iTestCaseId==2 || iTestCaseId==7)
-		{
-		iFlagsToHaltOn |= KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation;
-		}
-	
-	if(iTestCaseId==4)
-		{
-		iTransmitPositioner.CancelTransmitPosition();
-		}
-	//iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Cancel::NotifyMeasurementReportLocation(const TPositionInfo& aPosition)
-	{
-	CT_LbsNetSimStep::NotifyMeasurementReportLocation(aPosition);
-	
-	if(iTestCaseId==5)
-		{
-		iTransmitPositioner.CancelTransmitPosition();
-		}
-	
-	//iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Cancel::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-	CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-	switch(iTestCaseId)
-		{
-		case 4:
-		//case 5:
-		//case 11:
-			{
-			iFlagsToHaltOn &=  ~KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation;
-			iFlagsToHaltOn &=  ~KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult;
-			iFlagsToHaltOn |=	KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-
-			if(aReason != KErrCancel)
-				{
-				INFO_PRINTF1(_L("<FONT><B>Should have returned KErrCancel</B></FONT>"));
-				SetTestStepResult(EFail);	
-				}
-			}
-			break;
-		case 2:
-		case 7:	
-			iFlagsToHaltOn |=	KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-			//break is ommited intentionally here
-		case 10:
-		case 13:
-			{
-			if(aReason != KErrCancel)
-				{
-				INFO_PRINTF1(_L("<FONT><B>Should have returned KErrCancel</B></FONT>"));
-				SetTestStepResult(EFail);	
-				}
-			}
-			break;
-		
-		default:
-			ASSERT(FALSE);
-			break;
-		}
-	//iNetSim.Next(KErrNone);
-	}
-
-
-void CT_LbsX3PStep_Cancel::NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition)
-{
-
-	CT_LbsNetSimStep::NotifyFacilityLcsMoLrResult(aReason,aPosition);
-
-	switch(iTestCaseId)
-	{
-		case 11:
-			iTransmitPositioner.CancelTransmitPosition();		
-			break;
-			
-		default:
-			break;
-	}
-
-    //iNetSim.Next(KErrNone);
-}
-
-
-void CT_LbsX3PStep_Cancel::NotifyReleaseLcsMoLr(TInt aReason)
-	{
-	CT_LbsNetSimStep::NotifyReleaseLcsMoLr(aReason);
-	
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-		//case 4:
-			{
-			if(aReason != KErrCancel)
-				{
-				INFO_PRINTF1(_L("<FONT><B>Should have returned KErrCancel</B></FONT>"));
-				SetTestStepResult(EFail);	
-				}
-			}
-			break;
-			
-		case 6:
-			// Add a very short delay here in order to ensure that the protocol module really has completed
-			// all the actions relating to the x3p operation.
-			User::After(100000);
-			iTransmitPositioner.CancelTransmitPosition();	
-			break;
-		
-		default:
-			break;
-		}
-	//iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Cancel::NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter)
-	{
-
-	switch (iTestCaseId)
-		{
-		case 10:
-			{
-			// Call base implementation.
-			CT_LbsNetSimStep::NotifyMeasurementReportRequestMoreAssistanceData(aFilter);
-			iTransmitPositioner.CancelTransmitPosition();	
-			// Add a short delay here in order to ensure that LBS has completed
-			// all the actions relating to the x3p cancel.			
-			User::After(500000);
-			}
-			break;
-	
-		default:
-		//Note: In the case of real GPS, this message could come at anytime.
-			if(iParent.iSharedData->iTestModuleInUse)
-				{
-				INFO_PRINTF2(_L("Failed test, got un-expected request for more assistance data with filter value = %d."), aFilter);
-				SetTestStepResult(EFail);
-				}
-			break;
-		}
-	//iNetSim.Next(KErrNone);
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepconflict.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2212 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepconflict.cpp
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsnetcommon.h>
-//#include <kernel.h>
-// LBS test includes.
-//#include <lbs/test/lbsnetsimtest.h>
-#include "ctlbsx3pstepconflict.h"
-#include <lbs/test/tlbsutils.h>
-
-const TInt KLbsKeepAlivePeriod1=10*1000000; 
-
-_LIT(KDestIDL, "07725547323");
-_LIT(KDestIDH, "07703125837");
-_LIT(KDestIDM, "07703103066");
-const TUint priorityL = X3P_PRIORITY_TIMER;
-const TUint priorityM = X3P_PRIORITY_MENU;
-const TUint priorityH = X3P_PRIORITY_PUSH;
-//TPositionInfo postitionInfo;
-static TUint iterator=0;
-
-/**
- * Destructor
- */
-CT_LbsX3PStep_Conflict::~CT_LbsX3PStep_Conflict()
-	{
-	iDoPosUpdate->Cancel();
-	delete iDoPosUpdate;
-	if(iDoTransmitPosAO!=NULL)
-		delete iDoTransmitPosAO;
-	if(iDoTransmitPosAO2 != NULL)
-		delete iDoTransmitPosAO2;
-	
-	iTransmitPositioner2.Close();
-	iTransmitPositioner.Close();
-	iServer.Close();					
-	
-	iTSArray.Close();
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsX3PStep_Conflict::CT_LbsX3PStep_Conflict(CT_LbsX3PServer& aParent) : CT_LbsX3PStep(aParent)
-	{
-	SetTestStepName(KLbsX3PStep_Conflict);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsX3PStep_Conflict* CT_LbsX3PStep_Conflict::New(CT_LbsX3PServer& aParent)
-	{
-	CT_LbsX3PStep_Conflict* testStep = new CT_LbsX3PStep_Conflict(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-		
-	return testStep;
-	}
-
-void CT_LbsX3PStep_Conflict::ConstructL()
-	{
-		CT_LbsX3PStep::ConstructL();
-
-		//The active object wrapper for the notify position update.
-		iDoPosUpdate = CT_LbsDoPosUpdate::NewL(this);
-	}
-
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsX3PStep_Conflict::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Conflict::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{		
-		//TInt err = KErrNone;
-		//RLbsTransmitPositionServer server;
-
-		//TInt testCaseId;
-		TRequestStatus aStatus;
-		TLbsTransmitPositionOptions tOptions;
-
-		// Carry out common test actions (such as connecting to a server).
-		iStateX3P = EX3POk;
-		User::LeaveIfError(iServer.Connect());
-		//CleanupClosePushL(server);
-
-		INFO_PRINTF1(_L("server opened"));
-	
-		User::LeaveIfError(iTransmitPositioner.Open(iServer));
-		//CleanupClosePushL(iTransmitPositioner);
-
-		//second transmit positioner is used for test case 7-10
-		User::LeaveIfError(iTransmitPositioner2.Open(iServer));
-		//CleanupClosePushL(iTransmitPositioner2);
-
-		iDoTransmitPosAO = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPositioner);
-		iDoTransmitPosAO2 = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPositioner2);
-		
-		//define local variables to point current and verify arrays.
-		RPointerArray<TAny>& verifyPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-		RPointerArray<TAny>& curPosInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-
-		T_LbsUtils utils;
-		RPointerArray<TTime> doTransmitPosTime;
-		RPointerArray<TTime> notifyMRLocationTime;
-		RPointerArray<TTime> doPosUpdateTime;
-		RPointerArray<TTime> notifyMCLocationTime;
-		RPointerArray<TTime> notifyReleaseLcsMoLrTime;
-			
-		TModuleDataIn modDataInTimeout; // Used to send test information to the test module.
-		const TInt KLbsTestModuleTimeOut = 1000000;
-		// The module request type - time out value.
-		modDataInTimeout.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-		// Micro seconds time value to delay the return position update from the module.
-		modDataInTimeout.iTimeOut = KLbsTestModuleTimeOut;
-
-		TModuleDataIn modDataInAssDataOn;
-		modDataInAssDataOn.iRequestType = TModuleDataIn::EModuleRequestTestMode;
-		modDataInAssDataOn.iAssDataEventType = TModuleDataIn::EAssDataEventExpectSingle;
-		modDataInAssDataOn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn;
-		
-		iNetSim.ConnectL(this); // Once we have connected, we will get NetSim callbacks.
-		iNetSim.SetStepMode(ETrue); //To run NetSim in step mode
-
-		// Create reference location:
-		// Location to use.
-		TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0]);
-		TPosition srcPos;
-		srcPosInfo->GetPosition(srcPos);
-	
-		if (!iNetSim.SetReferenceLocation(srcPos))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's reference location."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}	
-	
-		// Set the position quality required by the network.
-		TTimeIntervalMicroSeconds maxFixTime(20*1000000);
-		TLbsNetPosRequestQuality netPosQuality;
-
-		netPosQuality.SetMaxFixTime(maxFixTime);
-		netPosQuality.SetMinHorizontalAccuracy(srcPos.HorizontalAccuracy());
-		netPosQuality.SetMinVerticalAccuracy(srcPos.VerticalAccuracy());
-		
-		if (!iNetSim.SetQuality(netPosQuality))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's quality."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		// Set plugin to use.
-		TUid pluginUid;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			pluginUid = TUid::Uid(KSimpleAssistanceDataProviderPluginUidValue);
-			}
-		else
-			{
-			pluginUid = TUid::Uid(KSuplAssistanceDataProviderPluginUidValue);
-			}
-			
-		if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's assistance data plugin uid."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		//Timeout for Transmit Location
-		TLbsTransmitPositionOptions transmitOptions;
-		transmitOptions.SetTimeOut(20*1000000);  
-
-		iTransmitPositioner.SetTransmitOptions(transmitOptions);
-
-		//Reset iterator value
-		iterator=0;
-		
-		// Kick off the keep alive timer.
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod1);
-		iKeepAliveTimer->SetTimer(interval);
-
-		// Carry out unique test actions.
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-			switch (iTestCaseId)
-				{
-				// Test case LBS-X3P-Conflict-0001
-				case 1:
-					break;
-					
-				// Test case LBS-X3P-Conflict-0002
-				case 2:
-				case 3:
-				case 4:
-					{
-					//Set assistence data mode flag to on so that MoLr gets all notifications.
-					utils.NotifyModuleOfConfigChangeL(modDataInAssDataOn);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_Got_DoPosUpdate, doPosUpdateTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-					else
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-
-					if(doTransmitPosTime.Count() !=1 ||doPosUpdateTime.Count() != 0  || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MoLr wasn't cancelled after getting X3P(Push)</B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-				case 5:
-				case 12:
-					{
-					//Set assistence data mode flag to on so that MoLr gets all notifications.
-					utils.NotifyModuleOfConfigChangeL(modDataInAssDataOn);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_Got_DoPosUpdate, doPosUpdateTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					if(doTransmitPosTime.Count() !=1 ||doPosUpdateTime.Count() != 1  ||doPosUpdateTime[0]->Int64() > doTransmitPosTime[0]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>X3P didn't complete before MoLr</B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-					
-				case 21:
-				case 22:
-				case 54: 	//Check that X3P(Push) completes after X3P(Menu) as it was too late to cancel X3P(Menu) by X3P(Push)
-				case 62:	//Check
-				case 102:
-				case 94:  
-					{
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					if(doTransmitPosTime.Count() !=2 || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>X3P(Push) wasn't completed before X3P(Timer)</B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-					
-				case 31:
-				case 32:
-				case 34:
-
-				case 72:
-				case 74:
-
-				case 112:
-				case 114:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation, notifyMCLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//Check that X3P(push) complets and MTLR doesn't start
-					//There should be one transmit position flag 
-					//There should be just one NotifyMeasurementControlLocation flag to make sure that MTLR is not even started
-					if(doTransmitPosTime.Count() !=1 ||notifyMCLocationTime.Count() !=1 || ! bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-				case 35:
-				case 75:
-				case 115:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//Check that X3P(Push) completes followed by MTLR
-					//There should be one transmit position flag
-					//there should be two notifyMeasurementReportLocation flags
-					//second notifymesurementreportlocation flag should come after transmitPostion flag
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=2 ||doTransmitPosTime[0]->Int64() > notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR didnt follow X3P(Push) </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-
-				case 42:
-				case 43:
-
-				case 82:		//0082
-				case 83: 	//0083
-
-				case 122:	//0122
-				case 123:	//0123
-
-				case 1001:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, notifyReleaseLcsMoLrTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//Check that E-MTLR interrupts X3P(Push) and complets before X3P(Push)
-					//There should be one transmit position flag
-					//There should be two notifiyMeasurementReportLocation flags
-					//The time stamp of second mesurementreportlocation flag is before transmit position flag.
-					//There should be two releaseLcsMoLr flags
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=2 || notifyReleaseLcsMoLrTime.Count() !=2 ||
-						doTransmitPosTime[0]->Int64() < notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-				case 44:
-				case 84:	//0084
-				case 124:	//0124
-					{
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, notifyReleaseLcsMoLrTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//Check that E-MTLR interrupts X3P(Push) and complets before X3P(Push)
-					//There should be one transmit position flag
-					//There should be three notifiyMeasurementReportLocation flags
-					//The time stamp of third mesurementreportlocation flag is before transmit position flag.
-					//There should be two releaseLcsMoLr flags
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=3 || notifyReleaseLcsMoLrTime.Count() !=2 ||
-						doTransmitPosTime[0]->Int64() < notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-				case 45:
-				case 85:		//0085
-				case 125:	//0125
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, notifyReleaseLcsMoLrTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//Check that E-MTLR interrupts X3P(Push) and complets before X3P(Push)
-					//There should be one transmit position flag
-					//There should be two notifiyMeasurementReportLocation flags
-					//The time stamp of second mesurementreportlocation flag is after transmit position flag.
-					//There should be one releaseLcsMoLr flags
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=2 || notifyReleaseLcsMoLrTime.Count() !=1 ||
-						doTransmitPosTime[0]->Int64() > notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-					
-				case 51:
-					//TBD
-					break;
-					
-				case 53:
-					{
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation, notifyMCLocationTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, notifyReleaseLcsMoLrTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-					else
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-
-					//Check that X3P(Push) cancels X3P(Menu) 
-					//There should be one transmit position flag
-					//There should be two notifiyMeasurementControlLocation flags
-					//There should be two releaseLcsMoLr flags
-					if(doTransmitPosTime.Count() !=1 ||notifyMCLocationTime.Count() !=2 || notifyReleaseLcsMoLrTime.Count() !=2 || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>X3P(Push) didn't cancel X3P(Menu) </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-					
-				case 61:
-					break;
-					
-					
-				case 71:
-					break;
-					
-					
-				case 81:	//0081
-					break;
-					
-					
-				case 93:	//0093
-					{
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation, notifyMCLocationTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, notifyReleaseLcsMoLrTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//X3P(Push) should interupt X3P(Timer) and X3P(Timer) should complete after X3P(Push)
-					//There should be two transmit position flags
-					//There should be three release flags
-					if(doTransmitPosTime.Count() !=2 ||notifyMCLocationTime.Count() !=3 || notifyReleaseLcsMoLrTime.Count() !=3 || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-					
-					
-				case 111:
-					break;
-					
-					
-				case 121:	//0121
-					break;
-					
-
-				case 133:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation, notifyMCLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-					else
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-
-					//X3P(Push) should cancel MTLR when X3P(Push) called at 
-					//There should be one transmit position flags
-					//There should be one MeasurementControlLocation flag
-					if(doTransmitPosTime.Count() !=1 ||notifyMCLocationTime.Count() !=1 || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-				case 134:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//X3P(Push) should cancel MTLR when X3P(Push) called at 
-					//There should be one transmit position flags
-					//There should be one MeasurementReportLocation flag
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=1 || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-				case 135:	//0135
-
-				case 143:
-				case 144:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					// Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//X3P(Push) should complete after MTLR as its too late to cancel MTLR. 
-					//There should be one transmit position flags
-					//There should be two MeasurementReportLocation flag
-					//The time stamp of Transmit position should be after second MeasurementReportLocation flag
-					if(doTransmitPosTime.Count() !=1 ||notifyMRLocationTime.Count() !=2 || 
-						doTransmitPosTime[0]->Int64() < notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-
-				case 1002:
-					{
-					//Set minimum response time for a-gps
-					utils.NotifyModuleOfConfigChangeL(modDataInTimeout);
-
-					//Kick off test.
-					CActiveScheduler::Start();
-
-					AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-					AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-
-					TBool bResult;
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[2])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::EExactAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[2])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::EExactAccuracy);
-						}
-					else
-						{
-						bResult = utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[2])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[1])), T_LbsUtils::ERoughAccuracy);
-						bResult &= utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[2])), *(reinterpret_cast<TPositionInfo*>(curPosInfoArr[0])), T_LbsUtils::ERoughAccuracy);
-						}
-
-					//X3P(Push) should cancel MTLR when X3P(Push) called at 
-					//There should be one transmit position flags
-					//There should be one MeasurementReportLocation flag
-					if(doTransmitPosTime.Count() !=2 ||notifyMRLocationTime.Count() !=3 ||
-						doTransmitPosTime[0]->Int64() < notifyMRLocationTime[1]->Int64() || !bResult)
-						{
-						INFO_PRINTF1(_L("<FONT><B>MTLR wasn't get cancelled </B></FONT>"));
-						SetTestStepResult(EFail);	
-						}
-					}
-					break;
-
-				case 1003:
-					//TBD
-					ASSERT(FALSE);
-					break;
-
-				case 1004:
-					//TBD
-					ASSERT(FALSE);
-					break;
-
-
-				default:
-					{
-					User::Panic(KLbsX3PStep_Conflict, KErrUnknown);
-					}					
-				}
-			}
-		// Clean up.
-		iNetSim.Close();
-		//CleanupStack::PopAndDestroy(&iTransmitPositioner2);					
-		//CleanupStack::PopAndDestroy(&iTransmitPositioner);					
-		//CleanupStack::PopAndDestroy(&server);	
-		}
-
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsX3PStep_Conflict::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-void CT_LbsX3PStep_Conflict::MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo)
-	{
-	(void)aStatus;
-	(void)aRefPosInfo;
-	}
-
-
-
-/**	
-	Transmit Position callback.
-**/
-
-void CT_LbsX3PStep_Conflict::MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO)
-	{
-	INFO_PRINTF1(_L("Got - Transmit Position - Callback Event."));
-
-	//We can check callback completion order here in the case of two X3Ps
-
-	switch(iTestCaseId)
-		{
-		case 22:
-		case 54:
-		case 62:
-		case 94:
-		case 102:
-			{
-			if(iterator==0 && aDoTransmitPosAO != iDoTransmitPosAO)
-				iStateX3P=EX3PErrorReported;
-			else if(iterator==1 && aDoTransmitPosAO != iDoTransmitPosAO2)
-				iStateX3P=EX3PErrorReported;
-			else if(aStatus.Int() != KErrNone)
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-
-		case 53:
-			{
-			if(iterator==0 && aStatus.Int() != KErrCancel)
-				iStateX3P=EX3PErrorReported;
-			else if(iterator==1 && aDoTransmitPosAO != iDoTransmitPosAO2)
-				iStateX3P=EX3PErrorReported;
-			else if(aStatus.Int() != KErrNone)
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-
-		case 93:  //Might have to modify as Timer and Menu priorities are same in the case of MOAP
-			{
-			if(iterator==0 && aDoTransmitPosAO != iDoTransmitPosAO && aStatus.Int() != KErrCancel)
-				iStateX3P=EX3PErrorReported;
-			else if(iterator==1 && aDoTransmitPosAO != iDoTransmitPosAO2)
-				iStateX3P=EX3PErrorReported;
-			else if(iterator==2 && aDoTransmitPosAO != iDoTransmitPosAO)
-				iStateX3P=EX3PErrorReported;
-			else if(aStatus.Int() != KErrNone)
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-
-		//For the following cases, the error code should never be cancel or anything else...
-		case 32:
-		case 34:
-		case 35:
-		case 45:
-
-		case 72:
-		case 74:
-		case 75:
-		case 85:
-
-		case 112:
-		case 114:
-		case 115:
-		case 125:
-
-		case 133:
-		case 134:
-		case 135:
-		case 143:
-		case 144:
-			{
-			if(aStatus.Int() != KErrNone)
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-			
-		case 42:
-		case 43:
-		case 44:
-
-		case 82:
-		case 83:
-		case 84:
-
-		case 122:
-		case 123:
-		case 124:
-			{
-			if(iterator==0 && aStatus.Int() != KErrCancel)
-				iStateX3P=EX3PErrorReported;
-			else if(aStatus.Int() != KErrNone)
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-			
-		default:
-			break;
-		}
-
-	if(iStateX3P == EX3PErrorReported)
-		{
-		INFO_PRINTF1(_L("Error in X3P Completion"));
-		SetTestStepResult(EFail);
-		}
-	
-	SetCallbackFlag(KLbsCallback_Got_NotifyDoTransmitPos);
-	}	
-
-void CT_LbsX3PStep_Conflict::MT_LbsDoPosUpdateCallback(TRequestStatus& aStatus)
-	{
-	INFO_PRINTF1(_L("Got - Notify Update - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-		case 4:
-			if(aStatus.Int() != KErrCancel)
-				iStateX3P = EX3PErrorReported;
-			break;
-
-		case 5:
-		case 12:
-			if(aStatus.Int() != KErrNone || !TestCallbackFlags(KLbsCallback_Got_NotifyDoTransmitPos))
-				iStateX3P = EX3PErrorReported;
-
-			iState = EWaiting;
-			break;
-
-		default:
-			iStateX3P = EX3PErrorReported;
-		}
-
-	if(iStateX3P==EX3PErrorReported)
-		{
-		INFO_PRINTF1(_L("Failed in Notify Update"));
-		SetTestStepResult(EFail);
-		}
-
-	SetCallbackFlag(KLbsCallback_Got_DoPosUpdate);
-	}	
-	
-/** Keep alive timer callback.
-	Check the state machine to determine when to halt the test. Once all the callbacks
-	have been received the test can end.
-	This function should just monitor iState and nothing else releated to the test.
-**/
-
-void CT_LbsX3PStep_Conflict::HandleTimerL(TInt aTimerId, const TTime& aTargetTime)
-	{
-	(void)aTimerId;
-	(void)aTargetTime;
-
-	INFO_PRINTF1(_L("Got - Keep Alive Timer - Callback Event."));
-
-	RPointerArray<TTime> doTransmitPosTime;
-	RPointerArray<TTime> releaseLcsMoLrTime;
-	RPointerArray<TTime> notifyMRLocationTime;
-
-	AnalyseCallbackFlags( KLbsCallback_Got_NotifyDoTransmitPos, doTransmitPosTime);
-	AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation, notifyMRLocationTime);
-	AnalyseCallbackFlags( KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr, releaseLcsMoLrTime);
-	
-	//Setting termination condition
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-		case 4:
-			{
-			if(doTransmitPosTime.Count()==1)
-				iState = EWaiting;
-			}
-			break;
-
-		case 5:	//These cases are already handled in MT_LbsDoPosUpdateCallback() function
-		case 12:
-			break; 
-
-		//If we got two Transmit positions, we can terminate
-		case 22:
-		case 53:
-		case 54:
-		case 62:
-		case 94:	
-		case 102:
-			{
-			if(doTransmitPosTime.Count()==2)
-				iState = EWaiting;
-			}
-			break;
-
-		case 93:	
-			{
-			if(doTransmitPosTime.Count()==3)
-				iState = EWaiting;
-			}
-			break;
-
-		//The second MTLR request should be cancelled so if we get one Transmit Position, we can terminate
-		case 32:
-		case 34:
-		case 72:
-		case 74:
-		case 112:
-		case 114:
-
-		case 133:
-		case 134:
-			{
-			if(doTransmitPosTime.Count()==1)
-				iState = EWaiting;
-			}
-			break;
-
-		//When X3P is interrupted  by (E)MTLR, if we get one transmit position and two ReleaseLcsMoLr, we can terminate
-		case 42:
-		case 43:
-		case 44:
-			
-		case 82:		//0082
-		case 83:		//0083
-		case 84:		//0084
-			
-		case 122:	//0122
-		case 123:	//0123
-		case 124:	//0124
-			{
-			if(doTransmitPosTime.Count()==2 && releaseLcsMoLrTime.Count()==2)
-				iState = EWaiting;
-			}
-			break;
-		
-		//When X3P is finished followed by (E)MTLR, if we get one transmit position and one ReleaseLcsMoLr, we can terminate
-		case 35:
-		case 45:
-		case 75:
-		case 85:		//0085
-		case 115:
-		case 125:	//0125
-			{
-			if(doTransmitPosTime.Count()==1 && releaseLcsMoLrTime.Count()==1)
-				iState = EWaiting;
-			}
-			break;
-
-		//If MTLR is finished followed by X3P, we should get one transmitposition and one Measurementcontrolreport to terminate
-		case 135:	//0135
-		case 143:
-		case 144:
-			{
-			if(doTransmitPosTime.Count()==1 && notifyMRLocationTime.Count()==1)
-				iState = EWaiting;
-			}
-			break;
-
-		default:
-			{
-			INFO_PRINTF1(_L("Unknown Error"));
-			SetTestStepResult(EFail);
-			}
-			break;
-		}
-
-
-	// We stop test from here when in the correct state and , there should not be anything outstanding.
-	if (iStateX3P == EX3PErrorReported ||iState == EWaiting) 	//(iState != EDone && (iStateX3P == EX3PDone || iStateX3P == EX3PNormal) && (TestCallbackFlags(KLbsCallback_Got_NotifyDoTransmitPos) ||TestCallbackFlags(KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation))))
-		{
-		iState = EDone;
-		iStateX3P = EX3POk;
-		CActiveScheduler::Stop();
-		}
-	else    // Keep going, still waiting for callbacks.	
-		{
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod1);
-		iKeepAliveTimer->SetTimer(interval);
-		}
-	}
-
-void CT_LbsX3PStep_Conflict::Connected()
-	{
-	INFO_PRINTF1(_L("Got - NetSim Connect - Callback Event."));
-
-	// Create a posinfo and store in our shared array for later verification.
-	RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-	iPosInfo0 = new(ELeave) TPositionInfo();
-	iPosInfo1 = new(ELeave) TPositionInfo();
-	
-	T_LbsUtils utils;
-	utils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-	posInfoArr.Append(iPosInfo0);
-	posInfoArr.Append(iPosInfo1);
-
-	switch(iTestCaseId)
-		{
-
-		case 2:
-		case 3:
-		case 4:
-		case 5:
-
-		case 12:
-			{
-			iDoPosUpdate->StartL(*iPosInfo0);
-			}
-			break;
-			
-		case 21:
-		case 22:
-
-		case 31:
-		case 32:
-		case 34:
-		case 35:
-
-		//case 0041:
-		case 42:
-		case 43:
-		case 44:
-
-		case 1001:
-			{
-			iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, *iPosInfo0);
-
-			if(iTestCaseId == 21)			
-				iDoTransmitPosAO2->TransmitPosition( KDestIDL, priorityL, *iPosInfo1); 
-			else if(iTestCaseId == 31 || iTestCaseId == 41)			
-				{
-				//Do we need to put some sleep - TBD
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				if(iTestCaseId == 41)			
-					iNetSim.SetEmergenyStatus(ETrue);
-				
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-			}
-			break;
-
-		//case 51:
-		case 53:
-		case 54:
-
-		//case 61:
-		case 62:
-
-		//case 0071:
-		case 72:
-		case 74:
-		case 75:
-
-		//case 81:  	//0081 - I dont know why but compiler gives error if I write it case 0081 :(
-		case 82:	//0082
-		case 83:	//0083
-		case 84:	//0084
-			{
-			iDoTransmitPosAO->TransmitPosition( KDestIDM, priorityM, *iPosInfo0);
-
-			#if 0 //will have to look later
-			if(iTestCaseId == 51)
-				{
-				iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-				}
-			else if(iTestCaseId == 61)
-				{
-				iDoTransmitPosAO->TransmitPosition( KDestIDL, priorityL, *iPosInfo1);
-				}
-			else if(iTestCaseId == 71 || iTestCaseId == 81)
-				{
-				//Do we need to put some sleep - TBD
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				if(iTestCaseId == 81)			
-					iNetSim.SetEmergenyStatus(ETrue);
-				
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-			#endif
-			
-			}
-			break;
-
-		case 93:	//0093
-		case 94:	//0094
-
-		case 102:
-
-		//case 111:
-		case 112:
-		case 114:
-		case 115:
-
-		//case 121:	//0121 - Now compiler cries as constant used *more than once* if I write it as 0121 :(
-		case 122:	//0122
-		case 123:	//0123
-		case 124:	//0124
-			{
-			iDoTransmitPosAO->TransmitPosition( KDestIDL, priorityL, *iPosInfo0);
-
-			#if 0 //will have to look later
-			if(iTestCaseId == 111 || iTestCaseId == 121)
-				{
-				//Do we need to put some sleep - TBD
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				if(iTestCaseId == 121)			
-					iNetSim.SetEmergenyStatus(ETrue);
-				
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-			#endif
-			}
-			break;
-			
-		case 133:
-		case 134:
-		case 135:	//0135
-
-		case 143:
-		case 144:
-			{
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-			}
-			break;
-
-		case 1002:
-			{
-			//TPositionInfo* posInfo2;
-			//posInfo2= new(ELeave) TPositionInfo();
-			//posInfoArr.Append(posInfo2);
-
-			iDoTransmitPosAO->TransmitPosition( KDestIDL, priorityL, *iPosInfo0);
-			iDoTransmitPosAO2->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-			}
-			break;
-			
-		default:
-			iStateX3P = EX3PErrorReported;
-			break;
-		}
-
-		SetCallbackFlag(KLbsCallback_NetSim_Got_Connect);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyReleaseLcsLocationNotification(const CLbsNetworkProtocolBase::TLbsPrivacyResponse& aResult)
-	{
-	(void)aResult;
-	
-	INFO_PRINTF1(_L("Got - NetSim NotifyReleaseLcsLocationNotification - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		//case 0031:
-		case 32:
-		case 34:
-
-		//case 0071:
-		case 72:
-		case 74:
-
-		//case 0111:
-		case 112:
-		case 114:
-
-		case 1001: //This case is network induced request (call StartNetworkLocationRequest())
-			iStateX3P = EX3PErrorReported;
-			break;
-
-		case 35:
-		case 75:
-		case 115:
-			{
-			iNetSim.StartNetworkLocationRequest();
-			break;
-			}
-
-		//case 0041:
-		case 42:
-		case 43:
-		case 44:
-		case 45:
-
-		//case 81:	//0081
-		case 82:		//0082
-		case 83:		//0083
-		case 84:		//0084
-		case 85:		//0085
-
-		//case 121:	//0121
-		case 122:	//0122
-		case 123:	//0123
-		case 124:	//0124
-		case 125:	//0125
-			{
-			//Do we need to set emergency flag here also for MTLR - TBD
-			iNetSim.StartNetworkLocationRequest();
-			break;
-			}
-
-		case 133:
-			{
-			iNetSim.StartNetworkLocationRequest();
-			iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-			}
-			break;			
-
-		case 134:
-			{
-			iNetSim.StartNetworkLocationRequest();
-			iDoTransmitPosAO->TransmitPosition( KDestIDL, priorityL, *iPosInfo1);
-			}
-			break;			
-
-		default:
-			iStateX3P = EX3PErrorReported;
-			break;
-		}
-
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyReleaseLcsLocationNotification);
-	iNetSim.Next(KErrNone);
-	}
-
-	/**
-	The response to an MoLr (FROM: Gateway)
-	@param aPosition the position
-	*/
-void CT_LbsX3PStep_Conflict::NotifyMeasurementReportLocation(const TPositionInfo& aPosition)
-	{
-	INFO_PRINTF1(_L("Got - NetSim NotifyMeasurementReportLocation - Callback Event."));
-
-	RPointerArray<TAny>& verifyPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-	//TPositionInfo* verifyPosInfo = reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0]);
-	T_LbsUtils utils;
-
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-			
-		case 53:
-			{
-			if(iterator==0)
-				{
-				iStateX3P=EX3PErrorReported;
-				}
-			if(iterator==1)
-				{
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					//temp code -braj
-					//TPositionInfo* pos = reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1]);
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-
-		case 4:
-		case 54:
-		case 94:	//0094
-		case 135:
-
-		case 5:
-		case 12:
-		case 22:
-		case 62:
-		case 102:
-		case 35:
-		case 45:
-		case 75:
-		case 85:		//0085
-		case 115:
-		case 125:	//0125
-
-		case 143:
-		case 144:
-			{
-			if(iterator==0)
-				{
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-
-				if(iTestCaseId==4 || iTestCaseId== 54 || iTestCaseId== 94 ||iTestCaseId== 135)
-					iDoTransmitPosAO2->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-				}
-			else if(iterator==1)
-				{
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P=EX3PErrorReported;
-			}
-			break;
-
-		//case 31:
-		case 32:
-
-		case 71:
-		case 72:
-
-		case 111:
-		case 112:
-
-		case 34:
-		case 74:
-		case 114:
-			{
-			if(iterator==0)
-				{
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-
-				if(iTestCaseId == 34 || iTestCaseId == 74 || iTestCaseId == 114)
-					{
-					//Ask Netsim to send MTLR
-					TLbsNetPosRequestPrivacy reqType;
-					reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-					reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-					TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-					iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-					}
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-
-		case 42:
-		case 43:
-		case 44:
-		
-		case 82:	//0082
-		case 83:	//0083
-		case 84:
-
-		case 93:	//0093
-			
-		case 122:	//0122
-		case 123:	//0123
-		case 124:
-
-		case 1001:
-			{
-			if(iterator==0)	
-				{
-				iStateX3P = EX3PErrorReported;
-				}
-			else if(iterator==1)
-				{ 
-				//This should return E-MTLR location
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else if(iterator==2)
-				{
-				//This should return X3P location
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-
-		case 133:
-		case 134:
-			{
-			if(iterator==0)	
-				{
-				//compare position with the second entry in verify array.
-				//This should return X3P(Push) location as MTLR is cancelled
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-
-		case 1002:
-			{
-			if(iterator==0)
-				{ 
-				//This should return E-MTLR location
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[2])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[2])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else if(iterator==1)
-				{
-				//This should return X3P location
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else if(iterator==2)
-				{
-				//This should return X3P location
-				//compare position with the second entry in verify array.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-			
-			
-		default:
-			break;
-		}
-
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation);
-
-	if(iStateX3P==EX3PErrorReported)
-		{
-		INFO_PRINTF1(_L("Failed test, position incorrect."));
-		SetTestStepResult(EFail);
-		}
-	//Increment iterator in case of MTLR test cases. For only X3P conflicts, it should be incremented in NotifyReleaseLcsMoLr - TBD
-	if(iTestCaseId==143 || iTestCaseId==144 || iTestCaseId==1002)
-		iterator++;
-	iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyMeasurementControlLocation(const TPositionInfo& aPosition, 
-													  const RLbsAssistanceDataBuilderSet& aData, 
-													  const TLbsNetPosRequestQuality& aQuality)
-	{
-	(void)aPosition;
-	(void)aData;
-	(void)aQuality;
-	
-	INFO_PRINTF1(_L("Got - NetSim NotifyMeasurementControlLocation - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		case 3:
-		case 93:	//0093
-			{
-			if(iterator==0)
-				{
-				INFO_PRINTF1(_L("Iterator = 0; calling TransmitPosition() from NotifyMeasurementControlLocation callback."));
-				iDoTransmitPosAO2->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-				}
-
-			break;
-			}
-
-		case 43:
-		case 83:	//0083
-		case 123:	//0123
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				iNetSim.SetEmergenyStatus(ETrue);
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-			}
-			break;
-		
-		case 53:
-		case 134:
-			{
-			if(iterator==0)
-				{
-				INFO_PRINTF1(_L("Iterator = 0; calling TransmitPosition() from NotifyMeasurementControlLocation callback."));
-				iDoTransmitPosAO2->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-				}
-			}
-			break;
-
-		case 144:
-			{
-			if(iterator==0)
-				{
-				INFO_PRINTF1(_L("Iterator = 0; calling TransmitPosition() from NotifyMeasurementControlLocation callback."));
-				iDoTransmitPosAO2->TransmitPosition( KDestIDL, priorityL, *iPosInfo1);
-				}
-			}
-			break;
-			
-		default:
-			break;
-		}
-
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation);
-	iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyRegisterLcsMoLr(const TDesC& aData)
-	{
-	INFO_PRINTF1(_L("Got - NetSim NotifyRegisterLcsMoLr - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		case 2:
-			{
-			if(iterator==0)
-				iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-			else if(iterator==1)
-				{
-				if(aData.Compare(KDestIDH) !=0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-
-		case 3:
-		case 4:
-		case 5:
-			{
-			if(iterator == 1)
-				{
-				if(aData.Compare(KDestIDH) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else if (iterator == 2)
-				{
-				iStateX3P = EX3PErrorReported;
-				}
-			}
-			break;
-			
-		case 12:
-		case 22:
-
-		case 62:
-
-		case 102:
-			{
-			if(iterator==0)
-				iDoTransmitPosAO2->TransmitPosition( KDestIDL, priorityL, *iPosInfo1);
-			else if(iterator==1)
-				{
-				if(aData.Compare(KDestIDL) !=0)
-					iStateX3P= EX3PErrorReported;
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-		
-		case 32:
-		case 42:
-		case 72:
-		case 82:	//0082
-		case 112:
-		case 122:	//0122
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				if(iTestCaseId == 42 || iTestCaseId == 82 || iTestCaseId == 122)
-					iNetSim.SetEmergenyStatus(ETrue);
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-			else if(iterator==1 && (iTestCaseId == 32 || iTestCaseId == 42))
-				{
-				if(aData.Compare(KDestIDH) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else if(iterator==1 && (iTestCaseId == 72 || iTestCaseId == 82))
-				{
-				if(aData.Compare(KDestIDM) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else if(iterator==1 && (iTestCaseId == 112 || iTestCaseId == 122))
-				{
-				if(aData.Compare(KDestIDL) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-				
-			}
-			break;
-
-		case 1001:
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send network induced emergency request
-				iNetSim.SetEmergenyStatus(ETrue);
-				iNetSim.StartNetworkLocationRequest();
-				}
-			else if(iterator==1)
-				{
-				if(aData.Compare(KDestIDH) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-				
-			}
-			break;
-
-		case 1002:
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send network induced emergency request
-				iNetSim.SetEmergenyStatus(ETrue);
-				iNetSim.StartNetworkLocationRequest();
-				}
-			else if(iterator==1)
-				{
-				if(aData.Compare(KDestIDH) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else if(iterator==2)
-				{
-				if(aData.Compare(KDestIDL) != 0)
-					iStateX3P = EX3PErrorReported;				
-				}
-			else
-				iStateX3P = EX3PErrorReported;
-				
-			}
-			
-			
-		default:
-			break;
-
-		}
-
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr);
-	iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyReleaseLcsMoLr(TInt aReason)
-	{
-	INFO_PRINTF1(_L("Got - NetSim NotifyReleaseLcsMoLr - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		case 2:
-		case 3:
-		case 4:
-			{
-			if(iterator ==0)
-				{
-				if(aReason != KErrCancel)
-					iStateX3P = EX3PErrorReported;
-				}
-			else
-				{
-				if(aReason != KErrNone)
-					iStateX3P = EX3PErrorReported;
-				}
-			}
-			break;
-
-		case 35:
-		case 75:
-		case 115:
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-
-			if(aReason!=KErrNone)
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-			
-		case 45:
-		case 85:		
-		case 125:	
-			{
-			if(iterator==0)
-				{
-				//Ask Netsim to send MTLR
-				TLbsNetPosRequestPrivacy reqType;
-				reqType.SetRequestAction(TLbsNetPosRequestPrivacy::ERequestActionAllow); // Request will be accepted
-				reqType.SetRequestAdvice(TLbsNetPosRequestPrivacy::ERequestAdviceSilent); // No user involvement.
-				TLbsExternalRequestInfo reqInfo; // Hope default values are good enough.
-
-				iNetSim.SetEmergenyStatus(ETrue);
-				iNetSim.StartNetworkPrivacyRequest(reqType, reqInfo);
-				}
-
-			if(aReason!=KErrNone)
-				iStateX3P = EX3PErrorReported;
-			}
-			break;
-
-		default:
-			if(aReason!=KErrNone)
-				iStateX3P = EX3PErrorReported;
-			break;
-		}
-
-	if(iTestCaseId != 143 && iTestCaseId != 144)
-		iterator++;
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr);
-	iNetSim.Next(KErrNone);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-	(void)aReason;
-	
-	INFO_PRINTF1(_L("Got - NetSim NotifyMeasurementReportControlFailure - Callback Event."));
-
-	switch(iTestCaseId)
-		{
-		case 3:
-			break;
-
-		default:
-			//Panic
-			iStateX3P = EX3PErrorReported;
-			break;
-		}
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure);
-	iNetSim.Next(KErrNone);
-
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyFacilityLcsMoLrResult(TInt aReason, const TPositionInfo& aPosition)
-	{
-	INFO_PRINTF1(_L("Got - NetSim NotifyFacilityLcsMoLrResult - Callback Event."));
-
-	RPointerArray<TAny>& verifyPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-	T_LbsUtils utils;
-	
-	switch(iTestCaseId)
-		{
-		case 5:
-			if(iterator==0)
-				{
-				//the MoLr request would have been completed by now and position should be received.
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[0])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				
-				iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, *iPosInfo1);
-				}
-			else if(iterator==1)
-				{
-				if(iParent.iSharedData->iTestModuleInUse)
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::EExactAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				else
-					{
-					if (!utils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(verifyPosInfoArr[1])), aPosition, T_LbsUtils::ERoughAccuracy))
-						iStateX3P=EX3PErrorReported;
-					}
-				}
-			else
-				iStateX3P=EX3PErrorReported;
-
-		default:
-			break;
-		}
-	
-	if(aReason != KErrNone || iStateX3P==EX3PErrorReported)
-		{
-		INFO_PRINTF1(_L("<FONT><B>NotifyFacilityLcsMoLrResult returned error</B></FONT>"));
-		SetTestStepResult(EFail);	
-		}
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult);
-	iNetSim.Next(KErrNone);
-	}
-
-//	Below function might be needed later......
-TInt64 CT_LbsX3PStep_Conflict::CallbackTime(TLbsCallbackFlags aCallbackFlag)
-	{
-  	for(TInt i=0; i<iTSArray.Count();++i)
-		{
-		if(iTSArray[i]->flag == aCallbackFlag)
-			return iTSArray[i]->sysTime.Int64();
-		}
-	return -1;
-	}
-
-void CT_LbsX3PStep_Conflict::SetCallbackFlag(TLbsCallbackFlags aCallbackFlag)
-	{
-	//Set Timestamp
-	TIME_STAMP *timeStamp = new TIME_STAMP;
-	timeStamp->flag = aCallbackFlag;
-	timeStamp->sysTime.UniversalTime();
-	iTSArray.Append(timeStamp);
-
-	//Call Baseclass function
-	CT_LbsX3PStep::SetCallbackFlag(aCallbackFlag);
-	}
-
-void CT_LbsX3PStep_Conflict::AnalyseCallbackFlags(TLbsCallbackFlags aCallbackFlag, RPointerArray<TTime> & aCallbackTime)
-	{
-	for(int i=0; i<iTSArray.Count(); ++i)
-		{
-		if(iTSArray[i]->flag == aCallbackFlag)
-			{
-			aCallbackTime.Append(&(iTSArray[i]->sysTime));
-			}
-		}
-	}
-
-//End of used code
-
-#if 0
-void CT_LbsX3PStep_Conflict::NotifyRegisterLcsMoLr(const TDesC& aData)
-	{
-	//(void)aData;
-
-	INFO_PRINTF1(_L("Got - NetSim NotifyRegisterLcsMoLr - Callback Event."));
-	switch(iStateX3P)
-		{
-		case EX3PNormal:
-			//Normal call...do nothing
-		break;
-			
-		case EX3PPriorityInterrupt:
-			{
-			//Request X3P with high priority
-			//set state to EX3PAny
-			if(iState != EStartMolrTransmitInNotifyMeasurementControlLocation &&
-				iState != EStartMolrTransmitInNotifyMeasurementReportLocation)
-				{
-				//Release the signalstatus so that the handler can call transmit position
-				//TRequestStatus *stat = &iDummyAO->iStatus;
-				//User::RequestComplete(stat, KErrNone);
-				iDoTransmitPosAO->TransmitPosition( KDestIDH, priorityH, postitionInfo);
-				}
-			iStateX3P = EX3PAny;
-			}
-		break;
-
-		case EX3PPriorityNormal:
-			{
-			//Release the signalstatus so that the handler can call transmit position
-			//TRequestStatus *stat = &iDummyAO->iStatus;
-			//User::RequestComplete(stat, KErrNone);
-			iDoTransmitPosAO->TransmitPosition( KDestIDL, priorityL, postitionInfo);
-			iStateX3P = EX3PPhaseOneOK;
-			}
-		break;
-		
-		case EX3PControlCancel:
-			{
-			//compare aData with high priority api destination data
-			//if different, something is wrong - set state to EX3PErrorReported
-			//else - set state to EX3PPhaseOneOK
-			}
-		break;
-#if 0
-		case ENormalNotifyDone:
-			{
-			//compare adata with second  priority api destination data
-			//if different, something is wrong - set state to EErrorReported
-			//else - set state to ECorrectTwo
-			}
-		break;
-#endif		
-		case EX3PNotifyReleaseDone:
-			{
-			//compare adata with low priority api destination data
-			//if different, something is wrong - set state to EX3PErrorReported
-			//else - set state to EX3PPhaseTwoOK
-			if(aData.Compare(KDestIDL))
-				iStateX3P= EX3PPhaseTwoOK;
-			else
-				iStateX3P = EX3PErrorReported;				
-			}
-		break;
-
-		default:
-			//Panic - set state to EX3PErrorReported
-			iStateX3P = EX3PErrorReported;
-		break;
-		
-		}
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr);
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyReleaseLcsMoLr(TInt aReason)
-	{
-	(void)aReason;
-
-	INFO_PRINTF1(_L("Got - NetSim NotifyReleaseLcsMoLr - Callback Event."));
-	switch(iStateX3P)
-		{
-		case EX3PNormal:
-			//Normal call - dont do anything
-		break;
-			
-		case EX3PPhaseOneOK:
-			{
-				//change state to EX3PNotifyReleaseDone
-				iStateX3P = EX3PNotifyReleaseDone;
-			}
-		break;
-#if 0
-		case ENormalCorrect:
-			{
-				//change state to ENormalNotifyDone
-			}
-		break;
-#endif		
-		case EX3PPhaseTwoOK:
-			{
-			iStateX3P = EX3PDone;
-			//SetCallbackFlag(/*special flag for these test cases*/);
-			}
-		break;
-
-		default:
-			//Panic - set state to EX3PErrorReported
-			iStateX3P = EX3PErrorReported;
-			break;
-		}
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr);
-
-	}
-
-void CT_LbsX3PStep_Conflict::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-	(void)aReason;
-
-	INFO_PRINTF1(_L("Got - NetSim NotifyMeasurementReportControlFailure - Callback Event."));
-	switch(iStateX3P)
-		{
-		case EX3PNormal:
-			//Normal call - dont do anything
-		break;
-			
-		case EX3PAny:
-			//Set state to EControlCancel:
-			iStateX3P = EX3PControlCancel;
-		break;
-
-		default:
-			//Panic
-			iStateX3P = EX3PErrorReported;
-			break;
-		}
-	SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure);
-
-	}
-#endif
- 
-#if 0
-		switch(aCallbackFlag)
-			{
-			case KLbsCallback_NetSim_Got_Connect:
-				break;
-
-			case KLbsCallback_NetSim_Got_Disconnect:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyReleaseLcsLocationNotification:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyMeasurementReportRequestMoreAssistanceData:
-				break;
-
-			case KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure:
-				break;
-
-
-			case KLbsCallback_Got_NotifyDoTransmitPos:
-				break;
-
-			default:
-				break;
-
-			}
-#endif
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepnegative.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,217 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pStep_Neg.cpp
-// This is the class implementation for the LBS Client Test Step Base
-// 
-//
-
-#include "ctlbsx3pstepnegative.h"
-
-#include <lbs/test/tlbsutils.h>
-#include <lbs/test/ctlbsasyncwaiter.h>
-
-
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-
-
-//_LIT(KLbsRefPos, "RefPos");
-
-
-	
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all initialisation common to derived classes in here.
- * Make it being able to leave if there are any errors here as there's no point in
- * trying to run a test step if anything fails.
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsX3PStep_Negative::doTestStepPreambleL()
-	{
-	// Process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Negative::doTestStepPreambleL()"));
-	SetTestStepResult(EPass);
-
-	return TestStepResult();
-	}
-
-
-/**
- * @return - TVerdict
- * Implementation of CTestStep base class virtual
- * It is used for doing all after test treatment common to derived classes in here.
- * Make it being able to leave
- * The leave will be picked up by the framework.
- */
-TVerdict CT_LbsX3PStep_Negative::doTestStepPostambleL()
-	{
-	// Process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Negative::doTestStepPostabmleL()"));
-
-	//SetTestStepResult(EPass);  // or EFail
-	return TestStepResult();
-	}
-
-
-CT_LbsX3PStep_Negative::~CT_LbsX3PStep_Negative()
-	{
-	}
-
-
-CT_LbsX3PStep_Negative::CT_LbsX3PStep_Negative(CT_LbsX3PServer& aParent) : iParent(aParent)
-	{
-		SetTestStepName(KLbsX3P_Step_Negative);
-	}
-	
-	
-	/**
-Static Constructor
-*/
-CT_LbsX3PStep_Negative* CT_LbsX3PStep_Negative::New(CT_LbsX3PServer& aParent)
-	{
-	CT_LbsX3PStep_Negative* testStep = new CT_LbsX3PStep_Negative(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;	
-
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-		
-	return testStep;
-	}
-	
-	
-
-void CT_LbsX3PStep_Negative::ConstructL()
-	{
-
-	}
-
-
-
-
-// Need to implement these to actually do a test.
-TVerdict CT_LbsX3PStep_Negative::doTestStepL()
-	{
-		// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Transmit::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{
-			if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-			switch (iTestCaseId)
-				{
-				
-				// NEGATIVE TEST
-				// Test case LBS-X3P-Options-0002 	Attempt to set an invalid timeout
-				case 02:
-					{
-					TLbsTransmitPositionOptions transmitOptions;
-					transmitOptions.SetTimeOut(-1);
-					
-				
-
-					}
-					break;
-					
-					
-				// NEGATIVE TEST
-				// Test case LBS-X3P-Transmit-0031
-				case 131:
-				{
-					// Test case LBS-X3P-Transmit-0031	Request X3P when we have no server connection
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Test will probably panic before we can verify callback parameters.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-					
-					RLbsTransmitPositionServer testServer;
-					RLbsTransmitPosition testPositionTransmitter;					
-
-					testPositionTransmitter.Open(testServer);
-	
-
-
-					}
-					break;
-								
-				// NEGATIVE TEST
-				// Test case LBS-X3P-Transmit-0032
-				case 132:
-					{
-					// Test case LBS-X3P-Transmit-0032	Request X3P when we have no subsession connection
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Test will probably panic before we can verify callback parameters.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. Create a sub-session, but don't open it
-					RLbsTransmitPositionServer testServer;
-									
-					User::LeaveIfError(testServer.Connect()); 
-					CleanupClosePushL(testServer);
-
-					//	4. RLbsTransmitPosition sub-session
-					RLbsTransmitPosition testPositionTransmitter;
-					CleanupClosePushL(testPositionTransmitter);
-				
-					// Do transmit location.
-					TPositionInfo* 	pPosInfo;
-					TPositionInfo	positionInfo;
-					pPosInfo = &positionInfo;
-					CleanupStack::PushL(pPosInfo);
-			
-				    TBool bRefPos;
-				    bRefPos = GetIntFromConfig(ConfigSection(), KLbsRefPos, bRefPos);
-				    
-					// Kick off transmit position.
-					TRequestStatus status = 1;
-					if(bRefPos)
-						testPositionTransmitter.TransmitPosition(KBadDestination, KBadPriority, status, *pPosInfo, status, *pPosInfo);
-					else
-						testPositionTransmitter.TransmitPosition(KBadDestination, KBadPriority, status, *pPosInfo);
-				
-					
-					CleanupStack::Pop(pPosInfo);
-					}
-					break;
-								
-				default:
-					{
-					User::Panic(KLbsX3P_Step_Negative, KErrUnknown);
-					}
-					
-				}
-			}
-		}
-		
-	return TestStepResult();	
-	}
-
-
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3pstepopenclose.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,329 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3pstepopenclose.cpp
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes. 
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-
-// LBS test includes.
-#include "ctlbsx3pstepopenclose.h"
-#include <lbs/test/tlbsutils.h>
-
-#define NUM_MAX_SERVER 10
-#define NUM_MAX_SESSION 10
-
-_LIT(Ksrvvermajor, "srv_ver_major");
-_LIT(Ksrvverminor, "srv_ver_minor");
-_LIT(Ksrvverbuild, "srv_ver_build");
-
-/**
- * Destructor
- */
-CT_LbsX3PStep_OpenClose::~CT_LbsX3PStep_OpenClose()
-	{
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsX3PStep_OpenClose::CT_LbsX3PStep_OpenClose(CT_LbsX3PServer& aParent) : CT_LbsX3PStep(aParent)
-	{
-	SetTestStepName(KLbsX3PStep_OpenClose);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsX3PStep_OpenClose* CT_LbsX3PStep_OpenClose::New(CT_LbsX3PServer& aParent)
-	{
-	
-	CT_LbsX3PStep_OpenClose* testStep = new CT_LbsX3PStep_OpenClose(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-		
-	return testStep;
-	}
-
-void CT_LbsX3PStep_OpenClose::ConstructL()
-	{
-		//Call the base class c'tor to create timer.
-		CT_LbsX3PStep::ConstructL();
-	}
-
- 
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsX3PStep_OpenClose::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_OpenClose::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{		
-		TInt err = KErrNone;
-		RLbsTransmitPositionServer server;
-		RLbsTransmitPosition position;
-		TInt i=0,j=0;
-		
-		// Carry out common test actions (such as connecting to a server).
-		err = server.Connect();	// Function under test.
-
-		if (KErrNone == err)
-			{
-			INFO_PRINTF1(_L("server opened"));
-
-			// Carry out unique test actions.
-			TInt testCaseId;
-			if (GetIntFromConfig(ConfigSection(), KTestCaseId, testCaseId))
-				{
-				switch (testCaseId)
-					{
-					// Test case LBS-X3P-ConnectClose-0001
-					case 01:
-						{
-						RLbsTransmitPositionServer arrServer[NUM_MAX_SERVER];
-						for(i=0;i<NUM_MAX_SERVER;++i)
-							{
-							err = arrServer[i].Connect();
-							if(KErrNone != err)
-								{
-								INFO_PRINTF2(_L("<FONT><B>Server %d Connect didnt return KErrNone</B></FONT>"), i);
-								SetTestStepResult(EFail);	
-								break;
-								}
-							}
-						for(j=0; j<i;++j)
-							arrServer[j].Close();
-						}
-						break;
-						
-					// Test case LBS-X3P-ConnectClose-0002
-					case 02:
-						{
-						RLbsTransmitPositionServer arrServer[NUM_MAX_SERVER];
-						for(i=0;i<NUM_MAX_SERVER;++i)
-							{
-							err = arrServer[i].Connect();
-							if(KErrNone != err)
-								{
-								INFO_PRINTF2(_L("<FONT><B>Server %d Connect didnt return KErrNone</B></FONT>"), i);
-								SetTestStepResult(EFail);	
-								break;
-								}
-							arrServer[i].Close();
-							}
-						}
-						break;
-
-					// Test case LBS-X3P-ConnectClose-0003
-					case 03:
-						{
-						err = server.Connect();
-						if(KErrNone == err)
-							{
-							INFO_PRINTF2(_L("<FONT><B>Server connect should have returned error</B></FONT>"), i);
-							SetTestStepResult(EFail);	
-							}
-						}
-						break;
-
-					// Test case LBS-X3P-OpenClose-0001
-					case 11:
-						{
-						RLbsTransmitPosition arrPosition[NUM_MAX_SESSION];
-						for(i=0;i<NUM_MAX_SESSION;++i)
-							{
-							err = arrPosition[i].Open(server);
-							if(KErrNone != err)
-								{
-								INFO_PRINTF2(_L("<FONT><B>Server %d Open didnt return KErrNone</B></FONT>"), i);
-								SetTestStepResult(EFail);	
-								break;
-								}
-							}
-						for(j=0; j<i;++j)
-							arrPosition[j].Close();
-						}
-						break;
-						
-					// Test case LBS-X3P-OpenClose-0002
-					case 12:
-						{
-						err = position.Open(server);
-						if(KErrNone != err)
-							{
-							INFO_PRINTF1(_L("<FONT><B>RLbTransmitPosition Open() didnt return KErrNone</B></FONT>"));
-							SetTestStepResult(EFail);	
-							}
-						else
-							{
-							err = position.Open(server);  //This test should panic here so no need to close in next line
-							//position.Close();
-							}
-						}
-						break;
-						
-					// Test case LBS-X3P-OpenClose-0003
-					case 13:
-						{
-						err = position.Open(server);
-						if(KErrNone == err)
-							{
-							//This Close() should cause panic
-							server.Close();
-							}
-						}
-						break;
-						
-					// Test case LBS-X3P-OpenClose-0004
-					case 14:
-						{
-						RLbsTransmitPositionServer arrServer[NUM_MAX_SERVER];
-						RLbsTransmitPosition arrPosition[NUM_MAX_SERVER][NUM_MAX_SESSION];
-						TInt ii=0,jj,iNum[NUM_MAX_SERVER];  // = {0...0};
-						TBool bFlag = EFalse;
-						//iNum[0]=0;
-
-						for(i=0;i<NUM_MAX_SERVER;++i)
-							{
-							if(bFlag) // == ETrue) 
-								break;
-
-							err = arrServer[i].Connect();
-							if(KErrNone != err)
-								{
-								INFO_PRINTF2(_L("<FONT><B>RLbsTransmitPositionServer %d Connect didn't return KErrNone</B></FONT>"), i);
-								SetTestStepResult(EFail);	
-								break;
-								}
-							else
-								{
-								for(ii=0;ii<NUM_MAX_SESSION;++ii)
-									{
-									err = arrPosition[i][ii].Open(arrServer[i]);
-									if(KErrNone != err)
-										{
-										INFO_PRINTF2(_L("<FONT><B>RLbsTransmitPosition %d Open didn't return KErrNone</B></FONT>"), i);
-										SetTestStepResult(EFail);	
-										bFlag = ETrue;
-										break;
-										}
-									}
-								iNum[i]=ii;
-								}
-							}
-						for(j=0; j<i;++j)
-							{
-							for(jj=0; jj<iNum[j];++jj)
-								arrPosition[j][jj].Close();
-
-							arrServer[j].Close();
-							}
-						}
-						break;
-									
-					// Test case LBS-X3P-OpenClose-0005
-					case 15:
-						{
-						RLbsTransmitPositionServer tServer;
-						err = position.Open(tServer);
-						if(KErrNone == err)
-							{
-							INFO_PRINTF2(_L("<FONT><B>Session should not have opened</B></FONT>"), i);
-							SetTestStepResult(EFail);	
-							}
-						}
-						break;
-
-					// Test case LBS-X3P-OpenClose-0006
-					case 16:
-						{
-						position.Close();
-						}
-						break;
-
-					// Test case LBS-X3P-Version-0001
-					case 21:
-						{
-						TVersion serverversion;
-						serverversion = server.Version();
-						TInt majorVersionNumber = 0;
-						TInt minorVersionNumber = 0;
-						TInt buildVersionNumber = 0;
-						if(!(GetIntFromConfig(ConfigSection(), Ksrvvermajor, majorVersionNumber) &&
-						       GetIntFromConfig(ConfigSection(), Ksrvverminor, minorVersionNumber) &&
-							GetIntFromConfig(ConfigSection(), Ksrvverbuild, buildVersionNumber)))
-							{
-							INFO_PRINTF1(_L("Bad ini file Build info."));
-							User::Leave(KErrArgument);
-							}
-						
-						//Check expected Version matches tested version
-						if (majorVersionNumber == static_cast<TInt>(serverversion.iMajor) &&
-							minorVersionNumber == static_cast<TInt>(serverversion.iMinor) &&
-							buildVersionNumber == static_cast<TInt>(serverversion.iBuild))
-							{
-							INFO_PRINTF1(_L("Expected Version Matches"));
-							}
-						else
-							{
-							INFO_PRINTF1(_L("Expected Version Differs"));
-							SetTestStepResult(EFail);
-							}
-						}
-						break;
-
-					default:
-						{
-						User::Panic(KLbsX3PStep_OpenClose, KErrUnknown);
-						}					
-					}
-				}
-			server.Close();
-			}
-		else
-			{
-			INFO_PRINTF1(_L("<FONT><B>Unable to open Server</B></FONT>"));
-			SetTestStepResult(EFail);	
-			}
-		}
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsX3PStep_OpenClose::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3psteptransmit.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1694 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3psteptransmit.cpp
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes.
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/test/lbsnetsimtest.h>
-
-#include <lbs/lbsadmin.h>
-#include <lbs/lbslocerrors.h>
-
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbsx3psteptransmit.h"
-
-// Required for LBS-X3P-Transmit-0007
-#include  "ctlbsstepsetautonomousmode.h"
-
-
-const TInt KTestAssistanceDataProviderPluginUidValue = 0x10281D77;
-const TInt KRealAssistanceDataProviderPluginUidValue = 0x10285AC2;
-
-const TUint KLbsGpsLocManagerUidValue		= 0x10281D44;
-const TUid  KLbsGpsLocManagerUid			= {KLbsGpsLocManagerUidValue};
-
-#define REFPOS_LAT				52.2
-#define REFPOS_LONG				0.2
-#define REFPOS_ALT				10
-#define REFPOS_HORZ_ACCURACY	100
-#define REFPOS_VERT_ACCURACY	100
-
-#define NETWORK_MAX_FIX_TIME	5000000
-#define NETWORK_HORZ_ACCURACY	10
-#define NETWORK_VERT_ACCURACY	10
-
-
-//profile_id in ini file
-_LIT(KLbsProfileId, "profile_id");
-
-//max_time in ini file
-_LIT(KLbsMaxTime, "max_time");
-
-/**
- * Destructor
- */
-CT_LbsX3PStep_Transmit::~CT_LbsX3PStep_Transmit()
-	{
-	iServer.Close();
-	iPositionTransmitter.Close();
-	}
-
-
-/**
- * Constructor
- */
-CT_LbsX3PStep_Transmit::CT_LbsX3PStep_Transmit(CT_LbsX3PServer& aParent) : CT_LbsX3PStep(aParent)
-	{
-	SetTestStepName(KLbsX3PStep_Transmit);
-	}
-
-
-/**
-Static Constructor
-*/
-CT_LbsX3PStep_Transmit* CT_LbsX3PStep_Transmit::New(CT_LbsX3PServer& aParent)
-	{
-	CT_LbsX3PStep_Transmit* testStep = new CT_LbsX3PStep_Transmit(aParent);
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-
-	return testStep;
-	}
-
-void CT_LbsX3PStep_Transmit::ConstructL()
-	{
-	CT_LbsX3PStep::ConstructL();
-	
-	//We need to wait while the log events are added
-	SetExtendedTimerInterval(1000000);
-
-	// Carry out common test actions (such as connecting to a server).
-
-	// Connect to the Transmit Position server.
-	User::LeaveIfError(iServer.Connect());
-
-	// Open the positioner.
-	User::LeaveIfError(iPositionTransmitter.Open(iServer));
-
-	}
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsX3PStep_Transmit::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("&gt;&gt;CT_LbsX3PStep_Transmit::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{
-		//Code common to all switch statements
-
-		// Create the active object to carry out the transmit location.
-		iDoTransmitPos = CT_LbsX3PDoTransmitPos::NewL(this, iPositionTransmitter);
-		CleanupStack::PushL(iDoTransmitPos);
-
-		// Location to use.
-		//RPointerArray<TAny>& srcPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-		//TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(srcPosInfoArr[0]);
-		//TPosition srcPos;
-		//srcPosInfo->GetPosition(srcPos);
-
-
-
-	    iRefPosFlag = GetIntFromConfig(ConfigSection(), KLbsRefPos, iRefPosFlag);
-
-		iFlagsToHaltOn =	KLbsCallback_MoLr |
-							KLbsCallback_Got_NotifyDoTransmitPos |
-							(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-							KLbsCallback_NetSim_Got_Connect; // Test case callback events.
-
-		TModuleDataIn modDataIn; // Used to send test information to the test module.
-		//Reset test module timeout
-		//if(iParent.iSharedData->iTestModuleInUse)
-		//	{
-		//	modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-		//	modDataIn.iTimeOut = 0;
-		//
-		//	iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-		//	}
-
-		CLbsAdmin* adminApi = CLbsAdmin::NewL();
-		CleanupStack::PushL(adminApi);
-
-		// Kick off the keep alive timer.
-		TTimeIntervalMicroSeconds32 interval(KLbsKeepAlivePeriod);
-		iKeepAliveTimer->SetTimer(interval);
-
-		// Carry out unique test actions.
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-			switch (iTestCaseId)
-				{
-				// Test case LBS-X3P-Options-0001
-				case 01:
-				// Test case LBS-X3P-Options-0001	Request Transmit to third party with timeout
-				//
-				// External step:	Inform module of required single position to be transmitted.
-				// Local step:		Do X3P.
-				// Local callbacks:	Verify callback parameters are as expected.
-				//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-				//					TransmitPosition callback, aStatus should be KErrTimedOut
-
-					{
-
-					// We now expect extra callback of NotifyMeasurementReportControlFailure instead of
-					// KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation due to timeout.
-					iFlagsToHaltOn = 	KLbsCallback_MoLr |
-										KLbsCallback_NetSim_Got_Connect |
-										KLbsCallback_Got_NotifyDoTransmitPos |
-										(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-										// We expet failure callback due to tmieout!
-
-					iFlagsToHaltOn &=~ 	KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation;
-					iFlagsToHaltOn &=~ 	KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult;
-
-					//1.
-
-					//2
-					//Transmit Location
-					TLbsTransmitPositionOptions transmitOptions;
-					transmitOptions.SetTimeOut(5*1000000);	//Set X3P Timeout to 5 sec
-					iPositionTransmitter.SetTransmitOptions(transmitOptions);
-
-					User::After(1000);
-
-					TLbsTransmitPositionOptions retrievedTransmitOptions;
-					iPositionTransmitter.GetTransmitOptions(retrievedTransmitOptions);
-
-					if(retrievedTransmitOptions.TimeOut() != transmitOptions.TimeOut())
-						{
-						INFO_PRINTF1(_L("<FONT><B>Set and Get results didnt match</B></FONT>"));
-						SetTestStepResult(EFail);
-						}
-
-					// The module request type - time out value.
-					modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-					modDataIn.iTimeOut = 10*1000000;
-
-					// Send timeout value to test module - will block.
-					iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-
-					}
-					break;
-
-				case 03:
-					{
-					//Timeout for Transmit Location
-					TLbsTransmitPositionOptions transmitOptions;
-
-					TTimeIntervalMicroSeconds timeout = transmitOptions.TimeOut();
-					if(timeout.Int64() != 0)
-						{
-						INFO_PRINTF1(_L("<FONT><B>Default timeout should be zero</B></FONT>"));
-						SetTestStepResult(EFail);
-						}
-
-					//iFlagsToHaltOn = 	KLbsCallback_NetSim_Got_Connect ;
-
-					CleanupStack::PopAndDestroy(adminApi);
-					iDoTransmitPos->Cancel();
-					CleanupStack::PopAndDestroy(iDoTransmitPos);
-					return TestStepResult();
-					}
-
-				case 04:
-					{
-					//We might have to put this test in LBS-X3P-TransmitOptions
-					//Timeout for Transmit Location
-					TLbsTransmitPositionOptions transmitOptions(-10);
-
-					//The code should panic before and not come to this point
-					INFO_PRINTF1(_L("<FONT><B>Negative timout should not be allowed</B></FONT>"));
-					SetTestStepResult(EFail);
-
-					//return TestStepResult();
-					}
-
-				case 05:
-					{
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						//Configure gps-test-module to respond after the specified timeout.
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-						modDataIn.iTimeOut = 140*1000000;
-
-						// Send timeout value to test module - will block.
-						iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-						}
-
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect |
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr|
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0001
-				// This test uses the default functionality in each of the callbacks.
-				case 11:
-					{
-					// Kick off basic test.
-					// Test case LBS-X3P-Transmit-0001	Transmit current position with default options (no SetTransmitOptions() call
-					//									and quality profile left as default) to a valid destination.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0003
-				// This test switches to specific functionality in each of the callbacks.
-				case 13:
-					{
-					// Test case LBS-X3P-Transmit-0003	Request transmit current position from multiple sessions.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do multiple X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					// 					NotifyMeasurementReportLocation callback, each aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. Create single client (RlbsTransnitPositionServer object)
-					//	2. Open multiple sub-sessions (RlbsTransnitPosition objects)
-
-					CT_LbsX3PDoTransmitPos* pDoTransPos;
-					//RLbsTransmitPosition transPos1;
-					//RLbsTransmitPosition transPos2;
-					//RLbsTransmitPosition transPos3;
-					iTransmitPos1.Open(iServer);
-					iTransmitPos2.Open(iServer);
-					iTransmitPos3.Open(iServer);
-
-						//	3. Request X3P on each sub-session (can have same priorities)
-					// Create the active object array to carry out the transmit location.
-
-					pDoTransPos = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPos1);
-					iDoTransmitPosArr.AppendL(pDoTransPos);
-
-					pDoTransPos = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPos2);
-					iDoTransmitPosArr.AppendL(pDoTransPos);
-
-					pDoTransPos = CT_LbsX3PDoTransmitPos::NewL(this, iTransmitPos3);
-					iDoTransmitPosArr.AppendL(pDoTransPos);
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0004
-				case 14:
-
-					// Test case LBS-X3P-Transmit-0004	Transmit current position with specified quality profile Id to a valid destination.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:      Set admin KLbsSettingQualityProfileTransmitLocate and profile Id 4((which is exist in lbsprofile.ini)
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					// Test case LBS-X3P-Transmit-Profile-0033
-				case 133:
-				// Test case LBS-X3P-Transmit-Profile-0033	Request Transmit to third party with timeout
-				//
-				// External step:	Inform module of required single position to be transmitted.
-				// Local step:      Set admin KLbsSettingQualityProfileTransmitLocate and profile Id 0((which is exist in lbsprofile.ini)
-				// Local step:		Do X3P.
-				// Local callbacks:	Verify callback parameters are as expected.
-				//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-				//					TransmitPosition callback, aStatus should be KErrTimedOut
-
-					{
-
-					if(iTestCaseId==133)
-						{
-						// We now expect extra callback of NotifyMeasurementReportControlFailure instead of
-						// KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation due to timeout.
-						iFlagsToHaltOn = 	KLbsCallback_MoLr |
-											KLbsCallback_NetSim_Got_Connect |
-											KLbsCallback_Got_NotifyDoTransmitPos |
-											(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-											KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure;
-											// We expet failure callback due to tmieout!
-
-						iFlagsToHaltOn &=~ 	KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation;
-						iFlagsToHaltOn &=~ 	KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult;
-
-
-						// The module request type - time out value.
-					    modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-					    modDataIn.iTimeOut = 10*1000000;
-
-					    // Send timeout value to test module - will block.
-					    iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-						}
-
-					TInt profileid_ini;
-					TBool profileid_exists;
-			        profileid_exists = GetIntFromConfig(ConfigSection(), KLbsProfileId, profileid_ini);
-		            if(!profileid_exists)
-						{
-						INFO_PRINTF1(_L("Could not get profileid from section"));
-						SetTestStepResult(EFail);
-						}
-
-					TLbsQualityProfileId profileId;
-					// Set Profile id
-					User::LeaveIfError(adminApi->Set(KLbsSettingQualityProfileTransmitLocate, TLbsQualityProfileId(profileid_ini)));
-					//wait some time to propagate the setting
-					User::After(5*1000000);
-
-					// Verify that the setting is what we expect
-					User::LeaveIfError(adminApi->Get(KLbsSettingQualityProfileTransmitLocate, profileId));
-					if(profileId != TLbsQualityProfileId(profileid_ini))
-						{
-						INFO_PRINTF1(_L("<FONT><B>Set Profile id failed</B></FONT>"));
-						SetTestStepResult(EFail);
-						}
-					 }
-					break;
-
-				// Test case LBS-X3P-Transmit-0006
-				case 16:
-					{
-
-					// Test case LBS-X3P-Transmit-0006	Request X3P when gps unavailable
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should not be KErrNone
-
-					iFlagsToHaltOn = 	KLbsCallback_NetSim_Got_Connect |
-										KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-										KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-										KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure |
-										KLbsCallback_Got_NotifyDoTransmitPos |
-										(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-										KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr;
-
-					//	1. Configure test a-gps module to respond with error (gps unavailable)
-					// The module request type - error value.
-					modDataIn.iRequestType = TModuleDataIn::EModuleRequestError;
-					modDataIn.iError = KErrNotFound;
-
-					// Send error value to test module - will block.
-					iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0007
-				case 17:
-					{
-
-					// Test case LBS-X3P-Transmit-0007	Transmit to 3rd party with 'autonomous-only' mode set
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0008
-				case 18:
-					{
-
-					// Test case LBS-X3P-Transmit-0008	Request X3P when X3P turned off in admin settings.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					Callback should not be invoked
-					//					TransmitPosition callback, aStatus should be KErrAccessDenied
-
-					//	1. ETransmitLocateOff for KSettingHomeTransmitLocate
-
-					// X3P is turned off so no netsim callbacks should be recieved.
-					iFlagsToHaltOn = 	KLbsCallback_NetSim_Got_Connect |
-										(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-										KLbsCallback_Got_NotifyDoTransmitPos;
-
-					adminApi->Set(KLbsSettingHomeTransmitLocate, CLbsAdmin::ETransmitLocateOff);
-					User::After(10*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0009
-				case 19:
-					{
-
-					// Test case LBS-X3P-Transmit-0009	Request X3P when self-locate turned off in admin settings.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. ESelfLocateOff for KSettingHomeTransmitLocate
-					adminApi->Set(KLbsSettingHomeTransmitLocate, CLbsAdmin::ESelfLocateOff);
-					User::After(5*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0010
-				case 110:
-					{
-
-					// Test case LBS-X3P-Transmit-0010	Request X3P when ExternalLocateOff set for KSettingHomeTransmitLocate in admin settings.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. EExternalLocateOff for KSettingHomeTransmitLocate
-					adminApi->Set(KLbsSettingHomeTransmitLocate, CLbsAdmin::EExternalLocateOff);
-					User::After(5*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0011
-				case 111:
-					{
-
-					// Test case LBS-X3P-Transmit-0011	Request X3P when X3P turned off in admin settings. Roaming.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					iFlagsToHaltOn = 	KLbsCallback_NetSim_Got_Connect |
-										(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-										KLbsCallback_Got_NotifyDoTransmitPos;
-
-					#pragma message("TO DO: LBS-X3P-Transmit-0011 CANNOT TEST THIS IN ROAMING MODE YET. INCOMPLETE")
-
-					//	1. EExternalLocateOff for KSettingRoamingTransmitLocate
-					adminApi->Set(KLbsSettingRoamingTransmitLocate, CLbsAdmin::ETransmitLocateOff);
-					User::After(5*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0012
-				case 112:
-					{
-
-					// Test case LBS-X3P-Transmit-0012	Request X3P when ESelfLocateOff set for KLbsSettingRoamingTransmitLocate in admin settings.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. ESelfLocateOff for KLbsSettingRoamingTransmitLocate
-					adminApi->Set(KLbsSettingRoamingTransmitLocate, CLbsAdmin::ESelfLocateOff);
-					User::After(5*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0013
-				case 113:
-					{
-
-					// Test case LBS-X3P-Transmit-0013	Request X3P when EExternalLocateOff set for KLbsSettingRoamingTransmitLocate in admin settings.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					//	1. EExternalLocateOff for KLbsSettingRoamingTransmitLocate
-					adminApi->Set(KLbsSettingRoamingTransmitLocate, CLbsAdmin::EExternalLocateOff);
-					User::After(5*1000000);
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0014
-				case 114:
-					{
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						//Configure gps-test-module to respond after the specified timeout.
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-						modDataIn.iTimeOut = 10*1000000;
-
-						// Send timeout value to test module - will block.
-						iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-						}
-
-					//Set timeout to 0 - This should disable Timeout
-					TLbsTransmitPositionOptions transmitOptions;
-					transmitOptions.SetTimeOut(0);
-					iPositionTransmitter.SetTransmitOptions(transmitOptions);
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0015
-				case 115:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect |
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0016
-				case 116:
-					{
-					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect |
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 (iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-									 KLbsCallback_Got_NotifyDoTransmitPos;
-
-					}
-					break;
-
-				// Test case LBS-X3P-Transmit-0017
-				case 117:
-					{
-					if(iParent.iSharedData->iTestModuleInUse)
-						{
-						//Configure gps-test-module to request for more assitance data.
-						T_LbsUtils utils;
-						TModuleDataIn modDataIn; // Used to send test information to the test module.
-						modDataIn.iRequestType = TModuleDataIn::EModuleRequestTestMode;
-						modDataIn.iAssDataEventType = TModuleDataIn::EAssDataEventExpectSingle;
-						modDataIn.iAssDataTestMode = TModuleDataIn::EModuleTestModeAssDataOn_SomeDataNotAvailable;
-
-						utils.NotifyModuleOfConfigChangeL(modDataIn);
-						}
-
-					iFlagsToHaltOn |= 	KLbsCallback_NetSim_Got_NotifyMeasurementReportRequestMoreAssistanceData;
-
-					}
-					break;
-
-				case 118:
-					break;
-
-
-				// Test case LBS-X3P-Transmit-0030
-				case 130:
-					{
-					// Test case LBS-X3P-Transmit-0030	Kick off X3P test with bad phone number/email.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P but pass in an invalid number/email.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					TransmitPosition callback, aStatus should be KErrNotFound
-					iFlagsToHaltOn = 	KLbsCallback_NetSim_Got_Connect |
-										(iRefPosFlag? KLbsCallback_Got_NotifyDoTransmitReferencePos:0) |
-										KLbsCallback_Got_NotifyDoTransmitPos |
-										KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr;
-
-					}
-					break;
-
-				// Test case LBS-X3P-Timeout-0001
-				case 134:
-					{
-					// Kick off basic test.
-					// Test case LBS-X3P-Timeout-0001	Transmit current position with default options (no SetTransmitOptions() call
-					//									and quality profile left as default) to a valid destination.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do X3P.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aStatus should be KPositionQualityLoss
-					//					as the location provided didn't meet the quality requirements
- 					iFlagsToHaltOn = KLbsCallback_NetSim_Got_Connect |
-									 KLbsCallback_NetSim_Got_NotifyRegisterLcsMoLr |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementControlLocation |
-									 KLbsCallback_NetSim_Got_NotifyReleaseLcsMoLr |
-									 KLbsCallback_Got_NotifyDoTransmitPos |
-									 KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation |
-									 KLbsCallback_NetSim_Got_NotifyFacilityLcsMoLrResult;
-					}
-					break;
-
-
-				default:
-					{
-					User::Panic(KLbsX3PStep_Transmit, KErrUnknown);
-					}
-				}
-			}
-
-		//Connect to NetSim
-		iNetSim.ConnectL(this);
-
-		// Set the reference position, which also be used for any required verification.
-		iRefPos.SetCoordinate(REFPOS_LAT, REFPOS_LONG, REFPOS_ALT);
-		iRefPos.SetAccuracy(REFPOS_HORZ_ACCURACY, REFPOS_VERT_ACCURACY);
-		iRefPos.SetCurrentTime();
-
-		if (!iNetSim.SetReferenceLocation(iRefPos))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's reference location."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		// Test case LBS-X3P-Transmit-0004 or Test case LBS-X3P-Transmit-0005
-		if(iTestCaseId==14 || iTestCaseId==15)
-			{
-			// Set all parameters invalid (0 for max fix time; NaN for
-			// accuracy) then network should use quality profile with the
-			// ID set
-			TTimeIntervalMicroSeconds maxFixTime(0);
-			iNetPosQuality.SetMaxFixTime(maxFixTime);
-    		TRealX nan;
-    		nan.SetNaN();
-			iNetPosQuality.SetMinHorizontalAccuracy(nan);
-	    	iNetPosQuality.SetMinVerticalAccuracy(nan);
-			}
-		// Test case LBS-X3P-Timeout-0001
-		else if (iTestCaseId==134)
-			{
-			TTimeIntervalMicroSeconds maxFixTime(5000000);
-	    	iNetPosQuality.SetMaxFixTime(maxFixTime);
-			iNetPosQuality.SetMinHorizontalAccuracy(1);
-	    	iNetPosQuality.SetMinVerticalAccuracy(1);
-			}
-		else
-			{
-			//Set the position quality required by the network.
-			TTimeIntervalMicroSeconds maxFixTime(120 * 1000000);//default was 60
-																	//max acceptable age of a position
-	    	iNetPosQuality.SetMaxFixTime(maxFixTime);
-			iNetPosQuality.SetMinHorizontalAccuracy(NETWORK_HORZ_ACCURACY);
-	    	iNetPosQuality.SetMinVerticalAccuracy(NETWORK_VERT_ACCURACY);
-			}
-
-		if (!iNetSim.SetQuality(iNetPosQuality))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's quality."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		TUid pluginUid;
-		if(iParent.iSharedData->iTestModuleInUse)
-			{
-			// Set plugin to use.
-			pluginUid = TUid::Uid(KTestAssistanceDataProviderPluginUidValue);
-			}
-		else
-			{
-			// Real AGPS Uid
-			pluginUid = TUid::Uid(KRealAssistanceDataProviderPluginUidValue);
-			}
-
-
-		if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-			{
-			INFO_PRINTF1(_L("Failed test, can't set NetSim's assistance data plugin uid."));
-			SetTestStepResult(EFail);
-			iNetSim.Close();
-			return TestStepResult();
-			}
-
-		if(iTestCaseId !=133)
-			{
-			//Set X3P Timeout
-			TLbsTransmitPositionOptions transmitOptions;			//This is how long we wait for an X3P
-			TTimeIntervalMicroSeconds KLbsTransmitPositionTimeOut;
-			if(iTestCaseId == 01)
-				KLbsTransmitPositionTimeOut = 5*1000000;  //5 sec
-			else if(iTestCaseId==05)
-				KLbsTransmitPositionTimeOut = 180*1000000;  //180 sec - Let maxFixtime expire first
-			else if (iTestCaseId==134)
-				KLbsTransmitPositionTimeOut = 10*1000000;  //10 sec - Let maxFixtime expire first
-			else
-				KLbsTransmitPositionTimeOut = 20*1000000;  //20 sec
-
-			transmitOptions.SetTimeOut(KLbsTransmitPositionTimeOut);
-			iPositionTransmitter.SetTransmitOptions(transmitOptions);
-			}
-
-		
-		//Kickoff test
-		CActiveScheduler::Start();
-		
-		switch(iTestCaseId)
-			{
-			case 01:
-			case 05:
-			case 133:
-				{
-				// The module request type - time out value.
-				modDataIn.iRequestType = TModuleDataIn::EModuleRequestTimeOut;
-				modDataIn.iTimeOut = 0;
-
-				// Reset test module timeout
-				iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-
-				}
-				break;
-
-			case 13:
-				{
-				iDoTransmitPosArr.ResetAndDestroy();
-
-				//Close temporary transmitPosition objects
-				iTransmitPos1.Close();
-				iTransmitPos2.Close();
-				iTransmitPos3.Close();
-				}
-				break;
-
-
-			case 16:
-				{
-				//reset the error code back
-				// The module request type - error value.
-				modDataIn.iRequestType = TModuleDataIn::EModuleRequestError;
-				modDataIn.iError = KErrNone;
-
-				// Send error value to test module - will block.
-				iUtils.NotifyModuleOfConfigChangeL(modDataIn);
-				}
-				break;
-
-			default:
-				break;
-			}
-
-		iNetSim.ClearAssistanceDataFilters();
-		iNetSim.Close();
-
-		CleanupStack::PopAndDestroy(adminApi);
-		iDoTransmitPos->Cancel();
-		CleanupStack::PopAndDestroy(iDoTransmitPos);
-
-		}
-
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsX3PStep_Transmit::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-
-
-/** NetSim callbacks given for a X3P, which we invoke as a result of the notify position update.
-*/
-void CT_LbsX3PStep_Transmit::Connected()
-	{
-
-	CT_LbsNetSimStep::Connected();
-
-	// Create a posinfo and store in our shared array for later verification.
-	RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iCurrentPosInfoArr;
-	TPositionInfo* posInfo = NULL;
-
-
-	iUtils.ResetAndDestroy_PosInfoArr(posInfoArr);	// Clear previous entries before new entry is appended.
-
-	//If X3PRefLocation flag is on, we have to test reference location functionality
-	//TBool bRefPos;
-    //bRefPos = GetIntFromConfig(ConfigSection(), KLbsRefPos, bRefPos);
-
-	switch(iTestCaseId)
-		{
-		case 3:
-		case 4:
-			break;
-
-		case 13:
-			{
-			for(TInt counter = 0 ; counter < KMaxCount ; counter++)
-				{
-				posInfo = new TPositionInfo();
-				if (posInfo != NULL)
-					{
-					posInfoArr.Append(posInfo);
-					CT_LbsX3PDoTransmitPos* localDoTransmitPos;
-					localDoTransmitPos = (reinterpret_cast<CT_LbsX3PDoTransmitPos*>(iDoTransmitPosArr[counter]));
-					if(iRefPosFlag)
-						localDoTransmitPos->TransmitPositionReportingRefLoc(KDefaultDestination, KTransmitPriority, *posInfo);
-					else
-						localDoTransmitPos->TransmitPosition(KDefaultDestination, KTransmitPriority, *posInfo);
-
-					}
-				}
-			}
-			break;
-
-		case 130:
-			{
-			// Kick off transmit position.
-	 	    posInfo = new(ELeave) TPositionInfo();
-			CleanupStack::PushL(posInfo);
-			posInfoArr.AppendL(posInfo);
-			CleanupStack::Pop(posInfo);
-			if(iRefPosFlag)
-				iDoTransmitPos->TransmitPositionReportingRefLoc(KInvalidDestination, KTransmitPriority, *posInfo);
-			else
-				iDoTransmitPos->TransmitPosition(KInvalidDestination, KTransmitPriority, *posInfo);
-
-			iState = EWaiting;
-			}
-			break;
-		default:
-			{
-			posInfo = new TPositionInfo();
-			CleanupStack::PushL(posInfo);
-			posInfoArr.AppendL(posInfo);
-			CleanupStack::Pop(posInfo);
-
-			if(iTestCaseId ==133)
-				{
-				// Position requested at
-				iTimeRequested.UniversalTime();
-				}
-
-			if(iRefPosFlag)
-				{
-				iDoTransmitPos->TransmitPositionReportingRefLoc(KDefaultDestination, KTransmitPriority, *posInfo);
-				}
-			else
-				{
-				iDoTransmitPos->TransmitPosition(KDefaultDestination, KTransmitPriority, *posInfo);
-				}
-
-
-			iState = EWaiting;
-			}
-			break;
-
-		}
-	}
-
-void CT_LbsX3PStep_Transmit::NotifyRegisterLcsMoLr(const TDesC& aData)
-	{
-	//First NetSim callback (FROM: Gateway)
-
-	CT_LbsNetSimStep::NotifyRegisterLcsMoLr(aData);
-
-	// find out what aData is, it may be an idea to verify it's correct
-	// Verify correct destination telephone number:
-	//		if its an X3P aData will contain "something",
-	//		if its an MOLR aData should contain "nothing".
-
-	switch(iTestCaseId)
-		{
-		// X3P should be turned off for these test cases
-		case 111:
-		case 18:
-			{
-			INFO_PRINTF1(_L("<FONT><B>NotifyRegisterLcsMoLr should not be invoked. Test Failed. </B></FONT>"));
-			SetTestStepResult(EFail);
-			}
-			break;
-
-		case 130:
-			{
-			if(aData.Compare(KInvalidDestination) != 0)
-				{
-				INFO_PRINTF1(_L("<FOND><B>For case 130 the phone number should have been invalid.</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 115:
-			{
-			if(!iNetSim.SetResponseError(RLbsNetSimTest::KNetSimNetworkNotAvailable, ETrue))
-				{
-				INFO_PRINTF1(_L("CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL() Failed: Can't set NetSim's response error."));
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		default:
-			{
-			if(aData.Compare(KDefaultDestination) != 0)
-				{
-				INFO_PRINTF1(_L("<FOND><B>For an X3P, aData should contain something.</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-		}
-	}
-
-
-
-void CT_LbsX3PStep_Transmit::NotifyMeasurementControlLocation(	const TPositionInfo& aPosition,
-										const RLbsAssistanceDataBuilderSet& aData,
-										const TLbsNetPosRequestQuality& aQuality)
-	{
-	//Second callback
-
-	// Call base functionality
-	CT_LbsNetSimStep::NotifyMeasurementControlLocation(aPosition, aData, aQuality);
-	/*
-	aPosition is the reference position set at the top in netsim.setrefposition().
-	compare aposition and this to verify its correct.
-	*/
-
-
-	//RPointerArray<TAny>& srcPosInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-	//TPositionInfo* srcPosInfo = reinterpret_cast<TPositionInfo*>(srcPosInfoArr[0]);
-
-	//T_LbsUtils::TComparisonAccuracyType whatAccuracyToUse;
-
-	//if(iParent.iSharedData->iTestModuleInUse)
-	//	{
-	//	whatAccuracyToUse = T_LbsUtils::EExactAccuracy;
-	//	}
-	//else
-	//	{
-	//	whatAccuracyToUse = T_LbsUtils::ERoughAccuracy;
-	//	}
-	//TPositionInfo  refPosInfo;
-	//refPosInfo.SetPosition(iRefPos);
-	//if(!iUtils.Compare_PosInfo(refPosInfo, aPosition, whatAccuracyToUse))
-
-	TPositionInfo refPosInfo;
-	T_LbsUtils::TComparisonAccuracyType accType;
-
-	refPosInfo.SetPosition(iRefPos);
-
-	if(iParent.iSharedData->iTestModuleInUse)
-		accType = T_LbsUtils::EExactAccuracy;
-	else
-		accType = T_LbsUtils::ERoughAccuracy;
-
-	if(!iUtils.Compare_PosInfo(refPosInfo, aPosition, accType))
-		{
-		INFO_PRINTF1(_L("<FONT><B>Failed test, NotifyMeasurementControlLocation: srcPosInfo differs from aPositionInfo</B></FONT>"));
-		SetTestStepResult(EFail);
-		}
-
-	if(iParent.iSharedData->iTestModuleInUse)
-		{
-
-		// Verify the assistance data for test mode.
-		RLbsAssistanceDataBuilderSet& data = const_cast<RLbsAssistanceDataBuilderSet&>(aData);
-		RUEPositioningGpsReferenceTimeBuilder* refTimeBuilder = NULL;
-
-		data.GetDataBuilder(refTimeBuilder);
-
-		// Create a reader from the builder's data to allow us to verify the actual
-		// assistance data.
-		TInt err;
-
-		RUEPositioningGpsReferenceTimeReader refTimeReader;
-
-		TRAP(err, refTimeReader.OpenL());
-		if (err == KErrNone)
-			{
-			refTimeReader.DataBuffer() = refTimeBuilder->DataBuffer();
-
-			if (!iUtils.VerifySimpleAssistanceData(refTimeReader))
-				{
-				INFO_PRINTF1(_L("Failed test, assistance data incorrect."));
-				SetTestStepResult(EFail);
-				}
-			refTimeReader.Close();
-			}
-
-		else
-			{
-			INFO_PRINTF2(_L("Failed test, assistance data reader err %d."), err);
-			SetTestStepResult(EFail);
-			}
-		}
-	else
-		{
-		//Real data, dont know what to expect so cant check it for cnonsistency.
-		}
-
-
-	// Need to check quality. Should be same for real and test.
-	// Can't check for NaN by a direct check
-	TBool maxFixTimeOK = aQuality.MaxFixTime() == iNetPosQuality.MaxFixTime();
-	TBool minHAccuracyOK = (aQuality.MinHorizontalAccuracy() == iNetPosQuality.MinHorizontalAccuracy()) ||
-				(Math::IsNaN(aQuality.MinHorizontalAccuracy()) && Math::IsNaN(iNetPosQuality.MinHorizontalAccuracy()));
-	TBool minVAccuracyOK = (aQuality.MinVerticalAccuracy() == iNetPosQuality.MinVerticalAccuracy()) ||
-				(Math::IsNaN(aQuality.MinVerticalAccuracy()) && Math::IsNaN(iNetPosQuality.MinVerticalAccuracy()));
-
-	if(	!maxFixTimeOK || !minHAccuracyOK || !minVAccuracyOK)
-		{
-		INFO_PRINTF1(_L("NotifyMeasurementControlLocation: Quality should have matched."));
-		SetTestStepResult(EFail);
-		}
-
-	if(iTestCaseId == 116)
-		{
-		if(!iNetSim.SetResponseError(RLbsNetSimTest::KNetSimNetworkNotAvailable, ETrue))
-			{
-			INFO_PRINTF1(_L("CT_LbsClientStep_CellBasedNotifyPosUpdate::doTestStepL() Failed: Can't set NetSim's response error."));
-			SetTestStepResult(EFail);
-			}
-		}
-	}
-
-
-// NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr
-void CT_LbsX3PStep_Transmit::NotifyMeasurementReportLocation(const TPositionInfo& aPosition)
-	{
-
-	//Third NetSim callback (FROM: Gateway)
-	CT_LbsNetSimStep::NotifyMeasurementReportLocation(aPosition);
-
-	T_LbsUtils::TComparisonAccuracyType whatAccuracyToUse;
-
-	if(iParent.iSharedData->iTestModuleInUse)
-		{
-		whatAccuracyToUse = T_LbsUtils::EExactAccuracy;
-		}
-		else
-		{
-		whatAccuracyToUse = T_LbsUtils::ERoughAccuracy;
-		}
-
-	// get the ref position from the iVerifyPosInfoArr (the last time) then verify with aPosition
-	// the array would have been added to at the call to TransmitPosition above in net connect callback
-
-	// Common stuff
-	// Create a posinfo and store in our shared array for later verification.
-
-	RPointerArray<TAny>& posInfoArr = iParent.iSharedData->iVerifyPosInfoArr;
-
-
-	switch (iTestCaseId)
-		{
-		case 13:
-			{
-			for(TInt counter = 0 ; counter < KMaxCount ; counter++)
-				{
-				if(!iUtils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(posInfoArr[counter])), aPosition, whatAccuracyToUse))
-					{
-					INFO_PRINTF1(_L("<FONT><B>aPosition didn't match any of the contents of posInfoArr.</B></FONT>"));
-					SetTestStepResult(EFail);
-					}
-				}
-			}
-		break;
-
-		// X3P should be turned off for these test cases
-		case 111:
-		case 18:
-			{
-			INFO_PRINTF1(_L("<FONT><B>NotifyMeasurementReportLocation should not be invoked. Test Failed. </B></FONT>"));
-			SetTestStepResult(EFail);
-			}
-		break;
-
-		default:
-			{
-			if(!iUtils.Compare_PosInfo(*(reinterpret_cast<TPositionInfo*>(posInfoArr[0])), aPosition, whatAccuracyToUse))
-				{
-				INFO_PRINTF1(_L("<FONT><B>aPosition didn't match contents of posInfoArr.</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-		break;
-		}
-
-	}
-
-void CT_LbsX3PStep_Transmit::NotifyReleaseLcsMoLr(TInt aReason)
-	{
-
-	// Fifth NetSim callback (FROM: Gateway)
-	iReleaseCallBackCount++;
-
-	if(iTestCaseId != 13)
-		{
-		//INFO_PRINTF1(_L("Got - Notify Release Lcs MoLr Callback Event"));
-		CT_LbsNetSimStep::NotifyReleaseLcsMoLr(aReason);
-		}
-
-	switch (iTestCaseId)
-		{
-		case 01:
-		case 05:
-		case 133:
-			{
-			if( aReason != KErrTimedOut)
-				{
-				INFO_PRINTF3(_L("<FONT><B>Case %d iDoTransmitPos should have timed out. Error recieved: %d. Test Failed. </B></FONT>"),iTestCaseId, aReason);
-				SetTestStepResult(EFail);
-				}
-			}
-		break;
-
-		case 16:
-		{
-		if(aReason != KErrNone)
-			{
-			INFO_PRINTF2(_L("<FONT><B>NotifyReleaseLcsMoLr had an unexpected aReason of: %d</B></FONT>"), aReason);
-			SetTestStepResult(EFail);
-			}
-		}
-		break;
-
-
-
-		case 13:
-			{
-			INFO_PRINTF2(_L("Got - Notify Release Lcs MoLr Callback Event %d times"),iReleaseCallBackCount);
-			if( iReleaseCallBackCount == (iDoTransmitPosArr.Count() * 2))
-				{
-				INFO_PRINTF1(_L("		Setting Notify Release Lcs MoLr Callback Event bit"));
-				CT_LbsNetSimStep::NotifyReleaseLcsMoLr(aReason);
-				}
-
-			if(KErrNone != aReason)
-				{
-				INFO_PRINTF2(_L("<FONT><B>NotifyReleaseLcsMoLr had an unexpected aReason of: %d</B></FONT>"), aReason);
-				SetTestStepResult(EFail);
-				}
-
-			}
-		default:
-		if(KErrNone != aReason)
-			{
-			INFO_PRINTF2(_L("<FONT><B>NotifyReleaseLcsMoLr had an unexpected aReason of: %d</B></FONT>"), aReason);
-			SetTestStepResult(EFail);
-			}
-
-		}
-	}
-
-void CT_LbsX3PStep_Transmit::MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo)
-	{
-	//(void)aStatus;
-	//(void)aRefPosInfo;
-
-	INFO_PRINTF1(_L("Got - Transmit Position Reference Postion - Callback Event"));
-	SetCallbackFlag(KLbsCallback_Got_NotifyDoTransmitReferencePos);
-
-	switch(iTestCaseId)
-		{
-		case 18:
-		case 130:
-		case 15:
-		case 115:
-			break;
-
-		case 13:
-			{
-			if(aStatus != KErrNone)
-				{
-				INFO_PRINTF1(_L("<FONT><B>TransmitPosition Reference Position doesnt complete with KErrNone </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 116:
-			{
-			if(aStatus != KErrDisconnected && aStatus != KErrNone)
-    			{
-   				// NOTE: Due to a race condition in test framework that can occur on H4, it is a possibility 
-   				// that we will not see the KErrDisconnected, but instead KErrNone. Therefore we cant fail the test for this.
-   				INFO_PRINTF2(_L("<FONT><B> should have returned KErrDisconnected or KErrNone, recevied %d instead</B></FONT>"),aStatus.Int());
-
-				SetTestStepResult(EFail);
-				}
-				
-			}
-			break;
-
-		default:
-			{
-			TPositionInfo refPosInfo;
-			T_LbsUtils::TComparisonAccuracyType accType;
-
-			refPosInfo.SetPosition(iRefPos);
-
-			if(iParent.iSharedData->iTestModuleInUse)
-				accType = T_LbsUtils::EExactAccuracy;
-			else
-				accType = T_LbsUtils::ERoughAccuracy;
-
-			if(!iUtils.Compare_PosInfo(refPosInfo, aRefPosInfo, accType))
-				{
-				INFO_PRINTF1(_L("<FONT><B>Failed test, X3PRefPos callback: Reference Position differs from aPositionInfo</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-			if(aStatus != KErrNone ||  (iCallbackFlags&KLbsCallback_Got_NotifyDoTransmitPos) !=0)
-				{
-				INFO_PRINTF1(_L("<FONT><B>TransmitPosition completed before Reference Position </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-			//Verify TPositionClassTypeBase parameters
-			if(aRefPosInfo.ModuleId() != KLbsGpsLocManagerUid ||
-			   aRefPosInfo.PositionMode() != TPositionModuleInfo::ETechnologyNetwork ||
-			   aRefPosInfo.PositionModeReason() != EPositionModeReasonNone ||
-			   aRefPosInfo.UpdateType() != EPositionUpdateGeneral )
-				{
-				INFO_PRINTF1(_L("<FONT><B>Reference Position values mismatch </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-			}
-			break;
-		}
-	}
-
-
-/**	Transmit position callback.
-
-	The notify position update as completed. We can mark as done in the callback flags.
-
-	---Implementing inherited method
-*/
-
-void CT_LbsX3PStep_Transmit::MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO)
-	{
-	(void)aDoTransmitPosAO;
-
-	INFO_PRINTF1(_L("Got - Transmit Position - Callback Event."));
-	SetCallbackFlag(KLbsCallback_Got_NotifyDoTransmitPos);
-
-	if(iTestCaseId==133)
-	{
-	// Position received at
-	iTimeReceived.UniversalTime();
-	}
-	TInt counter = 0;
-	switch (iTestCaseId)
-		{
-		case 01:
-		case 05:
-		case 133:
-			{
-			if( iDoTransmitPos ->iStatus != KErrTimedOut)
-				{
-				INFO_PRINTF2(_L("<FONT><B>Case %d iDoTransmitPos should have timed out. Test Failed. </B></FONT>"),iTestCaseId);
-				SetTestStepResult(EFail);
-				}
-
-			if(aStatus != KErrTimedOut)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, TransmitPositionCallBack aStatus: %d</B></FONT>"),iTestCaseId, aStatus.Int());
-				}
-
-			if(iTestCaseId==133)
-				{
-				TInt  maxtime_ini;
-			    TBool maxtime_exists;
-
-
-			    maxtime_exists = GetIntFromConfig(ConfigSection(), KLbsMaxTime, maxtime_ini);
-		        if(!maxtime_exists)
-					{
-					INFO_PRINTF1(_L("Could not get maxtime from ini file"));
-				    SetTestStepResult(EFail);
-				    }
-		    	// we are stampping the received time after callback ,so we are adding 1s for actual maxtime.
-			    TInt64 realtimediff= maxtime_ini + 1000000;
-				//Timedifference between position actually received and position actually requested
-				TInt64 actualtimediff;
-		        actualtimediff = iTimeReceived.Int64() - iTimeRequested.Int64();
-		        //compare actualtimediff with realtimediff
-				if(actualtimediff > realtimediff)
-					{
-					INFO_PRINTF1(_L("timediff not matched with maxfixtime in profile"));
-					SetTestStepResult(EFail);
-					}
-				}
-			}
-			break;
-
-		case 13:
-			{
-			// Each completed status needs to equal KErrNone.
-			// Not KErrPending
-
-				iReleaseCallBackCount++;
-				if( iReleaseCallBackCount == (iDoTransmitPosArr.Count() * 2))
-				{
-				INFO_PRINTF1(_L("		Setting Notify Release Lcs MoLr Callback Event bit"));
-				CT_LbsNetSimStep::NotifyReleaseLcsMoLr(KErrNone);
-				}
-
-				for(counter = 0 ; counter < iDoTransmitPosArr.Count() ; counter++)
-					{
-					CT_LbsX3PDoTransmitPos* transmitter = reinterpret_cast<CT_LbsX3PDoTransmitPos*>(iDoTransmitPosArr[counter]);
-					TInt err = transmitter->iStatus.Int();
-					switch (err)
-						{
-						case KRequestPending:
-						INFO_PRINTF2(_L("iDoTransmitPos in position %d of the array is pending."),counter);
-						break;
-
-						case KErrNone:
-						INFO_PRINTF2(_L("iDoTransmitPos in position %d of the array completed successfully."),counter);
-						break;
-
-						case KErrTimedOut:
-						INFO_PRINTF2(_L("iDoTransmitPos in position %d of the array Timed Out."),counter);
-						break;
-
-						default:
-						INFO_PRINTF3(_L("iDoTransmitPos in position %d of the array does not appear to have completed successfully, error: %d ."),counter,err);
-						break;
-						}
-
-
-
-					// After TransmitPosition gets called for the last time...
-					if( counter == iDoTransmitPosArr.Count() )
-						{
-						// Check that all requests completed successfully...
-						for(counter = 0 ; counter < iDoTransmitPosArr.Count() ; counter++)
-							{
-							CT_LbsX3PDoTransmitPos* transmitter = reinterpret_cast<CT_LbsX3PDoTransmitPos*>(iDoTransmitPosArr[counter]);
-							TInt err = transmitter->iStatus.Int();
-							if(err != KErrNone)
-								{
-								INFO_PRINTF3(_L("<FONT><B>iDoTransmitPos in position %d of the array never completed successfully, error: %d .</B></FONT>"),counter,err);
-								SetTestStepResult(EFail);
-								}
-							}
-
-						}
-					}
-
-			if(aStatus != KErrNone)
-				{
-				INFO_PRINTF3(_L("iTestCaseId: %d, This instance of TransmitPositionCallBack has aStatus: %d"),iTestCaseId, aStatus.Int());
-				}
-			}
-			break;
-
-		// Test case LBS-X3P-Transmit-0005
-		case 15:
-			{
-			if(aStatus != KErrAccessDenied)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, TransmitPositionCallBack aStatus: %d, not KErrAccessDenied</B></FONT>"),iTestCaseId, aStatus.Int());
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 16:
-			{
-			if( iDoTransmitPos ->iStatus == KErrNone)
-				{
-				INFO_PRINTF1(_L("<FONT><B>iDoTransmitPos completed successfully. Test AGPS should be unavailable. Test Failed. </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-			if(aStatus != KErrNotFound)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, aStatus was not KErrNotfound, TransmitPositionCallBack aStatus was: %d</B></FONT>"),iTestCaseId, aStatus.Int());
-				}
-			}
-			break;
-
-		// X3P should be turned off for these test cases
-		case 111:
-		case 18:
-			{
-			if(	iDoTransmitPos->iStatus != KErrAccessDenied ||
-				iDoTransmitPos->iStatus == KErrNone)
-				{
-				INFO_PRINTF1(_L("<FONT><B>Transmit X3P should have failed. Test Failed.</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-
-			if(	aStatus != KErrAccessDenied ||
-				aStatus == KErrNone)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, TransmitPositionCallBack aStatus: %d</B></FONT>"),iTestCaseId, aStatus.Int());
-				}
-
-			}
-			break;
-
-		case 130:
-			{
-			if( iDoTransmitPos ->iStatus != KErrArgument)
-				{
-				INFO_PRINTF1(_L("<FONT><B>iDoTransmitPos did not complete with KErrArgument. Test Failed. </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-
-			if(aStatus != KErrArgument)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, TransmitPositionCallBack aStatus: %d, not KErrArgument.</B></FONT>"),iTestCaseId, aStatus.Int());
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 115:
-		case 116:
-			{
-			if(aStatus == KErrNone)  //We should set proper errocode - TBD
-				{
-				INFO_PRINTF1(_L("<FONT><B> should have returned KErrTimedOut</B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 118:
-			{
-			if(!(iCallbackFlags & KLbsCallback_NetSim_Got_NotifyMeasurementReportLocation))
-				{
-				INFO_PRINTF1(_L("<FONT><B> TransmitPostion completed before </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-			}
-			break;
-
-		case 134: //LBS-X3P-Timeout-0001
-			{
-			if (aStatus != KPositionQualityLoss)
-				SetTestStepResult(EFail);
-			}
-			break;
-
-		default:
-			{
-
-			if(aStatus != KErrNone)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, TransmitPositionCallBack aStatus: %d, not KErrNone.</B></FONT>"),iTestCaseId, aStatus.Int());
-				SetTestStepResult(EFail);
-				}
-
-			}
-			break;
-		}
-	}
-
-
-void CT_LbsX3PStep_Transmit::NotifyMeasurementReportControlFailure(TInt aReason)
-	{
-
-	// To stop test timing out on unexpected reciept of this callback we wont set the bit
-	//switch (iTestCaseId)
-	//	{
-	//	case 01:
-	//	case 05:
-	//	case 15:
-	//	case 16:
-	//		CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-	//	break;
-	//
-	//	default:
-	//		{
-	//		INFO_PRINTF2(_L("Got - Net Sim Notify Measurement Report Control Failure - Callback Event. Reason = %d"), aReason);
-	//		INFO_PRINTF1(_L("		Net Sim Notify Measurement Report Control Failure - Unexpected so Bit not set"));
-	//		}
-	//	break;
-	//	}
-
-	switch (iTestCaseId)
-		{
-		case 01:
-		case 133:
-			{
-			if( aReason != KErrCancel)
-				{
-				INFO_PRINTF2(_L("<FONT><B>NotifyMeasurementReportControlFailure should have failed with KErrCancel. </B></FONT>"),iTestCaseId);
-				SetTestStepResult(EFail);
-				}
-			CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-			}
-			break;
-
-		case 05:
-			{
-			if( aReason != KErrTimedOut)
-				{
-				INFO_PRINTF2(_L("<FONT><B>NotifyMeasurementReportControlFailure should have failed with KErrTimedOut. </B></FONT>"),iTestCaseId);
-				SetTestStepResult(EFail);
-				}
-			CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-			}
-			break;
-
-		// Test case LBS-X3P-Transmit-0005
-		case 15:
-			{
-			if(aReason != KErrAccessDenied)
-				{
-				INFO_PRINTF2(_L("<FONT><B>NotifyMeasurementReportControlFailure should have failed with KErrAccessDenied, Error recieved is %d</B></FONT>"),aReason);
-				SetTestStepResult(EFail);
-				}
-			CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-			}
-			break;
-		case 16:
-			{
-			if(aReason != KErrNotFound)
-				{
-				INFO_PRINTF2(_L("<FONT><B>NotifyMeasurementReportControlFailure should have failed with KErrNotFound, Error recieved is %d</B></FONT>"),aReason);
-				SetTestStepResult(EFail);
-				}
-			CT_LbsNetSimStep::NotifyMeasurementReportControlFailure(aReason);
-			}
-			break;
-
-		default:
-			if(iParent.iSharedData->iTestModuleInUse)
-				{
-				INFO_PRINTF2(_L("Failed test, got un-expected NotifyMeasurementReportControlFailure with Reason: %d."), aReason);
-				SetTestStepResult(EFail);
-				}
-
-			//if( KErrNone != aReason )
-			//	{
-			//	INFO_PRINTF2(_L("<FONT><B>NotifyMeasurementReportControlFailure had an unexpected aReason of: %d</B></FONT>"), aReason);
-			//	SetTestStepResult(EFail);
-			//	}
-		}
-	}
-
-
-void CT_LbsX3PStep_Transmit::ProcessMeasurementControlLocationError(TInt aError)
-	{
-	CT_LbsNetSimStep::ProcessMeasurementControlLocationError(aError);
-
-	switch (iTestCaseId)
-	{
-		case 130:
-			{
-			if(iDoTransmitPos->iStatus != KErrArgument)
-				{
-				//!@SYMTestExpectedResults	Request fails with KErrNotFound?
-				INFO_PRINTF1(_L("<FONT><B>iDoTransmitPos completed successfully. Should have recieved KErrNotFound. Test Failed. </B></FONT>"));
-				SetTestStepResult(EFail);
-				}
-
-
-			if(aError != KErrArgument)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, ProcessMeasurementControlLocationError aError: %d</B></FONT>"),iTestCaseId, aError);
-				}
-			}
-		break;
-
-
-		default:
-			{
-			INFO_PRINTF2(_L("<FONT><B>ProcessMeasurementControlLocationError shouldnt have been called in this test. Error code: %d</B></FONT>"),aError);
-			SetTestStepResult(EFail);
-			}
-		break;
-	}
-
-	}
-
-
-
-void CT_LbsX3PStep_Transmit::NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter)
-	{
-	// CT_LbsNetSimStep::NotifyMeasurementReportRequestMoreAssistanceData(const TLbsAssistanceDataGroup& aFilter)
-	(void)aFilter;
-
-	switch (iTestCaseId)
-		{
-		case 117:
-			// Call base implementation.
-			CT_LbsNetSimStep::NotifyMeasurementReportRequestMoreAssistanceData(aFilter);
-			break;
-
-		default:
-			//Note: In the case of real GPS, this message could come at anytime.
-			if(iParent.iSharedData->iTestModuleInUse)
-				{
-				INFO_PRINTF2(_L("Failed test, got un-expected request for more assistance data with filter value = %d."), aFilter);
-				SetTestStepResult(EFail);
-				}
-			break;
-		}
-	//INFO_PRINTF1(_L("Got - Net Sim Notify Measurement Report Request More Assistance Data - Callback Event."));
-	//INFO_PRINTF1(_L("      Not setting Net Sim Notify Measurement Report Request More Assistance Data callback flag"));
-	//SetCallbackFlag(KLbsCallback_NetSim_Got_NotifyMeasurementReportRequestMoreAssistanceData);
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/src/ctlbsx3psteptransmitconcurrent.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,415 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file ctlbsx3psteptransmitconcurrent.cpp
-// This is the class implementation for the Module Information Tests
-// EPOC includes.
-// 
-//
-
-// LBS includes.
-#include <lbs.h>
-#include <lbs/lbsx3p.h>
-#include <lbs/test/lbsnetsimtest.h>
-
-#include <lbs/lbsassistancedatabuilderset.h>
-
-// LBS test includes.
-#include "ctlbsx3psteptransmitconcurrent.h"
-
-const TInt KTestAssistanceDataProviderPluginUidValue = 0x10281D77;
-const TInt KRealAssistanceDataProviderPluginUidValue = 0x10285AC2;
-_LIT(KPosInfosFile, "pos_infos_file");
-
-#define REFPOS_LAT				2
-#define REFPOS_LONG				3
-#define REFPOS_ALT				10
-#define REFPOS_HORZ_ACCURACY	100
-#define REFPOS_VERT_ACCURACY	100
-
-/**
- * Destructor
- */
-CT_LbsX3PStep_Transmit_Concurrent::~CT_LbsX3PStep_Transmit_Concurrent()
-	{	// Close the positioner.
-		iPositionTransmitter.Close();
-
-		// Close Transmit Position server.
-		iServer.Close();
-
-		// Delete this active scheduler
-		delete iScheduler;
-
-		// Clear arrays.
-		for (TInt i = 0; i < iVerifyPosInfoArr.Count(); ++i)
-			delete iVerifyPosInfoArr[i];
-		iVerifyPosInfoArr.Close();
-
-		for (TInt i = 0; i < iCurrentPosInfoArr.Count(); ++i)
-			delete iCurrentPosInfoArr[i];
-		iCurrentPosInfoArr.Close();
-
-		delete iRefLocWaiter;
-
-	}
-
-/**
- * Constructor
- */
-CT_LbsX3PStep_Transmit_Concurrent::CT_LbsX3PStep_Transmit_Concurrent() : CActive(EPriorityStandard)
-	{
-	iTestModuleInUse = ETrue;
-	SetTestStepName(KLbsX3PStep_Transmit_Concurrent);
-	}
-
-/**
-Static Constructor
-*/
-CT_LbsX3PStep_Transmit_Concurrent* CT_LbsX3PStep_Transmit_Concurrent::New()
-	{
-	CT_LbsX3PStep_Transmit_Concurrent* testStep = new CT_LbsX3PStep_Transmit_Concurrent();
-	// Note the lack of ELeave.
-	// This means that having insufficient memory will return NULL;
-
-	if (testStep)
-		{
-		TInt err = KErrNone;
-
-		TRAP(err, testStep->ConstructL());
-		if (err)
-			{
-			delete testStep;
-			testStep = NULL;
-			}
-		}
-
-	return testStep;
-	}
-
-void CT_LbsX3PStep_Transmit_Concurrent::ConstructL()
-	{
-	// Create this objects active scheduler
-	iScheduler = new (ELeave) CActiveScheduler();
-
-	CleanupStack::PushL(iScheduler);
-
-	// Connect to the Transmit Position server.
-	User::LeaveIfError(iServer.Connect());
-	CleanupClosePushL(iServer);
-	// Open the positioner.
-	User::LeaveIfError(iPositionTransmitter.Open(iServer));
-
-	CleanupStack::Pop(&iServer);
-
-	// Should not be an active schedular running
-	CActiveScheduler::Install( iScheduler );
-
-	// Add this to the AS list
-	CActiveScheduler::Add(this);
-
-	CleanupStack::Pop(iScheduler);
-
-	iRefLocWaiter = CT_LbsX3pRefLocWaiter::NewL(this);
-
-	}
-
-/**
- * @return - TVerdict code
- * Override of base class pure virtual
- * Our implementation only gets called if the base class doTestStepPreambleL() did
- * not leave. That being the case, the current test result value will be EPass.
- */
-TVerdict CT_LbsX3PStep_Transmit_Concurrent::doTestStepL()
-	{
-	// Generic test step used to test the LBS Client Notify position update API.
-	INFO_PRINTF1(_L("   CT_LbsX3PStep_Transmit_Concurrent::doTestStepL()"));
-
-	if (TestStepResult() == EPass)
-		{
-		// This is the active object carrying out the TransmitPosition
-
-		// Create the verifiable position info
-		CreateVerifyPositionInfoL();
-
-		//Connect to NetSim
-		User::LeaveIfError(OpenNetSim());
-
-	    TBool bRefPos;
-	    bRefPos = GetIntFromConfig(ConfigSection(), KLbsRefPos, bRefPos);
-
-		// Carry out unique test actions.
-		if (GetIntFromConfig(ConfigSection(), KTestCaseId, iTestCaseId))
-			{
-
-			// Set the position quality required by the network.
-			TTimeIntervalMicroSeconds maxFixTime(600*1000000); 	//default was 60
-
-			switch (iTestCaseId)
-				{
-
-				// Test case LBS-X3P-Transmit-0002
-				// This test uses the default functionality in each of the callbacks.
-				case 12:
-					{
-
-					// Run this in concurrent using TEF concurrent command.
-
-					// Test case LBS-X3P-Transmit-0002	Request transmit current position from multiple clients in concurrent.
-					//
-					// External step:	Inform module of required single position to be transmitted.
-					// Local step:		Do multiple X3P in concurrent.
-					// Local callbacks:	Verify callback parameters are as expected.
-					//					NotifyMeasurementReportLocation callback, aPosition should match iVerifyPosInfoArr.
-					//					TransmitPosition callback, aStatus should be KErrNone
-
-					// Configure timeouts
-					TLbsTransmitPositionOptions temptransmitOptions;			// This is how long we wait for an X3P
-					const TTimeIntervalMicroSeconds KLbsTempTestModuleTimeOut(180*1000000);
-					temptransmitOptions.SetTimeOut(KLbsTempTestModuleTimeOut);
-					iPositionTransmitter.SetTransmitOptions(temptransmitOptions);
-
-					TPositionInfo* posInfo = new TPositionInfo();
-					iCurrentPosInfoArr.Append(posInfo);
-
-					//	3. Request X3P on each sub-session (priorities can be the same on each)
-					if(bRefPos)
-						{
-						iPositionTransmitter.TransmitPosition(KConcurrentDestination, KConcurrentTransmitPriority, iRefLocWaiter->iStatus, iRefLocWaiter->iRefPosInfo, iStatus, *posInfo);
-						iRefLocWaiter->Activate();
-						}
-					else
-						iPositionTransmitter.TransmitPosition(KConcurrentDestination, KConcurrentTransmitPriority, iStatus, *posInfo);
-
-					SetActive();
-					// Kick off test.
-				    CActiveScheduler::Start();
-
-					}
-					break;
-
-				default:
-					{
-					INFO_PRINTF2(_L("<FONT><B>   Case number %d did not match any expected value</B></FONT>"),iTestCaseId);
-					User::Panic(KLbsX3PStep_Transmit_Concurrent, KErrUnknown);
-					}
-				}
-			}
-
-		VerifyPosInfo();
-		//VerifyLogInfo
-
-		iNetSim.Close();
-
-		}
-
-
-	INFO_PRINTF1(_L("&lt;&lt;CT_LbsX3PStep_Transmit_Concurrent::doTestStepL()"));
-
-	return TestStepResult();
-	}
-
-void CT_LbsX3PStep_Transmit_Concurrent::DoCancel()
-	{
-		iPositionTransmitter.CancelTransmitPosition();
-	}
-
-
-void CT_LbsX3PStep_Transmit_Concurrent::RunL()
-{
-	TInt err = iStatus.Int();
-
-	INFO_PRINTF1(_L("   RunL()  Starting..."));
-	switch (iTestCaseId)
-		{
-		case 12:
-			{
-			if(err != KErrNone)
-				{
-				INFO_PRINTF3(_L("<FONT><B>iTestCaseId: %d, iStatus: %d, KErrNone was expected.</B></FONT>"),iTestCaseId, iStatus.Int());
-				SetTestStepResult(EFail);
-				}
-			else
-				{
-				// VerifyPos
-				}
-
-			}
-			break;
-
-		default:
-			{
-			INFO_PRINTF2(_L("iTestCaseId: %d, is not Supported"),iTestCaseId);
-			}
-			break;
-		}
-
-	CActiveScheduler::Stop();
-	User::LeaveIfError(err);
-	INFO_PRINTF1(_L("   RunL()  Stopping..."));
-}
-
-
-TInt CT_LbsX3PStep_Transmit_Concurrent::RunError(TInt aError)
-{
-	INFO_PRINTF2(_L("   RunL has left with error %d"), aError);
-	return aError;
-}
-
-
-TInt CT_LbsX3PStep_Transmit_Concurrent::OpenNetSim()
-{
-	INFO_PRINTF1(_L("   OpenNetSim"));
-
-	// Connect to net sim.
-	TInt err = iNetSim.ConnectL(NULL);
-	if (err)
-		{
-		return err;
-		}
-
-	// Set the reference position, which also be used for any required verification.
-	iRefPos.SetCoordinate(REFPOS_LAT, REFPOS_LONG, REFPOS_ALT);
-	iRefPos.SetAccuracy(REFPOS_HORZ_ACCURACY, REFPOS_VERT_ACCURACY);
-	iRefPos.SetCurrentTime();
-
-	if (!iNetSim.SetReferenceLocation(iRefPos))
-		{
-		INFO_PRINTF1(_L("Failed test, can't set NetSim's reference location."));
-		iNetSim.Close();
-
-		return KErrGeneral;
-		}
-
-	// Set plugin to use.
-	TUid pluginUid;
-
-	if(iTestModuleInUse)
-		{
-		// Set plugin to use.
-		pluginUid = TUid::Uid(KTestAssistanceDataProviderPluginUidValue);
-		}
-	else
-		{
-		// Real AGPS Uid
-		pluginUid = TUid::Uid(KRealAssistanceDataProviderPluginUidValue);
-		}
-
-	if (!iNetSim.SetAssistanceDataProvider(pluginUid))
-		{
-		iNetSim.Close();
-
-		return KErrGeneral;
-		}
-
-	// Set the position quality required by the network.
-	TTimeIntervalMicroSeconds maxFixTime(600*1000000); 	//default was 60
-
-	iNetPosQuality.SetMaxFixTime(maxFixTime);
-	iNetPosQuality.SetMinHorizontalAccuracy(iRefPos.HorizontalAccuracy());
-	iNetPosQuality.SetMinVerticalAccuracy(iRefPos.VerticalAccuracy());
-
-	if (!iNetSim.SetQuality(iNetPosQuality))
-		{
-		INFO_PRINTF1(_L("Failed test, can't set NetSim's quality."));
-		SetTestStepResult(EFail);
-
-		iNetSim.Close();
-
-		return TestStepResult();
-		}
-
-	return KErrNone;
-}
-
-void CT_LbsX3PStep_Transmit_Concurrent::CreateVerifyPositionInfoL()
-{
-		INFO_PRINTF1(_L("   CreateVerifyPositionInfoL"));
-
-		TPtrC configFileName;
-		GetStringFromConfig(ConfigSection(), KPosInfosFile, configFileName);
-
-		T_LbsUtils utils;
-
-		utils.GetConfigured_PosInfosL(configFileName, ConfigSection(), iVerifyPosInfoArr); // Note previous entries will be cleared.
-
-		// Notify the test module that it's required to update it's test data.
-		TPtrC modType;
-		GetStringFromConfig(ConfigSection(), KLbsModuleType, modType);
-		if (modType != KLbsModuleType_Real)
-			{
-
-			TModuleDataIn modDataIn;
-
-			modDataIn.iRequestType = TModuleDataIn::EModuleRequestConfig;
-			modDataIn.iConfigFileName = configFileName;
-			modDataIn.iConfigSection = ConfigSection();
-
-			// Now publish the ini file and section name to the test module - will block.
-			utils.NotifyModuleOfConfigChangeL(modDataIn);
-			}
-		else
-			{
-			iTestModuleInUse = EFalse;	// Indicate to test harness the real A-GPS integration module is being used.
-			}
-}
-
-void CT_LbsX3PStep_Transmit_Concurrent::VerifyPosInfo()
-{
-	INFO_PRINTF1(_L("   VerifyPosInfo"));
-
-	T_LbsUtils utils;
-	TBool res;
-	// Verify arrays are equal.
-	if(iTestModuleInUse)
-		res = utils.Compare_PosInfoArr(iVerifyPosInfoArr, iCurrentPosInfoArr, T_LbsUtils::EExactAccuracy);
-	else
-		res = utils.Compare_PosInfoArr(iVerifyPosInfoArr, iCurrentPosInfoArr, T_LbsUtils::ERoughAccuracy);
-
-	// Fail test if arrays do not match.
-	if (!res)
-    	{
-    	INFO_PRINTF1(_L("   Positions didnt match"));
-		SetTestStepResult(EFail);
-	    }
-}
-
-void CT_LbsX3PStep_Transmit_Concurrent::MT_LbsX3PDoRefPosCallback(const TRequestStatus& aStatus,const TPositionInfo& aRefPosInfo)
-	{
-	INFO_PRINTF1(_L("Got - Transmit Position Reference Pos callback"));
-
-	TPositionInfo refPosInfo;
-	T_LbsUtils utils;
-	T_LbsUtils::TComparisonAccuracyType accType;
-
-	refPosInfo.SetPosition(iRefPos);
-
-	if(iTestModuleInUse)
-		accType = T_LbsUtils::EExactAccuracy;
-	else
-		accType = T_LbsUtils::ERoughAccuracy;
-
-	if(!utils.Compare_PosInfo(refPosInfo, aRefPosInfo, accType) || aStatus != KErrNone)
-		{
-		INFO_PRINTF1(_L("<FONT><B>Failed test, X3PRefPos callback: Reference Position differs from aPositionInfo</B></FONT>"));
-		SetTestStepResult(EFail);
-		}
-
-	}
-
-void CT_LbsX3PStep_Transmit_Concurrent::MT_LbsX3PDoTransmitPosCallback(TRequestStatus& aStatus, CT_LbsX3PDoTransmitPos* aDoTransmitPosAO)
-	{
-	(void)aDoTransmitPosAO;
-	(void)aStatus;
-	//This callback will never be called
-	INFO_PRINTF1(_L("<FONT><B>Unexpected call....Should never happen</B></FONT>"));
-	}
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3pcancel.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-[LBS-X3P-Cancel-0001]
-tc_id=1
-
-[LBS-X3P-Cancel-0002]
-tc_id=2
-
-[LBS-X3P-Cancel-0003]
-tc_id=3
-
-[LBS-X3P-Cancel-0004]
-tc_id=4
-
-[LBS-X3P-Cancel-0005]
-tc_id=5
-
-[LBS-X3P-Cancel-0006]
-tc_id=6
-
-[LBS-X3P-Cancel-0007]
-tc_id=7
-
-[LBS-X3P-Cancel-0008]
-tc_id=8
-
-[LBS-X3P-Cancel-0009]
-tc_id=9
-
-[LBS-X3P-Cancel-0010]
-tc_id=10
-
-[LBS-X3P-Cancel-0011]
-tc_id=11
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3pcancelrefpos.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-[LBS-X3P-Cancel-0001]
-tc_id=1
-RefPos=1
-
-[LBS-X3P-Cancel-0002]
-tc_id=2
-RefPos=1
-
-[LBS-X3P-Cancel-0003]
-tc_id=3
-RefPos=1
-
-[LBS-X3P-Cancel-0004]
-tc_id=4
-RefPos=1
-
-[LBS-X3P-Cancel-0005]
-tc_id=5
-RefPos=1
-
-[LBS-X3P-Cancel-0006]
-tc_id=6
-RefPos=1
-
-[LBS-X3P-Cancel-0007]
-tc_id=7
-RefPos=1
-
-[LBS-X3P-Cancel-0008]
-tc_id=8
-RefPos=1
-
-[LBS-X3P-Cancel-0009]
-tc_id=9
-RefPos=1
-
-[LBS-X3P-Cancel-0010]
-tc_id=10
-RefPos=1
-
-[LBS-X3P-Cancel-0011]
-tc_id=11
-RefPos=1
-
-[LBS-X3P-Cancel-0012]
-tc_id=12
-RefPos=1
-
-[LBS-X3P-Cancel-0013]
-tc_id=13
-RefPos=1
-
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3popenclose.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-[LBS-X3P-ConnectClose-0001]
-tc_id=01
-
-[LBS-X3P-ConnectClose-0002]
-tc_id=02
-
-[LBS-X3P-ConnectClose-0003]
-tc_id=03
-
-[LBS-X3P-OpenClose-0001]
-tc_id=11
-
-[LBS-X3P-OpenClose-0002]
-tc_id=12
-
-[LBS-X3P-OpenClose-0003]
-tc_id=13
-
-[LBS-X3P-OpenClose-0004]
-tc_id=14
-
-[LBS-X3P-OpenClose-0005]
-tc_id=15
-
-[LBS-X3P-OpenClose-0006]
-tc_id=16
-
-[LBS-X3P-Version-0001]
-tc_id=21
-srv_ver_major=1
-srv_ver_minor=0
-srv_ver_build=0
\ No newline at end of file
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3ptransmit.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-[LBS-X3P-Options-0001]
-tc_id=1
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Options-0002]
-tc_id=2
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Options-0003]
-tc_id=3
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Options-0004]
-tc_id=4
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Options-0005]
-tc_id=5
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0001]
-tc_id=11
-log_type=3
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-				
-[LBS-X3P-Transmit-0002]
-tc_id=12
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0003]
-tc_id=13
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-$position,1*
-$position,1*
-								
-[LBS-X3P-Transmit-0004]
-tc_id=14	
-profile_id =4
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1,1,2,3,0,10,200*
-							
-[LBS-X3P-Transmit-0006]
-tc_id=16	
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-							
-[LBS-X3P-Transmit-0007]
-tc_id=17	
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-							
-[LBS-X3P-Transmit-0008]
-tc_id=18	
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*	
-						
-[LBS-X3P-Transmit-0009]
-tc_id=19
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0010]
-tc_id=110
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-								
-[LBS-X3P-Transmit-0011]
-tc_id=111	
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-							
-[LBS-X3P-Transmit-0012]
-tc_id=112	
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-							
-[LBS-X3P-Transmit-0013]
-tc_id=113
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-								
-[LBS-X3P-Transmit-0014]
-tc_id=114
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0015]
-tc_id=115
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0016]
-tc_id=116
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0017]
-tc_id=117
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0018]
-tc_id=118
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0030]
-tc_id=130
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-							
-[LBS-X3P-Transmit-0031]
-tc_id=131
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-0032]
-tc_id=132
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Transmit-Profile-0033]
-tc_id=133
-profile_id =0
-max_time = 5000000
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
-
-[LBS-X3P-Timeout-0001]
-tc_id=134
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmit.ini
-$position,1*
--- a/lbstest/lbstestproduct/sf/core/sflbsx3p/testdata/sflbsx3ptransmitrefpos.ini	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-[LBS-X3P-Transmit-Common]
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmitrefpos.ini
-$position,1*
-
-
-[LBS-X3P-Options-0001]
-tc_id=1
-RefPos=1
-
-[LBS-X3P-Options-0002]
-tc_id=2
-RefPos=1
-
-[LBS-X3P-Options-0003]
-tc_id=3
-RefPos=1
-
-[LBS-X3P-Options-0004]
-tc_id=4
-RefPos=1
-
-[LBS-X3P-Options-0005]
-tc_id=5
-RefPos=1
-
-[LBS-X3P-Transmit-0001]
-tc_id=11
-RefPos=1
-				
-[LBS-X3P-Transmit-0002]
-tc_id=12
-RefPos=1
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmitrefpos.ini
-$position,1*
-
-[LBS-X3P-Transmit-0003]
-tc_id=13
-RefPos=1
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmitrefpos.ini
-$position,1*
-$position,1*
-$position,1*
-								
-[LBS-X3P-Transmit-0004]
-tc_id=14	
-RefPos=1
-profile_id =4
-							
-[LBS-X3P-Transmit-0006]
-tc_id=16	
-RefPos=1
-							
-[LBS-X3P-Transmit-0007]
-tc_id=17	
-RefPos=1
-							
-[LBS-X3P-Transmit-0008]
-tc_id=18	
-RefPos=1
-						
-[LBS-X3P-Transmit-0009]
-tc_id=19
-RefPos=1
-
-[LBS-X3P-Transmit-0010]
-tc_id=110
-RefPos=1
-								
-[LBS-X3P-Transmit-0011]
-tc_id=111	
-RefPos=1
-							
-[LBS-X3P-Transmit-0012]
-tc_id=112	
-RefPos=1
-							
-[LBS-X3P-Transmit-0013]
-tc_id=113
-RefPos=1
-								
-[LBS-X3P-Transmit-0014]
-tc_id=114
-RefPos=1
-
-[LBS-X3P-Transmit-0015]
-tc_id=115
-RefPos=1
-
-[LBS-X3P-Transmit-0016]
-tc_id=116
-RefPos=1
-
-[LBS-X3P-Transmit-0017]
-tc_id=117
-RefPos=1
-
-[LBS-X3P-Transmit-0018]
-tc_id=118
-RefPos=1
-
-
-[LBS-X3P-Transmit-0030]
-tc_id=130
-RefPos=1
-							
-[LBS-X3P-Transmit-0031]
-tc_id=131
-RefPos=1
-
-[LBS-X3P-Transmit-0032]
-tc_id=132
-RefPos=1
-
-[LBS-X3P-Transmit-Profile-0033]
-tc_id=133
-RefPos=1
-profile_id =0
-max_time = 5000000
-pos_infos_file=c:\testdata\configs\sflbsx3ptransmitrefpos.ini
-$position,1*
--- a/lbstest/lbstestproduct/sf/group/bld.inf	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// bld.inf file for basic test framework
-//
-
-#include "../core/group/bld.inf"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/supl/molr/simulation/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,53 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\cedout.cfg"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\supltmg\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\supltmg\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\supltmg\" />
+    </parameters>
+</task>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/supl/molr/simulation/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,14 @@
+<!-- ATS4 -->
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\supltmg"/>
+	</parameters>
+</task>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/suplproxy/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/suplproxy/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,7 @@
+<!-- ATS4 -->
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite.txt	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite.txt	Fri Sep 17 08:37:32 2010 +0300
@@ -17,6 +17,7 @@
 LBSSuite.LbsIntegrationSuite.LbsClientSuite.lbsclientsrvopenclose
 LBSSuite.LbsIntegrationSuite.LbsClientSuite.lbsclientsrvversion
 LBSSuite.LbsIntegrationSuite.LbsClientSuite.lbsclientupdateoptions
+LBSSuite.LbsIntegrationSuite.LbsClientSuite.lbsclientconcurrent
 LBSSuite.LbsIntegrationSuite.LbsConflictSuite
 LBSSuite.LbsIntegrationSuite.LbsClockSuite
 LBSSuite.LbsIntegrationSuite.LbsAssDataSuite
--- a/lbstest/lbstestproduct/tdxml/LbsSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -16,7 +16,6 @@
 		<suite>LbsROMspecificSuites</suite>
 		<suite>lbsintegrationcasirasuite</suite>
 		<suite>lbsunitcasirasuite</suite>
-		<suite>LbsSFSuite</suite>
 	</testItems>
 
 </testSuite>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsClientTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsClientTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -25,20 +25,20 @@
    		</build>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		        <devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		        <devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>		
     		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
@@ -46,12 +46,6 @@
 			<devicePath>c:\testdata\configs\xtestmodule.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 					
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -34,48 +34,42 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
+		</data>
+
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
 		</data>
 		
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 		
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/lbsclientconcurrent.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
+
+<testExecuteTest>
+
+	<name>lbsclientconcurrent</name>
+
+	<timeout>600</timeout>
+
+	<testScripts>
+		<script>
+			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\lbsclientconcurrent.script</hostPath>
+			<devicePath>c:\testdata\scripts\lbsclientconcurrent.script</devicePath>
+		</script>
+	</testScripts>
+
+	<testServers>
+		<server>LbsClientTestServer</server>
+	</testServers>
+
+	<dependencies>
+		<data>
+			<hostPath>lbstest\lbstestproduct\lbsclient\testdata\lbsclientconcurrent.ini</hostPath>
+			<devicePath>c:\testdata\configs\lbsclientconcurrent.ini</devicePath>
+		</data>
+	</dependencies>
+
+</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/lbsclientlastknownposarea.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsClientSuite/lbsclientlastknownposarea.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -35,6 +35,10 @@
 			<hostPath>lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea0003.txt</hostPath>
 			<devicePath>c:\testdata\configs\lbsclientlastknownposarea0003.txt</devicePath>
 		</data>
+		<data>
+			<hostPath>lbstest\lbstestproduct\lbsclient\testdata\lbsclientlastknownposarea0009.txt</hostPath>
+			<devicePath>c:\testdata\configs\lbsclientlastknownposarea0009.txt</devicePath>
+		</data>
 	</dependencies>
 
 </testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsExtendedMtlrSuite/TestExecuteServers/LbsExtendedMtlrTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsExtendedMtlrSuite/TestExecuteServers/LbsExtendedMtlrTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -34,49 +34,43 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetextendedprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetextendedprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+
 				
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -21,7 +21,6 @@
 		<test>lbshybridmolr_uebased_values</test>
 		<test>lbshybridmolr_uebased_partial</test>
 		<test>lbshybridmolr_error_assistance</test>
-		<test>hybrid_ueassisted_molr_posstatus</test>
 	</testItems>
 	<testExecuteServers>
 		<server>LbsHybridMOLRTestServer</server>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMolrSuite/TestExecuteServers/LbsHybridMOLRTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -34,49 +34,43 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
+		</data>
+
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
 		</data>
 		
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 					
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMtlrSuite/TestExecuteServers/LbsHybridMTLRTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMtlrSuite/TestExecuteServers/LbsHybridMTLRTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -32,49 +32,43 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>		
     		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+
 					
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMultipleSuite/TestExecuteServers/LbsHybridMultipleTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridMultipleSuite/TestExecuteServers/LbsHybridMultipleTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -32,7 +32,7 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetextendedprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetextendedprotocolstub.rsc</devicePath>
 		</data>
 		
@@ -44,48 +44,42 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetextendedprotocolstub2.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetextendedprotocolstub2.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetextendedprotocolstub2.rsc</devicePath>
 		</data>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
+		</data>
+
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
 		</data>
 		
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridX3PSuite/TestExecuteServers/LbsHybridX3PTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsHybridX3PSuite/TestExecuteServers/LbsHybridX3PTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -32,49 +32,43 @@
    		</build>
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+
 				
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsPtbMtlrSuite/TestExecuteServers/LbsPtbMtlrTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsPtbMtlrSuite/TestExecuteServers/LbsPtbMtlrTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -34,49 +34,43 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+
 					
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMolrSuite/TestExecuteServers/CTSuplMolrTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMolrSuite/TestExecuteServers/CTSuplMolrTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -19,28 +19,22 @@
    		</build>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 		
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 		
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMtlrSuite/TestExecuteServers/CTSuplMtlrTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplMtlrSuite/TestExecuteServers/CTSuplMtlrTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -19,43 +19,37 @@
    		</build>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
-		</data>
-		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 		
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+		
 			
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbssupltestconfig.txt</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplOmaSuite/TestExecuteServers/SuplOmaTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplOmaSuite/TestExecuteServers/SuplOmaTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -19,18 +19,12 @@
    		</build>
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-	      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+	      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 				
 		<build type="test">
 	   		<hostPath>CTSuplMolrTestServer.exe</hostPath>
@@ -47,13 +41,13 @@
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 		
 		<data>  
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplProxySuite/TestExecuteServers/CTSuplProxyTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/LbsSuplProxySuite/TestExecuteServers/CTSuplProxyTestServer.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -38,7 +38,7 @@
    		</build>
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbssupltiapitestimplementation.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbssupltiapitestimplementation.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbssupltiapitestimplementation.rsc</devicePath>
 		</data>
 		
@@ -50,7 +50,7 @@
    		</build>
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\testreflocplugin.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\testreflocplugin.rsc</hostPath>
 			<devicePath>c:\resource\plugins\testreflocplugin.rsc</devicePath>
 		</data>
 
@@ -62,7 +62,7 @@
    		</build -->
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\testqnnplugin.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\testqnnplugin.rsc</hostPath>
 			<devicePath>c:\resource\plugins\testqnnplugin.rsc</devicePath>
 		</data>
 		
@@ -76,27 +76,21 @@
 
 		<!-- Dependencies for Test Integration module. -->
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 		
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 		
 		<data>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/lbshybridcombinedsuite/TestExecuteServers/lbshybridcombinedtestserver.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsIntegrationSuite/lbshybridcombinedsuite/TestExecuteServers/lbshybridcombinedtestserver.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -32,49 +32,43 @@
    		</build>
 		
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
+			<hostPath>\epoc32\data\z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
 			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
 		</data>
 
 
 		<build type="test">
-	   		<hostPath>agpsnpetestintegmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\agpsnpetestintegmodule.dll</devicePath>
-   			<mmpFile>agpsnpetestintegmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\group\bld.inf</bldInfPath>
+	   		<hostPath>ctagpshybridmodule.dll</hostPath>
+      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
+   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
+   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
    		</build>
 
 		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\agpsnpetestintegmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\agpsnpetestintegmodule.rsc</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource.ini</devicePath>
+			<hostPath>\epoc32\data\z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
+			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_tb.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_ta.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
 		</data>
 
 		<data>
-			<hostPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestintegmodule\testdata\ctagpsnpetestmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpsnpetestmoduledatasource_exclusive.ini</devicePath>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
 		</data>
 
-		<build type="test">
-	   		<hostPath>npetestclientapi.dll</hostPath>
-      		<devicePath>c:\system\libs\npetestclientapi.dll</devicePath>
-   			<mmpFile>npetestclientapi.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpsnpehybridmodule\npetestclientapi\group\bld.inf</bldInfPath>
-   		</build>
+		<data>
+			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
+			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
+		</data>
+
 				
 		<data>  
 			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-
-	<name>LbsSFSuite</name>
-
-	<testItems>
-		<suite>SfLbsClientSuite</suite>
-		<suite>SfLbsMtlrSuite</suite>
-		<suite>SfLbsX3PSuite</suite>
-		<suite>SfLbsHybridMolrSuite</suite>
-		<suite>SfLbsHybridMtlrSuite</suite>
-		<suite>SfLbsHybridX3PSuite</suite>
-
-    </testItems>
-
-</testSuite>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-
-	<name>SfLbsClientSuite</name>
-
-	<testItems>
-		<test>SfLbsClientLastKnownPos</test>
-		<test>SfLbsClientNotifyPosUpdate</test>
-		<test>SfLbsClientCellbasedNPUD</test>
-		<test>SfLbsClientTracking</test>
-		<test>SfLbsClientMultiReq</test>
-
-        </testItems>
-
-	<testExecuteServers>
-		<server>SfLbsClientTestServer</server>
-	</testExecuteServers>
-
-</testSuite>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/TestExecuteServers/SfLbsClientTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsClientTestServer</name>
-
-	<mmpFile>ctsflbsClientServer.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbsclient\group\bld.inf</bldInfPath>
-
-	<dependencies>
-      		<!-- build type="test">
-	      		<hostPath>LbsTestUtils.dll</hostPath>
-      			<devicePath>c:\system\libs\LbsTestUtils.dll</devicePath>
-      			<mmpFile>sflbsTestUtils.mmp</mmpFile>
-      			<bldInfPath>lbstest\lbstestproduct\sf\core\sfgroup\bld.inf</bldInfPath>
-    		</build -->
-
-		<build type="test">
-	   		<hostPath>getafixutils.dll</hostPath>
-      			<devicePath>c:\system\libs\getafixutils.dll</devicePath>
-   			<mmpFile>getafixutils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<build type="test">
-	   		<hostPath>ctagpshybridmodule.dll</hostPath>
-      		        <devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
-   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
-		</data>		
-    		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini</hostPath>
-			<devicePath>c:\testdata\configs\xtestmodule.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-
-	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientcellbasednpud.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsClientCellbasedNPUD</name>
-
-	<timeout>600</timeout>
-
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\scripts\sflbsclientcellbasednpud.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsclientcellbasednpud.script</devicePath>
-		</script>
-	</testScripts>
-
-	<testServers>
-		<server>SfLbsClientTestServer</server>
-	</testServers>
-
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\testdata\sflbsclientcellbasednpud.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsclientcellbasednpud.ini</devicePath>
-		</data>
-	</dependencies>
-
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientlastknownpos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsClientLastKnownPos</name>
-
-	<timeout>600</timeout>
-
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\scripts\sflbsClientLastKnownPos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsClientLastKnownPos.script</devicePath>
-		</script>
-	</testScripts>
-
-	<testServers>
-		<server>SfLbsClientTestServer</server>
-	</testServers>
-
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\testdata\sflbsClientLastKnownPos.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsClientLastKnownPos.ini</devicePath>
-		</data>
-	</dependencies>
-
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientmultireq.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsClientMultiReq</name>
-
-	<timeout>120</timeout>
-
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\scripts\sflbsClientMultiReq.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsClientMultiReq.script</devicePath>
-		</script>
-	</testScripts>
-
-	<testServers>
-		<server>SfLbsClientTestServer</server>
-	</testServers>
-
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\testdata\sflbsClientMultiReq.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsClientMultiReq.ini</devicePath>
-		</data>
-	</dependencies>
-
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclientnotifyposupdate.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsClientNotifyPosUpdate</name>
-
-	<timeout>600</timeout>
-
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\scripts\sflbsClientNotifyPosUpdate.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsClientNotifyPosUpdate.script</devicePath>
-		</script>
-	</testScripts>
-
-	<testServers>
-		<server>SfLbsClientTestServer</server>
-	</testServers>
-
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\testdata\sflbsClientNotifyPosUpdate.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsClientNotifyPosUpdate.ini</devicePath>
-		</data>
-	</dependencies>
-
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/sflbsclienttracking.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsClientTracking</name>
-
-	<timeout>900</timeout>
-
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\scripts\sflbsclienttracking.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsclienttracking.script</devicePath>
-		</script>
-	</testScripts>
-
-	<testServers>
-		<server>SfLbsClientTestServer</server>
-	</testServers>
-
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsclient\testdata\sflbsclienttracking.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsclienttracking.ini</devicePath>
-		</data>
-	</dependencies>
-
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-	<name>SfLbsHybridMolrSuite</name>
-	<testItems>
-		<test>sf_lbshybridmolr_uebased</test>
-		<test>sf_lbshybridmolr_ueassisted_gpsok</test>
-		<test>sf_lbshybridmolr_ueassisted_gps_late</test>
-		<test>sf_lbshybridmolr_ueassisted_gps_inaccurate_timeout</test>
-		<test>sf_lbshybridmolr_ueassisted_client_timeout</test>
-		<test>sf_lbshybridmolr_ueassisted_no_gps_update</test>
-		<test>sf_lbshybridmolr_ueassisted_partial</test>
-		<test>sf_lbshybridmolr_gps_futile</test>
-		<test>sf_lbshybridmolr_gpsoptions</test>
-		<test>sf_lbshybridmolr_tracking</test>
-		<test>sf_lbshybridmolr_ueassisted_molr_timeout</test>
-		<test>sf_lbshybridmolr_uebased_partial</test>
-	</testItems>
-	<testExecuteServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testExecuteServers>
-</testSuite>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/TestExecuteServers/SfLbsHybridMOLRTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteServer SYSTEM "c:\program files\common files\symbian\testExecuteServer.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsHybridMOLRTestServer</name>
-
-	<mmpFile>ctsflbshybridmolrserver.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\group\bld.inf</bldInfPath>
-
-	<dependencies>
-
-		<build type="test">
-	   		<hostPath>getafixutils.dll</hostPath>
-      		<devicePath>c:\system\libs\getafixutils.dll</devicePath>
-   			<mmpFile>getafixutils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-
-   		</build>
-
-		<build type="test">
-	   		<hostPath>lbsnetprotocolproxy.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolproxy.dll</devicePath>
-   			<mmpFile>lbsnetprotocolproxy.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<build type="test">
-	   		<hostPath>lbsnetprotocolstub.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolstub.dll</devicePath>
-   			<mmpFile>lbsnetprotocolstub.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
-			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
-		</data>
-
-
-		<build type="test">
-	   		<hostPath>ctagpshybridmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
-   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
-		</data>
-		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-		
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-  	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_gps_futile.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_gps_futile</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_molr_futile.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_molr_futile.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_gpsoptions.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_gpsoptions</name>
-	<timeout>3000</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_molr_gpsoptions.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_molr_gpsoptions.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_tracking.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_tracking</name>
-	<timeout>3000</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_molr_tracking.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_molr_tracking.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr_tracking.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr_tracking.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_client_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_client_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_ueassisted_molr_client_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_molr_client_timeout.script</devicePath>	
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gps_inaccurate_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_gps_inaccurate_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_ueassisted_molr_self_gps_inaccurate_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_ueassisted_molr_self_gps_inaccurate_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gps_late.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_gps_late</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_ueassisted_molr_self_gps_late.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_ueassisted_molr_self_gps_late.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_gpsok.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_gpsok</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_ueassisted_molr_gpsok.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_molr_gpsok.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_molr_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_molr_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_ueassisted_molr_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_molr_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbsprofile_timeout_off.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbsprofile_timeout_off.ini</devicePath>
-		</data>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbsprofile_timeout_on.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbsprofile_timeout_on.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_no_gps_update.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_no_gps_update</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_ueassisted_molr_no_gps_update.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_molr_no_gps_update.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_ueassisted_partial.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_ueassisted_partial</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_ueassisted_molr_partial.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_molr_partial.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_uebased.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_uebased</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_uebased_molr_self.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_uebased_molr_self.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/sf_lbshybridmolr_uebased_partial.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmolr_uebased_partial</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\scripts\sf_hybrid_uebased_molr_partial.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_uebased_molr_partial.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMOLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmolr\testdata\sf_lbs_molr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_molr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-	<name>SfLbsHybridMtlrSuite</name>
-	<testItems>
-		<test>sf_lbshybridmtlr_uebased</test>
-		<test>sf_lbshybridmtlr_ueassisted_gps_ok</test>
-		<test>sf_lbshybridmtlr_ueassisted_no_gps</test>
-		<test>sf_lbshybridmtlr_ueassisted_nw</test>
-		<test>sf_lbshybridmtlr_ueassisted_timeout</test>
-		<test>sf_lbshybridmtlr_gps_futile</test>
-		<test>sf_lbshybridmtlr_acc_ref_pos</test>
-		<test>sf_lbsmtlr_gpsmodeoptions</test>
-		<test>sf_lbsmtlr_network_induced</test>
-	    <test>sf_lbs_oom</test>
-	</testItems>
-	<testExecuteServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testExecuteServers>
-</testSuite>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/TestExecuteServers/SfLbsHybridMTLRTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteServer SYSTEM "c:\program files\common files\symbian\testExecuteServer.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsHybridMTLRTestServer</name>
-
-	<mmpFile>ctsflbshybridmtlrserver.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\group\bld.inf</bldInfPath>
-
-	<dependencies>
-		<build type="test">
-	   		<hostPath>getafixutils.dll</hostPath>
-      		<devicePath>c:\system\libs\getafixutils.dll</devicePath>
-   			<mmpFile>getafixutils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-		
-		<build type="test">
-	   		<hostPath>lbsnetprotocolproxy.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolproxy.dll</devicePath>
-   			<mmpFile>lbsnetprotocolproxy.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<build type="test">
-	   		<hostPath>lbsnetprotocolstub.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolstub.dll</devicePath>
-   			<mmpFile>lbsnetprotocolstub.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
-			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
-		</data>
-
-
-		<build type="test">
-	   		<hostPath>ctagpshybridmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
-   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
-		</data>		
-    		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-		
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-  	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbs_oom.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbs_oom</name>
-	<timeout>700</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_lbs_oom.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_lbs_oom.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_acc_ref_pos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_acc_ref_pos</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_mtlr_acc_ref_pos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_mtlr_acc_ref_pos.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_gps_futile.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_gps_futile</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_hybrid_mtlr_futile.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_mtlr_futile.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-		<data>
-			<hostPath>lbstest\lbstestproduct\common\testdata\1028224b_interfutile_on.cre</hostPath>
-			<devicePath>c:\testdata\configs\1028224b_interfutile_on.cre</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_gps_ok.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_ueassisted_gps_ok</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_hybrid_ueassisted_mtlr_gps_ok.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_mtlr_gps_ok.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_no_gps.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_ueassisted_no_gps</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_hybrid_ueassisted_mtlr_no_gps.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_mtlr_no_gps.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_nw.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_ueassisted_nw</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_hybrid_ueassisted_mtlr_nw.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_mtlr_nw.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_ueassisted_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_ueassisted_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_hybrid_ueassisted_mtlr_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_mtlr_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbshybridmtlr_uebased.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridmtlr_uebased</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_uebased_mtlr.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_uebased_mtlr.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbsmtlr_gpsmodeoptions.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsmtlr_gpsmodeoptions</name>
-	<timeout>3000</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_mtlr_gpsmodeoptions.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_mtlr_gpsmodeoptions.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/sf_lbsmtlr_network_induced.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsmtlr_network_induced</name>
-	<timeout>700</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\scripts\sf_mtlr_network_induced.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_mtlr_network_induced.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridMTLRTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridmtlr\testdata\sf_lbs_mtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_mtlr.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-	<name>SfLbsHybridX3PSuite</name>
-	<testItems>
-		<test>sf_lbshybridx3p_uebased</test>		
-		<test>sf_lbshybridx3p_ueassisted_accurate_gps</test>
-		<test>sf_lbshybridx3p_ueassisted_no_gps</test>
-		<test>sf_lbshybridx3p_ueassisted_accurate_gps_timeout</test>
-		<test>sf_lbshybridx3p_ueassisted_no_gps_timeout</test>
-		<test>sf_lbshybridx3p_uebased_gps_futile</test>
-		<test>sf_lbshybridx3p_ueassisted_gps_futile</test>
-		<test>sf_lbshybridx3p_ueassisted_client_timeout</test>
-		<test>sf_lbshybridx3p_Acc_ref_pos</test>
-		<test>sf_lbsx3p_gpsmodeoptions</test>
-	</testItems>
-	<testExecuteServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testExecuteServers>
-</testSuite>
-
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/TestExecuteServers/SfLbsHybridX3PTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteServer SYSTEM "c:\program files\common files\symbian\testExecuteServer.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsHybridX3PTestServer</name>
-
-	<mmpFile>ctsflbshybridx3pserver.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\group\bld.inf</bldInfPath>
-
-	<dependencies>
-		<build type="test">
-	   		<hostPath>getafixutils.dll</hostPath>
-      		<devicePath>c:\system\libs\getafixutils.dll</devicePath>
-   			<mmpFile>getafixutils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-		
-		<build type="test">
-	   		<hostPath>lbsnetprotocolproxy.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolproxy.dll</devicePath>
-   			<mmpFile>lbsnetprotocolproxy.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<build type="test">
-	   		<hostPath>lbsnetprotocolstub.dll</hostPath>
-      		<devicePath>c:\system\libs\lbsnetprotocolstub.dll</devicePath>
-   			<mmpFile>lbsnetprotocolstub.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\hybridprotocolmodule\group\bld.inf</bldInfPath>
-   		</build>
-		
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\lbsnetprotocolstub.rsc</hostPath>
-			<devicePath>c:\resource\plugins\lbsnetprotocolstub.rsc</devicePath>
-		</data>
-
-
-		<build type="test">
-	   		<hostPath>ctagpshybridmodule.dll</hostPath>
-      		<devicePath>c:\system\libs\ctagpshybridmodule.dll</devicePath>
-   			<mmpFile>ctagpshybridmodule.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\agpshybridmodule\group\bld.inf</bldInfPath>
-   		</build>
-
-		<data>
-			<hostPath>\epoc32\data\Z\resource\plugins\ctagpshybridmodule.rsc</hostPath>
-			<devicePath>c:\resource\plugins\ctagpshybridmodule.rsc</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_tb.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_tb.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_ta.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_ta.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpshybridmodule\testdata\ctagpshybridmoduledatasource_exclusive.ini</hostPath>
-			<devicePath>c:\testdata\configs\ctagpshybridmoduledatasource_exclusive.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-		
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-  	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_acc_ref_pos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_acc_ref_pos</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_x3p_Acc_ref_pos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_x3p_Acc_ref_pos.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_accurate_gps.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_accurate_gps</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_accurate_gps.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_accurate_gps.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_accurate_gps_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_accurate_gps_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_accurate_gps_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_client_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_client_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_client_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_client_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_gps_futile.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_gps_futile</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_gps_futile.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_gps_futile.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_no_gps.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_no_gps</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_no_gps.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_no_gps.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_ueassisted_no_gps_timeout.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_ueassisted_no_gps_timeout</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_ueassisted_x3p_no_gps_timeout.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_ueassisted_x3p_no_gps_timeout.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_uebased.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_uebased</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_uebased_x3p.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_uebased_x3p.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbshybridx3p_uebased_gps_futile.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbshybridx3p_uebased_gps_futile</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_hybrid_uebased_x3p_gps_futile.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_hybrid_uebased_x3p_gps_futile.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/sf_lbsx3p_gpsmodeoptions.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3p_gpsmodeoptions</name>
-	<timeout>3000</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\scripts\sf_x3p_gpsmodeoptions.script</hostPath>
-			<devicePath>c:\testdata\scripts\sf_x3p_gpsmodeoptions.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsHybridX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbshybridx3p\testdata\sf_lbs_x3p.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbs_x3p.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-	<name>SfLbsMtlrSuite</name>
-	<testItems>
-		<test>sflbsmtlr</test>
-	</testItems>
-	<testExecuteServers>
-		<server>SfLbsMTLRTestServer</server>
-	</testExecuteServers>
-</testSuite>
\ No newline at end of file
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite/TestExecuteServers/SfLbsMtlrTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteServer SYSTEM "c:\program files\common files\symbian\testExecuteServer.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsMtlrTestServer</name>
-
-	<mmpFile>CTsflbsMtlrServer.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\group\bld.inf</bldInfPath>
-
-	<dependencies>
-      	<!-- build type="test">
-	   		<hostPath>LbsTestUtils.dll</hostPath>
-      		<devicePath>c:\system\libs\LbsTestUtils.dll</devicePath>
-   			<mmpFile>LbsTestUtils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\group\bld.inf</bldInfPath>
-   		</build -->
-    		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini</hostPath>
-			<devicePath>c:\testdata\configs\xtestmodule.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-		
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-  	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite/sflbsmtlr.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>SfLbsMtlr</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\scripts\sflbsmtlr.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsmtlr.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsMtlrTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\testdata\sflbsmtlr.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsmtlr.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\testdata\sf_lbstestprofile_valid_profilenotinuse.ini</hostPath>
-			<devicePath>c:\testdata\configs\sf_lbstestprofile_valid_profilenotinuse.ini</devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\testdata\sf_1028224b_custom1behaviour_noextprofileinuse.cre </hostPath>
-			<devicePath>c:\testdata\configs\sf_1028224b_custom1behaviour_noextprofileinuse.cre </devicePath>
-		</data>
-
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsmtlr\testdata\sf_1028224b_originalbehaviour_noextprofileinuse.cre </hostPath>
-			<devicePath>c:\testdata\configs\sf_1028224b_originalbehaviour_noextprofileinuse.cre </devicePath>
-		</data>
-
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testSuite SYSTEM "file:///c:/program files/common files/symbian/testSuite.dtd" [ ]>
-
-<testSuite>
-	<name>SfLbsX3PSuite</name>
-	<testItems>
-		<test>sflbsx3popenclose</test>
-		<test>sflbsx3ptransmit</test>
-		<test>sflbsx3ptransmitrefpos</test>
-		<test>sflbsx3ptransmitconcurrent</test>
-		<test>sflbsx3ptransmitconcurrentrefpos</test>
-		<test>sflbsx3pcancel</test>
-		<test>sflbsx3pcancelrefpos</test>
-	</testItems>
-	<testExecuteServers>
-		<server>SfLbsX3PTestServer</server>
-	</testExecuteServers>
-</testSuite>
-
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/TestExecuteServers/SfLbsX3PTestServer.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteServer SYSTEM "c:\program files\common files\symbian\testExecuteServer.dtd" [ ]>
-
-<testExecuteServer>
-
-	<name>SfLbsX3PTestServer</name>
-
-	<mmpFile>ctsflbsx3pserver.mmp</mmpFile>
-
-	<bldInfPath>lbstest\lbstestproduct\sf\core\sflbsx3p\group\bld.inf</bldInfPath>
-
-	<dependencies>
-      	<!-- build type="test">
-	   		<hostPath>LbsTestUtils.dll</hostPath>
-      		<devicePath>c:\system\libs\LbsTestUtils.dll</devicePath>
-   			<mmpFile>LbsTestUtils.mmp</mmpFile>
-   			<bldInfPath>lbstest\lbstestproduct\group\bld.inf</bldInfPath>
-   		</build -->
-    		
-		<data>
-			<hostPath>lbstest\lbstestproduct\agpsmodule\group\xtestmodule.ini</hostPath>
-			<devicePath>c:\testdata\configs\xtestmodule.ini</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestconfig.txt</hostPath>
-			<devicePath>c:\testdata\configs\lbstestconfig.txt</devicePath>
-		</data>
-
-		<data>  
-			<hostPath>lbstest\lbstestproduct\common\testdata\lbstestprofile.ini</hostPath>
-			<devicePath>c:\testdata\configs\lbstestprofile.ini</devicePath>
-		</data>
-
-  	</dependencies>
-
-</testExecuteServer>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3pcancel.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3pcancel</name>
-	<timeout>900</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3pcancel.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3pcancel.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3pcancel.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3pcancel.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3pcancelrefpos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3pcancelrefpos</name>
-	<timeout>900</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3pcancelrefpos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3pcancelrefpos.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3pcancelrefpos.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3pcancelrefpos.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3popenclose.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3popenclose</name>
-	<timeout>300</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3popenclose.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3popenclose.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3popenclose.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3popenclose.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
-
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmit.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3ptransmit</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3ptransmit.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3ptransmit.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3ptransmit.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3ptransmit.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitconcurrent.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3ptransmitconcurrent</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3ptransmitconcurrent.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3ptransmitconcurrent.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3ptransmit.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3ptransmit.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitconcurrentrefpos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3ptransmitconcurrentrefpos</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3ptransmitconcurrentrefpos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3ptransmitconcurrentrefpos.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3ptransmitrefpos.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3ptransmitrefpos.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/sflbsx3ptransmitrefpos.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-
-	<name>Sflbsx3ptransmitrefpos</name>
-	<timeout>600</timeout>
-	<testScripts>
-		<script>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\scripts\sflbsx3ptransmitrefpos.script</hostPath>
-			<devicePath>c:\testdata\scripts\sflbsx3ptransmitrefpos.script</devicePath>
-		</script>
-	</testScripts>
-	<testServers>
-		<server>SfLbsX3PTestServer</server>
-	</testServers>
-	<dependencies>
-		<data>
-			<hostPath>lbstest\lbstestproduct\sf\core\sflbsx3p\testdata\sflbsx3ptransmitrefpos.ini</hostPath>
-			<devicePath>c:\testdata\configs\sflbsx3ptransmitrefpos.ini</devicePath>
-		</data>
-	</dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/result.txt	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3pcancel.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3pcancel.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3pcancelrefpos.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3pcancelrefpos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3popenclose.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3popenclose.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3ptransmit.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3ptransmit.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3ptransmitconcurrent.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3ptransmitconcurrent.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3ptransmitconcurrentrefpos.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3ptransmitconcurrentrefpos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsX3PSuite/lbsx3ptransmitrefpos.xml: 			<hostPath>lbstest\lbstestproduct\lbsx3p\scripts\lbsx3ptransmitrefpos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsMtlrSuite/lbsmtlr.xml: 			<hostPath>lbstest\lbstestproduct\lbsmtlr\scripts\lbsmtlr.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_acc_ref_pos.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\x3p_Acc_ref_pos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_accurate_gps.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_accurate_gps.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_accurate_gps_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_accurate_gps_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_client_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_client_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_gps_futile.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_gps_futile.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_no_gps.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_no_gps.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_ueassisted_no_gps_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_ueassisted_x3p_no_gps_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_uebased.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\uebased_x3p.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbshybridx3p_uebased_gps_futile.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\hybrid_uebased_x3p_gps_futile.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridX3PSuite/lbsx3p_gpsmodeoptions.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridx3p\scripts\x3p_gpsmodeoptions.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_acc_ref_pos.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\mtlr_acc_ref_pos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_gps_futile.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\hybrid_mtlr_futile.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_ueassisted_gps_ok.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\hybrid_ueassisted_mtlr_gps_ok.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_ueassisted_no_gps.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\hybrid_ueassisted_mtlr_no_gps.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_ueassisted_nw.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\hybrid_ueassisted_mtlr_nw.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_ueassisted_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\hybrid_ueassisted_mtlr_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbshybridmtlr_uebased.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\uebased_mtlr.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbsmtlr_gpsmodeoptions.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\mtlr_gpsmodeoptions.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbsmtlr_network_induced.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\mtlr_network_induced.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMtlrSuite/lbs_oom.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmtlr\scripts\lbs_oom.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_gpsoptions.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\molr_gpsoptions.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_gps_futile.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_molr_futile.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_tracking.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\molr_tracking.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_client_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_ueassisted_molr_client_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_gpsok.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_ueassisted_molr_gpsok.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_gps_inaccurate_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\ueassisted_molr_self_gps_inaccurate_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_gps_late.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\ueassisted_molr_self_gps_late.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_molr_timeout.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_ueassisted_molr_timeout.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_no_gps_update.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_ueassisted_molr_no_gps_update.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_ueassisted_partial.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_ueassisted_molr_partial.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_uebased.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\uebased_molr_self.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsHybridMolrSuite/lbshybridmolr_uebased_partial.xml: 			<hostPath>lbstest\lbstestproduct\lbshybridmolr\scripts\hybrid_uebased_molr_partial.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/lbsclientcellbasednpud.xml: 			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\lbsclientcellbasednpud.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/lbsclientlastknownpos.xml: 			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\LbsClientLastKnownPos.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/lbsclientmultireq.xml: 			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\LbsClientMultiReq.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/lbsclientnotifyposupdate.xml: 			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\LbsClientNotifyPosUpdate.script</hostPath>
-M:/dev/265x_dev/lbstest/lbstestproduct/tdxml/LbsSuite/LbsSFSuite/SfLbsClientSuite/lbsclienttracking.xml: 			<hostPath>lbstest\lbstestproduct\lbsclient\scripts\lbsclienttracking.script</hostPath>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -45,7 +45,6 @@
 		<suite>suplsuite</suite>
 		<suite>tsuplasn1suite</suite>
  		<suite>te_suplproxypmsuite</suite>
- 		<suite>te_npeintegrationmodulesuite</suite>
  		<suite>te_lbslocationinfoconvertersuite</suite>
 		<suite>te_lbspositioningstatussuite</suite>
     </testItems>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<testSuite>
-  <name>te_npeintegrationmodulesuite</name>
-  <testItems>
-    <test>te_npeintegrationmoduletest</test>
-  </testItems>
-  <testExecuteServers>
-    <server>te_npeintegrationmodule</server>
-  </testExecuteServers>
-</testSuite>
-
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite/te_npeintegrationmoduletest.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
-
-<testExecuteTest>
-  <name>te_npeintegrationmoduletest</name>
-  <timeout>600</timeout>
-  <testScripts>
-    <script>
-      <hostPath>datasourcemodules\npeintegmodule\npeplugin\test\te_npeintegrationmodule\scripts\te_npeintegrationmodule.script</hostPath>
-      <devicePath>c:\testdata\scripts\te_npeintegrationmodule.script</devicePath>
-    </script>
-  </testScripts>
-  <testServers>
-    <server>te_npeintegrationmodule</server>
-  </testServers>
-  <dependencies>
-    <data>
-      <hostPath>datasourcemodules\npeintegmodule\npeplugin\test\te_npeintegrationmodule\testdata\te_npeintegrationmodule.ini</hostPath>
-      <devicePath>c:\testdata\configs\te_npeintegrationmodule.ini</devicePath>
-    </data>
-  </dependencies>
-</testExecuteTest>
--- a/lbstest/lbstestproduct/tdxml/LbsSuite/LbsUnitSuite/te_npeintegrationmodulesuite/testexecuteservers/te_npeintegrationmodule.xml	Wed Aug 18 11:11:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<testExecuteServer>
-  <name>te_npeintegrationmodule</name>
-  <mmpFile>te_npeintegrationmodule.mmp</mmpFile>
-  <bldInfPath>datasourcemodules\npeintegmodule\npeplugin\test\te_npeintegrationmodule\group\bld.inf</bldInfPath>
-
-	<dependencies>
-
-		<build type="test">
-	   		<hostPath>npeclientstub.dll</hostPath>
-      		<devicePath>c:\system\libs\npeclientstub.dll</devicePath>
-   			<mmpFile>npeclientstub.mmp</mmpFile>
-   			<bldInfPath>datasourcemodules\npeintegmodule\npeplugin\test\npeclientstub\group\bld.inf</bldInfPath>
-   		</build>
-
-	</dependencies>
- </testExecuteServer>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/group/te_lbsbtgpsconfig.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,34 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/group/te_lbsbtgpsconfig.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsbtgpsconfig.exe"-"c:\sys\bin\te_lbsbtgpsconfig.exe"
+
+; TEF server dependencies
+
+; test "te_lbsbtgpsconfigtest"
+;
+; test scripts
+"..\scripts\te_lbsbtgpsconfig_cap_all.script"-"c:\testdata\scripts\te_lbsbtgpsconfig_cap_all.script"
+"..\scripts\te_lbsbtgpsconfig_cap_localservices.script"-"c:\testdata\scripts\te_lbsbtgpsconfig_cap_localservices.script"
+"..\scripts\te_lbsbtgpsconfig_cap_none.script"-"c:\testdata\scripts\te_lbsbtgpsconfig_cap_none.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
+
--- a/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_all.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_all.script	Fri Sep 17 08:37:32 2010 +0300
@@ -17,6 +17,17 @@
 //! @SYMTestSuiteName         te_lbsbtgpsconfig_cap_all.script
 //! @SYMScriptTestEnvironment
 
+// Copy the test server exe onto the C drive (if its on the Z drive)
+RUN_UTILS CopyFile z:\sys\bin\te_lbsbtgpsconfig.exe c:\sys\bin\te_lbsbtgpsconfig.exe
+
+
+// LOCALSERVICES + WRITEDEVICEDATA CAPABILITIES
+
+// Use Setcap to change capabilities of harness (MASK = 00004020)
+RUN_PROGRAM -1 setcap c:\sys\bin\te_lbsbtgpsconfig.exe 00004020 te_lbsbtgpsconfig_sc.exe
+//Please don't ammend the following PRINT Line as it is used by CapToolSumm to generate its report
+PRINT ---- capabilities now set to [WriteDeviceData LocalServices] (MASK = 00004020) ----
+
 
 LOAD_SUITE te_lbsbtgpsconfig_sc -SharedData
 
--- a/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_localservices.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_localservices.script	Fri Sep 17 08:37:32 2010 +0300
@@ -18,6 +18,16 @@
 //! @SYMScriptTestEnvironment
 
 
+// Copy the test server exe onto the C drive (if its on the Z drive)
+RUN_UTILS CopyFile z:\sys\bin\te_lbsbtgpsconfig.exe c:\sys\bin\te_lbsbtgpsconfig.exe
+
+// LOCALSERVICES CAPABILITY
+
+// Use Setcap to change capabilities of harness (MASK = 00004000)
+RUN_PROGRAM -1 setcap c:\sys\bin\te_lbsbtgpsconfig.exe 00004000 te_lbsbtgpsconfig_sc.exe
+//Please don't ammend the following PRINT Line as it is used by CapToolSumm to generate its report
+PRINT ---- capabilities now set to [LocalServices] (MASK = 00004000) ----
+
 LOAD_SUITE te_lbsbtgpsconfig_sc -SharedData
 
 RUN_UTILS CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt
--- a/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_none.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpsconfig/scripts/te_lbsbtgpsconfig_cap_none.script	Fri Sep 17 08:37:32 2010 +0300
@@ -17,6 +17,15 @@
 //! @SYMTestSuiteName         te_lbsbtgpsconfig_cap_none.script
 //! @SYMScriptTestEnvironment
 
+// Copy the test server exe onto the C drive (if its on the Z drive)
+RUN_UTILS CopyFile z:\sys\bin\te_lbsbtgpsconfig.exe c:\sys\bin\te_lbsbtgpsconfig.exe
+
+// NO CAPABILITIES
+
+// Use Setcap to change capabilities of harness (MASK = 00000000)
+RUN_PROGRAM -1 setcap c:\sys\bin\te_lbsbtgpsconfig.exe 00000000 te_lbsbtgpsconfig_sc.exe
+//Please don't ammend the following PRINT Line as it is used by CapToolSumm to generate its report
+PRINT ---- capabilities now set to [] (MASK = 00000000) ----
 
 LOAD_SUITE te_lbsbtgpsconfig_sc -SharedData
 
--- a/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -75,7 +75,6 @@
 LIBRARY			centralrepository.lib
 LIBRARY			ecom.lib
 LIBRARY         epospluginfw.lib
-LIBRARY			btuiutility.lib
 LIBRARY			sishelper.lib
 LIBRARY			fbscli.lib
 LIBRARY			esock.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,40 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/group/te_lbsbtgpspsy.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsbtgpspsysuite.exe"-"c:\sys\bin\te_lbsbtgpspsysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+
+; Other dependencies (added by hand)
+"\epoc32\release\armv5\urel\lbsbluetoothutilstestserver.exe"-"c:\sys\bin\lbsbluetoothutilstestserver.exe"
+
+; test "te_lbsbtgpspsytest"
+;
+; test scripts
+"..\scripts\te_lbsbtgpspsy.script"-"c:\testdata\scripts\te_lbsbtgpspsy.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\scripts\te_btpsymanualtest.script"-"c:\testdata\scripts\te_btpsymanualtest.script"
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\scripts\te_lbsbtgpspsy_breakconnection.script"-"c:\testdata\scripts\te_lbsbtgpspsy_breakconnection.script"
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\scripts\te_lbsbtgpspsy_connection.script"-"c:\testdata\scripts\te_lbsbtgpspsy_connection.script"
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\scripts\te_lbsbtgpspsy_lastdevice.script"-"c:\testdata\scripts\te_lbsbtgpspsy_lastdevice.script"
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_lbsbtgpspsy\testdata\te_lbsbtgpspsy.ini"-"c:\testdata\configs\te_lbsbtgpspsy.ini"
+
--- a/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/testdata/featuredatabase.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_lbsbtgpspsy/testdata/featuredatabase.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -109,7 +109,7 @@
 		<feature name="LocationAPIVariant2" statusflags="0x00000001" uid="0x10285D69">
 			<hrhmacro include="SYMBIAN_INCLUDE_LOCATION_API_VARIANT2"/>
 		</feature>
-		<feature name="BluetoothGPSPositioningPlugin" statusflags="0x00000001" uid="0x10285D6A">
+		<feature name="BluetoothGPSPositioningPlugin" statusflags="0x00000001" uid="0x0000007A">
 			<hrhmacro include="__BLUETOOTHGPSPSY"/>
 		</feature>
 		<feature name="DefaultPositioningPlugin" statusflags="0x00000001" uid="0x10285D6B">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_settingsmanager/group/te_settingsmanager.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/lbstest/lbstestproduct/ut/lbsgpsdatasourcemodules/lbslocbtgpspsy/te_settingsmanager/group/te_settingsmanager.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_settingsmanager.exe"-"c:\sys\bin\te_settingsmanager.exe"
+
+; TEF server dependencies
+
+; test "te_lbssettingsmanagertest"
+;
+; test scripts
+"..\scripts\te_settingsmanager.script"-"c:\testdata\scripts\te_settingsmanager.script"
+
+; test dependencies
+"\sf\os\lbs\lbstest\lbstestproduct\ut\lbsgpsdatasourcemodules\lbslocbtgpspsy\te_settingsmanager\testdata\te_settingsmanager.ini"-"c:\testdata\configs\te_settingsmanager.ini"
+
--- a/lbstest/locationprotocoltest/group/lbsnetworktest.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/lbstest/locationprotocoltest/group/lbsnetworktest.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -22,6 +22,8 @@
 #if !defined(SYMBIAN_EXCLUDE_LOCATION)
 #include "lbsprotocolmodule.iby"
 #include "lbsnetsim.iby"
+#include "suplprovider.iby"
+#include "ctsimpleprovider.iby"
 #include "suplasn1.iby"
 #include "lbssupltestmodule.iby"
 #endif // SYMBIAN_EXCLUDE_LOCATION
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/agpslocationmgr/test/te_agpsmanagersuite/group/te_agpsmanagersuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/agpslocationmgr/test/te_agpsmanagersuite/group/te_agpsmanagersuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_agpsmanagersuite.exe"-"c:\sys\bin\te_agpsmanagersuite.exe"
+
+; TEF server dependencies
+
+; test "te_agpsmanagertest"
+;
+; test scripts
+"..\scripts\te_agpsmanagersuite.script"-"c:\testdata\scripts\te_agpsmanagersuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\agpslocationmgr\test\te_agpsmanagersuite\testdata\te_agpsmanagersuite.ini"-"c:\testdata\configs\te_agpsmanagersuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/agpslocationmgr/test/te_man/group/te_mansuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,33 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/agpslocationmgr/test/te_man/group/te_mansuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_mansuite.exe"-"c:\sys\bin\te_mansuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\testlbsgpsmodule.dll"-"c:\sys\bin\testlbsgpsmodule.dll"
+"\epoc32\release\armv5\urel\testlbsgpslocmanager.exe"-"c:\sys\bin\testlbsgpslocmanager.exe"
+
+; test "te_mantest"
+;
+; test scripts
+"..\scripts\te_manSuite.script"-"c:\testdata\scripts\te_manSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\agpslocationmgr\test\te_man\testdata\te_manSuite.ini"-"c:\testdata\configs\te_manSuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsADataCache/test/te_lbsadatacachetest/group/te_lbsadatacachetestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsadatacache/test/te_lbsadatacachetest/group/te_lbsadatacachetestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsadatacachetestsuite.exe"-"c:\sys\bin\te_lbsadatacachetestsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsadatacachetesttest"
+;
+; test scripts
+"..\scripts\te_lbsadatacachetestsuite.script"-"c:\testdata\scripts\te_lbsadatacachetestsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\lbsadatacache\test\te_lbsadatacachetest\testdata\te_lbsadatacachetestSuite.ini"-"c:\testdata\configs\te_lbsadatacachetestsuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsAssistanceData/test/group/te_lbsassistancedatasuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsassistancedata/test/group/te_lbsassistancedatasuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsassistancedatasuite.exe"-"c:\sys\bin\te_lbsassistancedatasuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsassistancedatatest"
+;
+; test scripts
+"..\scripts\te_LbsAssistanceDataSuite.script"-"c:\testdata\scripts\te_LbsAssistanceDataSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsAssistanceData\test\testdata\te_LbsAssistanceDataSuite.ini"-"c:\testdata\configs\te_LbsAssistanceDataSuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsClient/LbsApi/test/te_lbsapi/group/te_lbsapisuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsclient/lbsapi/test/te_lbsapi/group/te_lbsapisuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsapisuite.exe"-"c:\sys\bin\te_lbsapisuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsapitest"
+;
+; test scripts
+"..\scripts\te_LbsApiSuite.script"-"c:\testdata\scripts\te_LbsApiSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsClient\LbsApi\test\te_LbsApi\testdata\te_LbsApiSuite.ini"-"c:\testdata\configs\te_LbsApiSuite.ini"
+"\sf\os\lbs\lbstest\lbstestproduct\common\testdata\lbstestconfig.txt"-"c:\testdata\configs\lbstestconfig.txt"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsDebug/test/te_LbsDebug/group/te_lbsdebugsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsdebug/test/te_lbsdebug/group/te_lbsdebugsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsdebugsuite.exe"-"c:\sys\bin\te_lbsdebugsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsdebugtest"
+;
+; test scripts
+"..\scripts\te_LbsDebugSuite.script"-"c:\testdata\scripts\te_LbsDebugSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsDebug\test\te_LbsDebug\testdata\te_LbsDebugSuite.ini"-"c:\testdata\configs\te_LbsDebugSuite.ini"
+
--- a/locationmgmt/locationcore/LbsInternalApi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/LbsInternalApi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -13,9 +13,9 @@
 // Description:
 //
 
-          TARGET      te_lbsinternalapitestsuite.exe
-          TARGETTYPE  exe
-          UID             0x1000007A 0x10281D6A
+TARGET      te_lbsinternalapitestsuite.exe
+TARGETTYPE  exe
+UID         0x1000007A 0x10281D6A
 
 CAPABILITY	WriteDeviceData ReadDeviceData Location
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsInternalApi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsinternalapi/te_lbsinternalapitest/group/te_lbsinternalapitestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsinternalapitestsuite.exe"-"c:\sys\bin\te_lbsinternalapitestsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsinternalapitesttest"
+;
+; test scripts
+"..\scripts\te_lbsinternalapitestsuite.script"-"c:\testdata\scripts\te_lbsinternalapitestsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsInternalApi\te_lbsinternalapitest\testdata\te_lbsinternalapitestsuite.ini"-"c:\testdata\configs\te_lbsinternalapitestsuite.ini"
+
--- a/locationmgmt/locationcore/LbsLocCommon/ServerFramework/src/claunchedprocess.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/LbsLocCommon/ServerFramework/src/claunchedprocess.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -16,7 +16,7 @@
 #include "lbsmemlogger.h"
 #include "claunchedprocess.h"
 #include "csecureprocessasbase.h"
-
+#include "lbsdevloggermacros.h"
 
 /** Create instance of trap handler and cleanup stack
 called by the launched process! 
@@ -166,7 +166,9 @@
 	// do any _FINAL _ operations. If anything.. default does nothing
 	s->Final();
 	// Cleanup the scheduler
+	LBSLOG(ELogP1, "CLaunchedProcess::Destroy scheduler \n");
 	CleanupStack::PopAndDestroy(s);
+	LBSLOG(ELogP1, "CLaunchedProcess::Scheduler destroyed\n");
 	return r;
 	}		
 	
--- a/locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/Te_ProcessLaunchTestsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/Te_ProcessLaunchTestsuite.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -41,7 +41,7 @@
 USERINCLUDE   ../../inc
 USERINCLUDE	../../../../lbsrootapi/inc
 USERINCLUDE	../../../../LbsInternalApi/inc
-
+//USERINCLUDE	../../../../LbsPartnerCommon/inc
 
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/te_processlaunchtestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsloccommon/serverframework/te_processlaunchtest/group/te_processlaunchtestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\Te_ProcessLaunchTestSuite.exe"-"c:\sys\bin\Te_ProcessLaunchTestSuite.exe"
+
+; TEF server dependencies
+
+; test "te_processlaunchtesttest"
+;
+; test scripts
+"..\scripts\te_ProcessLaunchTestSuite.script"-"c:\testdata\scripts\te_ProcessLaunchTestSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsLocCommon\ServerFramework\te_ProcessLaunchTest\testdata\te_ProcessLaunchTestSuite.ini"-"c:\testdata\configs\te_ProcessLaunchTestSuite.ini"
+
--- a/locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/te_serverframework_server.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/LbsLocCommon/ServerFramework/te_ProcessLaunchTest/group/te_serverframework_server.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -39,6 +39,7 @@
 
 USERINCLUDE   ../src
 USERINCLUDE   ../../inc
+//USERINCLUDE	../../../../LbsPartnerCommon/inc
 
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsLogging/te_LbsLogging/group/te_lbslogger.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbslogging/te_lbslogging/group/te_lbslogger.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsloggingsuiteserver.exe"-"c:\sys\bin\te_lbsloggingsuiteserver.exe"
+
+; TEF server dependencies
+
+; test "te_loggingtest"
+;
+; test scripts
+"..\scripts\te_LbsLoggingSuite.script"-"c:\testdata\scripts\te_LbsLoggingSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsLogging\te_lbslogging\testdata\Te_LbsLoggingSuiteServer.ini"-"c:\testdata\configs\Te_LbsLoggingSuiteServer.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsNetInternalApi/test/te_lbsnetinternaltest/group/te_lbsnetinternaltestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsnetinternalapi/test/te_lbsnetinternaltest/group/te_lbsnetinternaltestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnetinternaltestsuite.exe"-"c:\sys\bin\te_lbsnetinternaltestsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsnetinternaltesttest"
+;
+; test scripts
+"..\scripts\te_lbsnetinternaltestSuite.script"-"c:\testdata\scripts\te_lbsnetinternaltestSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsNetInternalApi\test\te_lbsnetinternaltest\testdata\te_lbsnetinternaltestSuite.ini"-"c:\testdata\configs\te_lbsnetinternaltestSuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsNetRegStatusInt/test/te_lbsnetregstatusinttest/group/te_lbsnetregstatusinttestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsnetregstatusint/test/te_lbsnetregstatusinttest/group/te_lbsnetregstatusinttestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnetregstatusinttestsuite.exe"-"c:\sys\bin\te_lbsnetregstatusinttestsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsnetregstatusinttesttest"
+;
+; test scripts
+"..\scripts\te_lbsnetregstatusinttestSuite.script"-"c:\testdata\scripts\te_lbsnetregstatusinttestSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\lbsnetregstatusint\test\te_lbsnetregstatusinttest\testdata\te_lbsnetregstatusinttestsuite.ini"-"c:\testdata\configs\te_lbsnetregstatusinttestSuite.ini"
+
--- a/locationmgmt/locationcore/LbsPartnerCommon/src/lbsdevlogger.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/LbsPartnerCommon/src/lbsdevlogger.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -461,7 +461,7 @@
 	{
 	RBuf8 strList;
 	strList.CleanupClosePushL();
-	strList.Create(KLbsDevLogMaxBufSize*10);
+	User::LeaveIfError(strList.Create(KLbsDevLogMaxBufSize*10));
 	strList.FormatList(aFmt, list);
 	WriteL(aType, aPrior, aFmt, list);
 	CleanupStack::PopAndDestroy();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/LbsRefFnpInt/test/te_lbsreffnpinttest/group/te_lbsreffnpinttestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsreffnpint/test/te_lbsreffnpinttest/group/te_lbsreffnpinttestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsreffnpinttestsuite.exe"-"c:\sys\bin\te_lbsreffnpinttestsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsreffnpinttesttest"
+;
+; test scripts
+"..\scripts\te_lbsreffnpinttestsuite.script"-"c:\testdata\scripts\te_lbsreffnpinttestsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\lbsreffnpint\test\te_lbsreffnpinttest\testdata\te_lbsreffnpinttestsuite.ini"-"c:\testdata\configs\te_lbsreffnpinttestsuite.ini"
+
--- a/locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/Te_LocIndicatorLibsuite.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/Te_LocIndicatorLibsuite.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -13,11 +13,9 @@
 // Description:
 //
 
-          TARGET      Te_LocIndicatorLibSuite.exe
-          TARGETTYPE  exe
-          UID             0x1000007A 0x1028375E
-
-
+TARGET      Te_LocIndicatorLibSuite.exe
+TARGETTYPE  exe
+UID             0x1000007A 0x1028375E
 
 //Please add any change under here
 SOURCEPATH  ../src
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/te_locindicatorlibsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbslocindicatorlib/test/te_locindicatorlib/group/te_locindicatorlibsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\Te_LocIndicatorLibSuite.exe"-"c:\sys\bin\Te_LocIndicatorLibSuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbslocindicatorlibtest"
+;
+; test scripts
+"..\scripts\te_locindicatorlibsuite.script"-"c:\testdata\scripts\te_locindicatorlibsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\lbslocindicatorlib\test\te_LocIndicatorLib\testdata\te_LocIndicatorLibSuite.ini"-"c:\testdata\configs\te_locindicatorlibsuite.ini"
+
--- a/locationmgmt/locationcore/lbslocsettings/inc/epos_cpospluginslist.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/lbslocsettings/inc/epos_cpospluginslist.h	Fri Sep 17 08:37:32 2010 +0300
@@ -46,7 +46,7 @@
 
     private:
 
-		void Move( TInt aOldIndex, TInt aNewIndex );
+		void MoveL( TInt aOldIndex, TInt aNewIndex );
         void Remove( TInt aIndex );
 
     private:
--- a/locationmgmt/locationcore/lbslocsettings/src/epos_cpospluginslist.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/lbslocsettings/src/epos_cpospluginslist.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -224,7 +224,7 @@
 	for ( TInt i = 0; i < aPostInstalledList.Count(); i++ )
 		{
 		TInt index = Find( aPostInstalledList[i] );
-	    Move( index, postInstalledOffset++ );
+	    MoveL( index, postInstalledOffset++ );
 		}
 
 	// 2. Move RomBased before postInstalled
@@ -234,7 +234,7 @@
 		CPosPluginProperties* plugin = iPlugins[i];
 		if ( plugin->IsRomBased() )
 			{
-			Move( i, romBasedOffset++ );
+			MoveL( i, romBasedOffset++ );
 			} 
 		}
 
@@ -255,12 +255,12 @@
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------
 //
-void CPosPluginsList::Move( TInt aOldIndex, TInt aNewIndex )
+void CPosPluginsList::MoveL( TInt aOldIndex, TInt aNewIndex )
 	{
 	__ASSERT_DEBUG( aOldIndex >=0 && aOldIndex < iPlugins.Count(), Panic( KErrArgument ) );
 	__ASSERT_DEBUG( aNewIndex >=0 && aNewIndex <= iPlugins.Count(), Panic( KErrArgument ) );
 
 	CPosPluginProperties* swap = iPlugins[aOldIndex];
 	iPlugins.Remove( aOldIndex );
-	iPlugins.Insert( swap, aNewIndex );
+	iPlugins.InsertL( swap, aNewIndex );
 	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/lbspositioningstatus/test/te_lbspositioningstatus/group/te_lbspositioningstatus.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,30 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbspositioningstatus/test/te_lbspositioningstatus/group/te_lbspositioningstatus.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbspositioningstatusserver.exe"-"c:\sys\bin\te_lbspositioningstatusserver.exe"
+
+; TEF server dependencies
+
+; test "te_lbspositioningstatustest"
+;
+; test scripts
+"..\scripts\te_lbspositioningstatus.script"-"c:\testdata\scripts\te_lbspositioningstatus.script"
+
+; test dependencies
+
--- a/locationmgmt/locationcore/lbsroot/src/lbsroot.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locationcore/lbsroot/src/lbsroot.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -365,7 +365,7 @@
 	RArray<TQualityProfile> qualityArray;
 	CleanupClosePushL(qualityArray);
 	
-	qualityArray.Reserve(5);
+	qualityArray.ReserveL(5);
 
 	// Only want to use the first file that is found.
 	// The way TFindFile::FindByDir works, it will search
@@ -1459,7 +1459,7 @@
             finished = err != KErrNone;
 	        if(!finished)
 	            {	        	
-        	    iLbsProcess.Append(newProcess);
+        	    iLbsProcess.AppendL(newProcess);
                 ++count;
                 if (newProcess->IsRunning())
                 	{
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/lbsrootapi/test/group/te_lbsrootapitestsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,50 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/lbsrootapi/test/group/te_lbsrootapitestsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsrootapitestsuite.exe"-"c:\sys\bin\te_lbsrootapitestsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\t_lbsrootapi_lbsgpslocmanager.exe"-"c:\sys\bin\t_lbsrootapi_lbsgpslocmanager.exe"
+"\epoc32\release\armv5\urel\t_lbsrootapi_lbsnetgateway.exe"-"c:\sys\bin\t_lbsrootapi_lbsnetgateway.exe"
+"\epoc32\release\armv5\urel\t_lbsrootapi_lbsnetworkrequesthandler.exe"-"c:\sys\bin\t_lbsrootapi_lbsnetworkrequesthandler.exe"
+
+; test "te_lbsrootapitesttest"
+;
+; test scripts
+"..\scripts\te_lbsrootapitestsuite.script"-"c:\testdata\scripts\te_lbsrootapitestsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\te_lbsrootapiTestsuite.ini"-"c:\testdata\configs\te_lbsrootapiTestsuite.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststepall\12345678.ini"-"c:\testdata\configs\moduleini\teststepall\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststepall\98765432.ini"-"c:\testdata\configs\moduleini\teststepall\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep9\12345678.ini"-"c:\testdata\configs\moduleini\teststep9\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep9\98765432.ini"-"c:\testdata\configs\moduleini\teststep9\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep10\12345678.ini"-"c:\testdata\configs\moduleini\teststep10\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep10\98765432.ini"-"c:\testdata\configs\moduleini\teststep10\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep11\12345678.ini"-"c:\testdata\configs\moduleini\teststep11\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep11\98765432.ini"-"c:\testdata\configs\moduleini\teststep11\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep12\12345678.ini"-"c:\testdata\configs\moduleini\teststep12\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep12\98765432.ini"-"c:\testdata\configs\moduleini\teststep12\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep13\12345678.ini"-"c:\testdata\configs\moduleini\teststep13\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep13\98765432.ini"-"c:\testdata\configs\moduleini\teststep13\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep26\12345678.ini"-"c:\testdata\configs\moduleini\teststep26\12345678.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep26\98765432.ini"-"c:\testdata\configs\moduleini\teststep26\98765432.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep28\lbsprofile.ini"-"c:\testdata\configs\moduleini\teststep28\lbsprofile.ini"
+"\sf\os\lbs\locationmgmt\locationcore\LbsRootApi\test\testdata\teststep31\lbsprofile.ini"-"c:\testdata\configs\moduleini\teststep31\lbsprofile.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/test/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,23 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/test/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,30 @@
+<!-- ATS4 -->
+<task>
+<type>CreateDirTask</type>
+<parameters>                
+<parameter name="dir" value="c:\logs\lbs"/>
+</parameters>
+</task>
+
+<task>
+<type>CreateDirTask</type>
+<parameters>                
+<parameter name="dir" value="c:\logs\epos"/>
+</parameters>
+</task>
+
+<task>
+<type>CreateDirTask</type>
+<parameters>                
+<parameter name="dir" value="c:\logs\dpsy"/>
+</parameters>
+</task>
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
+<command>makedir</command>
+<params>
+<param dir="c:\logs\lbs"/>
+</params>
+</step>
+-->
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locationcore/test/group/te_lbsadminsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,34 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locationcore/test/group/te_lbsadminsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsadminsuite.exe"-"c:\sys\bin\te_lbsadminsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_lbsadmin.dll"-"c:\sys\bin\te_LbsAdmin.dll"
+
+; test "te_lbsadmintest"
+;
+; test scripts
+"..\scripts\te_LbsAdminSuite.script"-"c:\testdata\scripts\te_LbsAdminSuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locationcore\test\testdata\te_LbsAdminSuite.ini"-"c:\testdata\configs\te_LbsAdminSuite.ini"
+"\sf\os\lbs\locationmgmt\locationcore\test\testdata\legacy\1028224B.cre"-"c:\testdata\configs\legacy\1028224B.cre"
+"\sf\os\lbs\locationmgmt\locationcore\test\testdata\outofrange\1028224B.cre"-"c:\testdata\configs\outofrange\1028224B.cre"
+
--- a/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/BWINS/lbslocationinfodatatypesu.def	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/BWINS/lbslocationinfodatatypesu.def	Fri Sep 17 08:37:32 2010 +0300
@@ -82,4 +82,7 @@
 	?NewL@CLbsWlanInfo@@SAPAV1@ABV1@@Z @ 81 NONAME ; class CLbsWlanInfo * CLbsWlanInfo::NewL(class CLbsWlanInfo const &)
 	?SetSignalStrength@CLbsWcdmaCellInfo@@QAEXH@Z @ 82 NONAME ; void CLbsWcdmaCellInfo::SetSignalStrength(int)
 	?SignalStrength@CLbsWcdmaCellInfo@@QBEHXZ @ 83 NONAME ; int CLbsWcdmaCellInfo::SignalStrength(void) const
+	?LocalAreaCode@CLbsWcdmaCellInfo@@QBEHXZ @ 84 NONAME ; int CLbsWcdmaCellInfo::LocalAreaCode(void) const
+	?NewL@CLbsWcdmaCellInfo@@SAPAV1@HHHH@Z @ 85 NONAME ; class CLbsWcdmaCellInfo * CLbsWcdmaCellInfo::NewL(int, int, int, int)
+	?SetLocalAreaCode@CLbsWcdmaCellInfo@@QAEXH@Z @ 86 NONAME ; void CLbsWcdmaCellInfo::SetLocalAreaCode(int)
 
--- a/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/EABI/lbslocationinfodatatypesu.def	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/EABI/lbslocationinfodatatypesu.def	Fri Sep 17 08:37:32 2010 +0300
@@ -100,4 +100,7 @@
 	_ZN17CLbsWcdmaCellInfo4NewLERKS_ @ 99 NONAME
 	_ZN17CLbsWcdmaCellInfo17SetSignalStrengthEi @ 100 NONAME
 	_ZNK17CLbsWcdmaCellInfo14SignalStrengthEv @ 101 NONAME
+	_ZN17CLbsWcdmaCellInfo16SetLocalAreaCodeEi @ 102 NONAME
+	_ZN17CLbsWcdmaCellInfo4NewLEiiii @ 103 NONAME
+	_ZNK17CLbsWcdmaCellInfo13LocalAreaCodeEv @ 104 NONAME
 
--- a/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/inc/lbslocationwcdmainfo.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/inc/lbslocationwcdmainfo.h	Fri Sep 17 08:37:32 2010 +0300
@@ -65,6 +65,25 @@
     IMPORT_C static CLbsWcdmaCellInfo* NewL( const TInt aCountryCode,
                                              const TInt aNetworkCode,
                                              const TInt aUniqueCellId );     
+
+
+	/**
+     * Allocates and constructs a new WCDMA cell info object. 
+     *
+     * @param[in] aCountryCode Network country code.
+     * @param[in] aNetworkCode Network code.
+	 * @param[in] aLocalAreaCode Local Area Code (LAC)
+     * @param[in] aUniqueCellId Cell ID of a cell in WCDMA PLMN.
+     * @return Pointer to the new WCDMA cell info object.
+     * @leave KErrArgument in case of invalid input or other standard symbian 
+     * error codes, such as KErrNoMemory.
+     */    
+
+	IMPORT_C static CLbsWcdmaCellInfo* NewL( const TInt aCountryCode,
+											 const TInt aNetworkCode,
+											 const TInt aLocalAreaCode,
+                                             const TInt aUniqueCellId );
+
     /**
       * Allocates and constructs a WCDMA cell info object, a copy of another one.
       * 
@@ -106,6 +125,22 @@
      *        KErrNotFound if the value is undefined.
      */    
     IMPORT_C TInt MobileNetworkCode() const;
+
+
+    /**
+     * Sets the Local Area Code (LAC).
+     *
+     * @param[in] aLocalAreaCode Local Area Code (LAC), range 0..0xffff.
+     */
+    IMPORT_C void SetLocalAreaCode( const TInt aLocalAreaCode );
+    
+    /**
+     * Retrieves the Local Area Code.
+     *
+     * @return Local Area Code (LAC), range 0..0xffff.
+     *        KErrNotFound if the value is undefined.
+     */    
+    IMPORT_C TInt LocalAreaCode(void) const; 
     
     /**
      * Sets the Cell Identity.
@@ -242,10 +277,11 @@
     void ConstructL();
     
     /**
-     * Symbian 2 phase constructor 
+     * Symbian 2 phase constructor # 2
      */
     void ConstructL( const TInt aCountryCode, 
                      const TInt aNetworkCode,
+					 const TInt aLocalAreaCode,
                      const TInt aUniqueCellId );
     
 private: // data
@@ -258,6 +294,7 @@
         EWcdmaUCid = 0x04,
         EWcdmaSC = 0x08,
         EWcdmaRSSI = 0x10,
+		EWcdmaLAC = 0x20,
         };
     
     /**
@@ -294,6 +331,11 @@
      * Neighbouring cell info
      */
     RLbsWcdmaNeighbourCellInfoArray  iNeighbourCellInfo;
+
+    /**
+     * Local Area Code (LAC)
+     */
+	TInt32		iLAC;
     
     };
 
--- a/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/src/lbslocationwcdmainfo.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/src/lbslocationwcdmainfo.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -47,15 +47,34 @@
     {
     CLbsWcdmaCellInfo* self = new( ELeave ) CLbsWcdmaCellInfo;
     CleanupStack::PushL( self );
-    self->ConstructL( aCountryCode, aNetworkCode, aUniqueCellId );
+    self->ConstructL( aCountryCode, aNetworkCode, (-1), aUniqueCellId );
     CleanupStack::Pop();
     return self;    
     }
 
+// ---------------------------------------------------------------------------
+// CLbsWcdmaCellInfo::NewL()
+// other items were commented in the header
+// ---------------------------------------------------------------------------
+//
+EXPORT_C CLbsWcdmaCellInfo* CLbsWcdmaCellInfo::NewL( const TInt aCountryCode,
+                                               const TInt aNetworkCode,
+											   const TInt aLocalAreaCode,
+                                               const TInt aUniqueCellId )
+    {
+    CLbsWcdmaCellInfo* self = new( ELeave ) CLbsWcdmaCellInfo;
+    CleanupStack::PushL( self );
+    self->ConstructL( aCountryCode, aNetworkCode, aLocalAreaCode, aUniqueCellId );
+    CleanupStack::Pop();
+    return self;    
+    }
+
+
+
 EXPORT_C  CLbsWcdmaCellInfo* CLbsWcdmaCellInfo::NewL( const CLbsWcdmaCellInfo& aPositionInfo )
 	{
 	
-	CLbsWcdmaCellInfo* self = CLbsWcdmaCellInfo::NewL( aPositionInfo.iMCC,aPositionInfo.iMNC,aPositionInfo.iUCid);
+	CLbsWcdmaCellInfo* self = CLbsWcdmaCellInfo::NewL( aPositionInfo.iMCC,aPositionInfo.iMNC, aPositionInfo.iLAC, aPositionInfo.iUCid);
 	self->iSCode = aPositionInfo.iSCode;
 	
 	RLbsWcdmaNeighbourCellInfoArray  neighbourCellInfoArray;
@@ -114,6 +133,8 @@
     iMNC = aNetworkCode;
     iDataValidationMask |= EWcdmaMNC;
     }
+
+
     
 // ---------------------------------------------------------------------------
 // CLbsWcdmaCellInfo::MobileNetworkCode()
@@ -125,6 +146,30 @@
     return iMNC;
     }
 
+
+// ---------------------------------------------------------------------------
+// CLbsWcdmaCellInfo::SetLocalAreaCode()
+// other items were commented in the header
+// ---------------------------------------------------------------------------
+//
+EXPORT_C void CLbsWcdmaCellInfo::SetLocalAreaCode( const TInt aLocalAreaCode )
+    {
+    iLAC = aLocalAreaCode;
+    iDataValidationMask |= EWcdmaLAC;
+    }
+
+
+    
+// ---------------------------------------------------------------------------
+// CLbsWcdmaCellInfo::LocalAreaCode()
+// other items were commented in the header
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TInt CLbsWcdmaCellInfo::LocalAreaCode(void) const
+    {
+    return iLAC;
+    }
+
 // ---------------------------------------------------------------------------
 // CLbsWcdmaCellInfo::SetUniqueCellId()
 // other items were commented in the header
@@ -265,7 +310,9 @@
         cellInfo.SetPathloss( aStream.ReadInt16L() );
         cellInfo.SetSignalStrength( aStream.ReadInt16L() );
         iNeighbourCellInfo.Append( cellInfo );
-        }    
+        }
+    
+	iLAC = aStream.ReadInt32L();
     }
 
 // ---------------------------------------------------------------------------
@@ -290,6 +337,9 @@
         aStream.WriteInt16L( iNeighbourCellInfo[i].Pathloss() );
         aStream.WriteInt16L( iNeighbourCellInfo[i].SignalStrength() );
         }
+
+    aStream.WriteInt32L( iLAC );
+
     }
 
 // ---------------------------------------------------------------------------
@@ -343,6 +393,14 @@
             User::Leave( KErrArgument );
             }
         }
+
+	if ( iDataValidationMask & EWcdmaLAC)
+		{
+		if (iLAC > 0xffff)
+			{
+            User::Leave( KErrArgument );
+			}
+		}
     }
 
 // ---------------------------------------------------------------------------
@@ -366,6 +424,7 @@
     iUCid = -1;
     iSCode = -1;
     iRssi  = -1;
+	iLAC = -1;
     iDataValidationMask = EWcdmaDataNull;
     }
 
@@ -374,13 +433,24 @@
 // other items were commented in the header
 // ---------------------------------------------------------------------------
 //
+
 void CLbsWcdmaCellInfo::ConstructL( const TInt aCountryCode, 
                                     const TInt aNetworkCode,
+									const TInt aLocalAreaCode,
                                     const TInt aUniqueCellId )
     {
     SetMobileCountryCode( aCountryCode );
     SetMobileNetworkCode( aNetworkCode );
     SetUniqueCellId( aUniqueCellId );
+	if (aLocalAreaCode == -1)
+		{
+		iLAC = -1;
+		}
+	else
+		{
+		SetLocalAreaCode(aLocalAreaCode);
+		}
     iSCode = -1;
     iRssi  = -1;
     }
+
--- a/locationmgmt/locmonitor/lbslocmonitorserver/inc/clbslocmonitordbengine.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/inc/clbslocmonitordbengine.h	Fri Sep 17 08:37:32 2010 +0300
@@ -38,9 +38,9 @@
 	static CLbsLocMonitorDbEngine* NewL();
 	virtual ~CLbsLocMonitorDbEngine();
 	TInt SavePosition(TUint aMcc, TUint aMnc, TUint aLac, 
-			TUint aCid, const TPosition& aPosition, TBool aUserPosition, TRequestStatus& aStatus);
+			TUint aCid, TBool aIs3gMode, const TPosition& aPosition, TBool aUserPosition, TRequestStatus& aStatus);
 	TInt GetPosition(TUint aMcc, TUint aMnc, TUint aLac, 
-			TUint aCid, TPosition& aPosition, TPositionAreaExtendedInfo& aMatchingAreaInfo, TRequestStatus& aStatus);
+			TUint aCid, TBool aIs3gMode, TPosition& aPosition, TPositionAreaExtendedInfo& aMatchingAreaInfo, TRequestStatus& aStatus);
 	TInt GetPosition(TPosition& aPosition, TRequestStatus& aStatus);
 	TInt ClearDatabase();
 	
@@ -57,7 +57,7 @@
 			TInt aLac = KErrNotFound, TInt aCid = KErrNotFound);
 	void CheckFlush();
 	void Flush(TBool aShutdown);
-	TPositionAreaExtendedInfo CacheMatchLevel(TInt aMcc, TInt aMnc, TInt aLac, TInt aCid);
+	TPositionAreaExtendedInfo CacheMatchLevel(TInt aMcc, TInt aMnc, TInt aLac, TInt aCid, TBool aIs3gMode);
 	TInt Insert(TBool aShutdown);
 	TInt DbSize();
 	virtual void RunL();
@@ -81,6 +81,7 @@
 	TPosition iLastKnownPosition;
 	TTime iLastTime;
 	TBool iIsLastValid;
+	TBool iLastModeIs3g;
 	};
 	
 
--- a/locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitorareainfodefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitorareainfodefs.h	Fri Sep 17 08:37:32 2010 +0300
@@ -71,8 +71,12 @@
 public:
 	TUint iMcc; 
 	TUint iMnc; 
-	TUint iLac; 
+	TInt iLac;		// this can be set to -1 to indicate not valid
 	TUint iCid;
+
+	TBool iValidity;
+
+	TBool iIs3gNetworkMode;
 };
 
 #endif // LBSLOCMONITORAREAINFODEFS_H
--- a/locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitordbenginedefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/inc/lbslocmonitordbenginedefs.h	Fri Sep 17 08:37:32 2010 +0300
@@ -50,17 +50,21 @@
 //_LIT(KUpsertLastPosRowActual, "INSERT OR REPLACE INTO lastpos (rowid, date, data) VALUES (1, :timestamp, :data);");
 
 _LIT(KSelectRow4, "SELECT data FROM monitorstore WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac AND cid = :cid;");
-_LIT(KSelectRow3, "SELECT data FROM monitorstore WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac ORDER BY date DESC LIMIT 1;");
+_LIT(KSelectRow3, "SELECT data FROM monitorstore WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac %S ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectRow2, "SELECT data FROM monitorstore WHERE mcc = :mcc AND mnc = :mnc ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectRow1, "SELECT data FROM monitorstore WHERE mcc = :mcc ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectRowLatest, "SELECT data FROM lastpos ORDER BY date DESC LIMIT 1;");
 
 _LIT(KSelectTempRow4, "SELECT data FROM monitorstore_temp WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac AND cid = :cid;");
-_LIT(KSelectTempRow3, "SELECT data FROM monitorstore_temp WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac ORDER BY date DESC LIMIT 1;");
+_LIT(KSelectTempRow3, "SELECT data FROM monitorstore_temp WHERE mcc = :mcc AND mnc = :mnc AND lac = :lac %S ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectTempRow2, "SELECT data FROM monitorstore_temp WHERE mcc = :mcc AND mnc = :mnc ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectTempRow1, "SELECT data FROM monitorstore_temp WHERE mcc = :mcc ORDER BY date DESC LIMIT 1;");
 _LIT(KSelectTempRowLatest, "SELECT data FROM lastpos_temp ORDER BY date DESC LIMIT 1;");
 
+_LIT(KSelectGsmCells, "AND cid < 268435456");
+_LIT(KSelectWcdmaCells, "AND cid >= 268435456");
+
+
 _LIT(KCount, "SELECT COUNT(*) FROM monitorstore;");
 _LIT(KPrune, "DELETE FROM monitorstore WHERE ROWID IN (SELECT rowid FROM monitorstore ORDER BY date LIMIT 100)");
 
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorconversionhandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorconversionhandler.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -740,8 +740,9 @@
         CLbsLocationInfo* locationInfo = static_cast<CLbsLocationInfo*>(iLocationInfoArray[i]);
         RLbsAreaInfoBaseArray areaArray;
         CleanupStack::PushL(TCleanupItem(*CleanUpResetAndDestroy, &areaArray));
-        // NOTE! When locmonitor is expanded to cache 3g / wlan this call must be changed!
-        locationInfo->GetAreaInfoL(areaArray, ELbsAreaGsmCellInfoClass);
+        // NOTE! When locmonitor is expanded to cache wlan etc. this call must be changed! 
+		// Currently we know about GSM and 3g (WCDMA).
+        locationInfo->GetAreaInfoL(areaArray, CLbsLocationInfo::ELbsGsmInfo|CLbsLocationInfo::ELbsWcdmaInfo);
         
         TInt areaCount = areaArray.Count();
         TBool saved = EFalse;
@@ -766,9 +767,27 @@
                     areaInfoGci.iMnc = area->MobileNetworkCode();
                     areaInfoGci.iLac = area->LocationAreaCode();
                     areaInfoGci.iCid = area->CellId();
+                    areaInfoGci.iValidity = ETrue;
+                    areaInfoGci.iIs3gNetworkMode = EFalse;
+                    
                     resolved = ETrue;
                     break;
                     }
+
+                case ELbsAreaWcmdaCellInfoClass :
+                    {
+                    CLbsWcdmaCellInfo* area = static_cast<CLbsWcdmaCellInfo*>(areaArray[j]);
+                    areaInfoGci.iMcc = area->MobileCountryCode();
+                    areaInfoGci.iMnc = area->MobileNetworkCode();
+                    areaInfoGci.iLac = area->LocalAreaCode();
+                    areaInfoGci.iCid = area->UniqueCellId();
+                    areaInfoGci.iValidity = ETrue;
+                    areaInfoGci.iIs3gNetworkMode = ETrue;
+                    
+                    resolved = ETrue;
+                    break;
+                    }
+
                 default:
                     {
                     resolved = EFalse;
@@ -850,7 +869,7 @@
         
         RLbsAreaInfoBaseArray cellArray;
         CleanupStack::PushL(TCleanupItem(*CleanUpResetAndDestroy, &cellArray));
-        locationInfo->GetAreaInfoL(cellArray, CLbsLocationInfo::ELbsGsmInfo);
+        locationInfo->GetAreaInfoL(cellArray, CLbsLocationInfo::ELbsGsmInfo | CLbsLocationInfo::ELbsWcdmaInfo);
         
         RLbsAreaInfoBaseArray locationArray;
         CleanupStack::PushL(TCleanupItem(*CleanUpResetAndDestroy, &locationArray));
@@ -870,12 +889,34 @@
                 {
                 for(TInt i = 0; i < cellArray.Count(); i++)
                     {
-                    CLbsGsmCellInfo* cell = static_cast<CLbsGsmCellInfo*>(cellArray[i]);
-                    TLbsLocMonitorAreaInfoGci areaInfoGci;
-                    areaInfoGci.iMcc = cell->MobileCountryCode();
-                    areaInfoGci.iMnc = cell->MobileNetworkCode();
-                    areaInfoGci.iLac = cell->LocationAreaCode();
-                    areaInfoGci.iCid = cell->CellId();
+					TLbsLocMonitorAreaInfoGci areaInfoGci;
+					if (cellArray[i]->Type() == ELbsAreaGsmCellInfoClass)
+						{
+						CLbsGsmCellInfo* cell = static_cast<CLbsGsmCellInfo*>(cellArray[i]);
+						areaInfoGci.iMcc = cell->MobileCountryCode();
+						areaInfoGci.iMnc = cell->MobileNetworkCode();
+						areaInfoGci.iLac = cell->LocationAreaCode();
+						areaInfoGci.iCid = cell->CellId();
+                        areaInfoGci.iValidity = ETrue;
+						areaInfoGci.iIs3gNetworkMode = EFalse;
+						}
+					else 
+						{ 
+						// by elimination type must be ELbsAreaWcmdaCellInfoClass!
+						CLbsWcdmaCellInfo* cell = static_cast<CLbsWcdmaCellInfo*>(cellArray[i]);
+
+						// If we don't have a valid LAC (which may happen with WCDMA) then we cannot
+						// save to the cache and we should go to the next cell immediately.
+						if (cell->LocalAreaCode() == -1)
+							continue;
+						areaInfoGci.iMcc = cell->MobileCountryCode();
+						areaInfoGci.iMnc = cell->MobileNetworkCode();
+						areaInfoGci.iLac = cell->LocalAreaCode();
+						areaInfoGci.iCid = cell->UniqueCellId();
+						areaInfoGci.iValidity = ETrue;
+						areaInfoGci.iIs3gNetworkMode = ETrue;
+						}
+
                     RPointerArray<TLbsLocMonitorAreaInfoBase> areaArray;
                     areaArray.Append(&areaInfoGci);
                     TTime now;
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitordbengine.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitordbengine.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -21,7 +21,7 @@
 #include "lbslocmonitordbenginedefs.h"
 #include "lbsdevloggermacros.h"
 
-
+const TInt KMaskInBit28 = 0x10000000;
 
 CLbsLocMonitorDbEngine* CLbsLocMonitorDbEngine::NewL()
 	{
@@ -109,15 +109,18 @@
 	}
 
 
-TInt CLbsLocMonitorDbEngine::SavePosition(TUint aMcc, TUint aMnc, TUint aLac, TUint aCid, const TPosition& aPosition, TBool aUserPosition, TRequestStatus& aStatus)
+TInt CLbsLocMonitorDbEngine::SavePosition(TUint aMcc, TUint aMnc, TUint aLac, TUint aCid, TBool aIs3gMode, const TPosition& aPosition, TBool aUserPosition, TRequestStatus& aStatus)
 	{
-    iSaveLastPos = aUserPosition;
 	LBSLOG(ELogP1,"->CLbsLocMonitorDbEngine::SavePosition");
+
+	iSaveLastPos = aUserPosition;
+
 	if(aMcc > KMaxTInt || aMnc > KMaxTInt || aLac > KMaxTInt || aCid > KMaxTInt)
 		{
 		return KErrArgument;
 		}		
-	iClientStatus = &aStatus;
+
+    iClientStatus = &aStatus;
 	*iClientStatus = KRequestPending;
 	
 	// If the db flush timer is not running, start it
@@ -133,6 +136,7 @@
 		iLastMnc = aMnc;
 		iLastLac = aLac;
 		iLastCid = aCid;
+		iLastModeIs3g = aIs3gMode;
 		iLastTime.UniversalTime();
 		iLastPosition = aPosition;
 		if(iSaveLastPos)
@@ -145,7 +149,7 @@
 		} 
 	// If this cell is the same as the the cache, update the cache's position and timestamp
 	
-	else if(CacheMatchLevel(aMcc, aMnc, aLac, aCid).CellIdMatch())
+	else if(CacheMatchLevel(aMcc, aMnc, aLac, aCid, aIs3gMode).CellIdMatch())
 		{
 		iLastPosition = aPosition;
 	    if(iSaveLastPos)
@@ -153,6 +157,7 @@
             iLastKnownPosition = aPosition;
             }
 		iLastTime.UniversalTime();
+		iLastModeIs3g = aIs3gMode;
 		User::RequestComplete(iClientStatus, KErrNone);
 		return KErrNone;
 		}
@@ -168,6 +173,7 @@
 			iLastCid = aCid;
 			iLastTime.UniversalTime();
 			iLastPosition = aPosition;
+			iLastModeIs3g = aIs3gMode;
 			iIsLastValid = ETrue;
 			}
 		return result;
@@ -190,10 +196,17 @@
 		TInt indexStamp = iSqlSaveStatement.ParameterIndex(KStamp);
 		TInt indexData = iSqlSaveStatement.ParameterIndex(KData);
 		
+
 		iSqlSaveStatement.BindInt(indexMcc, iLastMcc);
 		iSqlSaveStatement.BindInt(indexMnc, iLastMnc);
 		iSqlSaveStatement.BindInt(indexLac, iLastLac);
-		iSqlSaveStatement.BindInt(indexCid, iLastCid);
+		// Set bit 28 if 3g to distinguish from 2g equivalent...
+		TInt effectiveCid = iLastCid;
+		if (iLastModeIs3g)
+			{
+			effectiveCid |= KMaskInBit28;
+			}
+		iSqlSaveStatement.BindInt(indexCid, effectiveCid);
 		iSqlSaveStatement.BindInt64(indexStamp, iLastTime.Int64());
 		iSqlSaveStatement.BindBinary(indexData, positionDes);
 		
@@ -230,7 +243,7 @@
 	}
 
 
-TInt CLbsLocMonitorDbEngine::GetPosition(TUint aMcc, TUint aMnc, TUint aLac, TUint aCid, TPosition& aPosition, TPositionAreaExtendedInfo& aMatchingAreaInfo, TRequestStatus& aStatus)
+TInt CLbsLocMonitorDbEngine::GetPosition(TUint aMcc, TUint aMnc, TUint aLac, TUint aCid, TBool aIs3gMode, TPosition& aPosition, TPositionAreaExtendedInfo& aMatchingAreaInfo, TRequestStatus& aStatus)
 	{
 	LBSLOG(ELogP1,"->CLbsLocMonitorDbEngine::GetPosition");
 	if(aMcc > KMaxTInt || aMnc > KMaxTInt || aLac > KMaxTInt || aCid > KMaxTInt)
@@ -245,8 +258,15 @@
 	aMatchingAreaInfo.SetLocationAreaCodeMatch(EFalse);
 	aMatchingAreaInfo.SetCellIdMatch(EFalse);
 	aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaUnknown);
-	TPositionAreaExtendedInfo cacheMatch = CacheMatchLevel(aMcc, aMnc, aLac, aCid);
-	if(cacheMatch.CellIdMatch() || Select(aPosition, TPtrC(KSelectTempRow4), aMcc, aMnc, aLac, aCid) || Select(aPosition, TPtrC(KSelectRow4), aMcc, aMnc, aLac, aCid))
+
+	TUint effectiveCid = aCid;
+	if (aIs3gMode)
+		{
+		effectiveCid |= KMaskInBit28;
+		}
+
+	TPositionAreaExtendedInfo cacheMatch = CacheMatchLevel(aMcc, aMnc, aLac, aCid, aIs3gMode);
+	if(cacheMatch.CellIdMatch() || Select(aPosition, TPtrC(KSelectTempRow4), aMcc, aMnc, aLac, effectiveCid) || Select(aPosition, TPtrC(KSelectRow4), aMcc, aMnc, aLac, effectiveCid))
 		{		
 		if(cacheMatch.CellIdMatch())
 			{
@@ -258,47 +278,86 @@
 		aMatchingAreaInfo.SetCellIdMatch(ETrue);
 		aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaCity);
 		}
-	else if(cacheMatch.LocationAreaCodeMatch() || Select(aPosition, TPtrC(KSelectTempRow3), aMcc, aMnc, aLac) || Select(aPosition, TPtrC(KSelectRow3), aMcc, aMnc, aLac))
-		{
-		if(cacheMatch.LocationAreaCodeMatch())
-			{
-			aPosition = iLastPosition;
-			}
-		aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
-		aMatchingAreaInfo.SetMobileNetworkCodeMatch(ETrue);
-		aMatchingAreaInfo.SetLocationAreaCodeMatch(ETrue);
-		aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaRegion);
-		}
-	else if(cacheMatch.MobileNetworkCodeMatch() || Select(aPosition, TPtrC(KSelectTempRow2), aMcc, aMnc) || Select(aPosition, TPtrC(KSelectRow2), aMcc, aMnc))
-		{
-		if(cacheMatch.MobileNetworkCodeMatch())
+	else 
+		{	
+		TBool matchLac = cacheMatch.LocationAreaCodeMatch();
+		if(matchLac)
 			{
 			aPosition = iLastPosition;
 			}
-		aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
-		aMatchingAreaInfo.SetMobileNetworkCodeMatch(ETrue);
-		aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaCountry);
-		}
-	else if(cacheMatch.MobileCountryCodeMatch() || Select(aPosition, TPtrC(KSelectTempRow1), aMcc) || Select(aPosition, TPtrC(KSelectRow1), aMcc))
-		{
-		if(cacheMatch.MobileCountryCodeMatch())
+		else
 			{
-			aPosition = iLastPosition;
+			TBuf<30>gsmOrWcdmaCells;
+			if (aIs3gMode)
+				{
+				gsmOrWcdmaCells = KSelectWcdmaCells;
+				}
+			else
+				{
+				gsmOrWcdmaCells = KSelectGsmCells;
+				}
+				
+			TBuf<256> selectStatement;
+			selectStatement.Format(KSelectTempRow3, &gsmOrWcdmaCells);
+
+			if (Select(aPosition, TPtrC(selectStatement), aMcc, aMnc, aLac))
+				{
+				matchLac = ETrue;
+				}
+			else
+				{
+				selectStatement.Format(KSelectRow3,&gsmOrWcdmaCells);
+				if (Select(aPosition, TPtrC(selectStatement), aMcc, aMnc, aLac))
+					{
+					matchLac = ETrue;
+					}
+				}
+			}
+				
+		if (matchLac)
+			{
+			aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
+			aMatchingAreaInfo.SetMobileNetworkCodeMatch(ETrue);
+			aMatchingAreaInfo.SetLocationAreaCodeMatch(ETrue);
+			aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaRegion);
 			}
-		aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
-		aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaCountry);
-		}
-	else if(iIsLastValid || Select(aPosition, TPtrC(KSelectTempRowLatest)) || Select(aPosition, TPtrC(KSelectRowLatest)) || iIsLastValid)
-		{
-		if(iIsLastValid)
+		else
 			{
-			aPosition = iLastPosition;
-			}
-		}
-	else
-		{
-		result = KErrNotFound;
-		}
+			if(cacheMatch.MobileNetworkCodeMatch() || Select(aPosition, TPtrC(KSelectTempRow2), aMcc, aMnc) || Select(aPosition, TPtrC(KSelectRow2), aMcc, aMnc))
+				{
+				if(cacheMatch.MobileNetworkCodeMatch())
+					{
+					aPosition = iLastPosition;
+					}
+				aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
+				aMatchingAreaInfo.SetMobileNetworkCodeMatch(ETrue);
+				aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaCountry);
+				}
+			else if(cacheMatch.MobileCountryCodeMatch() || Select(aPosition, TPtrC(KSelectTempRow1), aMcc) || Select(aPosition, TPtrC(KSelectRow1), aMcc))
+				{
+				if(cacheMatch.MobileCountryCodeMatch())
+					{
+					aPosition = iLastPosition;
+					}
+				aMatchingAreaInfo.SetMobileCountryCodeMatch(ETrue);
+				aMatchingAreaInfo.SetArea(TPositionAreaExtendedInfo::EAreaCountry);
+				}
+			else if(iIsLastValid || Select(aPosition, TPtrC(KSelectTempRowLatest)) || Select(aPosition, TPtrC(KSelectRowLatest)) || iIsLastValid)
+				{
+				if(iIsLastValid)
+					{
+					aPosition = iLastPosition;
+					}
+				}
+			else
+				{
+				result = KErrNotFound;
+				}
+
+			} // end else no match on LAC
+
+		} // end else no match on cell id
+
 	TRequestStatus* status = &aStatus;
 	*status = KRequestPending;
 	User::RequestComplete(status, result);
@@ -436,7 +495,7 @@
 	}
 
 
-TPositionAreaExtendedInfo CLbsLocMonitorDbEngine::CacheMatchLevel(TInt aMcc, TInt aMnc, TInt aLac, TInt aCid)
+TPositionAreaExtendedInfo CLbsLocMonitorDbEngine::CacheMatchLevel(TInt aMcc, TInt aMnc, TInt aLac, TInt aCid, TBool aIs3gMode)
 	{
 	LBSLOG(ELogP1,"->CLbsLocMonitorDbEngine::CacheMatchLevel");
 	TPositionAreaExtendedInfo areaInfo;
@@ -447,7 +506,7 @@
 			{
 			if(aMnc == iLastMnc)
 				{
-				if(aLac == iLastLac)
+				if(aLac == iLastLac && aIs3gMode == iLastModeIs3g) 
 					{
 					if(aCid == iLastCid)
 						{
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitornetworkinfofinder.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitornetworkinfofinder.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -29,10 +29,10 @@
 #include <commsdattypesv1_1.h>
 using namespace CommsDat;
 
-const TUint KMaxCellIdOrLac = 65535;
+const TUint KMaxGsmCellIdOrLac = 65535;
+const TUint KMaxWcdmaCellId = 0xFFFFFFF;   // maximum of 28 bits, least significant (16 bits short cell id + 12 RNC id)
 const TUint KMaxMccOrMnc = 999;
 
-
 /**
 */
 CLbsLocMonitorNetworkInfoFinder::CLbsLocMonitorNetworkInfoFinder() :
@@ -154,10 +154,8 @@
 		case EStateNetInfoChangeMon:
 			{
 			TLbsLocMonitorAreaInfoGci areaInfo;
-			if(ValidateNetInfo(areaInfo))
-				{
-				NotifyObservers(areaInfo);
-				}
+			ValidateNetInfo(areaInfo);
+			NotifyObservers(areaInfo);
 
 			MonitorNetworkChange(); // Keep monitoring
 			break;				
@@ -322,6 +320,9 @@
 TBool CLbsLocMonitorNetworkInfoFinder::ValidateNetInfo(TLbsLocMonitorAreaInfoGci& aAreaInfo)
 	{
 	LBSLOG(ELogP1, "CLbsLocMonitorNetworkInfoFinder::ValidateNetInfo()Begin\n");
+
+	aAreaInfo.iValidity = EFalse;
+
 	TLex lex(iNetworkInfo.iCountryCode);
 	TInt err = lex.Val(aAreaInfo.iMcc);
 	if(err!=KErrNone || aAreaInfo.iMcc > KMaxMccOrMnc)
@@ -335,17 +336,37 @@
 		{	
 		return EFalse;
 		}
-	if (!iLocArea.iAreaKnown ||
-		(iLocArea.iLocationAreaCode > KMaxCellIdOrLac || 
-		 iLocArea.iCellId > KMaxCellIdOrLac))
-		{	
-		return EFalse;			
-		}
-	else
-		{
-		 aAreaInfo.iLac = iLocArea.iLocationAreaCode;
-		 aAreaInfo.iCid = iLocArea.iCellId;
-		}
+
+	if (!iLocArea.iAreaKnown)
+	    {
+	    return (EFalse);
+	    }
+	else 
+	    {
+	    // We only know about registration with GSM and WCDMA cells (so far!).
+	    __ASSERT_DEBUG(iNetworkInfo.iMode == RMobilePhone::ENetworkModeGsm ||
+	                   iNetworkInfo.iMode == RMobilePhone::ENetworkModeWcdma, User::Invariant());
+	    
+	    // Do some checks on the LAC and cell id (16 bits on GSM, up to 28 bits on WCDMA
+	    if(iLocArea.iLocationAreaCode > KMaxGsmCellIdOrLac || 
+		  ((iLocArea.iCellId > KMaxGsmCellIdOrLac) && (iNetworkInfo.iMode == RMobilePhone::ENetworkModeGsm)) ||
+		  (iLocArea.iCellId > KMaxWcdmaCellId))
+	        {	
+	        return EFalse;			
+	        }
+	    else
+            {
+	        // everything looks fine
+            aAreaInfo.iLac = iLocArea.iLocationAreaCode;
+            aAreaInfo.iCid = iLocArea.iCellId;
+            aAreaInfo.iIs3gNetworkMode = iNetworkInfo.iMode == RMobilePhone::ENetworkModeWcdma ? ETrue : EFalse;
+            }
+        }   // end else area is known
+
+	// Reaching the end here implies we did't find any problems.
+	aAreaInfo.iValidity = ETrue;
+
 	LBSLOG(ELogP1, "CLbsLocMonitorNetworkInfoFinder::ValidateNetInfo()End\n");
+
 	return ETrue;
 	}
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorrequesthandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorrequesthandler.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -52,7 +52,9 @@
 	// Allocate space for 1 pointer to area info source object (Global Cell Id)
 	iCurrentAreaInfo.ReserveL(ELastAreaInfoType);
 	TLbsLocMonitorAreaInfoGci* locMonitorAreaInfoGci = new(ELeave) TLbsLocMonitorAreaInfoGci;
-	iCurrentAreaInfo.Insert(static_cast<TLbsLocMonitorAreaInfoBase*>(locMonitorAreaInfoGci), EGlobalCellIdType);
+	CleanupStack::PushL(locMonitorAreaInfoGci);
+	iCurrentAreaInfo.InsertL(static_cast<TLbsLocMonitorAreaInfoBase*>(locMonitorAreaInfoGci), EGlobalCellIdType);
+	CleanupStack::Pop(locMonitorAreaInfoGci);
 	
 	iDb.OpenL();
 	}
@@ -107,7 +109,7 @@
 
 	if(iRequestQueue.Count()< KLbsLocMonitorMaxReadArraySize)
 		{
-		iRequestQueue.Append(aMessage);
+		iRequestQueue.AppendL(aMessage);
 		}
 	else
 		{
@@ -129,13 +131,17 @@
 void CLbsLocMonitorRequestHandler::PositionAvailableL(const TPosition& aPosition)
 	{
 	LBSLOG(ELogP1,"->CLbsLocMonitorRequestHandler::PositionAvailableL");
-	if(iPositionsQueue.Count() < KLbsLocMonitorMaxWriteArraySize)
+	if(iPositionsQueue.Count() < KLbsLocMonitorMaxWriteArraySize && iAreaInfoAvailable)
 		{
-		iPositionsQueue.AppendL(aPosition);
+		TInt err = iPositionsQueue.Append(aPosition);
+		if( err!= KErrNone )
+			{
+			LBSLOG(ELogP1,"->iPositionsQueue.Append failed!!");
+			}
 		}
 	else
 		{
-		// Unable to handle more positions.
+		// Unable to handle more positions or we don't have valid area parameters
 		// The position will be lost.
 		}
 
@@ -443,9 +449,14 @@
 		if (iLastKnownPositionAvailable)
 			{
 			iLastKnownPositionAvailable = EFalse;
-			iOperationInProgress = ELocMonDbSaveLastPos;
-			iDb.SavePosition(iLastKnownPosition, iCurrentAreaInfo, ETrue, iStatus);
-			SetActive();
+			
+			// Check that we have valid data before trying to save to the database - ignore otherwise.
+			if (iAreaInfoAvailable)
+			    {
+			    iOperationInProgress = ELocMonDbSaveLastPos;
+			    iDb.SavePosition(iLastKnownPosition, iCurrentAreaInfo, ETrue, iStatus);
+			    SetActive();
+			    }
 			}
 		else if (iPositionsQueue.Count() > 0)
 			{
@@ -618,7 +629,7 @@
 void CLbsLocMonitorRequestHandler::AreaInfoUpdate(const TLbsLocMonitorAreaInfoBase& aAreaUpdate)
 	{
 	LBSLOG(ELogP1,"->CLbsLocMonitorRequestHandler::AreaInfoUpdate");
-	iAreaInfoAvailable = ETrue;
+	
 	switch(aAreaUpdate.AreaInfoClassType())
 		{
 		case TLbsLocMonitorAreaInfoBase::EAreaGciClass:
@@ -626,7 +637,17 @@
 			// GCI is pointed to from position zero of the array.
 			// Overwrite it with the new area info.
 			TLbsLocMonitorAreaInfoGci& ref = const_cast<TLbsLocMonitorAreaInfoGci&>(static_cast<const TLbsLocMonitorAreaInfoGci&>(aAreaUpdate));
-			*(static_cast<TLbsLocMonitorAreaInfoGci*>(iCurrentAreaInfo[EGlobalCellIdType])) = ref;
+
+			// check that the update is valid before updating the current position.
+			// If not, we need to mark area info as not being available.
+			if (ref.iValidity)
+				{
+				iAreaInfoAvailable = ETrue;
+				*(static_cast<TLbsLocMonitorAreaInfoGci*>(iCurrentAreaInfo[EGlobalCellIdType])) = ref;
+				}
+			else
+				iAreaInfoAvailable = EFalse;
+
 			break;	
 			}
 			
@@ -735,8 +756,7 @@
 		case ELocMonDbGetPosArea:
 		case ELocMonDbGetLast:
 			// Check the request is still there before completing it
-			if ((iRequestQueue.Count() > 0) &&
-				(iRequestQueue[0].Function() == DbReadOperationToOpCode(iOperationInProgress)))
+			if (iRequestQueue.Count() > 0)
 				{
 				CompleteClientRequest(0, aError);
 				}
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorserver.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorserver.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -159,7 +159,7 @@
 	// and set DB reader and writer as its observers.	
 	iAreaInfoFinders.ReserveL(1);
 	
-	iAreaInfoFinders.Insert(static_cast<CLbsLocMonitorAreaInfoFinder*>(CLbsLocMonitorNetworkInfoFinder::NewL()), ENetworkInfoFinder);
+	iAreaInfoFinders.InsertL(static_cast<CLbsLocMonitorAreaInfoFinder*>(CLbsLocMonitorNetworkInfoFinder::NewL()), ENetworkInfoFinder);
 	iAreaInfoFinders[ENetworkInfoFinder]->RegisterObserverL(*iRequestHandler);
 
 	// Instantiate a position listener that will feed positions to the DB writer
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/lbslocmonitorareainfodefs.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/lbslocmonitorareainfodefs.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -31,7 +31,7 @@
 	}
 
 TLbsLocMonitorAreaInfoGci::TLbsLocMonitorAreaInfoGci():
-	iMcc(0), iMnc(0), iLac(0), iCid(0)
+	iMcc(0), iMnc(0), iLac(0), iCid(0), iValidity(EFalse), iIs3gNetworkMode(EFalse)
 	{
 	LBSLOG(ELogP1,"->TLbsLocMonitorAreaInfoBase::TLbsLocMonitorAreaInfoGci");
 	iAreaInfoClassType = EAreaGciClass;
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/rlbslocmonitordb.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/rlbslocmonitordb.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -62,7 +62,12 @@
 	if(iDbEngine)
 		{
 		const TLbsLocMonitorAreaInfoGci* areaGci = static_cast<const TLbsLocMonitorAreaInfoGci*>(aAreaInfo[0]);
-		return iDbEngine->SavePosition(areaGci->iMcc, areaGci->iMnc, areaGci->iLac, areaGci->iCid, aPosition, aUserPosition, aStatus);
+
+		// Only try to save valid cells and ignore any that are invalid.
+		if (areaGci->iValidity)
+			return iDbEngine->SavePosition(areaGci->iMcc, areaGci->iMnc, areaGci->iLac, areaGci->iCid, areaGci->iIs3gNetworkMode, aPosition, aUserPosition, aStatus);
+		else
+			return KErrNone;
 		}
 	return KErrNotFound;
 	}
@@ -81,7 +86,8 @@
 	if(iDbEngine)
 		{
 		const TLbsLocMonitorAreaInfoGci* areaGci = static_cast<const TLbsLocMonitorAreaInfoGci*>(aAreaInfo[0]);
-		return iDbEngine->GetPosition(areaGci->iMcc, areaGci->iMnc, areaGci->iLac, areaGci->iCid, aPosition, aMatchingAreaInfo, aStatus);
+		return iDbEngine->GetPosition(areaGci->iMcc, areaGci->iMnc, areaGci->iLac, areaGci->iCid, areaGci->iIs3gNetworkMode,
+			                          aPosition, aMatchingAreaInfo, aStatus);
 		}
 	return KErrNotFound;
 	}
--- a/locationmgmt/locmonitor/test/ExampleLocationConverter/src/ExampleLocationConverter.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/ExampleLocationConverter/src/ExampleLocationConverter.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -32,6 +32,9 @@
 
 const TInt KTimingAdvanceSaveToCacheFalse= 252;
 
+const TInt KScramblingCodeWcdmaTests = 254;
+
+
 // ECOM implementation specifics
 static const TImplementationProxy implTable[] =
 	{
@@ -123,6 +126,8 @@
     	    {
     	    case ELbsConversionOutputPosition:
     	        {
+				TBool specialTreatmentOfPos = EFalse;
+
     	        // Extract the area info provided by the client.
     	        // If client has specified only coordinate info,
     	        // return KErrNotSupported.
@@ -133,14 +138,13 @@
                                 CLbsLocationInfo::ELbsWlanInfo;
     	        aLocationInfoArray[i]->GetAreaInfoL( areaInfoArray,areaInfoMask );
     	        TInt count = areaInfoArray.Count();
-    	        
-    	
-    	        
+    	     	        
     	        if( count == 0 )
     	            {
     	            iObserver.OnConversionComplete(KErrNotSupported);
     	            return;
     	            }
+
     	        TLocality locality;
 				if (areaInfoArray[0]->Type() == ELbsAreaGsmCellInfoClass)
 					{
@@ -155,7 +159,7 @@
 						}
 					else
 						{
-						// for all others values ensiure that we put
+						// for all others values ensure that we put
 						// localities in cache
 						iRetainLocalityInCache = ETrue;
 						}
@@ -166,7 +170,7 @@
 							|| (timingAdvance
 									== KTimingAdvanceSaveToCacheFalse))
 						{
-						// For all the special tests
+						// For all the special GSM tests
 						TReal64 lat = posInfo->MobileCountryCode();
 						TReal64 lng = posInfo->MobileNetworkCode();
 						TReal32 alt = posInfo->LocationAreaCode();
@@ -175,21 +179,40 @@
 
 						locality.SetCoordinate(lat, lng, alt);
 						locality.SetAccuracy(horAcc, 11.0);
-						}
-					else
-						{
-						// and for the original tests
-						locality.SetCoordinate(62.5285, 23.9385, 1.22f);
-						locality.SetAccuracy(10.0f, 0.0);
 
+						specialTreatmentOfPos = ETrue;
 						}
 					}
-				else
+				else if (areaInfoArray[0]->Type() == ELbsAreaWcmdaCellInfoClass)
 					{
-					// and for the original tests
+					iRetainLocalityInCache = ETrue;
+					
+					CLbsWcdmaCellInfo* posInfo =
+							static_cast<CLbsWcdmaCellInfo*> (areaInfoArray[0]);
+
+					if (posInfo->ScramblingCode() == KScramblingCodeWcdmaTests )
+						{
+						// For all the special wcdma tests
+						// note we don't set the horiz accuracy to same as cell id (as in GSM tests) as this
+						// makes the accuracy too low!
+						TReal64 lat = posInfo->MobileCountryCode();
+						TReal64 lng = posInfo->MobileNetworkCode();
+						TReal32 alt = 25.6;
+
+						locality.SetCoordinate(lat, lng, alt);
+						locality.SetAccuracy(24.3, 11.0);
+
+						specialTreatmentOfPos = ETrue;
+						}
+					}
+
+				// For the original tests we stick with a set position value
+				if (!specialTreatmentOfPos)
+					{
 					locality.SetCoordinate(62.5285, 23.9385, 1.22f);
 					locality.SetAccuracy(10.0f, 0.0);
 					}
+
     	        areaInfoArray.ResetAndDestroy();
      
     	        CLbsPositionInfo* positionInfo = CLbsPositionInfo::NewL( locality );
@@ -198,6 +221,7 @@
     	        CleanupStack::Pop( positionInfo );
     	        break;
     	        }
+
     	    case ELbsConversionOutputGsm:
     	        {
                 // Extract the area info provided by the client.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_geolocmonitorsuite/group/te_geolocmonitorsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,34 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locmonitor/test/te_geolocmonitorsuite/group/te_geolocmonitorsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_geolocmonitorsuite.exe"-"c:\sys\bin\te_geolocmonitorsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\examplelocationconverter.dll"-"c:\sys\bin\examplelocationconverter.dll"
+"\epoc32\data\Z\resource\plugins\ExampleLocationConverter.rsc"-"c:\resource\plugins\ExampleLocationConverter.rsc"
+
+; test "te_geolocmonitortest"
+;
+; test scripts
+"..\scripts\te_geolocmonitorsuite.script"-"c:\testdata\scripts\te_geolocmonitorsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_geolocmonitorsuite\testdata\te_geolocmonitorsuite.ini"-"c:\testdata\configs\te_geolocmonitorsuite.ini"
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_geolocmonitorsuite\testdata\lbsgeolocmonunitconfig.txt"-"c:\testdata\configs\lbsgeolocmonunitconfig.txt"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_lbslocationinforconvertertef/group/te_lbslocationinfoconverter.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,40 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locmonitor/test/te_lbslocationinforconvertertef/group/te_lbslocationinfoconverter.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbslocationinfoconvertersuite.exe"-"c:\sys\bin\te_lbslocationinfoconvertersuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\examplelocationconverter.dll"-"c:\sys\bin\examplelocationconverter.dll"
+"\epoc32\release\armv5\urel\TestLocationConverter.dll"-"c:\sys\bin\TestLocationConverter.dll"
+"\epoc32\release\armv5\urel\TestLocationConverter2.dll"-"c:\sys\bin\TestLocationConverter2.dll"
+"\epoc32\release\armv5\urel\TestLocationConverter3.dll"-"c:\sys\bin\TestLocationConverter3.dll"
+"\epoc32\data\Z\resource\plugins\ExampleLocationConverter.rsc"-"c:\resource\plugins\ExampleLocationConverter.rsc"
+"\epoc32\data\Z\resource\plugins\TestLocationConverter.rsc"-"c:\resource\plugins\TestLocationConverter.rsc"
+"\epoc32\data\Z\resource\plugins\TestLocationConverter2.rsc"-"c:\resource\plugins\TestLocationConverter2.rsc"
+"\epoc32\data\Z\resource\plugins\TestLocationConverter3.rsc"-"c:\resource\plugins\TestLocationConverter3.rsc"
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_geolocmonitorsuite\testdata\lbsgeolocmonunitconfig.txt"-"c:\testdata\configs\lbsgeolocmonunitconfig.txt"
+
+; test "te_lbslocationinfoconvertertest"
+;
+; test scripts
+"..\scripts\te_lbslocationinfoconvertersuite.script"-"c:\testdata\scripts\te_lbslocationinfoconvertersuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_lbslocationinforconvertertef\scripts\LbsLocationInfoConverter.ini"-"c:\testdata\configs\lbslocationinfoconverter.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,66 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\epos\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\epos\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\epos\" />
+    </parameters>
+</task>
+
+<!--
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\dpsy\*"/>
+</parameters>
+</task>
+-->
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Fetch lbs test logs" significant="false">
+<command>fetch-log</command>
+<params>
+<param type="text"/>
+<param delete="true"/>
+<param path="c:\logs\lbs\*"/>
+</params>
+</step>
+-->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+<!-- ATS4 -->
+
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\epos"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\dpsy"/>
+	</parameters>
+</task>
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
+<command>makedir</command>
+<params>
+<param dir="c:\logs\lbs"/>
+</params>
+</step>
+-->
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/te_lbslocationmonitordb.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,37 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/group/te_lbslocationmonitordb.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbslocationmonitordbsuite.exe"-"c:\sys\bin\te_lbslocationmonitordbsuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbslocationmonitordbtest"
+;
+; test scripts
+"..\scripts\te_LbsLocationMonitorDbSuite.script"-"c:\testdata\scripts\te_LbsLocationMonitorDbSuite.script"
+
+; test dependencies
+
+; test "te_lbslocationmonitordbtest2"
+;
+; test scripts
+"..\scripts\te_LbsLocationMonitorDbSuite2.script"-"c:\testdata\scripts\te_LbsLocationMonitorDbSuite2.script"
+
+; test dependencies
+
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/inc/dbstep.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/inc/dbstep.h	Fri Sep 17 08:37:32 2010 +0300
@@ -32,6 +32,7 @@
 
 private:
 	TPosition iDummyPosition;
+	TPosition iDummyPosition2;
 	};
 
 _LIT(KDBStep,"DBStep");
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite.script	Fri Sep 17 08:37:32 2010 +0300
@@ -28,21 +28,25 @@
 //! @SYMTestCaseDesc            Checks that correct matches are returned, 
 //!				that performance is acceptable and that two instances of the DB can be used
 //! @SYMTestPriority            Medium
-//! @SYMTestActions             1) Add 1000 records to database
-//!				2) Perform query that matches CELL
-//!				3) Perform query that matches LAC
-//!				4) Perform query that matches MCC
-//!				5) Perform query that matches nothing
-//!				6) Time taken to perform requests is measured
-//!				7) Using a second instance of the db, perform a query that matches MCC
+//! @SYMTestActions             1) Add 1000 records to database (900 GSM and 100 WCDMA)
+//!				                2) Perform query that matches GSM CELL
+//!				                3) Perform query that matches LAC on GSM cell, 
+//!                             4) Perform query that matches Mobile Network Code on GSM cell
+//!                             5) Perform a query that matches on Mobile Country Code
+//!				                6) Perform query that matches on nothing
+//!				                7) Time taken to perform requests is measured
+//!				                8) Perform query that matches LAC on WCDMA cell
+//!				                9) Using a second instance of the db, perform a query that matches MCC
 //!
 //! @SYMTestExpectedResults     1) All records added with no errors
-//!				2) CELL match returned
-//!				3) LAC match returned
-//!				4) MCC match returned
-//!				5) KErrNotFound returned
-//!				6) Time taken is less than X
-//!				7) MCC match returned
+//!				                2) CELL match returned, GSM cell
+//!				                3) LAC match returned, retrieves GSM rather than very similar WCDMA cell
+//!                             4) Mobile Network code match and GSM position retrieved
+//!                             5) Mobile country code match with GSM position
+//!				                6) No country code match, GSM position
+//!				                7) Time taken is less than X
+//!				                8) LAC match returned with WCDMA position
+//!				                9) MCC match returned
 //!
 //! @SYMTestType                UT
 //! @SYMCreationDate            19/01/2009 
@@ -57,22 +61,18 @@
 //! @SYMTestActions             1) Attempt to save a position to the DB before OpenL() has been called
 //!				2) Attempt to read a position from the db before OpenL() has been called
 //!				3) Attempt to ClearDatabase() before OpenL() has been called
-//!				4) Peform an exhaustive test of all CELL,LAC,MNC,MCC values around the negative boundary when saving 
-//!				4) Peform an exhaustive test of all CELL,LAC,MNC,MCC values around the negative boundary when reading
+//!				4) Peform an exhaustive test of all CELL,LAC,MNC,MCC values around the negative boundary when saving (GSM and WCDMA)
+//!				4) Peform an exhaustive test of all CELL,LAC,MNC,MCC values around the negative boundary when reading (GSM and WCDMA)
 //!
 //! @SYMTestExpectedResults     1) Returns KErrNotFound
 //!				2) Returns KErrNotFound
 //!				3) Returns KErrNotFound
-//!				4) Returns KErrArgument where any of CELL,LAC,MNC,MCC are negative 
-
-
-//!				5) Returns KErrArgument where any of CELL,LAC,MNC,MCC are negative
+//!				4) Returns KErrArgument where any of CELL,LAC,MNC,MCC are negative irrespective of network type
+//!				5) Returns KErrArgument where any of CELL,LAC,MNC,MCC are negative irrespective of network type
 //!			
-
-
 //! @SYMTestType                UT
 //! @SYMCreationDate            19/01/2009
-RUN_TEST_STEP 5 te_lbslocationmonitordbsuite NegativeStep
+RUN_TEST_STEP 10 te_lbslocationmonitordbsuite NegativeStep
 END_TESTCASE		      LBS-LocMonDBNegative-0001
 
 
@@ -102,15 +102,27 @@
 //! @SYMTestCaseID              LBS-LocMonDBReplace-0001
 //! @SYMTestCaseDesc            Verify that positions with identical cell data overwrite each other
 //! @SYMTestPriority            Medium
-//! @SYMTestActions             1) Save cell position
-//!				2) Read cell position
-//!				3) Save cell position with identical cell data but different position
-//!				4) Read cell position
+//! @SYMTestActions             1) Save GSM cell position
+//!				                2) Read GSM cell position
+//!				                3) Save GSM cell position with identical cell data but different position
+//!				                4) Read cell position
+//!								5) Save WCDMA cell similar to GSM cell
+//!								6) Retrieve GSM position (checking that not replaced by similar WCDMA)
+//!                             7) Retrieve WCDMA position
+//!                             8) Add a second WCDMA position with same network area as first
+//!                             9) Retrieve 2nd WCDMA position which has replaced the first 
+//!                             
 //!
 //! @SYMTestExpectedResults     1) Save returns with no errors
-//!				2) Cell from 1) returned
-//!				3) Save returns with no errors
-//!				4) Cell from 3) returned
+//!				                2) Cell from 1) returned
+//!				                3) Save returns with no errors
+//!				                4) Cell from 3) returned
+//!                             5) WCDMA cell saved ok
+//!                             6) cell from 3) returned
+//!                             7) WCDMA position, cell from 5)
+//!                             8) Save returned without errors
+//!                             9) WCDMA cell and position from 8) returned
+//!                                
 //!
 //! @SYMTestType                UT
 //! @SYMCreationDate            19/01/2009
@@ -121,21 +133,25 @@
 // as it creates the conditions for the next test
 // (te_lbslocationmonitordb2)
 //
-START_TESTCASE                LBS-LocMonDBTimeStamp-0001
+START_TESTCASE                  LBS-LocMonDBTimeStamp-0001
 //! @SYMTestCaseID              LBS-LocMonDBTimeStamp-0001
 //! @SYMTestCaseDesc            Verify that where a query matches multiple results, the most recent is returned
 //! @SYMTestPriority            Medium
-//! @SYMTestActions             1) Wait 1 second then save a position
-//!				2) Wait 1 second then save a position
-//!				3) Wait 1 second then save a position
-//! 				4) Perform a query that matches both 1) and 2)
-//!				5) Perform a query that matches only 3)
+//! @SYMTestActions             1) Wait 1 micro second then save a GSM position
+//!				                2) Wait 1 micro second then save a GSM position
+//!				                3) Wait 1 micro second then save a GSM position
+//!                             4) Get last stored position
+//!                             5) wait one micro second and add a WCDMA position
+//! 				            6) Perform a query that matches both 1) and 2)
+//!				                7) Get last stored position
 //!
 //! @SYMTestExpectedResults     1) Save returns with no errors
-//!				2) Save returns with no errors
-//!				3) Save returns with no errors
-//!				4) Position from 2) is returned
-//!				5) Position from 3) is returned
+//!				                2) Save returns with no errors
+//!				                3) Save returns with no errors
+//!				                4) Position from 3) is returned
+//!				                5) save returns with no errors
+//!                             6) (GSM) position from 2) is returned
+//!                             7) WCDMA position from 5) is returned
 //!
 //! @SYMTestType                UT
 //! @SYMCreationDate            19/01/2009
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite2.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/scripts/te_LbsLocationMonitorDbSuite2.script	Fri Sep 17 08:37:32 2010 +0300
@@ -26,9 +26,11 @@
 //! @SYMTestCaseDesc            Verify that the DB created in the previous step can be accessed after a reboot
 //! @SYMTestPriority            Medium
 //! @SYMTestActions             1) Wait 1 second
-//! 							2) Perform a query that matches (recored stored by previous test suite)
+//! 							2) Perform a query that matches GSM cell (record stored by previous test suite)
+//!                             3) Perform a query that matches WCDMA cell (record stored by previous test suite)
 //!
-//! @SYMTestExpectedResults     1) Position is returned
+//! @SYMTestExpectedResults     1) GSM Position is returned
+//!                             2) WCDMA Position is returned
 //!
 //! @SYMTestType                UT
 //! @SYMCreationDate            19/01/2009
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/clearstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/clearstep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -86,6 +86,9 @@
 			in.iMnc = i+1000;
 			in.iLac = i+2000;
 			in.iCid = i+3000;
+	        in.iValidity = ETrue;
+	        in.iIs3gNetworkMode = EFalse;
+			
 			RPointerArray<TLbsLocMonitorAreaInfoBase> inArray;
 			inArray.Append(&in);
 			locMonitorDb.SavePosition(dummyPosition,inArray,ETrue,iWaiter->iStatus);
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/dbstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/dbstep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -22,6 +22,8 @@
 
 #include "ctasyncwaiter.h"
 
+const TInt KLowestWcdmaCell = 0x10000;
+
 
 CDBStep::~CDBStep()
 /**
@@ -50,6 +52,12 @@
 	iDummyPosition.SetCoordinate(10.33, 54.22, 10.01);
 	iDummyPosition.SetHorizontalAccuracy(100);
 	iDummyPosition.SetVerticalAccuracy(1000);
+
+	iDummyPosition2.SetCoordinate(11.33, 55.22, 11.01);
+	iDummyPosition2.SetHorizontalAccuracy(101);
+	iDummyPosition2.SetVerticalAccuracy(1001);
+
+
 	return TestStepResult();
 	}
 
@@ -62,7 +70,7 @@
  */
 	{
 	__UHEAP_MARK;
-	  if (TestStepResult()==EPass)
+	if (TestStepResult()==EPass)
 		{
 		INFO_PRINTF1(_L("Init locMonitorDb"));
 		RLbsLocMonitorDb locMonitorDb = RLbsLocMonitorDb();
@@ -75,10 +83,11 @@
 		INFO_PRINTF1(_L("First Reset DB to initial state"));
 		locMonitorDb.ClearDatabase();
 		
-		INFO_PRINTF1(_L("Adding 10000 records"));
+		INFO_PRINTF1(_L("Adding 1000 records"));
 		TTime addStart;
 		addStart.UniversalTime();
-		for(TInt i = 1; i <= 1000; i++)
+		// Create 900 GSM cells amd 100 WCDMA cells with the next loop
+		for(TInt i = 1; i <= 900; i++)
 			{
 			//TRequestStatus status;
 			TLbsLocMonitorAreaInfoGci in;
@@ -86,11 +95,28 @@
 			in.iMnc = i+1000;
 			in.iLac = i+2000;
 			in.iCid = i+3000;
+			in.iValidity = ETrue;
+			in.iIs3gNetworkMode = EFalse;
+						
 			RPointerArray<TLbsLocMonitorAreaInfoBase> inArray;
 			inArray.Append(&in);
 			locMonitorDb.SavePosition(iDummyPosition,inArray,ETrue,iWaiter->iStatus);
 			iWaiter->StartAndWait();
 			inArray.Reset();
+
+
+			// Generate 100 WCDMA database records as well.
+			if (i <100)
+				{
+				// we deliberately only change the cell id, 3g flag value and the position
+				in.iCid = i + KLowestWcdmaCell;
+				in.iIs3gNetworkMode = ETrue;
+
+				inArray.Append(&in);
+				locMonitorDb.SavePosition(iDummyPosition2,inArray,ETrue,iWaiter->iStatus);
+				iWaiter->StartAndWait();
+				inArray.Reset();
+				}
 			}
 		
 		TTime addEnd;
@@ -99,22 +125,25 @@
 		
 		//INFO_PRINTF2(_L("Start Time %d"), addStart.Int64());
 		//INFO_PRINTF2(_L("End Time %d "), addEnd.Int64());
-		INFO_PRINTF3(_L("%d Adding 10000 records took %d Microseconds"), 0, interval.Int64());
-		
+		INFO_PRINTF3(_L("%d Adding 1000 records took %d Microseconds"), 0, interval.Int64());
 		
 		//
-		// Read
+		// Read 5 values from previously created db 
+		// As measuring time tsken, info_printfs commented out, but uncomment if test starts to fail! 
 		//
-		INFO_PRINTF1(_L("Reading 4 records"));
+		INFO_PRINTF1(_L("Reading 5 records"));
 		TTime readStart;
 		readStart.UniversalTime();
 		
-		// 4 fixed values against previously created db
+		// First value is a GSM cell that we have an exact match for in the database
+		//INFO_PRINTF1(_L("First value, GSM cell we have in the database"));
 		TLbsLocMonitorAreaInfoGci out;
 		out.iMcc = 51;
 		out.iMnc = 1051;
 		out.iLac = 2051;
 		out.iCid = 3051;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = EFalse;
 		TPosition outPosition;
 		RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
 		outArray.Append(&out);
@@ -128,11 +157,19 @@
 			SetTestStepResult(EFail);
 			}
 		ComparePositions(iDummyPosition,outPosition);
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with first value"));
+			}
 		
+        // Here we retrieve a gsm position on LAC, not a similar wcdma one.
+		//INFO_PRINTF1(_L("Second record - GSM cell similar to WCDMA that is matched on LAC"));
 		out.iMcc = 82;
 		out.iMnc = 1082;
 		out.iLac = 2082;
 		out.iCid = 5454;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = EFalse;
 		outArray.Append(&out);
 		TPositionAreaExtendedInfo matchLevel2; 
 		locMonitorDb.GetPosition(outPosition,outArray,matchLevel2,iWaiter->iStatus);
@@ -144,39 +181,86 @@
 			SetTestStepResult(EFail);
 			}
 		ComparePositions(iDummyPosition,outPosition);
-		
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with second value"));
+			}
+
+
+		// Use a WCDMA cell, but expect to retrieve a GSM position matching on Mobile operator code
+		//INFO_PRINTF1(_L("Get forth value matching on Mobile operator code (GSM cell position)"));	
 		out.iMcc = 423;
-		out.iMnc = 43535445;
+		out.iMnc = 1423;
 		out.iLac = 4442342;
 		out.iCid = 92922;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = ETrue;
+
 		outArray.Append(&out);
 		TPositionAreaExtendedInfo matchLevel3; 
 		locMonitorDb.GetPosition(outPosition,outArray,matchLevel3,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		outArray.Reset();
-		if(!matchLevel3.MobileCountryCodeMatch())
+		if(!matchLevel3.MobileNetworkCodeMatch())
+			{
+			ERR_PRINTF1(_L("MNC match not found"));
+			SetTestStepResult(EFail);
+			}
+		ComparePositions(iDummyPosition,outPosition);
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with fourth value"));
+			}
+
+		// Use a WCDMA cell, but expect to retrieve a GSM position matching only on country code
+		//INFO_PRINTF1(_L("Get forth value matching only on country code (GSM cell position)"));	
+		out.iMcc = 423;
+		out.iMnc = 43535445;
+		out.iLac = 4442342;
+		out.iCid = 92922;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = ETrue;
+
+		outArray.Append(&out);
+		TPositionAreaExtendedInfo matchLevel4; 
+		locMonitorDb.GetPosition(outPosition,outArray, matchLevel4, iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		if(!matchLevel4.MobileCountryCodeMatch())
 			{
 			ERR_PRINTF1(_L("MCC match not found"));
 			SetTestStepResult(EFail);
 			}
 		ComparePositions(iDummyPosition,outPosition);
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with fourth value"));
+			}
 
-		out.iMcc = 34000023;
+		// Use a GSM cell and expect to retrieve a GSM position which doesn't match on anything
+		//INFO_PRINTF1(_L("Fifth value: get value which doesn't match on anything (GSM cell position)"));	
+		out.iMcc = 990;
 		out.iMnc = 4353545;
 		out.iLac = 4534;
 		out.iCid = 5454;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = EFalse;
 		outArray.Append(&out);
-		TPositionAreaExtendedInfo matchLevel4;  
-		locMonitorDb.GetPosition(outPosition,outArray,matchLevel4,iWaiter->iStatus);
+		TPositionAreaExtendedInfo matchLevel5;  
+		locMonitorDb.GetPosition(outPosition,outArray,matchLevel5,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		outArray.Reset();
-		if(matchLevel4.MobileCountryCodeMatch())
+		if(matchLevel5.MobileCountryCodeMatch())
 			{
 			ERR_PRINTF1(_L("Spurious match found"));
 			SetTestStepResult(EFail);
 			}
 		ComparePositions(iDummyPosition,outPosition);
-		
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with fifth value"));
+			}
+
 		TTime readEnd;
 		readEnd.UniversalTime();
 		TTimeIntervalMicroSeconds interval2 = readEnd.MicroSecondsFrom(readStart);
@@ -184,12 +268,37 @@
 
 		//INFO_PRINTF2(_L("Start Time %d"), readStart.Int64());
 		//INFO_PRINTF2(_L("End Time %d "), readEnd.Int64());
-		INFO_PRINTF3(_L("%d Reading 4 records took %d Microseconds"), 0, interval2.Int64());
-		if(interval2.Int64() > 2000000)
+		INFO_PRINTF3(_L("%d Reading 5 records took %d Microseconds"), 0, interval2.Int64());
+		if(interval2.Int64() > 2500000)
 			{
-			ERR_PRINTF2(_L("Retrieving 4 records took: %d microseonds, Expected less than 2000000"), interval2.Int64());
+			ERR_PRINTF2(_L("Retrieving 5 records took: %d microseconds, Expected less than 2500000"), interval2.Int64());
 			}
-		
+
+		// Here we retrieve a wcdma position on LAC value, not a similar gsm one. So we set
+		// up a wcdma cell that we don't have in the database
+		//INFO_PRINTF1(_L("Get third record matched on LAC, WCDMA cell this time"));
+		out.iMcc = 10;
+		out.iMnc = 1010;
+		out.iLac = 2010;
+		out.iCid = KLowestWcdmaCell + 500;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = ETrue;		
+		outArray.Append(&out);
+		TPositionAreaExtendedInfo matchLevel6;  
+		locMonitorDb.GetPosition(outPosition, outArray, matchLevel6, iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		if(!matchLevel6.LocationAreaCodeMatch())
+			{
+			ERR_PRINTF1(_L("LAC Match not found"));
+			SetTestStepResult(EFail);
+			}
+		ComparePositions(iDummyPosition2,outPosition);
+		if (TestStepResult() == EFail)
+			{
+			ERR_PRINTF1(_L("Failed on comparison with third value"));
+			}
+
 		INFO_PRINTF1(_L("Performing a read with a second client"));
 		RLbsLocMonitorDb locMonitorDb2 = RLbsLocMonitorDb();
 		locMonitorDb2.OpenL();
@@ -198,12 +307,14 @@
 		out.iMnc = 4353545;
 		out.iLac = 4534;
 		out.iCid = 5454;
+		out.iValidity = ETrue;
+		out.iIs3gNetworkMode = EFalse;
 		outArray.Append(&out);
-		TPositionAreaExtendedInfo matchLevel5;  
-		locMonitorDb2.GetPosition(outPosition,outArray,matchLevel5,iWaiter->iStatus);
+		TPositionAreaExtendedInfo matchLevel7;  
+		locMonitorDb2.GetPosition(outPosition, outArray, matchLevel7,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		outArray.Reset();
-		if(matchLevel5.MobileCountryCodeMatch())
+		if(matchLevel7.MobileCountryCodeMatch())
 			{
 			ERR_PRINTF1(_L("Spurious match found"));
 			SetTestStepResult(EFail);
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/negativestep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/negativestep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -100,24 +100,36 @@
 					{
 					for(TInt z = -1;z < 2;z++)
 						{
-						TRequestStatus status;
-						TLbsLocMonitorAreaInfoGci in;
-						in.iMcc = w;
-						in.iMnc = x;
-						in.iLac = y;
-						in.iCid = z;
-						inArray.Append(&in);
-						result = locMonitorDb.SavePosition(dummyIn,inArray,ETrue,iWaiter->iStatus);
-						if(w >= 0 && x >= 0 && y >= 0 && z >= 0)
+						for (TInt is3gIndex = 0; is3gIndex < 2; is3gIndex++)
 							{
-							iWaiter->StartAndWait();
-							TEST(result >= KErrNone);
+							TRequestStatus status;
+							TLbsLocMonitorAreaInfoGci in;
+							in.iMcc = w;
+							in.iMnc = x;
+							in.iLac = y;
+							in.iCid = z;
+							in.iValidity = ETrue;
+							if (is3gIndex == 0)
+								{
+								in.iIs3gNetworkMode = EFalse;
+								}
+							else
+								{
+								in.iIs3gNetworkMode = ETrue;
+								}							
+							inArray.Append(&in);
+							result = locMonitorDb.SavePosition(dummyIn,inArray,ETrue,iWaiter->iStatus);
+							if(w >= 0 && x >= 0 && y >= 0 && z >= 0)
+								{
+								iWaiter->StartAndWait();
+								TEST(result >= KErrNone);
+								}
+							else
+								{
+								TEST(result == KErrArgument);
+								}
+							inArray.Reset();
 							}
-						else
-							{
-							TEST(result == KErrArgument);
-							}
-						inArray.Reset();
 						}
 					}
 				}
@@ -134,27 +146,39 @@
 					{
 					for(TInt z = -1;z < 2;z++)
 						{
-						TLbsLocMonitorAreaInfoGci out;
-						out.iMnc = w;
-						out.iMcc = x;
-						out.iLac = y;
-						out.iCid = z;
-						RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
-						outArray.Append(&out);
-						TPosition outPosition;
-						TPositionAreaExtendedInfo matchLevel;
-						result = locMonitorDb.GetPosition(outPosition,outArray,matchLevel,iWaiter->iStatus);
-						if(w >= 0 && x >= 0 && y >= 0 && z >= 0)
+						for (TInt is3gIndex = 0; is3gIndex < 2; is3gIndex++)
 							{
-							iWaiter->StartAndWait();
-							TEST(result >= KErrNone);
-							ComparePositions(dummyIn,outPosition);
+							TLbsLocMonitorAreaInfoGci out;
+							out.iMnc = w;
+							out.iMcc = x;
+							out.iLac = y;
+							out.iCid = z;
+							out.iValidity = ETrue;
+							if (is3gIndex == 0)
+								{
+								out.iIs3gNetworkMode = EFalse;
+								}
+							else
+								{
+								out.iIs3gNetworkMode = ETrue;
+								}														
+							RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
+							outArray.Append(&out);
+							TPosition outPosition;
+							TPositionAreaExtendedInfo matchLevel;
+							result = locMonitorDb.GetPosition(outPosition,outArray,matchLevel,iWaiter->iStatus);
+							if(w >= 0 && x >= 0 && y >= 0 && z >= 0)
+								{
+								iWaiter->StartAndWait();
+								TEST(result >= KErrNone);
+								ComparePositions(dummyIn,outPosition);
+								}
+							else
+								{
+								TEST(result == KErrArgument);
+								}
+							outArray.Reset();
 							}
-						else
-							{
-							TEST(result == KErrArgument);
-							}
-						outArray.Reset();
 						}
 					}
 				}
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/persistencestep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/persistencestep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -53,8 +53,7 @@
 TVerdict CPersistenceStep::doTestStepL()
 /**
  * @return - TVerdict code
- * This test check that KErrArgument is returned when calling the Get function for the 
- * KLbsSpecialFeatureMaximumRequestDelay entry with an out of range delay value.
+ * This test checks that we can retrieve GSM and WCDMA cell info stored in a previous step
  */
 	{
 	__UHEAP_MARK;
@@ -65,19 +64,22 @@
 		CleanupClosePushL(locMonitorDb);
 		CTe_LbsLocationMonitorSuiteStepBase::InitWaitersL();
 
-		// Position that was stored by a previous test (timestampstep.cpp)
+		// GSM position that was stored by a previous test (timestampstep.cpp)
 		TPosition dummy1;
 		dummy1.SetCoordinate(10.33, 54.22, 10.01);
 		dummy1.SetHorizontalAccuracy(100);
 		dummy1.SetVerticalAccuracy(1000);
 				
-		// Check position stored by previous test suite can be retrieved
-		INFO_PRINTF1(_L("Doing a GetPosition. Checking that a record is returned"));
+		// Check GSM position stored by previous test suite can be retrieved
+		INFO_PRINTF1(_L("Doing a GetPosition. Checking that a GSM record is returned"));
 		TLbsLocMonitorAreaInfoGci out;
 		out.iMnc = 1;
 		out.iMcc = 1;
 		out.iLac = 2;
 		out.iCid = 2;
+        out.iValidity = ETrue;
+        out.iIs3gNetworkMode = EFalse;
+		
 		RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
 		outArray.Append(&out);
 		TPosition outPosition;
@@ -89,6 +91,27 @@
 		TEST(matchLevel.CellIdMatch());
 		ComparePositions(dummy1, outPosition);
 		
+		// Check WCDMA position stored by previous test suite can be retrieved
+		INFO_PRINTF1(_L("Doing a GetPosition. Checking that a WCDMA record is returned"));
+
+		TPosition dummy2;		
+		dummy2.SetCoordinate(30.22, 104.11, 30.03);
+		dummy2.SetHorizontalAccuracy(100);
+		dummy2.SetVerticalAccuracy(1000);
+
+		// Reset the search parameters...
+        out.iIs3gNetworkMode = ETrue;
+		out.iLac = 1;
+
+		outArray.Append(&out);
+		TPosition outPosition2;
+		locMonitorDb.GetPosition(outPosition2, outArray, matchLevel,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		TEST(matchLevel.LocationAreaCodeMatch());
+		TEST(matchLevel.CellIdMatch());
+		ComparePositions(dummy2, outPosition2);
+
 		// Reset DB to initial state again
 		locMonitorDb.ClearDatabase();
 		
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/replacestep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/replacestep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -53,12 +53,13 @@
 TVerdict CReplaceStep::doTestStepL()
 /**
  * @return - TVerdict code
- * This test check that KErrArgument is returned when calling the Get function for the 
- * KLbsSpecialFeatureMaximumRequestDelay entry with an out of range delay value.
+ * This test:
+ *		i)  checks that we can add new positions for the same network parameters (cell id etc). 
+ *		ii) the newest position is retrieved.
  */
 	{
 	__UHEAP_MARK;
-	  if (TestStepResult()==EPass)
+	if (TestStepResult()==EPass)
 		{
 		RLbsLocMonitorDb locMonitorDb = RLbsLocMonitorDb();
 		locMonitorDb.OpenL();
@@ -68,7 +69,13 @@
 		// First Reset DB to initial state
 		locMonitorDb.ClearDatabase();
 		
-		// Add first cell position
+		// We'll keep re-using these...
+		TLbsLocMonitorAreaInfoGci in;
+		TLbsLocMonitorAreaInfoGci out;
+		RPointerArray<TLbsLocMonitorAreaInfoBase> inArray;
+		RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
+
+		// Add first GSM cell position
 
 		TPosition dummyPos1;
 		dummyPos1.SetCoordinate(10.10, 1.01, 11.11);
@@ -77,25 +84,27 @@
 
 		INFO_PRINTF1(_L("Saving first position"));
 		TRequestStatus status;
-		TLbsLocMonitorAreaInfoGci in1;
-		in1.iMcc = 120;
-		in1.iMnc = 101;
-		in1.iLac = 2000;
-		in1.iCid = 3000;
-		RPointerArray<TLbsLocMonitorAreaInfoBase> in1Array;
-		in1Array.Append(&in1);
-		locMonitorDb.SavePosition(dummyPos1,in1Array,ETrue,iWaiter->iStatus);
+		in.iMcc = 120;
+		in.iMnc = 101;
+		in.iLac = 2000;
+		in.iCid = 3000;
+		in.iValidity = ETrue;
+        in.iIs3gNetworkMode = EFalse;
+
+		inArray.Append(&in);
+		locMonitorDb.SavePosition(dummyPos1,inArray,ETrue,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		
-		// Check first cell position was correctly stored
+		// Check first GSM cell position was correctly stored
 		INFO_PRINTF1(_L("Retrieving first position"));
-		TLbsLocMonitorAreaInfoGci out1;
-		out1.iMcc = 120;
-		out1.iMnc = 101;
-		out1.iLac = 2000;
-		out1.iCid = 3000;
-		RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
-		outArray.Append(&out1);
+		out.iMcc = 120;
+		out.iMnc = 101;
+		out.iLac = 2000;
+		out.iCid = 3000;
+        out.iValidity = ETrue;
+        out.iIs3gNetworkMode = EFalse;
+        
+		outArray.Append(&out);
 		TPosition outPosition1;
 		TPositionAreaExtendedInfo matchLevel; 
 		locMonitorDb.GetPosition(outPosition1,outArray,matchLevel,iWaiter->iStatus);
@@ -108,25 +117,20 @@
 			}
 		ComparePositions(dummyPos1,outPosition1);
 	
-		// Add second cell position
+		// Add second GSM cell position
 		TPosition dummyPos2;
 		dummyPos2.SetCoordinate(20.20, 2.02, 22.22);
 		dummyPos2.SetHorizontalAccuracy(200);
 		dummyPos2.SetVerticalAccuracy(2000);		
 		INFO_PRINTF1(_L("Saving second position"));
-		locMonitorDb.SavePosition(dummyPos2,in1Array,ETrue,iWaiter->iStatus);
+		locMonitorDb.SavePosition(dummyPos2,inArray,ETrue,iWaiter->iStatus);
 		iWaiter->StartAndWait();
-		in1Array.Reset();
-		
-		// Check check second cell position has replaced first
-		TLbsLocMonitorAreaInfoGci out2;
-		out2.iMcc = 120;
-		out2.iMnc = 101;
-		out2.iLac = 2000;
-		out2.iCid = 3000;
+		inArray.Reset();
+				
+		// Check that second GSM cell position retrieved.
 		INFO_PRINTF1(_L("Retrieving second position"));
 		TPosition outPosition2;
-		outArray.Append(&out2);
+		outArray.Append(&out);
 		locMonitorDb.GetPosition(outPosition2,outArray,matchLevel,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		outArray.Reset();
@@ -136,6 +140,72 @@
 			SetTestStepResult(EFail);
 			}
 		ComparePositions(dummyPos2,outPosition2);
+
+		// Add a WCDMA position, check that it doesn't replace the GSM position.
+		TPosition dummyPos3;
+		dummyPos3.SetCoordinate(30.30, 3.03, 33.33);
+		dummyPos3.SetHorizontalAccuracy(300);
+		dummyPos3.SetVerticalAccuracy(3000);
+
+		INFO_PRINTF1(_L("Saving first WCDMA position"));
+        in.iIs3gNetworkMode = ETrue;   // we can re-use in but with different mode!
+		inArray.Append(&in);
+		locMonitorDb.SavePosition(dummyPos3,inArray,ETrue,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+
+		INFO_PRINTF1(_L("Retrieving second GSM position, despite similar WCDMA network parameters"));
+		outArray.Append(&out);
+		TPosition outPosition3;
+		locMonitorDb.GetPosition(outPosition3,outArray,matchLevel,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		if(!matchLevel.CellIdMatch())
+			{
+			ERR_PRINTF2(_L("Read Match Level: %d, Expected 4"), matchLevel.Area());
+			SetTestStepResult(EFail);
+			}
+		ComparePositions(dummyPos2,outPosition3);
+
+		// Retrieving the first WCDMA position
+		out.iIs3gNetworkMode = ETrue;
+
+		outArray.Append(&out);
+		TPosition outPosition4;
+		locMonitorDb.GetPosition(outPosition4,outArray,matchLevel,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		if(!matchLevel.CellIdMatch())
+			{
+			ERR_PRINTF2(_L("Read Match Level: %d, Expected 4"), matchLevel.Area());
+			SetTestStepResult(EFail);
+			}
+		ComparePositions(dummyPos3,outPosition4);
+
+		// Add a second WCDMA position, check that it replaces the first
+		TPosition dummyPos4;
+		dummyPos4.SetCoordinate(40.40, 4.04, 44.44);
+		dummyPos4.SetHorizontalAccuracy(400);
+		dummyPos4.SetVerticalAccuracy(4000);
+
+		INFO_PRINTF1(_L("Saving second WCDMA position"));
+
+		locMonitorDb.SavePosition(dummyPos4,inArray,ETrue,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		inArray.Reset();
+
+		INFO_PRINTF1(_L("Retrieving second WCDMA position"));
+		outArray.Append(&out);
+		TPosition outPosition5;
+		locMonitorDb.GetPosition(outPosition5,outArray,matchLevel,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		outArray.Reset();
+		if(!matchLevel.CellIdMatch())
+			{
+			ERR_PRINTF2(_L("Read Match Level: %d, Expected 4"), matchLevel.Area());
+			SetTestStepResult(EFail);
+			}
+		ComparePositions(dummyPos4,outPosition5);
+
 		
 		// Reset DB to initial state again
 		locMonitorDb.ClearDatabase();
--- a/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/timestampstep.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/te_lbslocmonitordbsuite/src/timestampstep.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -58,7 +58,7 @@
  */
 	{
 	__UHEAP_MARK;
-	  if (TestStepResult()==EPass)
+	if (TestStepResult()==EPass)
 		{
 		RLbsLocMonitorDb locMonitorDb = RLbsLocMonitorDb();
 		locMonitorDb.OpenL();
@@ -67,7 +67,9 @@
 		
 		locMonitorDb.ClearDatabase();
 		
-		TPosition dummy1, dummy2;
+		TPosition dummy1;
+		TPosition dummy2;
+		TPosition dummy3;
 		
 		dummy1.SetCoordinate(10.33, 54.22, 10.01);
 		dummy1.SetHorizontalAccuracy(100);
@@ -76,13 +78,20 @@
 		dummy2.SetCoordinate(20.22, 74.11, 20.02);
 		dummy2.SetHorizontalAccuracy(100);
 		dummy2.SetVerticalAccuracy(1000);
-		
-		INFO_PRINTF1(_L("Saving 3 records, 1 microsecond apart"));
+
+		dummy3.SetCoordinate(30.22, 104.11, 30.03);
+		dummy3.SetHorizontalAccuracy(100);
+		dummy3.SetVerticalAccuracy(1000);
+
+		INFO_PRINTF1(_L("Saving 3 GSM records, 1 microsecond apart"));
 		TLbsLocMonitorAreaInfoGci in1;
 		in1.iMcc = 1;
 		in1.iMnc = 1;
 		in1.iLac = 1;
 		in1.iCid = 2;
+        in1.iValidity = ETrue;
+        in1.iIs3gNetworkMode = EFalse;
+
 		RPointerArray<TLbsLocMonitorAreaInfoBase> arrayIn1;
 		arrayIn1.Append(&in1);
 		locMonitorDb.SavePosition(dummy1,arrayIn1,ETrue,iWaiter->iStatus);
@@ -95,6 +104,9 @@
 		in2.iMnc = 1;
 		in2.iLac = 1;
 		in2.iCid = 3;
+        in2.iValidity = ETrue;
+        in2.iIs3gNetworkMode = EFalse;
+
 		RPointerArray<TLbsLocMonitorAreaInfoBase> arrayIn2;
 		arrayIn2.Append(&in2);
 		locMonitorDb.SavePosition(dummy2,arrayIn2,ETrue,iWaiter->iStatus);
@@ -107,35 +119,63 @@
 		in3.iMnc = 1;
 		in3.iLac = 2;
 		in3.iCid = 2;
+        in3.iValidity = ETrue;
+        in3.iIs3gNetworkMode = EFalse;
+
 		RPointerArray<TLbsLocMonitorAreaInfoBase> arrayIn3;
 		arrayIn3.Append(&in3);
 		locMonitorDb.SavePosition(dummy1,arrayIn3,ETrue,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		arrayIn3.Reset();
 		
+		INFO_PRINTF1(_L("Doing a GetLastStoredPosition, Checking that record 3 is returned"));
+		TPosition outPosition1;
+		locMonitorDb.GetLastStoredPosition(outPosition1,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		ComparePositions(dummy1, outPosition1);
+
+		// Now add a 4th position which is WCDMA....
+		INFO_PRINTF1(_L("Saving a single WCDMA record, 1 microsecond later"));
+		User::After(1);
+		TLbsLocMonitorAreaInfoGci in4;
+		in4.iMcc = 1;
+		in4.iMnc = 1;
+		in4.iLac = 1;
+		in4.iCid = 2;
+        in4.iValidity = ETrue;
+        in4.iIs3gNetworkMode = ETrue;
+
+		RPointerArray<TLbsLocMonitorAreaInfoBase> arrayIn4;
+		arrayIn4.Append(&in4);
+		locMonitorDb.SavePosition(dummy3,arrayIn4, ETrue,iWaiter->iStatus);
+		iWaiter->StartAndWait();
+		arrayIn4.Reset();
+
 		INFO_PRINTF1(_L("Doing a GetPosition that matches 1 & 2, Checking that record 2 is returned"));
 		TLbsLocMonitorAreaInfoGci out;
 		out.iMnc = 1;
 		out.iMcc = 1;
 		out.iLac = 1;
 		out.iCid = 1;
+        out.iValidity = ETrue;
+        out.iIs3gNetworkMode = EFalse;
+
 		RPointerArray<TLbsLocMonitorAreaInfoBase> outArray;
 		outArray.Append(&out);
-		TPosition outPosition;
+		TPosition outPosition2;
 		TPositionAreaExtendedInfo matchLevel;
-		locMonitorDb.GetPosition(outPosition,outArray,matchLevel,iWaiter->iStatus);
+		locMonitorDb.GetPosition(outPosition2,outArray,matchLevel,iWaiter->iStatus);
 		iWaiter->StartAndWait();
 		outArray.Reset();
 		TEST(matchLevel.LocationAreaCodeMatch());
-		ComparePositions(dummy2, outPosition);
+		ComparePositions(dummy2, outPosition2);
 		
-		INFO_PRINTF1(_L("Doing a GetLastStoredPosition, Checking that record 3 is returned"));
-		TPosition outPosition2;
-		locMonitorDb.GetLastStoredPosition(outPosition2,iWaiter->iStatus);
+		INFO_PRINTF1(_L("Doing a GetLastStoredPosition, Checking that WCDMA record 4  is returned"));
+		TPosition outPosition3;
+		locMonitorDb.GetLastStoredPosition(outPosition3,iWaiter->iStatus);
 		iWaiter->StartAndWait();
-		ComparePositions(dummy1, outPosition2);
-		
-		
+		ComparePositions(dummy3, outPosition3);
+				
 		//locMonitorDb.ClearDatabase();
 		CleanupStack::PopAndDestroy(&locMonitorDb);
 		DeleteWaiters();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_locmonitorsuite/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,66 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\epos\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\epos\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\epos\" />
+    </parameters>
+</task>
+
+<!--
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\dpsy\*"/>
+</parameters>
+</task>
+-->
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Fetch lbs test logs" significant="false">
+<command>fetch-log</command>
+<params>
+<param type="text"/>
+<param delete="true"/>
+<param path="c:\logs\lbs\*"/>
+</params>
+</step>
+-->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_locmonitorsuite/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+<!-- ATS4 -->
+
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\epos"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\dpsy"/>
+	</parameters>
+</task>
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
+<command>makedir</command>
+<params>
+<param dir="c:\logs\lbs"/>
+</params>
+</step>
+-->
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/locmonitor/test/te_locmonitorsuite/group/te_locmonitorsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,33 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/locmonitor/test/te_locmonitorsuite/group/te_locmonitorsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_locmonitorsuite.exe"-"c:\sys\bin\te_locmonitorsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\testlocationmonitor.exe"-"c:\sys\bin\testlocationmonitor.exe"
+
+; test "te_locmonitortest"
+;
+; test scripts
+"..\scripts\te_locmonitorsuite.script"-"c:\testdata\scripts\te_locmonitorsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_locmonitorsuite\testdata\lbslocmonunitconfig.txt"-"c:\testdata\configs\lbslocmonunitconfig.txt"
+"\sf\os\lbs\locationmgmt\locmonitor\test\te_locmonitorsuite\testdata\lbslocmonunitconfigbad.txt"-"c:\testdata\configs\lbslocmonunitconfigbad.txt"
+
--- a/locationmgmt/locmonitor/test/testlocationmonitor/inc/lbslocmonitorareainfodefs.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/locmonitor/test/testlocationmonitor/inc/lbslocmonitorareainfodefs.h	Fri Sep 17 08:37:32 2010 +0300
@@ -76,6 +76,11 @@
 	TUint iMnc; 
 	TUint iLac; 
 	TUint iCid;
+
+	TBool iValidity;
+
+	TBool iIs3gNetworkMode;
+
 };
 
 #endif // LBSLOCMONITORAREAINFODEFS_H
--- a/locationmgmt/networkgateway/src/netgateway.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/src/netgateway.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -272,6 +272,7 @@
 */
 void CNetworkGateway::LoadProtocolModuleL(TLbsProtocolModuleId aModuleId)
 	{
+	LBSLOG(ELogP2, "CNetworkGateway::LoadProtocolModuleL:");
 	if(aModuleId != KLbsProtocolNullModuleId)
 	    {
         CProtocolModuleInfo* moduleInfo = ModuleInfo(aModuleId);
--- a/locationmgmt/networkgateway/src/netregstatusmonitor.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/src/netregstatusmonitor.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -69,6 +69,7 @@
 */
 void CNetworkRegistrationStatusMonitor::ConstructL()
 	{	
+    LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::ConstructL++");
 	iConfigurationProperty.Attach(KUidSystemCategory, RootServer::KUidC32StartPropertyKey.iUid); // needs the KEY
 	TInt propertyValue = RootServer::EInitialising; // set to safe state
 	TInt propertyResult = iConfigurationProperty.Get(propertyValue);
@@ -77,6 +78,7 @@
 		{
 		//Attempt to connect to the ETel Server.  This will start C32Start if it has not already been started by the startup routine.
 		User::LeaveIfError(iTelServer.Connect());
+		LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor Connected to ETel");		
 		iConfigurationProperty.Subscribe(iStatus);
 		SetActive();
 		}
@@ -86,32 +88,38 @@
 		SetupPhoneL();
 		iInitialised = ETrue;
 		}
+	LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::ConstructL++");
 	}
 
 void CNetworkRegistrationStatusMonitor::SetupPhoneL()
 	{
+    LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::SetupPhoneL++");
 	// Connect to the Network Registration Status internal LBS bus
 	iLbsNetRegStatus.OpenL();
-		
+	LBSLOG(ELogP1, "attached to NetworkRegistrationStatus property");	
 	TRAPD(err, InitialisePhoneL());
 	if (err == KErrNone)
 		{
 		// Connected to ETel successfully, now get the network 
 		// registration status.
 		iPhone.GetNetworkRegistrationStatus(iStatus, iPhoneNetRegStatus);
+		LBSLOG2(ELogP2, "Current network registration status: %S", &NetRegStatusToDesC(iPhoneNetRegStatus)); 
 		SetActive();
 		}
 	else
 		{		
+	    LBSLOG(ELogP2, "couldn't connect to ETEL, setting network reg status to ENotRegistered");    
 		// Couldn't connect to ETel; publish a default value.
 		iLbsNetRegStatus.SetNetworkRegistrationStatus(RLbsNetworkRegistrationStatus::ENotRegistered);
 		}
+	LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::SetupPhoneL--");
 	}
 
 /**
 */
 void CNetworkRegistrationStatusMonitor::RunL()
 	{
+    LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::RunL++");
 	User::LeaveIfError(iStatus.Int());
 	
 	//Check to see whether the initialisation has finished
@@ -179,6 +187,7 @@
 		
 		iObserver.OnNetworkRegistrationStatusChange(iCurrentNetRegStatus);
 		}
+	LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::RunL--");
 	}
 
 /**
@@ -262,43 +271,60 @@
 */
 void CNetworkRegistrationStatusMonitor::InitialisePhoneL()
 	{	
+    LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::InitialisePhoneL++");
 	TInt err(KErrNone);
 	
 	User::LeaveIfError(iTelServer.Connect());
-	
+	LBSLOG(ELogP1, "connected to RTelServer");
 	// Read the name of the .tsy to load from CommDB
 	TBuf<KCommsDbSvrMaxFieldLength> tsyName;
 	GetCommDbTSYnameL(tsyName);
-
+	
 	// Load .tsy into ETel
-	User::LeaveIfError(iTelServer.LoadPhoneModule(tsyName));
-
+	err = iTelServer.LoadPhoneModule(tsyName);
+	
+	LBSLOG2(ELogP2, "TSY Name: %S", &tsyName);
+	User::LeaveIfError(err);
+	LBSLOG(ELogP2, "TSY loaded");
 	// Find available phones; check that the one we requested 
 	// to be loaded is there.
 	TInt phoneIndex(0);
 	User::LeaveIfError(iTelServer.EnumeratePhones(phoneIndex));
+	LBSLOG2(ELogP2, "phones enumerated. There are %d", phoneIndex);
 	while(phoneIndex-->0)
 		{
 		TName searchTsyName;
 		// Check whether this phone belongs to loaded TSY
 		if ((iTelServer.GetTsyName(phoneIndex, searchTsyName) == KErrNone) 
 			&& (searchTsyName.CompareF(tsyName) == KErrNone)) 
+		    {
+		    LBSLOG(ELogP2, "Found phone belonging to the loaded TSY");
 			break;
+		    }
 		}
 		
 	// Open a phone to be used for monitoring the network registration status.
 	RTelServer::TPhoneInfo phoneInfo;
 	User::LeaveIfError(iTelServer.GetPhoneInfo(phoneIndex, phoneInfo));	
-	User::LeaveIfError(iPhone.Open(iTelServer, phoneInfo.iName));
-	
+	LBSLOG(ELogP2, "Got phone info from RTelServer");
+	err = iPhone.Open(iTelServer, phoneInfo.iName);
+	if(KErrNone != err)
+	    {
+	    LBSLOG2(ELogP2, "error %d returned from RMobilePhone::Open()", err);
+	    }
+	User::LeaveIfError(err);
+	LBSLOG2(ELogP2, "%S phone opened", &phoneInfo.iName);
 	// Check that the phone is ready to be used.	
 	RPhone::TStatus status;
 	User::LeaveIfError(iPhone.GetStatus(status));
+	LBSLOG3(ELogP2, "Phone status: modem detected = %d, mode = %d", status.iModemDetected, status.iMode);
 	if(status.iModemDetected != RPhone::EDetectedPresent)
 		{		
+	    
 		err = iPhone.Initialise();
 		if(err != KErrNone)
 			{
+		    LBSLOG2(ELogP2, "Error %d on initialising phone", err);
 			iPhone.Close();
 			User::Leave(err);
 			}
@@ -306,14 +332,22 @@
 
 	// Check that we can access the info we want
 	TUint32 networkCaps;
-	User::LeaveIfError(iPhone.GetNetworkCaps(networkCaps));
+	err = iPhone.GetNetworkCaps(networkCaps);
+	if(KErrNone != err)
+	    {
+	    LBSLOG2(ELogP2, "Error %d on getting network caps", err);
+	    }
+	User::LeaveIfError(err);
+	LBSLOG2(ELogP2, "Network caps = 0x%x", networkCaps);
 	if (!(networkCaps & RMobilePhone::KCapsGetRegistrationStatus
 		  && networkCaps & RMobilePhone::KCapsNotifyRegistrationStatus))
 		{
+	    LBSLOG(ELogP2, "Leaving with KErrNotSupported (registration status not supported by phone)");
 		err = KErrNotSupported;
 		}
 	
 	User::LeaveIfError(err);
+	LBSLOG(ELogP1, "CNetworkRegistrationStatusMonitor::InitialisePhoneL--");
 	}
 
 #ifdef ENABLE_LBS_DEV_LOGGER
--- a/locationmgmt/networkgateway/src/netrequestchannel.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/src/netrequestchannel.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -122,7 +122,11 @@
 			if((static_cast<const TLbsNetLocationRequestMsg*>(&aMessage))->IsEmergency())
 				{
 				iEmergencyLocationRequestMsg = static_cast<const TLbsNetLocationRequestMsg&>(aMessage);
-				iEmergencyBuffer.Append(&iEmergencyLocationRequestMsg);
+				TInt err = iEmergencyBuffer.Append(&iEmergencyLocationRequestMsg);
+				if ( KErrNone != err)
+					{
+					LBSLOG(ELogP1, "LOCATION BUFFER APPEND FAILED!!");
+					}
 				emergency = ETrue;
 				}
 			}
@@ -131,7 +135,11 @@
 			if( (static_cast<const TLbsNetMtLrRequestMsg*>(&aMessage))->IsEmergency() )
 				{
 				iEmergencyPrivacyRequestMsg = static_cast<const TLbsNetMtLrRequestMsg&>(aMessage);
-				iEmergencyBuffer.Append(&iEmergencyPrivacyRequestMsg);
+				TInt err = iEmergencyBuffer.Append(&iEmergencyPrivacyRequestMsg);
+				if ( KErrNone != err)
+					{
+					LBSLOG(ELogP1, "PRIVACY BUFFER APPEND FAILED!!");
+					}
 				emergency = ETrue;
 				}
 			}
--- a/locationmgmt/networkgateway/test/netprotocoltest/src/lbsnetgatewayprotocoltestapi.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/test/netprotocoltest/src/lbsnetgatewayprotocoltestapi.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -212,7 +212,7 @@
 
 void CNetProtocolMessageTransmitter::ConstructL(TUid aCategory, TUint aTxKey)
 	{
-	LBSLOG(ELogP1, "CNetProtocolMessageTransmitter::ConstructL()");
+	LBSLOG2(ELogP1, "CNetProtocolMessageTransmitter::ConstructL(0x%x)", aTxKey);
 	__ASSERT_DEBUG(iTxProperty.Handle() == NULL, User::Invariant());
 	
 	User::LeaveIfError(iTxProperty.Attach(aCategory, aTxKey));
@@ -271,6 +271,7 @@
 	TInt err = iTxProperty.Set(pckg);
 	if(err!=KErrNone)
 		{
+		LBSLOG2(ELogP1, "err = 0x%x", err);
 		Cancel();
 		User::Leave(err);
 		}
@@ -285,7 +286,7 @@
 EXPORT_C RNetGatewayProtocolTestChannel::RNetGatewayProtocolTestChannel(TUint aModuleIndex) :
 iModuleIndex(aModuleIndex)
 	{
-	LBSLOG(ELogP1, "RNetGatewayProtocolTestChannel::RNetGatewayProtocolTestChannel()");
+	LBSLOG2(ELogP1, "RNetGatewayProtocolTestChannel::RNetGatewayProtocolTestChannel(0x%x)", aModuleIndex);
 	}
 
 EXPORT_C RNetGatewayProtocolTestChannel::RNetGatewayProtocolTestChannel() :
@@ -296,7 +297,7 @@
 
 EXPORT_C void RNetGatewayProtocolTestChannel::InitialiseL(TUint aModuleIndex)
 	{
-	LBSLOG(ELogP1, "RNetGatewayProtocolTestChannel::InitialiseL()");
+	LBSLOG2(ELogP1, "RNetGatewayProtocolTestChannel::InitialiseL(0x%x)", aModuleIndex);
 	__ASSERT_DEBUG(KLbsNetGatewayUid  == RProcess().SecureId(), User::Invariant());
 	
 	TSecurityPolicy readPolicy(ECapabilityLocation);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/networkgateway/test/te_lbsnetgateway/group/custom/poststep_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,9 @@
+<!-- ATS4 download commdb file -->
+<!--
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\cedout.cfg"/>
+</parameters>
+</task>
+-->
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/networkgateway/test/te_lbsnetgateway/group/te_lbsnetgatewaysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,37 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/networkgateway/test/te_lbsnetgateway/group/te_lbsnetgatewaysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnetgatewaysuite.exe"-"c:\sys\bin\te_lbsnetgatewaysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\lbsnetgatewayprotocoltest.dll"-"c:\sys\bin\lbsnetgatewayprotocoltest.dll"
+"\epoc32\release\armv5\urel\lbsnetgatewayprotocoltestapi.dll"-"c:\sys\bin\lbsnetgatewayprotocoltestapi.dll"
+"\epoc32\data\Z\resource\plugins\lbsnetgatewayprotocoltest.rsc"-"c:\resource\plugins\lbsnetgatewayprotocoltest.rsc"
+
+; test "te_lbsnetgatewaytest"
+;
+; test scripts
+"..\scripts\te_lbsnetgatewaysuite.script"-"c:\testdata\scripts\te_lbsnetgatewaysuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\networkgateway\test\te_lbsnetgateway\testdata\te_lbsnetgatewaysuite.ini"-"c:\testdata\configs\te_lbsnetgatewaysuite.ini"
+"\sf\os\lbs\locationmgmt\networkgateway\test\te_lbsnetgateway\testdata\simtsy_home_config.txt"-"c:\testdata\configs\simtsy_home_config.txt"
+"\sf\os\lbs\locationmgmt\networkgateway\test\te_lbsnetgateway\testdata\simtsy_roaming_config.txt"-"c:\testdata\configs\simtsy_roaming_config.txt"
+"\sf\os\lbs\locationmgmt\networkgateway\test\te_lbsnetgateway\testdata\simtsy_unregistered_config.txt"-"c:\testdata\configs\simtsy_unregistered_config.txt"
+
--- a/locationmgmt/networkgateway/test/te_lbsnetgateway/scripts/te_lbsnetgatewaySuite.script	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/test/te_lbsnetgateway/scripts/te_lbsnetgatewaySuite.script	Fri Sep 17 08:37:32 2010 +0300
@@ -32,8 +32,6 @@
 	CopyFile c:\testdata\configs\simtsy_home_config.txt c:\config.txt
 REMOVE_PREFIX
 
-
-
 START_TESTCASE                LBS-NetGateway-0001
 //! @SYMTestCaseID              LBS-NetGateway-0001
 //! @SYMTestCaseDesc            Not Available
@@ -175,7 +173,7 @@
 START_TESTCASE                LBS-NetGateway-0014
 //! @SYMTestCaseID              LBS-NetGateway-0014
 RUN_TEST_STEP 20 te_lbsnetgatewaySuite lbsnetgatewaystartstep c:\testdata\configs\te_lbsnetgatewaySuite.ini AllProtDiffProt
-RUN_TEST_STEP 20 te_lbsnetgatewaySuite lbsnetgatewaynetregstatusstep c:\testdata\configs\te_lbsnetgatewaySuite.ini AllProtDiffProt
+RUN_TEST_STEP 40 te_lbsnetgatewaySuite lbsnetgatewaynetregstatusstep c:\testdata\configs\te_lbsnetgatewaySuite.ini AllProtDiffProt
 RUN_TEST_STEP 20 te_lbsnetgatewaySuite lbsnetgatewaystopstep c:\testdata\configs\te_lbsnetgatewaySuite.ini
 END_TESTCASE   LBS-NetGateway-0014
 
--- a/locationmgmt/networkgateway/test/te_lbsnetgateway/src/Te_lbsnetgatewaySuiteServer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationmgmt/networkgateway/test/te_lbsnetgateway/src/Te_lbsnetgatewaySuiteServer.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -50,7 +50,7 @@
  * CTestServer derived server.
  */
 	{
-	LBSLOG(ELogP1, "CTe_lbsnetgatewaySuite::NewL()");
+	//LBSLOG(ELogP1, "CTe_lbsnetgatewaySuite::NewL()");
 	CTe_lbsnetgatewaySuite * server = new (ELeave) CTe_lbsnetgatewaySuite();
 	CleanupStack::PushL(server);
 
@@ -68,7 +68,7 @@
  * Much simpler, uses the new Rendezvous() call to sync with the client
  */
 	{
-	LBSLOG(ELogP3, "te_lbsnetgatewaySuite MainL");
+	//LBSLOG(ELogP3, "te_lbsnetgatewaySuite MainL");
 	// Leave the hooks in for platform security
 #if (defined __DATA_CAGING__)
 	RProcess().DataCaging(RProcess::EDataCagingOn);
@@ -83,7 +83,7 @@
 	if(!err)
 		{
 		// Sync with the client and enter the active scheduler
-		LBSLOG(ELogP3, "te_lbsnetgatewaySuite Randezvous and starting scheduler");
+		//LBSLOG(ELogP3, "te_lbsnetgatewaySuite Randezvous and starting scheduler");
 		RProcess::Rendezvous(KErrNone);
 		sched->Start();
 		}
@@ -101,8 +101,8 @@
  */
 	{
 	__UHEAP_MARK;
-	LBSLOG_BEGIN();
-	LBSLOG(ELogP3, "te_lbsnetgatewaySuite start");
+	//LBSLOG_BEGIN();
+	//LBSLOG(ELogP3, "te_lbsnetgatewaySuite start");
 	CTrapCleanup* cleanup = CTrapCleanup::New();
 	if(cleanup == NULL)
 		{
@@ -110,7 +110,7 @@
 		}
 	TRAPD(err,MainL());
 	delete cleanup;
-	LBSLOG(ELogP3, "te_lbsnetgatewaySuite stop");
+	//LBSLOG(ELogP3, "te_lbsnetgatewaySuite stop");
 	__UHEAP_MARKEND;
 	return err;
     }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmgmt/networklocationmgr/te_LbsNetworkLocationManager/group/te_lbsnetworklocationmanager.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationmgmt/networklocationmgr/te_lbsnetworklocationmanager/group/te_lbsnetworklocationmanager.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnetworklocationmanager.exe"-"c:\sys\bin\te_lbsnetworklocationmanager.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\locationmgmt\networklocationmgr\t_lbsDummygateway.exe"-"c:\sys\bin\t_lbsDummygateway.exe"
+
+; test "te_lbsnetworklocationmanagertest"
+;
+; test scripts
+"..\scripts\te_LbsNetworkLocationManager.script"-"c:\testdata\scripts\te_LbsNetworkLocationManager.script"
+
+; test dependencies
+"\sf\os\lbs\locationmgmt\networklocationmgr\te_LbsNetworkLocationManager\testdata\te_LbsNetworkLocationManager.ini"-"c:\testdata\configs\te_LbsNetworkLocationManager.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/locationserver/LbsQualityProfileApi/test/te_QualityProfileApiSuite/group/te_qualityprofileapisuitesuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationrequestmgmt/locationserver/lbsqualityprofileapi/test/te_qualityprofileapisuite/group/te_qualityprofileapisuitesuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_qualityprofileapisuitesuite.exe"-"c:\sys\bin\te_qualityprofileapisuitesuite.exe"
+
+; TEF server dependencies
+
+; test "te_lbsqualityprofileapitest"
+;
+; test scripts
+"..\scripts\te_qualityprofileapiSuitesuite.script"-"c:\testdata\scripts\te_qualityprofileapiSuitesuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationrequestmgmt\locationserver\Lbsqualityprofileapi\test\te_qualityprofileapisuite\testdata\te_qualityprofileapiSuitesuite.ini"-"c:\testdata\configs\te_qualityprofileapiSuitesuite.ini"
+"\sf\os\lbs\locationrequestmgmt\locationserver\Lbsqualityprofileapi\test\te_qualityprofileapisuite\testdata\te_QualityProfileApi_lbsprofile.ini"-"c:\testdata\configs\te_QualityProfileApi_lbsprofile.ini"
+
--- a/locationrequestmgmt/locationserver/inc/EPos_CPosModulesStatus.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/inc/EPos_CPosModulesStatus.h	Fri Sep 17 08:37:32 2010 +0300
@@ -95,7 +95,6 @@
         TInt DoTimerCallback();
         void RequestComplete(const RMessage2& aMessage, TInt aCompleteCode);
         void NotifyEventToSubscriber(TPositionModuleStatusEvent& aOccurredEvent, const CPosModulesStatus::TPosSubscriber& aSubscriber);
-        void NotifyPosModuleStatusToSubscriber(const TPositionModuleId& aImplementationUid, const TPositionModuleStatus& aStatus);
         
     private:    // Data
         CPosModules&            iModules;
@@ -105,8 +104,6 @@
         TInt                    iSequenceNo;
         CPeriodic*              iTimer;
         TTimeIntervalMicroSeconds32 iTimerInterval;
-        TUid                    iPosStatusCategory;
-        RArray<TPositionModuleId>   iActivePosModuleArray;
     };
 
 #endif      // CPOSMODULESSTATUS_H
--- a/locationrequestmgmt/locationserver/inc/EPos_CPositionRequest.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/inc/EPos_CPositionRequest.h	Fri Sep 17 08:37:32 2010 +0300
@@ -97,6 +97,10 @@
         void StopPsyTracking();
 
         void LoadPositionerL();
+        
+        void ActivatePositioningStatusIfNeeded();
+        
+        void DeActivatePositioningStatusIfNeeded();
 
     private:  // Data
 
@@ -141,6 +145,15 @@
 //        CPosLocMonitorReqHandlerHub&    iLastPositionHandler;
         CPosLocMonitorReqHandlerHub&    iLocMonitorReqHandler;
         CPosModuleSettings&         	iModuleSettings;
+        
+        TUid                            iPosStatusCategory;
+        
+        /**
+         * Positioning state flag
+         */
+        TBool                           iPositioningActive;
+        
+        
     };  
 
 #endif  // CPOSITIONREQUEST_H
--- a/locationrequestmgmt/locationserver/inc/EPos_ServerPanic.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/inc/EPos_ServerPanic.h	Fri Sep 17 08:37:32 2010 +0300
@@ -29,7 +29,8 @@
     EPosServerPanicSessionsCountInconsistency,
     EPosServerPanicUnexpectedEvent,
     EPosServerPanicTrackingInconsistency,
-    EPosServerPanicGeneralInconsistency
+    EPosServerPanicGeneralInconsistency,
+    EPosServerPanicIndDeactivationFailed
     };
 
 // FUNCTION PROTOTYPES
--- a/locationrequestmgmt/locationserver/src/EPos_CPosModulesStatus.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/src/EPos_CPosModulesStatus.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -135,17 +135,7 @@
         User::LeaveIfError(iModuleStatusArray.Append(module));
         }
     CleanupStack::PopAndDestroy(idList);
-    iActivePosModuleArray.Reset();
 
-    // Get the CategoryUid from the cenrep file owned by LbsRoot.
-    CRepository* rep = CRepository::NewLC(KLbsCenRepUid);
-    TInt posStatusCategory;
-    DEBUG_TRACE("Opening Status API Settings...", __LINE__)
-    User::LeaveIfError(rep->Get(KMoPositioningStatusAPIKey, posStatusCategory));
-    DEBUG_TRACE("Opened Status API Settings...", __LINE__)
-    CleanupStack::PopAndDestroy(rep);
-    iPosStatusCategory = TUid::Uid(posStatusCategory);
-    
     iTimer = CPeriodic::NewL(EPriorityLow);
     }
 
@@ -461,8 +451,6 @@
         return;
         }
 
-    NotifyPosModuleStatusToSubscriber(aImplementationUid, aStatus);
-
     TPosModule& storedModule = iModuleStatusArray[index];
     TPositionModuleStatus::TDeviceStatus storedDeviceStatus = 
         storedModule.iStatus.DeviceStatus();
@@ -710,44 +698,6 @@
     }
 
 /**
- * Notify event to subscriber
- */
-void CPosModulesStatus::NotifyPosModuleStatusToSubscriber(const TPositionModuleId& aImplementationUid, const TPositionModuleStatus& aStatus)
-    {
-    //1. Search for uid in the list of active uids
-    //2. If uid doesnt exist, and status is active - add uid in the list
-    //3. If uid exists and status is inactive - remove it from the list
-    
-    TPositionModuleStatus::TDeviceStatus devStatus = aStatus.DeviceStatus();
-    TInt item = iActivePosModuleArray.Find(aImplementationUid);
-    if(item == KErrNotFound)
-        {
-        if(devStatus == TPositionModuleStatus::EDeviceActive || devStatus == TPositionModuleStatus::EDeviceReady)
-            {
-			//Ignoring error as RArray by default creates array of Granularity 8
-            iActivePosModuleArray.Append(aImplementationUid);
-            }
-        }
-    else
-        {
-        if(!(devStatus == TPositionModuleStatus::EDeviceActive || devStatus == TPositionModuleStatus::EDeviceReady))
-            {
-            iActivePosModuleArray.Remove(item);
-            }
-        }
-
-    TInt itemCount = iActivePosModuleArray.Count();
-	if(itemCount > 0)
-		{
-		RProperty::Set(iPosStatusCategory, KLbsMoPositioningStatusKey, itemCount);
-		}
-    else
-		{
-		RProperty::Set(iPosStatusCategory, KLbsMoPositioningStatusKey, 0);
-		}
-    }
-
-/**
  * Timer callback
  */
 TInt CPosModulesStatus::TimerCallback(TAny* aModulesStatus)
--- a/locationrequestmgmt/locationserver/src/EPos_CPosServer.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/src/EPos_CPosServer.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -28,6 +28,7 @@
 #include "EPos_CPosResourceReader.h"
 #include <eposserver.rsg>
 #include <lbs/epos_mposmodulesobserver.h>
+#include <centralrepository.h>
 #ifdef SYMBIAN_FEATURE_MANAGER
 	#include <featdiscovery.h>
 	#include <featureuids.h>
@@ -39,6 +40,7 @@
 #include "EPos_CPosServerDelayedShutdown.h"
 #include "EPos_CPosModulesStatus.h"
 #include "EPos_CPosLocMonitorReqHandlerHub.h"
+#include "lbsrootcenrepdefs.h"
 
 #include "EPos_Global.h"
 #include "lbspositioningstatusprops.h"
@@ -216,7 +218,18 @@
 
     // Define the MO Positioning Status property
 	LbsPositioningStatusProps::InitializeMoPropertyL();	
-   
+
+	// Reset the key to zero
+    TInt posStatusCategory;
+    
+    CRepository* rep = CRepository::NewLC(KLbsCenRepUid);
+    TInt err = rep->Get(KMoPositioningStatusAPIKey, posStatusCategory);
+    if( err == KErrNone )
+        {
+        err = RProperty::Set(TUid::Uid(posStatusCategory), KLbsMoPositioningStatusKey,0);
+        }
+    CleanupStack::PopAndDestroy(rep);
+
     DEBUG_TRACE("Starting server active object...", __LINE__)
     StartL(KPositionServerName);
     }
--- a/locationrequestmgmt/locationserver/src/EPos_CPositionRequest.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/src/EPos_CPositionRequest.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -21,6 +21,7 @@
 #include <lbs/epos_cpositioner.h>
 #include <lbs/epos_cposmodules.h>
 #include <lbs/epos_mposmodulesobserver.h>
+#include <centralrepository.h>
 #include "lbsdevloggermacros.h"
 #include "EPos_ServerPanic.h"
 #include "EPos_Global.h"
@@ -28,12 +29,16 @@
 #include "EPos_CPositionRequest.h"
 #include "epos_cposmodulessettings.h"
 
+
 //TODO Verify
 #include "EPos_CPosLocMonitorReqHandlerHub.h"
 #include "OstTraceDefinitions.h"
 #ifdef OST_TRACE_COMPILER_IN_USE
 #include "EPos_CPositionRequestTraces.h"
 #endif
+#include "lbsrootcenrepdefs.h"
+#include "lbspositioningstatusprops.h"
+
 
 
 
@@ -43,6 +48,7 @@
 #endif
 
 const TInt KParamPositionInfo = 0;
+const TTimeIntervalMicroSeconds KIndFlickerTresholdTracking = 30000000; 
 
 // ================= LOCAL FUNCTIONS ========================
 
@@ -78,7 +84,8 @@
     iPositionerParams(aPositionerParams),
     iHasProxyPositioner(aIsProxy),
     iLocMonitorReqHandler(aLocMonitorReqHandlerHub),
-    iModuleSettings(aModuleSettings)
+    iModuleSettings(aModuleSettings),
+    iPositioningActive( EFalse )
     {
     CActiveScheduler::Add(this);
     }
@@ -101,6 +108,14 @@
         User::Leave(KErrNotFound);
         }
 
+    // Get the CategoryUid from the cenrep file owned by LbsRoot.
+    CRepository* rep = CRepository::NewLC(KLbsCenRepUid);
+    TInt posStatusCategory;
+    TInt err = rep->Get(KMoPositioningStatusAPIKey, posStatusCategory);
+    User::LeaveIfError(err);
+    CleanupStack::PopAndDestroy(rep);
+    iPosStatusCategory = TUid::Uid(posStatusCategory);
+    
     LoadPositionerL();
     }
 
@@ -150,6 +165,9 @@
     delete iPositionBuffer;
     delete iTimeoutTimer;
     delete iPositioner;
+    
+    // Deactivate the positioning status when the object dies.
+    DeActivatePositioningStatusIfNeeded();
     }
 
 /**
@@ -161,11 +179,15 @@
     {
     if (!iModuleInfo.IsAvailable())
         {
+        // Deactivate positioning status if there are PSY's not found.
+        DeActivatePositioningStatusIfNeeded();
         User::Leave(KErrNotFound);
         }
 
     __ASSERT_DEBUG(iPositioner, DebugPanic(EPosServerPanicPositionerNotInitialized));
     
+    
+
     iMessage = aMessage; // Store parameter here in case of leave.
 
     // Clear previous position data
@@ -188,11 +210,15 @@
         User::Leave(KErrArgument);
         }
 
+ 
+
     // Set ModuleId to KNullId to be able to verify that Id is set by PSY.
     infoBase.SetModuleId(KNullUid);
 
     CleanupStack::PushL(TCleanupItem(CancelTimerCleanup, iTimeoutTimer));
 
+		ActivatePositioningStatusIfNeeded();
+
     // Start timer if necessary
     if (iTimeOut.Int64() > 0)
         {
@@ -324,7 +350,7 @@
         {
         return;
         }
-
+	
     switch (aEvent.iType)
         {
         case EPosModulesEventAvailabilityChanged:
@@ -339,9 +365,11 @@
         default:
             return;
         }
-
-    if (!iModuleInfo.IsAvailable())
+		if (!iModuleInfo.IsAvailable())
         {
+        // Deactivate positioning status if there are PSY's not found.
+        DeActivatePositioningStatusIfNeeded();	
+        
         if (IsActive())
             {
             CompleteClient(KErrNotFound);
@@ -467,6 +495,9 @@
         	DEBUG_TRACE("CPositionRequest::DoCancel() panicing", __LINE__)
             DebugPanic(EPosServerPanicRequestInconsistency);
         }
+    
+    // Deactive positioning status after cancellation.
+    DeActivatePositioningStatusIfNeeded();
 
     TInt err;
     if (iRequestTimedOut)
@@ -487,6 +518,7 @@
         }
 
     iRequestPhase = EPosReqInactive;
+    
     OstTraceFunctionExit1( CPOSITIONREQUEST_DOCANCEL_EXIT, this );
     }
 
@@ -526,6 +558,17 @@
         {
         CompleteClient(aReason);
         }
+    
+    // If the request is not tracking mode, deactivate the indicator
+    // Tracking mode check and the last check for the error scenarios other than
+    // KErrNone and KPositionPartialUpdate.
+    if( ( ( iTrackingState == EPosFirstTrackingRequest || iTrackingState == EPosTracking ) &&
+    	     iTrackingUpdateInterval >  KIndFlickerTresholdTracking ) ||
+          iTrackingUpdateInterval == TTimeIntervalMicroSeconds ( 0 ) ||
+          !( aReason == KErrNone || aReason == KPositionPartialUpdate ) )
+        {
+        DeActivatePositioningStatusIfNeeded();
+        }
     }
 
 void CPositionRequest::StartPositionDataRequestPhase()
@@ -733,4 +776,61 @@
 	iTimeoutTimer->ExtendTimeout(aAdditionalTime);
 	}
 
+void CPositionRequest::ActivatePositioningStatusIfNeeded()
+    {
+    // Check for the positioning status, If it has been activated from this object,
+    // there is no need to increment the count again.
+    if( !iPositioningActive )
+        {
+        TInt count, err;     
+        err = RProperty::Get(iPosStatusCategory, KLbsMoPositioningStatusKey, count);
+
+        if(err == KErrNone)
+            {
+            err = RProperty::Set(iPosStatusCategory, KLbsMoPositioningStatusKey, count+1);
+            if(err == KErrNone)
+                {
+                iPositioningActive = ETrue; 
+                }
+            else
+                {
+                DEBUG_TRACE("CPositionRequest::ActivatePositioningStatusIfNeeded() - Error in  setting Positioning Status", __LINE__)
+                }
+            }
+        else 
+            {
+            DEBUG_TRACE("CPositionRequest::ActivatePositioningStatusIfNeeded() - Error in  getting Positioning Status", __LINE__)
+			
+            }
+        }
+    }
+
+void CPositionRequest::DeActivatePositioningStatusIfNeeded()
+    {
+    // If the positioning status is activated by this object, deactivate it
+    if( iPositioningActive )
+        {
+        TInt  count, err;     
+        err = RProperty::Get(iPosStatusCategory, KLbsMoPositioningStatusKey, count);
+        
+        if(err == KErrNone)
+        	{
+            __ASSERT_DEBUG(count > 0, DebugPanic(EPosServerPanicIndDeactivationFailed));
+        	
+            err = RProperty::Set(iPosStatusCategory, KLbsMoPositioningStatusKey, count-1);
+            if(err == KErrNone)
+                {
+                iPositioningActive = EFalse;
+                }
+            else
+                {
+                DEBUG_TRACE("CPositionRequest::DeActivatePositioningStatusIfNeeded() - error in setting Positioning Status", __LINE__)	
+                }		
+        	}
+        else
+        	{
+        	DEBUG_TRACE("CPositionRequest::DeActivatePositioningStatusIfNeeded() - error in getting Positioning Status", __LINE__)            	
+        	}	
+        }
+    }
 //  End of File
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/locationserver/test/te_locsrv/group/te_locsrvsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,72 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationrequestmgmt/locationserver/test/te_locsrv/group/te_locsrvsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_locsrvsuite.exe"-"c:\sys\bin\te_locsrvsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\btpsy.dll"-"c:\sys\bin\btpsy.dll"
+"\epoc32\release\armv5\urel\extgpspsy1.dll"-"c:\sys\bin\extgpspsy1.dll"
+"\epoc32\release\armv5\urel\extgpspsy2.dll"-"c:\sys\bin\extgpspsy2.dll"
+"\epoc32\release\armv5\urel\instapsy.dll"-"c:\sys\bin\instapsy.dll"
+"\epoc32\release\armv5\urel\intgpspsy1.dll"-"c:\sys\bin\intgpspsy1.dll"
+"\epoc32\release\armv5\urel\intgpspsy2.dll"-"c:\sys\bin\intgpspsy2.dll"
+"\epoc32\release\armv5\urel\lcfpsy6.dll"-"c:\sys\bin\lcfpsy6.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy1.dll"-"c:\sys\bin\lcfpsydummy1.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy2.dll"-"c:\sys\bin\lcfpsydummy2.dll"
+"\epoc32\release\armv5\urel\lcfpsydummy3.dll"-"c:\sys\bin\lcfpsydummy3.dll"
+"\epoc32\release\armv5\urel\leavingpsy.dll"-"c:\sys\bin\leavingpsy.dll"
+"\epoc32\release\armv5\urel\networkpsy1.dll"-"c:\sys\bin\networkpsy1.dll"
+"\epoc32\release\armv5\urel\networkpsy2.dll"-"c:\sys\bin\networkpsy2.dll"
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\data\Z\resource\plugins\btpsy.rsc"-"c:\resource\plugins\btpsy.rsc"
+"\epoc32\data\c\private\10202be9\0313300c.cre"-"c:\testdata\configs\0313300c.cre"
+"\epoc32\data\Z\resource\plugins\extgpspsy1.rsc"-"c:\resource\plugins\extgpspsy1.rsc"
+"\epoc32\data\c\private\10202be9\0313302a.cre"-"c:\testdata\configs\0313302a.cre"
+"\epoc32\data\Z\resource\plugins\extgpspsy2.rsc"-"c:\resource\plugins\extgpspsy2.rsc"
+"\epoc32\data\c\private\10202be9\0313800b.cre"-"c:\testdata\configs\0313800b.cre"
+"\epoc32\data\Z\resource\plugins\instapsy.rsc"-"c:\resource\plugins\instapsy.rsc"
+"\epoc32\data\c\private\10202be9\03133002.cre"-"c:\testdata\configs\03133002.cre"
+"\epoc32\data\Z\resource\plugins\intgpspsy1.rsc"-"c:\resource\plugins\intgpspsy1.rsc"
+"\epoc32\data\c\private\10202be9\03133004.cre"-"c:\testdata\configs\03133004.cre"
+"\epoc32\data\Z\resource\plugins\intgpspsy2.rsc"-"c:\resource\plugins\intgpspsy2.rsc"
+"\epoc32\data\c\private\10202be9\03133006.cre"-"c:\testdata\configs\03133006.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsy6.rsc"-"c:\resource\plugins\lcfpsy6.rsc"
+"\epoc32\data\c\private\10202be9\03133026.cre"-"c:\testdata\configs\03133026.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy1.rsc"-"c:\resource\plugins\lcfpsydummy1.rsc"
+"\epoc32\data\c\private\10202be9\03133028.cre"-"c:\testdata\configs\03133028.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy2.rsc"-"c:\resource\plugins\lcfpsydummy2.rsc"
+"\epoc32\data\c\private\10202be9\03138001.cre"-"c:\testdata\configs\03138001.cre"
+"\epoc32\data\Z\resource\plugins\lcfpsydummy3.rsc"-"c:\resource\plugins\lcfpsydummy3.rsc"
+"\epoc32\data\c\private\10202be9\03138003.cre"-"c:\testdata\configs\03138003.cre"
+"\epoc32\data\Z\resource\plugins\leavingpsy.rsc"-"c:\resource\plugins\leavingpsy.rsc"
+"\epoc32\data\c\private\10202be9\03138005.cre"-"c:\testdata\configs\03138005.cre"
+"\epoc32\data\Z\resource\plugins\networkpsy1.rsc"-"c:\resource\plugins\networkpsy1.rsc"
+"\epoc32\data\c\private\10202be9\03138007.cre"-"c:\testdata\configs\03138007.cre"
+"\epoc32\data\Z\resource\plugins\networkpsy2.rsc"-"c:\resource\plugins\networkpsy2.rsc"
+"\epoc32\data\c\private\10202be9\03138009.cre"-"c:\testdata\configs\03138009.cre"
+
+; test "te_lbslocsrvtest"
+;
+; test scripts
+"..\scripts\te_locsrvsuite.script"-"c:\testdata\scripts\te_locsrvsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationrequestmgmt\locationserver\test\te_locsrv\testdata\te_locsrv_testconfig.txt"-"c:\testdata\configs\te_locsrv_testconfig.txt"
+"\sf\os\lbs\locationrequestmgmt\locationserver\test\te_locsrv\testdata\te_locsrvsuite.ini"-"c:\testdata\configs\te_locsrvsuite.ini"
+
--- a/locationrequestmgmt/locationserver/test/te_locsrv/src/te_locsrvsuitestepbase.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/locationserver/test/te_locsrv/src/te_locsrvsuitestepbase.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -144,17 +144,21 @@
 
 void CTe_locsrvSuiteStepBase::TogglePsyL(TUid aPsyUid, TBool aEnabled)
 {
+		INFO_PRINTF1(_L("TogglePsyL() ++"));
     CPosModules* modules = CPosModules::OpenL();
     CleanupStack::PushL(modules);
     CPosModuleUpdate* moduleUpdate = CPosModuleUpdate::NewLC();
 
     // toggle module
+    INFO_PRINTF2(_L("TogglePsyL with psy 0x%x"), aPsyUid);
     moduleUpdate->SetUpdateAvailability(aEnabled);
     modules->UpdateModuleL(aPsyUid, *moduleUpdate);
 
     CleanupStack::PopAndDestroy(2);   // moduleUpdate, modules
 
     User::After(KSecond);
+    	
+    INFO_PRINTF1(_L("TogglePsyL() --"));
 }
 
 void CTe_locsrvSuiteStepBase::CheckExpectedResult(TInt aResult, TInt aExpectedResult, const TDesC& aLabel)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,66 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\epos\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\epos\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\epos\" />
+    </parameters>
+</task>
+
+<!--
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\dpsy\*"/>
+</parameters>
+</task>
+-->
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Fetch lbs test logs" significant="false">
+<command>fetch-log</command>
+<params>
+<param type="text"/>
+<param delete="true"/>
+<param path="c:\logs\lbs\*"/>
+</params>
+</step>
+-->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+<!-- ATS4 -->
+
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\epos"/>
+	</parameters>
+</task>
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\dpsy"/>
+	</parameters>
+</task>
+
+<!-- ATS3 
+<step passrate="100" harness="GENERIC" enabled="true" name="Create GENERIC log dir" significant="false">
+<command>makedir</command>
+<params>
+<param dir="c:\logs\lbs"/>
+</params>
+</step>
+-->
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/te_locsrvtestlocmonsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,37 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationrequestmgmt/locationserver/test/te_locsrvtestlocmonsuite/group/te_locsrvtestlocmonsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_locsrvtestlocmonsuite.exe"-"c:\sys\bin\te_locsrvtestlocmonsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\lbstestlocmonitorapi.dll"-"c:\sys\bin\lbstestlocmonitorapi.dll"
+"\epoc32\release\armv5\urel\testlocmonitorserver.exe"-"c:\sys\bin\testlocmonitorserver.exe"
+"\epoc32\release\armv5\urel\testlocserver.exe"-"c:\sys\bin\testlocserver.exe"
+"\epoc32\release\armv5\urel\te_lbstestutils.dll"-"c:\sys\bin\te_lbstestutils.dll"
+"\epoc32\data\Z\private\102869E5\testlocserver.rsc"-"c:\private\102869E5\testlocserver.rsc"
+"\epoc32\data\Z\private\102869E5\backup_registration.xml"-"c:\private\102869E5\backup_registration.xml"
+
+; test "te_locsrvtestlocmontest"
+;
+; test scripts
+"..\scripts\te_locsrvtestlocmonsuite.script"-"c:\testdata\scripts\te_locsrvtestlocmonsuite.script"
+
+; test dependencies
+"\sf\os\lbs\locationrequestmgmt\locationserver\test\te_locsrvtestlocmonsuite\testdata\te_locsrvtestlocmonsuite.ini"-"c:\testdata\configs\te_locsrvtestlocmonsuite.ini"
+
--- a/locationrequestmgmt/networkrequesthandler/src/ngmessageswitch.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/ngmessageswitch.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -135,7 +135,12 @@
 void CNGMessageSendBuffer::BufferData(TLbsNetInternalMsgBase* aData)
 	{	
 	// Add the data to the buffer
-	iBuffer.Append(aData);
+	TInt err = iBuffer.Append(aData);
+	if( err != KErrNone )
+		{
+		LBSLOG_ERR2(ELogP3, "CNGMessageSendBuffer::BufferData Append failed: %d", err);
+		delete aData;
+		}
 	}
 
 void CNGMessageSendBuffer::BufferEmergencyData(TLbsNetInternalMsgBase* aData)
@@ -510,8 +515,11 @@
 					// not being saved. Note we do enure that the mobiles position
 					// does get sent out to the network - its juts means that the callback
 					// that delivers the REF pos to the privacy system does not happen!
-					iRefPosBuffer.Append(item);
-					
+					TInt err = iRefPosBuffer.Append(item);
+					if( KErrNone != err )
+						{
+						LBSLOG_ERR(ELogP3, "CNGMessageSwitch::ProcessNetChannelMessage: iRefPosBuffer.Append Failed!!");
+						}
 					for (TInt i = 0; i < count; i++)
 						{
 						iObservers[i]->OnNetLocReferenceUpdate(msg->SessionId(), positionInfo);
@@ -533,7 +541,12 @@
 						item->iSessionId = msg->SessionId();
 					
 						Mem::Copy(&item->iPosInfo, &positionInfo, positionInfo.PositionClassSize());
-						iFNPPosBuffer.Append(item); // here, ownership passes to pointer array!
+						TInt err = iFNPPosBuffer.Append(item); // here, ownership passes to pointer array!
+						if( KErrNone != err )
+							{
+							delete item;
+							LBSLOG_ERR(ELogP3, "CNGMessageSwitch::ProcessNetChannelMessage: iFNPPosBuffer.Append Failed!!");
+							}
 						}
 					for (TInt i = 0; i < count; i++)
 						{
--- a/locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/privacyandlocationrequesthandler.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -312,7 +312,12 @@
 	if (fsm)
 		{
 		// Add the state machine to the buffer.
-		iFsmArray.Append(fsm);
+		TInt err = iFsmArray.Append(fsm);
+		if( err != KErrNone )
+			{
+			delete fsm;
+			return NULL;
+			}
 	
 		iNumActiveSessions++; // conceptually, a session starts when a Fsm is created for it
 
--- a/locationrequestmgmt/networkrequesthandler/src/privacyhandler.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/privacyhandler.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -971,7 +971,11 @@
 		privReq->SetRequestPrivacy(aNetPosRequestPrivacy);
 		}
 	privReq->SetStartTime();
-	iRequestBuffer.Append(privReq);
+	TInt err = iRequestBuffer.Append(privReq);
+	    if(err != KErrNone)
+	        {
+	    	LBSLOG2(ELogP4, "CPrivacyControllerHandler::ProcessNetworkLocationRequest : iRequestBuffer.Append failed with - %d error",err); 
+	        }
 	iAlwaysVerify = EFalse;	
 	
 	if (iNrhServer == 0)
--- a/locationrequestmgmt/networkrequesthandler/test/group/t_lbsnetworkrequesthandler.mmp	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/test/group/t_lbsnetworkrequesthandler.mmp	Fri Sep 17 08:37:32 2010 +0300
@@ -28,6 +28,8 @@
 
 CAPABILITY All -Tcb
 
+EPOCSTACKSIZE 16384
+
 // Unit test only macro
 MACRO NRH_UNIT_TEST
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/custom/postrun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,24 @@
+<!-- ATS4 -->
+<task>
+<type>FileDownloadTask</type>
+<parameters>
+<parameter name="src" value="c:\logs\lbs\*"/>
+</parameters>
+</task>
+
+<task>
+    <type>DeleteFileTask</type>
+    <parameters>
+        <parameter name="path" value="c:\logs\lbs\" />
+        <parameter name="regex" value="*" />
+        <parameter name="recursive" value="true" />
+    </parameters>
+</task>
+
+<task>
+    <type>DeleteDirTask</type>
+    <parameters>
+        <parameter name="dir" value="c:\logs\lbs\" />
+    </parameters>
+</task>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/custom/prerun_custom.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,8 @@
+<!-- ATS4 -->
+
+<task>
+	<type>CreateDirTask</type>
+	<parameters>                
+		<parameter name="dir" value="c:\logs\lbs"/>
+	</parameters>
+</task>
--- a/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -19,9 +19,11 @@
 #define __TE_LBSNRH_SUITE2_IBY__
 
 #include <testexecute.iby>
-
+file=ABI_DIR\DEBUG_DIR\t_lbsnetworkrequesthandler.exe	sys\bin\t_lbsnetworkrequesthandler.exe
 file=ABI_DIR\DEBUG_DIR\te_lbsnrhsuite2.exe		sys\bin\te_lbsnrhsuite2.exe
 data=EPOCROOT##Epoc32\data\c\TestData\configs\te_lbsnrhsuite2.ini TestData\configs\te_lbsnrhsuite2.ini
 data=EPOCROOT##Epoc32\data\c\TestData\scripts\te_lbsnrhsuite2.script TestData\Scripts\te_lbsnrhsuite2.Script
+data=EPOCROOT##Epoc32\data\c\TestData\configs\te_lbsnrhsuite2_mtlr.ini TestData\configs\te_lbsnrhsuite2_mtlr.ini
+data=EPOCROOT##Epoc32\data\c\TestData\scripts\te_lbsnrhsuite2_mtlr.script TestData\Scripts\te_lbsnrhsuite2_mtlr.Script
 
 #endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,40 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/locationrequestmgmt/networkrequesthandler/test/te_lbsnrhsuite2/group/te_lbsnrhsuite2.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_lbsnrhsuite2.exe"-"c:\sys\bin\te_lbsnrhsuite2.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\t_lbsnetworkrequesthandler.exe"-"c:\sys\bin\t_lbsnetworkrequesthandler.exe"
+
+; test "te_lbsnrh2test"
+;
+; test scripts
+"..\scripts\te_lbsnrhsuite2.script"-"c:\testdata\scripts\te_lbsnrhsuite2.script"
+
+; test dependencies
+"\sf\os\lbs\locationrequestmgmt\networkrequesthandler\test\te_lbsnrhsuite2\testdata\te_lbsnrhsuite2.ini"-"c:\testdata\configs\te_lbsnrhsuite2.ini"
+
+; test "te_lbsnrh2_mtlrtest"
+;
+; test scripts
+"..\scripts\te_lbsnrhsuite2_mtlr.script"-"c:\testdata\scripts\te_lbsnrhsuite2_mtlr.script"
+
+; test dependencies
+"\sf\os\lbs\locationrequestmgmt\networkrequesthandler\test\te_lbsnrhsuite2\testdata\te_lbsnrhsuite2_mtlr.ini"-"c:\testdata\configs\te_lbsnrhsuite2_mtlr.ini"
+
--- a/networkprotocolmodules/networkpmasn1_pub/group/lbs_networkpmasn1_pub.mrp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/networkpmasn1_pub/group/lbs_networkpmasn1_pub.mrp	Fri Sep 17 08:37:32 2010 +0300
@@ -18,6 +18,8 @@
 
 source \sf\os\lbs\networkprotocolmodules\networkpmasn1_pub
 
+exports	\sf\os\lbs\networkprotocolmodules\networkpmasn1_pub\group
+
 notes_source	\component_defs\release.src
 
 ipr E 
--- a/networkprotocolmodules/networkpmutils/supldevlogger/group/supldevlogger.iby	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/networkpmutils/supldevlogger/group/supldevlogger.iby	Fri Sep 17 08:37:32 2010 +0300
@@ -18,8 +18,8 @@
 #ifndef __SUPL_DEV_LOGGER_IBY__
 #define __SUPL_DEV_LOGGER_IBY__
 
-#ifdef _DEBUG
+
 file=ABI_DIR\DEBUG_DIR\supldevlogger.dll		System\libs\supldevlogger.dll
-#endif
+
 
-#endif
+#endif //__SUPL_DEV_LOGGER_IBY__ 
--- a/networkprotocolmodules/networkpmutils/supldevlogger/inc/supldevloggermacros.h	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/networkpmutils/supldevlogger/inc/supldevloggermacros.h	Fri Sep 17 08:37:32 2010 +0300
@@ -24,7 +24,7 @@
 
 #include "supldevlogger.h"
 
-#if defined(ENABLE_SUPL_DEV_LOGGER) && (defined(_DEBUG)||defined(__WINS__))
+#if defined(ENABLE_SUPL_DEV_LOGGER)&& (defined(_DEBUG)||defined(__WINS__))
 /**
  -----------------------
  Standard Logging Macros 
--- a/networkprotocolmodules/networkprotocolmodule/LbsNetSim/src/lbsnetsimassistancedataprovider.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/networkprotocolmodule/LbsNetSim/src/lbsnetsimassistancedataprovider.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -118,10 +118,14 @@
 */
 TBool CLbsNetSimAssistanceDataProvider::SetAssistanceDataProvider(TUid aUid)
 	{
+    LBSLOG2(ELogP1, "CLbsNetSimAssistanceDataProvider::SetAssistanceDataProvider(Uid= dataSourceId  = 0x%08X\n", aUid.iUid);
+    
 	// Always reload the current plugin to make sure it's properly initialised
 	// Delete the old plugins if there's any
 	if (iAssistanceDataUid != aUid)
 		{
+	    LBSLOG(ELogP1, "Delete the old plugins if there's any\n");
+	  
  		if (iAssistanceModule != NULL)		
  			{
 			delete iAssistanceSource;
@@ -134,23 +138,37 @@
 		// Set the new plugin Uid
 		iAssistanceDataUid = aUid;
 
-		// Load the new assistance module plugin		
+		// Load the new assistance module plugin	
+	    LBSLOG(ELogP1, "Load the new assistance module plugin\n");
+	    
 		if (iAssistanceModule == NULL)
 			{
 			if (iAssistanceDataUid.iUid == 0)
 				{
+			    LBSLOG(ELogP1, "iAssistanceDataUid.iUid == 0\n");
 				iAssistanceModule = CAssistanceDataSourceModuleBase::NewL(*this); // Loads default
+                LBSLOG(ELogP1, "end iAssistanceDataUid.iUid == 0\n");
+
 				}
 			else
 				{
+			    LBSLOG(ELogP1, "iAssistanceDataUid.iUid != 0 \n");
 				iAssistanceModule = CAssistanceDataSourceModuleBase::NewL(iAssistanceDataUid, *this); // Loads specified
+                LBSLOG(ELogP1, "end iAssistanceDataUid.iUid != 0 \n");
+
 				}
 
 			// Load the new assistance data source
+            LBSLOG(ELogP1, "Load the new assistance data source \n");
+
 			iAssistanceSource = iAssistanceModule->NewDataSourceL();
+			
+			LBSLOG(ELogP1, "end Load the new assistance data source \n");
+
 			}
 		}
-		
+	LBSLOG2(ELogP1, "end CLbsNetSimAssistanceDataProvider::SetAssistanceDataProvider(Uid= dataSourceId  = 0x%08X\n", aUid.iUid);
+	 
 	return ETrue;
 	}
 	
--- a/networkprotocolmodules/networkprotocolmodule/LbsProtocolModule/src/cconfigmanager.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/networkprotocolmodule/LbsProtocolModule/src/cconfigmanager.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -108,7 +108,7 @@
 					};
 				}
 
-			iDecisionTable.Append(value);
+			iDecisionTable.AppendL(value);
 			}
 		}
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/networkprotocolmodule/LbsProtocolModule/test/group/te_testprotocolmodulesuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,31 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/networkprotocolmodule/lbsprotocolmodule/test/group/te_testprotocolmodulesuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_testprotocolmodulesuite.exe"-"c:\sys\bin\te_testprotocolmodulesuite.exe"
+
+; TEF server dependencies
+
+; test "te_testprotocolmoduletest"
+;
+; test scripts
+"..\scripts\te_testprotocolmodulesuite.script"-"c:\testdata\scripts\te_testprotocolmodulesuite.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\lbsprotocolmodule\test\testdata\te_testprotocolmodulesuite.ini"-"c:\testdata\configs\te_testprotocolmodulesuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/networkprotocolmodule/LbsSuplTestProtocol/data/naviethernetced.cfg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,2058 @@
+############################################################
+## AUTO-GENERATED CONFIGURATION FILE
+## CommsDat Database Dump Utility
+## 1.1
+############################################################
+
+############################################################
+## Network
+## 
+[Network]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Intranet
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=mRouter
+	FIELD_COUNT=1
+END_ADD
+
+
+############################################################
+## ModemBearer
+## 
+[ModemBearer]
+ADD_TEMPLATE
+	Name=Default Modem
+	IfName=PPP
+	PortName=COMM::0
+	TSYName=MM
+	CSYName=ECUART
+	LastSocketActivityTimeout=180
+	LastSessionClosedTimeout=30
+	LastSocketClosedTimeout=60
+	DataBits=8
+	StopBits=1
+	Parity=NONE
+	Rate=115200
+	Handshaking=0
+	SpecialRate=0
+	XonChar=0
+	XoffChar=0
+	FaxClassPref=AUTO
+	SpeakerPref=NEVER
+	SpeakerVolPref=QUIET
+	ModemInitString=AT
+	DataInitString=AT
+	FaxInitString=AT
+	DialPauseLength=S8=
+	SpeakerVolContorlLow=L0
+	SpeakerVolControlMedium=L1
+	SpeakerVolControlHigh=L2
+	SpeakerAlwaysOff=M0
+	SpeakerOnUntilCarrier=M1
+	SpeakerAlwaysOn=M2
+	SpeakerOnAfterUntilCarrier=M3
+	DialToneWaitModifier=W
+	CallProgress1=X1
+	CallProgress2=X2
+	CallProgress3=X3
+	CallProgress4=X4
+	EchoOff=E0
+	VerboseText=V1
+	QuietOff=Q0
+	QuietOn=Q1
+	DialCommandStateModifier=;
+	OnLine=O
+	ResetConfiguration=Z
+	ReturnToFactoryDefs=&F
+	DCDOnDuringLink=&C1
+	DTRHangUp=&D2
+	DSRAlwaysOn=&S0
+	RTSCTSHandshake=&K3
+	XonXoffHandshake=&K4
+	EscapeCharacter=+
+	EscapeGuardPeriod=S12
+	NoDialTone=NO DIAL TONE
+	Busy=BUSY
+	NoAnswer=NO ANSWER
+	Carrier=CARRIER
+	Connect=CONNECT
+	CompressionClass5=COMPRESSION:CLASS 5
+	CompressionV42bis=COMPRESSION:V.42 bis
+	CompressionNone=COMPRESSION:NONE
+	ProtocolLAPD=PROTOCOL:LAPD
+	ProtocolALT=PROTOCOL:ALT
+	ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR
+	ProtocolNone=PROTOCOL:NONE
+	MessageCentreNumber=+44123456789
+	MessageValidityPeriod=1440
+	MessageDeliveryReport=FALSE
+	MinimumSignalLevel=9905
+	CommRole=0
+	SIRSettings=0
+	Agent=CSD.agt
+	FIELD_COUNT=69
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Null Modem 115200bps
+	TSYName=SIM
+	Handshaking=4
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=US Robotics Sportster
+	Rate=57600
+	Handshaking=244
+	SpeakerPref=AFTERDIALUNTILANSWER
+	ModemInitString=AT&F1
+	FaxInitString=AT&d2
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Dacom Surfer
+	Rate=57600
+	Handshaking=244
+	SpeakerPref=AFTERDIALUNTILANSWER
+	ModemInitString=AT&F
+	FaxInitString=AT&d2
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=GSM Mobile Phone via Infrared
+	PortName=IRCOMM::0
+	CSYName=IRCOMM
+	Handshaking=196
+	XonChar=17
+	XoffChar=19
+	ModemInitString=ATZ
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=GSM Mobile Phone via Serial
+	Rate=19200
+	Handshaking=196
+	XonChar=17
+	XoffChar=19
+	ModemInitString=ATZ
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=GPRS Ericsson R520m via IR
+	PortName=IRCOMM::0
+	CSYName=IRCOMM
+	Handshaking=4
+	XonChar=17
+	XoffChar=19
+	ModemInitString=ATZ
+	Agent=PSD.agt
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=GPRS Ericsson R520m/T68i via Serial
+	Rate=19200
+	Handshaking=4
+	XonChar=17
+	XoffChar=19
+	ModemInitString=ATZ
+	IspInitString=*99***1#
+	Agent=PSD.agt
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=GPRS Motorola Mobile Phone via Serial
+	Rate=57600
+	Handshaking=4
+	XonChar=17
+	XoffChar=19
+	ModemInitString=ATZ
+	Agent=PSD.agt
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=WinTunnel Modem
+	PortName=COMM::6
+	Handshaking=4
+	Agent=null.agt
+	FIELD_COUNT=4
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=mRouterWinsBearer
+	PortName=WINS::0
+	CSYName=WINSCSY
+	LastSocketActivityTimeout=9999
+	LastSessionClosedTimeout=180
+	LastSocketClosedTimeout=30
+	Handshaking=4
+	Agent=mRouterAgent.agt
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=mRouterRs232Bearer
+	LastSocketActivityTimeout=9999
+	LastSessionClosedTimeout=180
+	LastSocketClosedTimeout=30
+	Handshaking=4
+	Agent=mRouterAgent.agt
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=mRouterIrBearer
+	PortName=IRCOMM::0
+	CSYName=IRCOMM
+	LastSocketActivityTimeout=9999
+	LastSessionClosedTimeout=180
+	LastSocketClosedTimeout=30
+	Handshaking=4
+	Agent=mRouterAgent.agt
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=mRouterBtBearer
+	PortName=BTCOMM::0
+	CSYName=BTCOMM
+	LastSocketActivityTimeout=9999
+	LastSessionClosedTimeout=180
+	LastSocketClosedTimeout=30
+	Handshaking=4
+	Agent=mRouterAgent.agt
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 14
+	Name=mRouterUsbBearer
+	PortName=ACM::0
+	CSYName=ECACM
+	LastSocketActivityTimeout=9999
+	LastSessionClosedTimeout=180
+	LastSocketClosedTimeout=30
+	Handshaking=4
+	Agent=mRouterAgent.agt
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## LANBearer
+## 
+[LANBearer]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=EKA1 Target Ethernet
+	IfName=ethint
+	LDDFilename=ethercard
+	LDDName=EtherCard
+	PDDFilename=EtherSmc
+	PDDName=EtherCard.Smc
+	PacketDriverName=EtherPkt.drv
+	LastSocketActivityTimeout=-1
+	LastSessionClosedTimeout=-1
+	LastSocketClosedTimeout=-1
+	Agent=nullagt.agt
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=EKA2 Target Ethernet
+	IfName=ethint
+	LDDFilename=enet
+	LDDName=Ethernet
+	PDDFilename=ethernet
+	PDDName=Ethernet.Assabet
+	PacketDriverName=EtherPkt.drv
+	LastSocketActivityTimeout=-1
+	LastSessionClosedTimeout=-1
+	LastSocketClosedTimeout=-1
+	Agent=nullagt.agt
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=EKA1 Emulator Ethernet
+	IfName=ethint
+	LDDFilename=ethercard
+	LDDName=Ethercard
+	PDDFilename=etherwins
+	PDDName=Ethercard.wins
+	PacketDriverName=EtherPkt.drv
+	LastSocketActivityTimeout=-1
+	LastSessionClosedTimeout=-1
+	LastSocketClosedTimeout=-1
+	Agent=nullagt.agt
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=EKA2 Emulator Ethernet
+	IfName=ethint
+	LDDFilename=enet
+	LDDName==Ethernet
+	PDDFilename=ethernet
+	PDDName=Ethernet.Wins
+	PacketDriverName=EtherPkt.drv
+	LastSocketActivityTimeout=-1
+	LastSessionClosedTimeout=-1
+	LastSocketClosedTimeout=-1
+	Agent=nullagt.agt
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=H4 Ethernet
+	IfName=ethint
+	LDDFilename=enet
+	LDDName=Ethernet
+	PDDFilename=ethernet
+	PDDName=Ethernet.MOMAP16xx
+	PacketDriverName=EtherPkt.drv
+	LastSocketActivityTimeout=-1
+	LastSessionClosedTimeout=-1
+	LastSocketClosedTimeout=-1
+	Agent=nullagt.agt
+	FIELD_COUNT=11
+END_ADD
+
+
+############################################################
+## Location
+## 
+[Location]
+ADD_TEMPLATE
+	Name=Default Location
+	IntlPrefixCode=+
+	NatPrefixCode=0
+	NatCode=44
+	AreaCode=44
+	DialOutCode=44
+	DisableCallWaitingCode=44
+	Mobile=TRUE
+	UsePulseDial=FALSE
+	WaitForDialTone=FALSE
+	PauseAfterDialout=0
+	FIELD_COUNT=11
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Office
+	IntlPrefixCode=00
+	AreaCode=171
+	DialOutCode=9,
+	DisableCallWaitingCode=9,
+	Mobile=FALSE
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Office Direct Dial
+	IntlPrefixCode=00
+	AreaCode=171
+	DialOutCode=171
+	DisableCallWaitingCode=171
+	Mobile=FALSE
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Mobile
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Home
+	IntlPrefixCode=00
+	AreaCode=181
+	DialOutCode=181
+	DisableCallWaitingCode=181
+	Mobile=FALSE
+	UsePulseDial=TRUE
+	WaitForDialTone=TRUE
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## Chargecard
+## 
+[Chargecard]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dummy BT Chargecard
+	AccountNumber=144,12345678
+	Pin=0000
+	LocalRule=HG
+	NatRule=HFG
+	IntlRule=HEFG
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Dummy Mercury Chargecard
+	AccountNumber=0500800800,,12345678
+	Pin=****
+	LocalRule=HG
+	NatRule=J,K,0FG
+	IntlRule=HEFG
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## DialOutISP
+## 
+[DialOutISP]
+ADD_TEMPLATE
+	Name=Default Dial Out ISP
+	Description=Default Dial Out ISP
+	DefaultTelNum=Default Dial Out ISP
+	DialResolution=TRUE
+	UseLoginScript=FALSE
+	PromptForLogin=TRUE
+	LoginName=TRUE
+	LoginPass=TRUE
+	DisplayPCT=FALSE
+	IfParams=FALSE
+	IfNetworks=FALSE
+	IfPromptForAuth=TRUE
+	IfAuthName=TRUE
+	IfAuthPass=TRUE
+	IfCallbackEnabled=FALSE
+	CallbackTimeout=0
+	IpAddrFromServer=TRUE
+	IpAddr=TRUE
+	IpNetMask=TRUE
+	IpGateway=TRUE
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=TRUE
+	IpNameServer2=TRUE
+	EnableIPHeaderComp=FALSE
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	EnableSWComp=FALSE
+	BearerService=0
+	BearerProtocol=UNSPECIFIED
+	RlpVersion=0
+	IwfToMs=0
+	MsToIwf=0
+	AckTimer=0
+	RetransmissionAttempts=0
+	ResequencePeriod=0
+	V42Compression=0
+	V42Codewords=0
+	V42MaxLength=0
+	Asymmetry=0
+	UserInitUpgrade=FALSE
+	UseEdge=FALSE
+	FIELD_COUNT=41
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=NT RAS
+	Description=Test
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	UseLoginScript=TRUE
+	LoginScript=CHARMAP \[windows-1252\]\nLOOP 10\n{\nSEND "CLIENT"+<0x0d>\nWAIT 3\n{\n"SERVER" OK\n}\n}\nEXIT KErrNoAnswer$\n\nOK:\nEXIT\n
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	IfAuthName=RasUser
+	IfAuthPass=pass
+	AuthRetries=0
+	FIELD_COUNT=14
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ISP01
+	Description=PlaceHolder for ISP01
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfAuthName=xxx
+	IfAuthPass=yyy
+	AuthRetries=0
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=ISP02
+	Description=PlaceHolder for ISP02
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfAuthName=xxx
+	IfAuthPass=yyy
+	AuthRetries=0
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ISP03
+	Description=PlaceHolder for ISP03
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfAuthName=xxx
+	IfAuthPass=yyy
+	AuthRetries=0
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=ISP04
+	Description=PlaceHolder for ISP04
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfAuthName=xxx
+	IfAuthPass=yyy
+	AuthRetries=0
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=ISP05
+	Description=PlaceHolder for ISP05
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfAuthName=xxx
+	IfAuthPass=yyy
+	AuthRetries=0
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=mRouterDialOutIsp
+	Description=mRouterDialOutIsp
+	Type=INTERNETONLY
+	DefaultTelNum=INTERNETONLY
+	PromptForLogin=FALSE
+	LoginName=FALSE
+	LoginPass=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	IfAuthName=IfAuthPass=
+	IfAuthPass=AuthRetries=0
+	AuthRetries=0
+	FIELD_COUNT=12
+END_ADD
+
+
+############################################################
+## DialInISP
+## 
+[DialInISP]
+ADD_TEMPLATE
+	Name=Default Dial In ISP
+	Description=Default Dial In ISP
+	UseLoginScript=FALSE
+	IpAddrFromServer=TRUE
+	IpAddr=TRUE
+	IpNetMask=TRUE
+	IpGateway=TRUE
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=TRUE
+	IpNameServer2=TRUE
+	EnableIPHeaderComp=FALSE
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	EnableSWComp=FALSE
+	UseEdge=FALSE
+	FIELD_COUNT=15
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dial In ISP01
+	Description=Dial In ISP01
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## OutgoingGPRS
+## 
+[OutgoingGPRS]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=GPRS01
+	APN=gprs01APNPlaceHolder
+	PDPType=IPV4
+	ReqPrecedence=0
+	ReqDelay=0
+	ReqReliability=0
+	ReqPeakThroughput=0
+	ReqMeanThroughput=0
+	MinPrecedence=0
+	MinDelay=0
+	MinReliability=0
+	MinPeakThroughput=0
+	MinMeanThroughput=0
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	AuthRetries=1
+	IpGateway=0.0.0.1
+	IpAddrFromServer=TRUE
+	IpDNSAddrFromServer=FALSE
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	GprsAccessPointType=0
+	QosWarningTimeout=0
+	FIELD_COUNT=27
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=GPRS02
+	APN=gprs02APNPlaceHolder
+	PDPType=IPV4
+	ReqPrecedence=0
+	ReqDelay=0
+	ReqReliability=0
+	ReqPeakThroughput=0
+	ReqMeanThroughput=0
+	MinPrecedence=0
+	MinDelay=0
+	MinReliability=0
+	MinPeakThroughput=0
+	MinMeanThroughput=0
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	AuthRetries=1
+	IpGateway=0.0.0.1
+	IpAddrFromServer=TRUE
+	IpDNSAddrFromServer=FALSE
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	GprsAccessPointType=0
+	QosWarningTimeout=0
+	FIELD_COUNT=27
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=GPRS03
+	APN=gprs03APNPlaceHolder
+	PDPType=IPV4
+	ReqPrecedence=0
+	ReqDelay=0
+	ReqReliability=0
+	ReqPeakThroughput=0
+	ReqMeanThroughput=0
+	MinPrecedence=0
+	MinDelay=0
+	MinReliability=0
+	MinPeakThroughput=0
+	MinMeanThroughput=0
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	AuthRetries=1
+	IpGateway=0.0.0.1
+	IpAddrFromServer=TRUE
+	IpDNSAddrFromServer=FALSE
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	GprsAccessPointType=0
+	QosWarningTimeout=0
+	FIELD_COUNT=27
+END_ADD
+
+
+############################################################
+## IncomingGPRS
+## 
+[IncomingGPRS]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Incoming GPRS Settings PlaceHolder
+	APN=Test
+	PDPType=IPV4
+	PDPAddress=0.0.0.0
+	ReqPrecedence=1
+	ReqDelay=1
+	ReqReliability=1
+	ReqPeakThroughput=1
+	ReqMeanThroughput=1
+	MinPrecedence=1
+	MinDelay=1
+	MinReliability=1
+	MinPeakThroughput=1
+	MinMeanThroughput=1
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	IfAuthName=RasUser
+	IfAuthPass=pass
+	AuthRetries=1
+	IpAddrFromServer=TRUE
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=0.0.0.0
+	IpNameServer2=0.0.0.0
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	FIELD_COUNT=29
+END_ADD
+
+
+############################################################
+## DefaultGPRS
+## 
+[DefaultGPRS]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dummy Default GPRS Settings
+	Usage=1
+	APN=Access point name
+	PDPType=IPV6
+	PDPAddress=www.wid.com
+	Precedence=1
+	Delay=1
+	Reliability=1
+	PeakThroughput=1
+	MeanThroughput=1
+	MinPrecedence=1
+	MinDelay=1
+	MinReliability=1
+	MinPeakThroughput=1
+	MinMeanThroughput=1
+	DataCompression=TRUE
+	HeaderCompression=TRUE
+	GprsUseEdge=FALSE
+	AnonymousAccess=TRUE
+	FIELD_COUNT=19
+END_ADD
+
+
+############################################################
+## LANService
+## 
+[LANService]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Ethernet
+	IfNetworks=ip
+	IpNetMask=255.255.255.0
+	IpGateway=10.32.194.254
+	IpAddrFromServer=TRUE
+	IpAddr=10.32.194.251
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.52
+	ConfigDaemonManagerName=NetCfgExtnDhcp
+	ConfigDaemonName=!DhcpServ
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Ethernet Static IP
+	IfNetworks=ip
+	IpNetMask=255.255.255.0
+	IpGateway=192.168.20.2
+	IpAddrFromServer=FALSE
+	IpAddr=192.168.20.13
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.52
+	ConfigDaemonManagerName=NetCfgExtnDhcp
+	ConfigDaemonName=!DhcpServ
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Ethernet Bad Daemon
+	IfNetworks=ip
+	IpNetMask=255.255.255.0
+	IpGateway=10.32.194.254
+	IpAddrFromServer=FALSE
+	IpAddr=10.32.194.251
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.52
+	ConfigDaemonManagerName=NonExistingServ
+	ConfigDaemonName=NonExistingServ
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Ethernet No Daemon
+	IfNetworks=ip
+	IpNetMask=255.255.255.0
+	IpGateway=10.32.194.254
+	IpAddrFromServer=FALSE
+	IpAddr=10.32.194.251
+	IpDNSAddrFromServer=TRUE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.52
+	FIELD_COUNT=9
+END_ADD
+
+
+############################################################
+## APPrioritySelectionPolicyTable
+## 
+[APPrioritySelectionPolicyTable]
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=20000
+	Name=APSelPolNetworkDefault
+	AP1=Link.AccessPointTable.10013
+	APCOUNT=1
+	FIELD_COUNT=4
+END_ADD
+
+
+############################################################
+## TierTable
+## 
+[TierTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=2048
+	Name=Tier1
+	TierImplUid=271064536
+	TierThreadName=ESock_IP
+	TierManagerName=NetworkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=271064560
+	Name=Tier2
+	TierImplUid=271064560
+	TierThreadName=ESock_IP
+	TierManagerName=ProtoTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10013
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=271064565
+	Name=Tier3
+	TierImplUid=271064565
+	TierThreadName=ESock_IP
+	TierManagerName=LinkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=536887799
+	Name=Tier4
+	TierImplUid=536887799
+	TierThreadName=ESock_SIP
+	TierManagerName=SIPTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10002
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+
+############################################################
+## MCprTable
+## 
+[MCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=netmcpr
+	MCprUid=271009095
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotomcpr
+	MCprUid=271064558
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=pppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethmcpr
+	MCprUid=271064572
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawipmcpr
+	MCprUid=271064576
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnelmcpr
+	MCprUid=271064578
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qospppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=pdpmcpr
+	MCprUid=271065840
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=sipmcpr
+	MCprUid=536887801
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=panethermcpr
+	MCprUid=271070626
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## CprTable
+## 
+[CprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ipcpr
+	CprUid=270561519
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotocpr
+	CprUid=271064531
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentcpr
+	CprUid=271064552
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=vanillacpr
+	CprUid=271065843
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=sipcpr
+	CprUid=271010872
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=tunnelagentcpr
+	CprUid=271080968
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=pdpcpr
+	CprUid=271065826
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## SCprTable
+## 
+[SCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=qosipscpr
+	SCprUid=270549768
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotoscpr
+	SCprUid=271064529
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentscpr
+	SCprUid=271064554
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=pdpscpr
+	SCprUid=271065824
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=pppscpr
+	SCprUid=271065852
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=vanillascpr
+	SCprUid=271065844
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosscpr
+	SCprUid=271065811
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=sipscpr
+	SCprUid=271010839
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## ProtocolTable
+## 
+[ProtocolTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=sapshim
+	ProtocolUid=270496898
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipshim4
+	ProtocolUid=271064118
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=ppp
+	ProtocolUid=271064143
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethernet
+	ProtocolUid=271064539
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawip
+	ProtocolUid=271064562
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnel
+	ProtocolUid=271064567
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosppp
+	ProtocolUid=271064148
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynif
+	ProtocolUid=271064123
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynif
+	ProtocolUid=271064125
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=panether
+	ProtocolUid=271070627
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## BearerTypeTable
+## 
+[BearerTypeTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ethint
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=tunnelnif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.6
+	Cpr=CprTable.7
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.6
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=qosppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.7
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.7
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=dummynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.8
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.8
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=hungrynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.9
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.9
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=spud-ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=spud-rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=IPProtoDefaultTemplate
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=NetworkDefaultTemplate
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## AccessPointTable
+## 
+[AccessPointTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=1
+	Name=pppMappedFromIAP1
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=10003
+	Name=IPProto_generated_10003
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=1
+	CustomSelectionPolicy=1
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=2
+	Name=pppMappedFromIAP2
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=10004
+	Name=IPProto_generated_10004
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=2
+	CustomSelectionPolicy=2
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Id=3
+	Name=pppMappedFromIAP3
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Id=10005
+	Name=IPProto_generated_10005
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=3
+	CustomSelectionPolicy=3
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Id=4
+	Name=pppMappedFromIAP4
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Id=10006
+	Name=IPProto_generated_10006
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=4
+	CustomSelectionPolicy=4
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Id=5
+	Name=pppMappedFromIAP5
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Id=10007
+	Name=IPProto_generated_10007
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=5
+	CustomSelectionPolicy=5
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Id=6
+	Name=ethintMappedFromIAP6
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Id=10008
+	Name=IPProto_generated_10008
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=6
+	CustomSelectionPolicy=6
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Id=7
+	Name=ethintMappedFromIAP7
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 14
+	Id=10009
+	Name=IPProto_generated_10009
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=7
+	CustomSelectionPolicy=7
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 15
+	Id=8
+	Name=ethintMappedFromIAP8
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 16
+	Id=10010
+	Name=IPProto_generated_10010
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=8
+	CustomSelectionPolicy=8
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 17
+	Id=9
+	Name=ethintMappedFromIAP9
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 18
+	Id=10011
+	Name=IPProto_generated_10011
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=9
+	CustomSelectionPolicy=9
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 19
+	Id=10
+	Name=ethintMappedFromIAP10
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 20
+	Id=10012
+	Name=IPProto_generated_10012
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=10
+	CustomSelectionPolicy=10
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 21
+	Id=11
+	Name=ethintMappedFromIAP11
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 22
+	Id=10013
+	Name=IPProto_generated_10013
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=11
+	CustomSelectionPolicy=11
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 23
+	Id=12
+	Name=ethintMappedFromIAP12
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 24
+	Id=10014
+	Name=IPProto_generated_10014
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=12
+	CustomSelectionPolicy=12
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 252
+	Id=10002
+	Name=SIPDefault
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.536887799
+	MCpr=MCprTable.11
+	Cpr=CprTable.5
+	SCpr=SCprTable.8
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=10000
+	Name=NetworkDefault
+	AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## GlobalSettings
+## 
+[GlobalSettings]
+ADD_TEMPLATE
+	DefaultTier=1
+	FIELD_COUNT=1
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	ConnectionAttempts=2
+	RedialAttempts=3
+	SmsBearer=167706624
+	SmsReceiveMode=2
+	GPRSAttachMode=1
+	AcceptIncomingGprs=1
+	GPRSClassCBearer=GSM
+	ModemForDataAndFax=2
+	ModemForPhoneServicesAndSMS=1
+	LocationForDataAndFax=1
+	LocationForPhoneServicesAndSMS=1
+	DefaultNetwork=1
+	BearerAvailabilityCheckTSY=mm
+	FIELD_COUNT=14
+END_ADD
+
+
+############################################################
+## IAP
+## 
+[IAP]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=NT RAS with Null Modem
+	IAPServiceType=DialOutISP
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=CSD IAP PlaceHolder01
+	IAPServiceType=DialOutISP
+	IAPService=2
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=CSD IAP PlaceHolder02
+	IAPServiceType=DialOutISP
+	IAPService=3
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=GPRS IAP PlaceHolder01
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=7
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=3
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=GPRS IAP PlaceHolder02
+	IAPServiceType=OutgoingGPRS
+	IAPService=2
+	IAPBearerType=ModemBearer
+	IAPBearer=7
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=3
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Ethernet No Daemon Static IP
+	IAPServiceType=LANService
+	IAPService=4
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=Incorrect ethernet setup 1
+	IAPServiceType=LANService
+	IAPService=3
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=Incorrect ethernet setup 2
+	IAPServiceType=LANService
+	IAPService=2
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=Ethernet with Daemon Static IP
+	IAPServiceType=LANService
+	IAPService=2
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=Incorrect ethernet setup 3
+	IAPServiceType=LANService
+	IAPService=1
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=Ethernet with Daemon Dynamic IP
+	IAPServiceType=LANService
+	IAPService=1
+	IAPBearerType=LANBearer
+	IAPBearer=4
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=H4 LAN Ethernet
+	IAPServiceType=LANService
+	IAPService=1
+	IAPBearerType=LANBearer
+	IAPBearer=5
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=1
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## ConnectionPreferences
+## 
+[ConnectionPreferences]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	Ranking=1
+	Direction=OUTGOING
+	BearerSet=LAN
+	DialogPref=DONOTPROMPT
+	IAP=11
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## Proxies
+## 
+[Proxies]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	ISP=1
+	ProxyServiceType=DialOutISP
+	UseProxyServer=TRUE
+	ProxyServerName=www.dummyproxy.com
+	ProtocolName=http
+	PortNumber=80
+	Exceptions=www.dummyproxy.com/exception
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## WAPAccessPoint
+## 
+[WAPAccessPoint]
+ADD_TEMPLATE
+	Name=Default Dial In ISP
+	CurrentBearer=WAPIPBearer
+	FIELD_COUNT=2
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dummy WAP Settings
+	StartPage=www.wapstart.com
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## WAPIPBearer
+## 
+[WAPIPBearer]
+ADD_TEMPLATE
+	GatewayAddress=0
+	WSPOption=CONNECTIONLESS
+	Security=FALSE
+	ProxyPortNumber=0
+	ProxyLogin=0
+	ProxyPassword=0
+	FIELD_COUNT=6
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-2
+	AccessPointId=1
+	GatewayAddress=www.wapgateway.com
+	IAP=2
+	WSPOption=CONNECTIONORIENTED
+	ProxyPortNumber=1
+	ProxyLogin=1
+	ProxyPassword=1
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## WAPSMSBearer
+## 
+[WAPSMSBearer]
+ADD_TEMPLATE
+	GatewayAddress=0
+	ServiceCentreAddress=0
+	WSPOption=CONNECTIONLESS
+	Security=FALSE
+	FIELD_COUNT=4
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-2
+	AccessPointId=1
+	GatewayAddress=+4412345678901
+	ServiceCentreAddress=+442071234567
+	WSPOption=CONNECTIONORIENTED
+	FIELD_COUNT=5
+END_ADD
+
+
+############################################################
+## SecureSocketTable
+## 
+[SecureSocketTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	ProtocolName=ssl3.0
+	ProtoLibrary=ssladaptor.dll
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=DefaultRecordName-2
+	ProtocolName=tls1.0
+	ProtoLibrary=ssladaptor.dll
+	FIELD_COUNT=3
+END_ADD
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/networkprotocolmodule/suplasn1/test/group/tsuplasn1.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,44 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/networkprotocolmodule/suplasn1/test/group/tsuplasn1.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\tsuplasn1.exe"-"c:\sys\bin\tsuplasn1.exe"
+
+; TEF server dependencies
+
+; test "tsuplasn1test"
+;
+; test scripts
+"..\scripts\tsuplasn1.script"-"c:\testdata\scripts\tsuplasn1.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\trrcpayload.ini"-"c:\testdata\configs\trrcpayload.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\tsuplend.ini"-"c:\testdata\configs\tsuplend.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\tsuplpos.ini"-"c:\testdata\configs\tsuplpos.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\tsuplposinit.ini"-"c:\testdata\configs\tsuplposinit.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\tsuplresponse.ini"-"c:\testdata\configs\tsuplresponse.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\tsuplstart.ini"-"c:\testdata\configs\tsuplstart.ini"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\rrcpayload1.dat"-"c:\testdata\configs\rrcpayload1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplend1.dat"-"c:\testdata\configs\suplend1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplpos1.dat"-"c:\testdata\configs\suplpos1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplposinit1.dat"-"c:\testdata\configs\suplposinit1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplresponse1.dat"-"c:\testdata\configs\suplresponse1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplstart1.dat"-"c:\testdata\configs\suplstart1.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplstart2.dat"-"c:\testdata\configs\suplstart2.dat"
+"\sf\os\lbs\networkprotocolmodules\networkprotocolmodule\suplasn1\test\testdata\suplstart3.dat"-"c:\testdata\configs\suplstart3.dat"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/privacyprotocolmodule/test/te_lbsnetworkprivacy/group/te_networkprivacysuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,32 @@
+;
+; Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/privacyprotocolmodule/test/te_lbsnetworkprivacy/group/te_networkprivacysuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_networkprivacysuite.exe"-"c:\sys\bin\te_networkprivacysuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_dummynetgateway.exe"-"c:\sys\bin\te_dummynetgateway.exe"
+
+; test "te_lbsnetworkprivacytest"
+;
+; test scripts
+"..\scripts\te_networkprivacysuite.script"-"c:\testdata\scripts\te_networkprivacysuite.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsnetworkprivacy\testdata\te_networkprivacysuite.ini"-"c:\testdata\configs\te_networkprivacysuite.ini"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/privacyprotocolmodule/test/te_lbsprivfwcap/group/lbsprivfwcap.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,45 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/privacyprotocolmodule/test/te_lbsprivfwcap/group/lbsprivfwcap.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\Cap_lbsprivfwcap.exe"-"c:\sys\bin\Cap_lbsprivfwcap.exe"
+
+; TEF server dependencies
+
+; test "te_lbsprivfwcaptest"
+;
+; test scripts
+"..\scripts\lbsprivfwcap.script"-"c:\testdata\scripts\lbsprivfwcap.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00000002_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00000002_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00000010_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00000010_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00002010_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00002010_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00020000_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00020000_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00020010_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00020010_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00022000_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00022000_lbsprivfwcapSub.script"
+"\sf\os\lbs\networkprotocolmodules\privacyprotocolmodule\test\te_lbsprivfwcap\scripts\Cap_00022010_lbsprivfwcapSub.script"-"c:\testdata\scripts\Cap_00022010_lbsprivfwcapSub.script"
+"\sf\os\lbs\lbstest\lbstestproduct\lbsprivacyfw\lbsprivfwtest\testdata\lbsprivfw.ini"-"c:\testdata\configs\lbsprivfw.ini"
+
+;
+; This test also uses the Privacy Framework Integration test harness, so add here.
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\lbsprivfwtestserver.exe"-"c:\sys\bin\lbsprivfwtestserver.exe"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/suplprotocolmodule/HostSettingsApi/test/group/t_lbshostsettingssupl.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,47 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/suplprotocolmodule/hostsettingsapi/test/group/t_lbshostsettingssupl.pkg
+;
+; Note, this contains 2 TEF servers generally pkg files contain just the 1. However this test folder contains 2 TEF servers, and only 1 pkg file is allowed.
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\t_lbshostsettingssupl.exe"-"c:\sys\bin\t_lbshostsettingssupl.exe"
+
+; TEF server dependencies
+
+; test "te_supllbsapitest"
+;
+; test scripts
+"..\script\SuplLbsApiTest.script"-"c:\testdata\scripts\SuplLbsApiTest.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\suplprotocolmodule\HostSettingsAPI\test\config\supllbsapitest.ini"-"c:\testdata\configs\supllbsapitest.ini"
+
+
+; TEF server
+"\epoc32\release\armv5\urel\t_lbshostsettingssuplasync.exe"-"c:\sys\bin\t_lbshostsettingssuplasync.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\t_lbshostsettingssuplobs.exe"-"c:\sys\bin\t_lbshostsettingssuplobs.exe"
+
+; test "te_supllbsapiasynctest"
+;
+; test scripts
+"..\script\SuplLbsApiTestASync.script"-"c:\testdata\scripts\SuplLbsApiTestASync.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\suplprotocolmodule\HostSettingsAPI\test\config\supllbsapitest.ini"-"c:\testdata\configs\supllbsapitest.ini"
--- a/networkprotocolmodules/suplprotocolmodule/SuplConnectionManager/src/socketwriter.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/suplprotocolmodule/SuplConnectionManager/src/socketwriter.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -191,6 +191,8 @@
 	
 	if (connectionType == TLbsHostSettingsSupl::ELbsConnectionTypeInvalid)
 		{
+	    SUPLLOG(ELogP1, "connectionType is TLbsHostSettingsSupl::ELbsConnectionTypeInvalid\n");
+
 		iConnection.Start(iStatus);
 		}
 	else
@@ -198,6 +200,7 @@
 		TCommDbConnPref prefs;
 		prefs.SetIapId(ap);
 		prefs.SetDialogPreference(ECommDbDialogPrefDoNotPrompt);
+		SUPLLOG2(ELogP1, "iConnection.Start(ap=%d)\n", ap);
 		iConnection.Start(prefs, iStatus);
 		}
 
@@ -224,7 +227,7 @@
 			}
 		else
 			{
-			SUPLLOG(ELogP1, "CSocketWriterBase::RunL() Connection Error(KErrCouldNotConnect)\n");
+			SUPLLOG2(ELogP1, "CSocketWriterBase::RunL() Connection Error(KErrCouldNotConnect) iStatus = %d\n", iStatus);
 			iObserver.ConnectionError(KErrCouldNotConnect, iCallbackId, iLastSessionId, cleanup);
 			}
 		break;
--- a/networkprotocolmodules/suplprotocolmodule/SuplProtocol/src/suplmolrfsmsession.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/suplprotocolmodule/SuplProtocol/src/suplmolrfsmsession.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -142,9 +142,24 @@
 		TLbsHostSettingsSupl slpSettings;
 		TLbsHostSettingsId 	settingsId;
 		// Get the default SLP if one exists
+		// jcm
 		err = iSlpSettingsStore->GetDefaultHostSettings(slpSettings, settingsId);
 		if (KErrNone == err)
 			{
+		    TLbsHostNameAddress hostNameAddress;
+		    slpSettings.GetHostNameAddress(hostNameAddress);
+		    //TBuf<128> name;
+		    //name.Copy(hostNameAddress);
+		    SUPLLOG2_L8(ELogP1, "Host name address = %S\n", &hostNameAddress);
+	                   
+		    TLbsHostName hostName;
+		    slpSettings.GetName(hostName);
+	        //name.Copy(hostName);
+		    SUPLLOG2_L8(ELogP1, "Host name  = %S\n", &hostName);
+		    
+		    SUPLLOG2(ELogP1, "SettingsId=%d\n",settingsId.iUid );
+
+	        
 			aHostId = settingsId;
 			hostFound = ETrue;
 			}
Binary file networkprotocolmodules/suplprotocolmodule/conf/suplprotocolmodule.confml has changed
--- a/networkprotocolmodules/suplproxyprotocolmodule/clientapi/suplposmsgpluginapi/src/epos_comasuplreqasstdata.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/suplproxyprotocolmodule/clientapi/suplposmsgpluginapi/src/epos_comasuplreqasstdata.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -127,7 +127,11 @@
     		aSatInfo.Reset();
     		for(TInt i = 0; i<noOfElems; i++)
     			{
-    			aSatInfo.Append(iSatInfo[i]);		
+    			TInt err = aSatInfo.Append(iSatInfo[i]);
+				if(err != KErrNone)
+					{
+					return err;
+					}
     			}    		
     		return KErrNone;
     		}
@@ -150,7 +154,12 @@
 		
     	for(TInt i = 0; i<noOfElems; i++)
 			{
-				iSatInfo.Append(aSatInfo[i]);		
+				TInt err = iSatInfo.Append(aSatInfo[i]);
+				if( err != KErrNone )
+					{
+					// Nothing can be done
+					return;
+					}
 			}   
 			 	
 		iSatInfoPresent = ETrue;	
@@ -174,7 +183,7 @@
 		iSatInfo.Reset();
 		for(TInt i=0; i< aNaviModel.iSatInfo.Count();++i)
 			{
-				iSatInfo.Append(aNaviModel.iSatInfo[i]);
+				TRAP_IGNORE( iSatInfo.AppendL(aNaviModel.iSatInfo[i]) );
 			}
 			
 		}
Binary file networkprotocolmodules/suplproxyprotocolmodule/suplproxyprotocolmodule/conf/suplproxyprotocolmodule.confml has changed
--- a/networkprotocolmodules/suplproxyprotocolmodule/suplproxyprotocolmodule/src/suplproxymodule.cpp	Wed Aug 18 11:11:46 2010 +0300
+++ b/networkprotocolmodules/suplproxyprotocolmodule/suplproxyprotocolmodule/src/suplproxymodule.cpp	Fri Sep 17 08:37:32 2010 +0300
@@ -572,7 +572,12 @@
 		
 		// Add this request to the queue of outstanding requests
 		LBSLOG2(ELogP1, "CSuplProxyProtocol::RequestNetworkLocation() Adding sppm session object 0x%x to array\n", aSessionId);
-		iLbsNetSessions.Append(netSession);    
+		TInt err = iLbsNetSessions.Append(netSession);
+		if(KErrNone != err)
+		    {
+		    LBSLOG(ELogP1, "CSuplProxyProtocol::RequestNetworkLocation() - iLbsNetSessions.Append failed!!\n");
+            delete netSession;
+		    }
     	}
 
     //Create the prioritised list of positioning methods
@@ -733,7 +738,13 @@
 
 	                // Add this request to the queue of outstanding requests
 					LBSLOG2(ELogP1, "CSuplProxyProtocol::RequestSelfLocation() Adding sppm session object 0x%x to array\n", aSessionId);
-	                iLbsNetSessions.Append(netSession);					
+	                TInt err = iLbsNetSessions.Append(netSession);
+	                if(KErrNone != err)
+	                    {
+		    			LBSLOG(ELogP1, "CSuplProxyProtocol::RequestSelfLocation() - iLbsNetSessions.Append failed!!\n");
+	                    delete netSession;
+	                    return;
+	                    }
                 	}
                 
                 //Inform LBS of the start of an MOLR - TB 
@@ -990,7 +1001,19 @@
 				{
 				netSession->SetExtRequestInfo(extReqInfo);
 				LBSLOG2(ELogP1, "CSuplProxyProtocol::ProcessRequest() Adding sppm session object 0x%x to array\n", sessionId);
-				iLbsNetSessions.Append(netSession);
+				TInt err = iLbsNetSessions.Append(netSession);
+				if (err != KErrNone)
+					{
+					// A problem occured and the request could not be added to the buffer
+					LBSLOG_WARN2(ELogP1, "CSuplProxyProtocol::ProcessRequest() - iLbsNetSessions.Append failed!! - (%d)\n", err);
+					if (aRequest->IsResponseRequired())
+						{
+						aRequest->CompleteRequest(err);
+						}
+                    delete netSession;
+					delete aRequest;
+					return;
+					}
 				}
         	}
         }
@@ -1145,7 +1168,12 @@
 			netSession->SetPosSessionStarted(ETrue);
 			netSession->SetSessionStarted();
 			LBSLOG2(ELogP1, "CSuplProxyProtocol::NotifySubSessionOpen() Adding sppm session object 0x%x to array\n", sessionId);
-			iLbsNetSessions.Append(netSession);
+			TInt err = iLbsNetSessions.Append(netSession);
+            if(KErrNone != err)
+                   {
+	    		   LBSLOG(ELogP1, "CSuplProxyProtocol::NotifySubSessionOpen() - iLbsNetSessions.Append failed!!\n");
+                   delete netSession;
+                   }
         	}
         //Update LBS of the currently active services including this new session type
         StatusUpdate(MLbsNetworkProtocolObserver2::EServiceTriggeredMolr,ETrue);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/networkprotocolmodules/suplproxyprotocolmodule/test/te_suplproxyprotocolmodule/group/te_suplproxypmsuite.pkg	Fri Sep 17 08:37:32 2010 +0300
@@ -0,0 +1,36 @@
+;
+; Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available"
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description: Package file.
+;
+; /sf/os/lbs/networkprotocolmodules/suplproxyprotocolmodule/test/te_suplproxyprotocolmodule/group/te_suplproxypmsuite.pkg
+;
+
+; TEF server
+"\epoc32\release\armv5\urel\te_suplproxypmsuite.exe"-"c:\sys\bin\te_suplproxypmsuite.exe"
+
+; TEF server dependencies
+"\epoc32\release\armv5\urel\te_sppm_dummynetgateway.exe"-"c:\sys\bin\te_sppm_dummynetgateway.exe"
+"\epoc32\release\armv5\urel\te_lbssupltiapitestimplementation.dll"-"c:\sys\bin\te_lbssupltiapitestimplementation.dll"
+"\epoc32\release\armv5\urel\te_sppmreflocplugin.dll"-"c:\sys\bin\te_sppmreflocplugin.dll"
+"\epoc32\data\Z\resource\plugins\te_lbssupltiapitestimplementation.rsc"-"c:\resource\plugins\te_lbssupltiapitestimplementation.rsc"
+"\epoc32\data\Z\resource\plugins\te_sppmreflocplugin.rsc"-"c:\resource\plugins\te_sppmreflocplugin.rsc"
+
+; test "te_suplproxypmtest"
+;
+; test scripts
+"..\scripts\te_suplproxypmsuite.script"-"c:\testdata\scripts\te_suplproxypmsuite.script"
+
+; test dependencies
+"\sf\os\lbs\networkprotocolmodules\suplproxyprotocolmodule\test\te_suplproxyprotocolmodule\testdata\te_suplproxypmsuite.ini"-"c:\testdata\configs\te_suplproxypmsuite.ini"
+
--- a/package_definition.xml	Wed Aug 18 11:11:46 2010 +0300
+++ b/package_definition.xml	Fri Sep 17 08:37:32 2010 +0300
@@ -17,9 +17,6 @@
       <component id="networkpositioningmodule" name="Network Positioning Module" introduced="^3" purpose="optional" class="plugin">
         <unit bldFile="datasourcemodules/networkpositioningmodule/group" mrp="datasourcemodules/networkpositioningmodule/group/lbs_network_positioning_module.mrp"/>
       </component>
-      <component id="npeintegmodule" name="NPE Integration Module" introduced="^3" purpose="optional" class="plugin">
-        <unit bldFile="datasourcemodules/npeintegmodule/group" mrp="datasourcemodules/npeintegmodule/group/lbs_npeintegrationmodule.mrp"/>
-      </component>
       <component id="locationapesuplpsy" name="APE SUPL Positioning Module" introduced="^3" purpose="optional" class="plugin">
         <unit bldFile="datasourcemodules/locationapesuplpsy/group" mrp="datasourcemodules/locationapesuplpsy/group/lbs_ape_supl_positioning_module.mrp"/>
       </component>
@@ -38,6 +35,9 @@
       </component>
     </collection>
     <collection id="lbstest" name="Locating Services Tests" level="application-interface">
+      <component id="testagpsmodules" name="Test AGPS modules" introduced="^3" purpose="development" class="plugin">
+		  <unit bldFile="lbstest/datasourcemodules/group" mrp="lbstest/datasourcemodules/group/lbs_testdatasourcemodules.mrp"/>
+      </component>
       <component id="lbstestproduct" name="LBS Test Product" introduced="9.2" purpose="development" filter="test">
         <unit mrp="lbstest/lbstestproduct/group/lbs_testproduct.mrp" bldFile="lbstest/lbstestproduct/group"/>
       </component>