15 // |
15 // |
16 //! @File |
16 //! @File |
17 //! @SYMTestSuiteName lbsstandaloneprivacysuitevariant2.script |
17 //! @SYMTestSuiteName lbsstandaloneprivacysuitevariant2.script |
18 //! @SYMScriptTestEnvironment |
18 //! @SYMScriptTestEnvironment |
19 |
19 |
20 PRINT Run all LbsRomSuiteTestServer Suite Tests |
20 PRINT Run all lbsromsuitetestserver Suite Tests |
21 |
21 |
22 LOAD_SUITE LbsRomSuiteTestServer -SharedData |
22 LOAD_SUITE lbsromsuitetestserver -SharedData |
23 |
23 |
24 //Before we start LBS, select the test A-GPS integration module and network reg status txt file to use. |
24 //Before we start LBS, select the test A-GPS integration module and network reg status txt file to use. |
25 PREFIX RUN_UTILS |
25 PREFIX RUN_UTILS |
26 MkDir c:\private\10282253\ |
26 MkDir c:\private\10282253\ |
27 MkDir c:\private\10282253\lbs\ |
27 MkDir c:\private\10282253\lbs\ |
29 CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
29 CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
30 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt |
30 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt |
31 REMOVE_PREFIX |
31 REMOVE_PREFIX |
32 |
32 |
33 // Selecting the default admin values will ensure the AGPS module requests assistance data. |
33 // Selecting the default admin values will ensure the AGPS module requests assistance data. |
34 //RUN_TEST_STEP 010 LbsRomSuiteTestServer LbsStep_ResetDefaultAdmin |
34 //RUN_TEST_STEP 010 lbsromsuitetestserver LbsStep_ResetDefaultAdmin |
35 |
35 |
36 // This step is used to configure lbs and root to be transient processes |
36 // This step is used to configure lbs and root to be transient processes |
37 // and also the processes that are startedup by root |
37 // and also the processes that are startedup by root |
38 RUN_TEST_STEP 030 LbsRomSuiteTestServer LbsStep_SetupStandalonePrivacyMode |
38 RUN_TEST_STEP 030 lbsromsuitetestserver LbsStep_SetupStandalonePrivacyMode |
39 |
39 |
40 // - Instead of using a privacy request which actually starts up the LBS, we directly |
40 // - Instead of using a privacy request which actually starts up the LBS, we directly |
41 // start lbs which in turn brings up the root process [configured in the above step] |
41 // start lbs which in turn brings up the root process [configured in the above step] |
42 RUN_TEST_STEP 030 LbsRomSuiteTestServer LbsStep_StartLbs |
42 RUN_TEST_STEP 030 lbsromsuitetestserver LbsStep_StartLbs |
43 |
43 |
44 |
44 |
45 |
45 |
46 START_TESTCASE LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
46 START_TESTCASE LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
47 //! @SYMTestCaseID LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
47 //! @SYMTestCaseID LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
60 //! no longer loaded. |
60 //! no longer loaded. |
61 //! @SYMTestType CIT |
61 //! @SYMTestType CIT |
62 //! @SYMCreationDate 31/3/2009 |
62 //! @SYMCreationDate 31/3/2009 |
63 //! @SYMAuthor arunkumarpandian |
63 //! @SYMAuthor arunkumarpandian |
64 //! @SYMTestStatus 3. Released |
64 //! @SYMTestStatus 3. Released |
65 RUN_TEST_STEP 100 LbsRomSuiteTestServer PositionerTestStep c:\testdata\configs\lbsromspecificsuite.ini LBS-STANDALONEPRIVACY--CHECKLOCMONITOR-0001 |
65 RUN_TEST_STEP 100 lbsromsuitetestserver PositionerTestStep c:\testdata\configs\lbsromspecificsuite.ini LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
66 END_TESTCASE LBS-STANDALONEPRIVACY--CHECKLOCMONITOR-0001 |
66 END_TESTCASE LBS-STANDALONEPRIVACY-CHECKLOCMONITOR-0001 |
67 |
67 |
68 |
68 |
69 |
69 |
70 DELAY 2000 |
70 DELAY 2000 |
71 //PRINT Stop LBS |
71 //PRINT Stop LBS |
72 RUN_TEST_STEP 020 LbsRomSuiteTestServer LbsStep_StopLbs |
72 RUN_TEST_STEP 020 lbsromsuitetestserver LbsStep_StopLbs |
73 |
73 |
74 // Re-select the real A-GPS integration module. |
74 // Re-select the real A-GPS integration module. |
75 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
75 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
76 |
76 |
77 // Delete network registration status text file |
77 // Delete network registration status text file |
78 RUN_UTILS DeleteFile c:\config.txt |
78 RUN_UTILS DeleteFile c:\config.txt |
79 |
79 |
80 PRINT LbsRomSuiteTestServer Completed |
80 PRINT lbsromsuitetestserver Completed |
81 |
81 |
82 |
82 |
83 |
83 |