installationservices/swi/test/tautosigning/tautosigning.script
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 //
     1 //
     2 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 // All rights reserved.
     3 // All rights reserved.
     4 // This component and the accompanying materials are made available
     4 // This component and the accompanying materials are made available
     5 // under the terms of the License "Eclipse Public License v1.0"
     5 // under the terms of the License "Eclipse Public License v1.0"
     6 // which accompanies this distribution, and is available
     6 // which accompanies this distribution, and is available
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    14 // Description:
    14 // Description:
    15 //
    15 //
    16 
    16 
    17 PRINT Run all SWIS tests
    17 PRINT Run all SWIS tests
    18 LOAD_SUITE tuiscriptadaptors
    18 LOAD_SUITE tuiscriptadaptors
    19 LOAD_SUITE tSisRegistryTest
       
    20 
    19 
    21 //! @file
    20 //! @file
    22 //! @SYMTestCaseID		API-SEC-TAUTOSIGNING-UNSIGNED-0001
    21 //! @SYMTestCaseID		API-SEC-TAUTOSIGNING-UNSIGNED-0001
    23 //! @SYMTestCaseDesc		Ensures unsigned SIS files cannot be installed when automatic signing is turned on
    22 //! @SYMTestCaseDesc		Ensures unsigned SIS files cannot be installed when automatic signing is turned on
    24 //! @SYMTestPriority		High
    23 //! @SYMTestPriority		High
   217 START_TESTCASE API-SEC-TAUTOSIGNING-SIGNED-0006
   216 START_TESTCASE API-SEC-TAUTOSIGNING-SIGNED-0006
   218 
   217 
   219 RUN_TEST_STEP 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini 3-6signeduserunauthorised
   218 RUN_TEST_STEP 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini 3-6signeduserunauthorised
   220 
   219 
   221 END_TESTCASE API-SEC-TAUTOSIGNING-SIGNED-0006
   220 END_TESTCASE API-SEC-TAUTOSIGNING-SIGNED-0006
   222 
       
   223 //! @file
       
   224 //! @SYMTestCaseID		API-SEC-TAUTOSIGNING-SELFSIGNED-0007
       
   225 //! @SYMTestCaseDesc		Installs/Uninstalls a Self-Signed SIS file with AllowSelfSigned 
       
   226 //! 						Central Reposatory setting as True. Then change the Central Reposatory 
       
   227 //! 						setting as False and then Install Again.
       
   228 //! @SYMTestPriority		Low
       
   229 //! @SYMTestStatus		3. Released
       
   230 //! @SYMTestActions		Attempts an install followed by an uninstall. Change the Central Reposatory 
       
   231 //! 					setting. Attempts an install.
       
   232 //! @SYMTestExpectedResults	Sucessful Install, Sucessful Uninstall. Sucessful Change Setting. Unsucessful Install.
       
   233 //! @SYMPREQ			PREQ7308
       
   234 //! @SYMTestType		UT
       
   235 
       
   236 START_TESTCASE API-SEC-TAUTOSIGNING-SELFSIGNED-0007
       
   237 
       
   238 RUN_TEST_STEP 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini 2-2selfsigneddata
       
   239 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tautosigning\scripts\tautosigning.ini 2-2selfsigneddata
       
   240 RUN_TEST_STEP 100 tSisRegistryTest SetCenRepSetting z:\tswi\tautosigning\scripts\tautosigning.ini ResetKeyVAlue
       
   241 RUN_TEST_STEP_RESULT 106 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini 2-2selfsigneddata
       
   242 RUN_TEST_STEP 100 tSisRegistryTest SetCenRepSetting z:\tswi\tautosigning\scripts\tautosigning.ini SetKeyVAlue
       
   243 
       
   244 END_TESTCASE API-SEC-TAUTOSIGNING-SELFSIGNED-0007
       
   245 
       
   246 //! @file
       
   247 //! @SYMTestCaseID		API-SEC-TAUTOSIGNING-SELFSIGNED-0008
       
   248 //! @SYMTestCaseDesc		Installs/Uninstalls a Embedded Self-Signed SIS file with AllowSelfSigned 
       
   249 //! 						Central Reposatory setting as True. Then change the Central Reposatory 
       
   250 //! 						setting as False and then Install Again.
       
   251 //! @SYMTestPriority		Low
       
   252 //! @SYMTestStatus		3. Released
       
   253 //! @SYMTestActions		Attempts an install followed by an uninstall. Change the Central Reposatory 
       
   254 //! 					setting. Attempts an install.
       
   255 //! @SYMTestExpectedResults	Sucessful Install, Sucessful Uninstall. Sucessful Change Setting. Unsucessful Install.
       
   256 //! @SYMPREQ			PREQ7308
       
   257 //! @SYMTestType		UT
       
   258 
       
   259 START_TESTCASE API-SEC-TAUTOSIGNING-SELFSIGNED-0008
       
   260 
       
   261 RUN_TEST_STEP 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini embedselfsigneddata
       
   262 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tautosigning\scripts\tautosigning.ini embedselfsigneddata
       
   263 RUN_TEST_STEP 100 tSisRegistryTest SetCenRepSetting z:\tswi\tautosigning\scripts\tautosigning.ini ResetKeyVAlue
       
   264 RUN_TEST_STEP_RESULT 106 100 tuiscriptadaptors CheckedInstallStep z:\tswi\tautosigning\scripts\tautosigning.ini embedselfsigneddata
       
   265 RUN_TEST_STEP 100 tSisRegistryTest SetCenRepSetting z:\tswi\tautosigning\scripts\tautosigning.ini SetKeyVAlue
       
   266 
       
   267 END_TESTCASE API-SEC-TAUTOSIGNING-SELFSIGNED-0008