installationservices/swi/test/tsisregistrytest/Scripts/tsisregistrytest.script
changeset 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the License "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //
       
    17 PRINT Run all SisRegistry tests
       
    18 //
       
    19 LOAD_SUITE tSisRegistryTest
       
    20 LOAD_SUITE tuiscriptadaptors
       
    21 //
       
    22 #
       
    23 
       
    24 // after startup wait for registry to shutdown so it can restart and reinitialize with the test registry files
       
    25 DELAY 5000
       
    26 
       
    27 RUN_TEST_STEP 100 tSisRegistryTest BackupRegistry
       
    28 
       
    29 // Time how long it takes to regenerate the cache 
       
    30 RUN_TEST_STEP 100 tSisRegistryTest RomStubPerformanceCheck
       
    31 
       
    32 // wait for the registry to shutdown
       
    33 DELAY 5000
       
    34 
       
    35 //! @file
       
    36 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0001
       
    37 //! @SYMTestCaseDesc		Create the registry test data by installing the packages
       
    38 //! @SYMTestPriority		Low
       
    39 //! @SYMTestActions		Prepares the test data by installing the packages usnig SWI
       
    40 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
    41 //! @SYMREQ			REQ3464
       
    42 //! @SYMTestType		UT
       
    43 
       
    44 // This TestCase consists of a number of other TestCases in the following file and therefore this does not have a START and END statement
       
    45 RUN_SCRIPT z:\tswi\tsisregistrytest\scripts\generateregistrytestdata.script
       
    46 
       
    47 
       
    48 //! @file
       
    49 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0002
       
    50 //! @SYMTestCaseDesc		Checks that the list of installed uids matchs the expected list of installed uids
       
    51 //! @SYMTestPriority		Low
       
    52 //! @SYMTestActions		Checks that the list of installed uids matchs the expected list of installed uids
       
    53 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
    54 //! @SYMREQ			REQ3464
       
    55 //! @SYMTestType		UT
       
    56 
       
    57 START_TESTCASE API-SEC-SISREGISTRY-0002
       
    58 
       
    59 RUN_TEST_STEP 100 tSisRegistryTest InstalledUids z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini InstalledUids
       
    60 
       
    61 END_TESTCASE API-SEC-SISREGISTRY-0002
       
    62 
       
    63 
       
    64 //! @file
       
    65 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0003
       
    66 //! @SYMTestCaseDesc		Checks that the list of installed packages matchs the expected list of installed packages
       
    67 //! @SYMTestPriority		Low
       
    68 //! @SYMTestActions		Checks that the list of installed packages matchs the expected list of installed packages
       
    69 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
    70 //! @SYMREQ			REQ3464
       
    71 //! @SYMTestType		UT
       
    72 
       
    73 START_TESTCASE API-SEC-SISREGISTRY-0003
       
    74 
       
    75 RUN_TEST_STEP 100 tSisRegistryTest InstalledPackages z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini InstalledPackages
       
    76 
       
    77 END_TESTCASE API-SEC-SISREGISTRY-0003
       
    78 
       
    79  
       
    80 // now check things are *not* reported as installed.
       
    81 RUN_SCRIPT z:\tswi\tsisregistrytest\scripts\notinstalled.script
       
    82 
       
    83 
       
    84 //! @file
       
    85 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0004
       
    86 //! @SYMTestCaseDesc		Checks that the correct filename for a sid 
       
    87 //! @SYMTestPriority		Low
       
    88 //! @SYMTestActions		Requests a filename for a sid and should be that of expected
       
    89 //! @SYMTestExpectedResults	The test completes with KErrNone completion code
       
    90 //! @SYMDEF 			DEF052672
       
    91 //! @SYMTestType		UT
       
    92 
       
    93 START_TESTCASE API-SEC-SISREGISTRY-0004
       
    94 
       
    95 RUN_TEST_STEP 100 tSisRegistryTest SidToFileName z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini SidAndFilenames
       
    96 
       
    97 END_TESTCASE API-SEC-SISREGISTRY-0004
       
    98 
       
    99  
       
   100 //! @file
       
   101 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0005
       
   102 //! @SYMTestCaseDesc		Gets the hash of a file and compares it with the one returned from registry
       
   103 //! @SYMTestPriority		Medium
       
   104 //! @SYMTestActions		Gets the hash of a file and compares it with the one returned from registry
       
   105 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   106 //! @SYMDEF 			DEF054596
       
   107 //! @SYMTestType		UT
       
   108 
       
   109 START_TESTCASE API-SEC-SISREGISTRY-0005
       
   110 
       
   111 RUN_TEST_STEP 100 tSisRegistryTest FileHash z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini HashAndFile
       
   112 
       
   113 END_TESTCASE API-SEC-SISREGISTRY-0005
       
   114 
       
   115 
       
   116 //! @file
       
   117 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0006
       
   118 //! @SYMTestCaseDesc		Checks that the installed controllers match the list of expected controllers
       
   119 //! @SYMTestPriority		Low
       
   120 //! @SYMTestActions		Checks that each controller in the expected list of controllers is installed
       
   121 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   122 //! @SYMREQ			REQ3464
       
   123 //! @SYMTestType		UT
       
   124 
       
   125 START_TESTCASE API-SEC-SISREGISTRY-0006
       
   126 
       
   127 RUN_TEST_STEP 100 tSisRegistryTest GetControllers z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini GetControllers
       
   128 
       
   129 END_TESTCASE API-SEC-SISREGISTRY-0006
       
   130 
       
   131 
       
   132 //! @file
       
   133 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0007
       
   134 //! @SYMTestCaseDesc		Checks that the installed controllers match the list of expected controllers
       
   135 //! @SYMTestPriority		Low
       
   136 //! @SYMTestActions		Checks that each controller in the expected list of controllers is installed
       
   137 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   138 //! @SYMREQ			REQ3464
       
   139 //! @SYMTestType		UT
       
   140 
       
   141 START_TESTCASE API-SEC-SISREGISTRY-0007
       
   142 
       
   143 RUN_TEST_STEP 100 tSisRegistryTest IsControllerInstalled z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini IsControllerInstalled
       
   144 
       
   145 END_TESTCASE API-SEC-SISREGISTRY-0007
       
   146 
       
   147 
       
   148 //! @file
       
   149 //! @SYMTestCaseID		API-SEC-SISREGISTRY-DEF080947-0001
       
   150 //! @SYMTestCaseDesc		DEF080947: New security API to determine whether a SID is installed
       
   151 //!				Test new RSisRegistrySession::IsSidPresentL API.
       
   152 
       
   153 START_TESTCASE API-SEC-SISREGISTRY-DEF080947-0001
       
   154 
       
   155 RUN_TEST_STEP 100 tSisRegistryTest IsSidPresent z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini IsControllerInstalled
       
   156 
       
   157 END_TESTCASE API-SEC-SISREGISTRY-DEF080947-0001
       
   158 
       
   159 
       
   160 //! @file
       
   161 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0008
       
   162 //! @SYMTestCaseDesc		Checks that specific writable interface operations are policed by Sid 
       
   163 //! @SYMTestPriority		Low
       
   164 //! @SYMTestActions		Call sequentially AddDrive/RemoveDrive and DeleteEntryL API methods to verify these fail
       
   165 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   166 //! @SYMREQ			REQ3464
       
   167 //! @SYMTestType		UT
       
   168 
       
   169 START_TESTCASE API-SEC-SISREGISTRY-0008
       
   170 
       
   171 RUN_TEST_STEP 100 tSisRegistryTest PoliceSids 
       
   172 
       
   173 // wait for the registry to shutdown
       
   174 DELAY 10000
       
   175 
       
   176 END_TESTCASE API-SEC-SISREGISTRY-0008
       
   177 
       
   178 
       
   179 //! @file
       
   180 //! @SYMTestCaseID		API-SEC-SISREGISTRY-DEF123452-0001
       
   181 //! @SYMTestCaseDesc		Checks the number of embedding packages of a given package
       
   182 //! @SYMTestPriority		Medium
       
   183 //! @SYMTestActions		Checks the number of embedding packages of a given package
       
   184 //! @SYMTestExpectedResults	Actual number of embedding packages meets expected
       
   185 //! @SYMDEF			DEF123452
       
   186 //! @SYMTestType		UT
       
   187 
       
   188 START_TESTCASE API-SEC-SISREGISTRY-DEF123452-0001
       
   189 
       
   190 RUN_TEST_STEP 100 tSisRegistryTest EmbeddingPackageStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini EmbeddingPackages
       
   191 
       
   192 // Save a snapshot of the registry we just created
       
   193 RUN_TEST_STEP 100 tSisRegistryTest SaveGeneratedRegistry
       
   194 
       
   195 END_TESTCASE API-SEC-SISREGISTRY-DEF123452-0001
       
   196 
       
   197 
       
   198 //! @file
       
   199 //! @SYMTestCaseID		API-SEC-SISREGISTRY-P1-0010
       
   200 //! @SYMTestCaseDesc		Checks whether the file is tagged as modifiable. 
       
   201 //! @SYMTestPriority		Medium
       
   202 //! @SYMTestActions		Requests file modifiable status and checks that it is the correct one.
       
   203 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   204 //! @SYMDEF 			DEF054596
       
   205 //! @SYMTestType		UT
       
   206 
       
   207 START_TESTCASE API-SEC-SISREGISTRY-P1-0010
       
   208 
       
   209 RUN_TEST_STEP 100 tSisRegistryTest ModifiableFile z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini ModifiableTagAndFile
       
   210 
       
   211 END_TESTCASE API-SEC-SISREGISTRY-P1-0010
       
   212 
       
   213 
       
   214 //! @file
       
   215 //! @SYMTestCaseID		API-SEC-SISREGISTRY-P2-0010
       
   216 //! @SYMTestCaseDesc		Checks whether the IsFileRegistered API correctly functions (negative and positive)
       
   217 //! @SYMTestPriority		Medium
       
   218 //! @SYMTestActions		Requests file presence status for both existing and non-existing file
       
   219 //! @SYMTestExpectedResults	The API returns true for the first case and false for the second one
       
   220 //! @SYMPREQ 			PREQ1269
       
   221 //! @SYMTestType		UT
       
   222 
       
   223 START_TESTCASE API-SEC-SISREGISTRY-P2-0010
       
   224 
       
   225 RUN_TEST_STEP 100 tSisRegistryTest IsFileRegistered z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini FileRegisteredPositive
       
   226 RUN_TEST_STEP 100 tSisRegistryTest IsFileRegistered z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini FileRegisteredNegative
       
   227 
       
   228 END_TESTCASE API-SEC-SISREGISTRY-P2-0010
       
   229 
       
   230 
       
   231 //! @file
       
   232 //! @SYMTestCaseID 		API-SEC-SISREGISTRY-P3-0010
       
   233 //! @SYMTestCaseDesc 		Checks whether the GetComponentIdForUidL API correctly functions (negative and positive)
       
   234 //! @SYMTestPriority 		Medium
       
   235 //! @SYMTestActions 		Requests component id for both existing and missing UID
       
   236 //! @SYMTestExpectedResults 	A component id in the first case and KErrNotFound in the second case
       
   237 //! @SYMPREQ 			PREQ1269
       
   238 //! @SYMTestType 		UT
       
   239 
       
   240 START_TESTCASE API-SEC-SISREGISTRY-P3-0010
       
   241 
       
   242 RUN_TEST_STEP 100 tSisRegistryTest GetComponentIdForUid z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini GetComponentIdForUidPositive
       
   243 RUN_TEST_STEP !Result=-1 100 tSisRegistryTest GetComponentIdForUid z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini GetComponentIdForUidNegative
       
   244 
       
   245 END_TESTCASE API-SEC-SISREGISTRY-P3-0010
       
   246 
       
   247 
       
   248 // now check things are *not* reported as installed.
       
   249 RUN_SCRIPT z:\tswi\tsisregistrytest\scripts\notinstalled.script
       
   250 
       
   251 // now re-run the main registry tests
       
   252 RUN_SCRIPT z:\tswi\tsisregistrytest\scripts\runregistrytests.script
       
   253 
       
   254 
       
   255 //
       
   256 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0011
       
   257 //! @SYMTestCaseDesc		When a sisregistry entry is corrupt (missing .reg file in this case), 
       
   258 //	 	     		sisregistry should not panic when we try to regenerate it.
       
   259 //! @SYMDEF			PDEF109006
       
   260 //! @SYMTestPriority		Medium
       
   261 //! @SYMTestActions		Delete C32Exe (101f7989) .reg file; Install-Cancel a sis file.
       
   262 //! @SYMTestExpectedResults	No panic generated during cache regeneration
       
   263 //! @SYMDevelopedForRelease 	Mike
       
   264 
       
   265 START_TESTCASE API-SEC-SISREGISTRY-0011
       
   266 
       
   267 RUN_TEST_STEP 100 tuiscriptadaptors MmcDeleteFilesStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini NotRegistered
       
   268 RUN_TEST_STEP 100 tuiscriptadaptors InstallStepCancel z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini NotRegistered
       
   269 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini u_NotRegistered
       
   270 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini u_NotRegistered
       
   271 
       
   272 END_TESTCASE API-SEC-SISREGISTRY-0011
       
   273 
       
   274 
       
   275 //! @file
       
   276 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0012
       
   277 //! @SYMTestCaseDesc		Removes the Test Registry, restores the original
       
   278 //! @SYMTestPriority		Low
       
   279 //! @SYMTestActions		Removes the test registry
       
   280 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   281 //! @SYMREQ			REQ3464
       
   282 //! @SYMTestType		UT
       
   283 
       
   284 RUN_SCRIPT z:\tswi\tsisregistrytest\scripts\removeregistrytestdata.script
       
   285 
       
   286 START_TESTCASE API-SEC-SISREGISTRY-0012
       
   287 
       
   288 // wait for the registry to shutdown
       
   289 DELAY 10000
       
   290 RUN_TEST_STEP 100 tSisRegistryTest DeleteRegistry
       
   291 RUN_TEST_STEP 100 tSisRegistryTest RestoreRegistry
       
   292 
       
   293 END_TESTCASE API-SEC-SISREGISTRY-0012
       
   294 
       
   295 
       
   296 //! @file
       
   297 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0013
       
   298 //! @SYMTestCaseDesc		Checks the certificate chain count of a given package
       
   299 //! @SYMTestActions		Checks the number of certificate chain count of a given package.
       
   300 //! @SYMTestExpectedResults	Actual number of certificate chain count meets expected.
       
   301 
       
   302 START_TESTCASE API-SEC-SISREGISTRY-0013
       
   303 
       
   304 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini CertificateChainList
       
   305 RUN_TEST_STEP 100 tSisRegistryTest CertificateChainListStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini CertificateChainList
       
   306 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini u_CertificateChainList
       
   307 
       
   308 END_TESTCASE API-SEC-SISREGISTRY-0013
       
   309 
       
   310 
       
   311 //
       
   312 PRINT Run all SisRegistryLogFile tests
       
   313 //
       
   314 LOAD_SUITE tuiscriptadaptors
       
   315 //
       
   316 
       
   317 
       
   318 //! @file
       
   319 //! @SYMTestCaseID		API-SEC-SWI-95817-0002
       
   320 //! @SYMTestCaseDesc		Install a sis file, check for logging file, uninstall the file 
       
   321 //! @SYMTestExpectedResults	Package should be loggeg in SWIS private directory
       
   322 
       
   323 START_TESTCASE API-SEC-SWI-95817-0002
       
   324 
       
   325 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-In
       
   326 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-In
       
   327 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-In
       
   328 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-Un
       
   329 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-In
       
   330 RUN_TEST_STEP 100 tSisRegistryTest LoggingFileInfo z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini SEC-SWI-95817-Simple-Uids
       
   331 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  SEC-SWI-95817-Simple-Un
       
   332 
       
   333 END_TESTCASE API-SEC-SWI-95817-0002
       
   334 
       
   335 
       
   336 //! @SYMTestCaseID		API-SEC-SWI-DEF112195-0001
       
   337 //! @SYMTestCaseDesc		Checks that ROM stubs doesn't occur in Removable packages
       
   338 //! @SYMTestPriority		High
       
   339 //! @SYMTestActions		Checks that ROM stubs doesn't occur in Removable packages
       
   340 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   341 //! @SYMDEF 			DEF112195
       
   342 //! @SYMTestType		UT
       
   343 
       
   344 START_TESTCASE API-SEC-SWI-DEF112195-0001
       
   345 
       
   346 RUN_TEST_STEP 100 tSisRegistryTest InRomNonRemovablePackages
       
   347 
       
   348 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  Installpkgdrives
       
   349 
       
   350 END_TESTCASE API-SEC-SWI-DEF112195-0001
       
   351 
       
   352 
       
   353 //! @SYMTestCaseID		API-SEC-SWI-DEF112215-0001
       
   354 //! @SYMTestCaseDesc		Checks that all the drives are listed used for installation
       
   355 //! @SYMTestPriority		Low
       
   356 //! @SYMTestActions		Checks that all the drives are listed used for installation
       
   357 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   358 //! @SYMDEF 			DEF112215
       
   359 //! @SYMTestType		UT
       
   360 RUN_TEST_STEP 100 tSisRegistryTest InstalledDrives z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini InstalledfilesDrivesuid
       
   361 
       
   362 // Test the object creation methods of Sis Registry Token
       
   363 START_TESTCASE API-SEC-SWI-DEF112215-0001
       
   364 
       
   365 RUN_TEST_STEP 100 tSisRegistryTest CreateTokenByCopy
       
   366 RUN_TEST_STEP 100 tSisRegistryTest CreateTokenFromStream
       
   367 
       
   368 END_TESTCASE API-SEC-SWI-DEF112215-0001
       
   369 
       
   370 
       
   371 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini  u_Installpkgdrives
       
   372 
       
   373 
       
   374 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0014
       
   375 //! @SYMTestCaseDesc		Tests creation of CSisRegistryObject.
       
   376 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   377 //! @SYMTestType		UT
       
   378 
       
   379 START_TESTCASE API-SEC-SISREGISTRY-0014
       
   380 
       
   381 // SisRegObjectCreation
       
   382 RUN_TEST_STEP 100 tSisRegistryTest CreateSisRegistryObject
       
   383 
       
   384 END_TESTCASE API-SEC-SISREGISTRY-0014
       
   385 
       
   386 
       
   387 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0015
       
   388 //! @SYMTestCaseDesc		Tests CSisRegistryDependency methods.
       
   389 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   390 //! @SYMTestType		UT
       
   391 
       
   392 START_TESTCASE API-SEC-SISREGISTRY-0015
       
   393 
       
   394 // TestSisRegistryDependencyMethods
       
   395 RUN_TEST_STEP 100 tSisRegistryTest SisRegistryDependencyStep z:\tswi\tsisregistrytest\scripts\tsisregistrytest.ini TestSisRegDependencyVersion
       
   396 
       
   397 END_TESTCASE API-SEC-SISREGISTRY-0015
       
   398 
       
   399 
       
   400 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0016
       
   401 //! @SYMTestCaseDesc		Tests creation of CSisRegistryFileDescription object.
       
   402 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   403 //! @SYMTestType		UT
       
   404 
       
   405 START_TESTCASE API-SEC-SISREGISTRY-0016
       
   406 
       
   407 // CreateSisRegistryFileDescriptionObject
       
   408 RUN_TEST_STEP 100 tSisRegistryTest SisRegistryFileDescStep
       
   409 
       
   410 END_TESTCASE API-SEC-SISREGISTRY-0016
       
   411 
       
   412 
       
   413 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0017
       
   414 //! @SYMTestCaseDesc		Tests creation of CControllerInfo object.
       
   415 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   416 //! @SYMTestType		UT
       
   417 
       
   418 START_TESTCASE API-SEC-SISREGISTRY-0017
       
   419 
       
   420 // CreateControllerInfoObject
       
   421 RUN_TEST_STEP 100 tSisRegistryTest ControllerInfoStep
       
   422 
       
   423 END_TESTCASE API-SEC-SISREGISTRY-0017
       
   424 
       
   425 
       
   426 //! @SYMTestCaseID		API-SEC-SISREGISTRY-0018
       
   427 //! @SYMTestCaseDesc		Tests creation of CSisRegistryProperty object.
       
   428 //! @SYMTestExpectedResults	The test completes with KErrNone completion code.
       
   429 //! @SYMTestType		UT
       
   430 
       
   431 START_TESTCASE API-SEC-SISREGISTRY-0018
       
   432 
       
   433 // CreateSisRegistryPropertyObject
       
   434 RUN_TEST_STEP 100 tSisRegistryTest SisRegistryPropertyStep
       
   435 
       
   436 END_TESTCASE API-SEC-SISREGISTRY-0018