lbstest/lbstestproduct/lbsclient/scripts/lbsclientlastknownpos.script
branchRCL_3
changeset 52 29dbbeac905d
parent 0 9cfd9a3ee49c
child 54 0c2046328c85
equal deleted inserted replaced
39:a3482a8f15d8 52:29dbbeac905d
   567 RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos-0104
   567 RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos-0104
   568 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos
   568 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos
   569 
   569 
   570 END_TESTCASE LBS-Client-LastKnownPos-0014
   570 END_TESTCASE LBS-Client-LastKnownPos-0014
   571 
   571 
   572 
   572 START_TESTCASE LBS-Client-LastKnownPos-0801
       
   573 
       
   574 //!@SYMTestCaseID			LBS-Client-LastKnownPos-0801
       
   575 //!@SYMTestCaseDesc			Confirm Last Known Position published to P&S property
       
   576 //!
       
   577 //!@SYMTestActions			1. Request a location update (passing in a TPositionInfo) and wait for it to complete.
       
   578 //!					2. Set up Last Known Position P&S Property Listener
       
   579 //!					3. Request a location update via RPositioner, wait for it to complete and for the P&S property to be updated.
       
   580 //!					4. Comparet the content and timestamp of the position returned by RPositioner and P&S
       
   581 //!					5. Store the returned position for the next test	
       
   582 //!
       
   583 //!@SYMTestExpectedResults	Location Information received via the two APIs is identical.
       
   584 //!
       
   585 //!@SYMPREQ					PREQ786
       
   586 //!@SYMREQ 					REQ786.08
       
   587 //!@SYMREQ 					REQ786.19
       
   588 //!@SYMPREQ					PREQ89
       
   589 //!@SYMREQ 					REQ 89.03
       
   590 //!@SYMREQ 					REQ 89.07
       
   591 //!@SYMREQ 					REQ 89.09
       
   592 //!
       
   593 //!@SYMTestType				CIT
       
   594 //!@SYMTestPriority			1
       
   595 //!@SYMTestStatus			Implemented
       
   596 
       
   597 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_InstallScheduler
       
   598 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos
       
   599 RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos-0801
       
   600 
       
   601 END_TESTCASE LBS-Client-LastKnownPos-0801
       
   602 
       
   603 
       
   604 
       
   605 START_TESTCASE LBS-Client-LastKnownPos-0802
       
   606 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_StopLbs
       
   607 DELAY 10
       
   608 RUN_TEST_STEP 030 LbsClientTestServer LbsStep_StartLbs
       
   609 
       
   610 //!@SYMTestCaseID			LBS-Client-LastKnownPos-0802
       
   611 //!@SYMTestCaseDesc			Confirm P&S Last Known Position available following LBS re-start
       
   612 //!
       
   613 //!@SYMTestActions			1. Following LBS restart, read Last Known Position P&S key.
       
   614 //!							2. confirm position/timestamp info is as previously stored.
       
   615 //!
       
   616 //!@SYMTestExpectedResults	Location Information is received and is correct. 
       
   617 //!
       
   618 //!
       
   619 //!@SYMTestType				CIT
       
   620 //!@SYMTestPriority			1
       
   621 //!@SYMTestStatus			Implemented
       
   622 
       
   623 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_InstallScheduler
       
   624 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos
       
   625 RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPos c:\testdata\configs\LbsClientLastKnownPos.ini LBS-LastKnownPos-0802
       
   626 
       
   627 END_TESTCASE LBS-Client-LastKnownPos-0802
   573 
   628 
   574 
   629 
   575 PRINT Stop LBS
   630 PRINT Stop LBS
   576 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_StopLbs
   631 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_StopLbs
   577 
   632