17 |
17 |
18 //! @File |
18 //! @File |
19 //! @SYMTestSuiteName LBS-AgpsPsySuite |
19 //! @SYMTestSuiteName LBS-AgpsPsySuite |
20 //! @SYMScriptTestEnvironment TestExecute using te_lbsagpspsysuite.script |
20 //! @SYMScriptTestEnvironment TestExecute using te_lbsagpspsysuite.script |
21 |
21 |
22 |
22 //The quality profile and the internalapi buses are directly initialized from the test |
23 //While loading the suite, we shutdown the whole LBS leaving the root process only. |
23 //without starting lbsroot [so lbsprofile.ini & agpsintegmodule.ini have to be copied to the private folder of the test process] |
|
24 PREFIX RUN_UTILS |
|
25 MkDir c:\private\10285acb |
|
26 MkDir c:\private\10285acb\lbs |
|
27 MkDir c:\private\10285acb\lbs\locmods |
|
28 DeleteFile c:\private\10285acb\lbs\lbsprofile.ini |
|
29 DeleteFile c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
|
30 CopyFile c:\testdata\configs\te_lbsagpspsy_lbsprofile.ini c:\private\10285acb\lbs\lbsprofile.ini |
|
31 CopyFile c:\testdata\configs\te_lbsagpspsy_agpsintegmodule.ini c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
|
32 REMOVE_PREFIX |
|
33 |
24 LOAD_SUITE te_lbsagpspsysuite |
34 LOAD_SUITE te_lbsagpspsysuite |
25 |
|
26 |
35 |
27 PRINT RUN ALL te_lbsagpspsysuite TESTS |
36 PRINT RUN ALL te_lbsagpspsysuite TESTS |
28 |
37 |
29 |
38 |
30 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 |
39 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 |
490 //! @SYMAuthor LornaM |
499 //! @SYMAuthor LornaM |
491 RUN_TEST_STEP 300 te_lbsagpspsysuite PowerAdvice c:\testdata\configs\te_lbsagpspsy.ini Section0 |
500 RUN_TEST_STEP 300 te_lbsagpspsysuite PowerAdvice c:\testdata\configs\te_lbsagpspsy.ini Section0 |
492 END_TESTCASE LBS-AgpsPsySuite-PowerAdvice-Section0 |
501 END_TESTCASE LBS-AgpsPsySuite-PowerAdvice-Section0 |
493 |
502 |
494 |
503 |
495 // Create dir for new device caps file in case it doesn't already exist |
|
496 RUN_UTILS MkDir c:\private\10282253\ |
|
497 RUN_UTILS MkDir c:\private\10282253\lbs\ |
|
498 RUN_UTILS MkDir c:\private\10282253\lbs\locmods\ |
|
499 RUN_UTILS MkDir c:\private\10282253\lbs\locmods\temp |
|
500 // copy current device caps file if there is one, to replace when finished |
|
501 RUN_UTILS CopyFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini c:\private\10282253\lbs\locmods\temp\sirfdatasource_original.ini |
|
502 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\*.ini |
|
503 |
|
504 |
|
505 //------------------------------- Device Caps TB ONLY |
504 //------------------------------- Device Caps TB ONLY |
506 |
505 |
507 // Set up the device caps (lbs is restarted by test case so caps are re-parsed): |
506 // Set up the device caps (lbs is restarted by test case so caps are re-parsed): |
508 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_TB.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
507 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_TB.ini c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
509 |
508 |
510 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
509 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
511 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
510 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
512 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
511 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
513 //! @SYMTestActions 1. Create gps positioner and update request listener. |
512 //! @SYMTestActions 1. Create gps positioner and update request listener. |
722 |
721 |
723 |
722 |
724 |
723 |
725 //------------------------------- Device Caps TA |
724 //------------------------------- Device Caps TA |
726 |
725 |
727 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_ta.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
726 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_ta.ini c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
728 |
727 |
729 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
728 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
730 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
729 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
731 //! @SYMTestCaseDesc Verify correct merging of requests (single Autonomous request) |
730 //! @SYMTestCaseDesc Verify correct merging of requests (single Autonomous request) |
732 //! @SYMTestActions 1. Create gps positioner and update request listener. |
731 //! @SYMTestActions 1. Create gps positioner and update request listener. |
865 |
864 |
866 |
865 |
867 |
866 |
868 //------------------------------- Device Caps TA || TB |
867 //------------------------------- Device Caps TA || TB |
869 |
868 |
870 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_exclusive.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
869 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_exclusive.ini c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
871 |
870 |
872 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
871 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
873 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
872 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
874 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
873 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
875 //! @SYMTestActions 1. Create gps positioner and update request listener. |
874 //! @SYMTestActions 1. Create gps positioner and update request listener. |
1165 |
1164 |
1166 |
1165 |
1167 |
1166 |
1168 //------------------------------- Device Caps TB && TA |
1167 //------------------------------- Device Caps TB && TA |
1169 |
1168 |
1170 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_simultaneous.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
1169 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_simultaneous.ini c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
1171 |
1170 |
1172 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
1171 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
1173 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
1172 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
1174 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
1173 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
1175 //! @SYMTestActions 1. Create gps positioner and update request listener. |
1174 //! @SYMTestActions 1. Create gps positioner and update request listener. |
1461 //! @SYMCreationDate 21/11/2008 |
1460 //! @SYMCreationDate 21/11/2008 |
1462 //! @SYMAuthor LornaM |
1461 //! @SYMAuthor LornaM |
1463 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-A-TA |
1462 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-A-TA |
1464 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TA |
1463 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TA |
1465 |
1464 |
1466 |
1465 RUN_UTILS DeleteFile c:\private\10285acb\lbs\lbsprofile.ini |
1467 // TidyUp: |
1466 RUN_UTILS DeleteFile c:\private\10285acb\lbs\locmods\agpsintegmodule.ini |
1468 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
1469 RUN_UTILS CopyFile c:\private\10282253\lbs\locmods\temp\sirfdatasource_original.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
1470 |
1467 |
1471 PRINT COMPLETE ALL te_lbsagpspsysuite TESTS |
1468 PRINT COMPLETE ALL te_lbsagpspsysuite TESTS |
1472 |
1469 |
1473 |
1470 |