cryptoservices/certificateandkeymgmt/tcertstore/scripts/wri-swicertstore3.script
changeset 8 35751d3474b7
child 19 ece3df019add
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     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 "Symbian Foundation License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 // wri-swicertstore3.txt
       
    18 
       
    19 // 
       
    20 
       
    21 // Test access to SWI cert store through unified cert store
       
    22 
       
    23 // This is run in configuration5.bat. This is run with only
       
    24 
       
    25 // the z:\ and c:\ swi cert store present
       
    26 
       
    27 
       
    28 
       
    29 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-1
       
    30 
       
    31 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-1
       
    32 
       
    33 //! @file                     
       
    34 
       
    35 //! @SYMTestCaseDesc          Open a writable unified cert store
       
    36 
       
    37 //! @SYMREQ                   REQ0000
       
    38 
       
    39 //! @SYMTestCasePriority      High
       
    40 
       
    41 //! @SYMTestExpectedResults   KErrNone
       
    42 
       
    43 //! @SYMTestActions           1) Open a writable unified cert store
       
    44 
       
    45 RUN_TEST_STEP                 -1    CTestHandler        init                   wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-1-001
       
    46 
       
    47 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-1
       
    48 
       
    49 
       
    50 
       
    51 
       
    52 
       
    53 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-2
       
    54 
       
    55 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-2
       
    56 
       
    57 //! @file                     
       
    58 
       
    59 //! @SYMTestCaseDesc          Get number of writable cert stores
       
    60 
       
    61 //! @SYMREQ                   REQ0000
       
    62 
       
    63 //! @SYMTestCasePriority      High
       
    64 
       
    65 //! @SYMTestExpectedResults   KErrNone
       
    66 
       
    67 //! @SYMTestActions           1) Get number of writable cert stores
       
    68 
       
    69 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_WritableCertStoreCount   wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-2-001
       
    70 
       
    71 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-2
       
    72 
       
    73 
       
    74 
       
    75 
       
    76 
       
    77 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-3
       
    78 
       
    79 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-3
       
    80 
       
    81 //! @file                     
       
    82 
       
    83 //! @SYMTestCaseDesc          Get number of read-only cert stores
       
    84 
       
    85 //! @SYMREQ                   REQ0000
       
    86 
       
    87 //! @SYMTestCasePriority      High
       
    88 
       
    89 //! @SYMTestExpectedResults   KErrNone
       
    90 
       
    91 //! @SYMTestActions           1) Get number of read-only cert stores
       
    92 
       
    93 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_ReadOnlyCertStoreCount   wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-3-001
       
    94 
       
    95 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-3
       
    96 
       
    97 
       
    98 
       
    99 
       
   100 
       
   101 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-4
       
   102 
       
   103 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-4
       
   104 
       
   105 //! @file                     
       
   106 
       
   107 //! @SYMTestCaseDesc          Retrieving the store informations
       
   108 
       
   109 //! @SYMREQ                   REQ0000
       
   110 
       
   111 //! @SYMTestCasePriority      High
       
   112 
       
   113 //! @SYMTestExpectedResults   KErrNone
       
   114 
       
   115 //! @SYMTestActions           1) Retrieving the store informations
       
   116 
       
   117 RUN_TEST_STEP                 -1    CTestHandler        CCTTokenTypeInfo_Attributes
       
   118 
       
   119 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-4
       
   120 
       
   121 
       
   122 
       
   123 
       
   124 
       
   125 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-5
       
   126 
       
   127 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-5
       
   128 
       
   129 //! @file                     
       
   130 
       
   131 //! @SYMTestCaseDesc          Get the list of CA certificates
       
   132 
       
   133 //! @SYMREQ                   REQ0000
       
   134 
       
   135 //! @SYMTestCasePriority      High
       
   136 
       
   137 //! @SYMTestExpectedResults   KErrNone
       
   138 
       
   139 //! @SYMTestActions           1) Get the list of CA certificates
       
   140 
       
   141 RUN_TEST_STEP                 -1    CTestHandler        listcert               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-5-001
       
   142 
       
   143 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-5
       
   144 
       
   145 
       
   146 
       
   147 
       
   148 
       
   149 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-6
       
   150 
       
   151 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-6
       
   152 
       
   153 //! @file                     
       
   154 
       
   155 //! @SYMTestCaseDesc          Get the list of CA certificates filtered by label 'Root5CA'
       
   156 
       
   157 //! @SYMREQ                   REQ0000
       
   158 
       
   159 //! @SYMTestCasePriority      High
       
   160 
       
   161 //! @SYMTestExpectedResults   KErrNone
       
   162 
       
   163 //! @SYMTestActions           1) Get the list of CA certificates filtered by label 'Root5CA'
       
   164 
       
   165 RUN_TEST_STEP                 -1    CTestHandler        listcert               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-6-001
       
   166 
       
   167 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-6
       
   168 
       
   169 
       
   170 
       
   171 
       
   172 
       
   173 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-7
       
   174 
       
   175 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-7
       
   176 
       
   177 //! @file                     
       
   178 
       
   179 //! @SYMTestCaseDesc          Get the list of CA certificates filtered by label 'TSecuritySymbianTestTCBRSACA'
       
   180 
       
   181 //! @SYMREQ                   REQ0000
       
   182 
       
   183 //! @SYMTestCasePriority      High
       
   184 
       
   185 //! @SYMTestExpectedResults   KErrNone
       
   186 
       
   187 //! @SYMTestActions           1) Get the list of CA certificates filtered by label 'TSecuritySymbianTestTCBRSACA'
       
   188 
       
   189 RUN_TEST_STEP                 -1    CTestHandler        listcert               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-7-001
       
   190 
       
   191 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-7
       
   192 
       
   193 
       
   194 
       
   195 
       
   196 
       
   197 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-8
       
   198 
       
   199 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-8
       
   200 
       
   201 //! @file                     
       
   202 
       
   203 //! @SYMTestCaseDesc          Get the list of user certificates
       
   204 
       
   205 //! @SYMREQ                   REQ0000
       
   206 
       
   207 //! @SYMTestCasePriority      High
       
   208 
       
   209 //! @SYMTestExpectedResults   KErrNone
       
   210 
       
   211 //! @SYMTestActions           1) Get the list of user certificates
       
   212 
       
   213 RUN_TEST_STEP                 -1    CTestHandler        listcert               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-8-001
       
   214 
       
   215 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-8
       
   216 
       
   217 
       
   218 
       
   219 
       
   220 
       
   221 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-9
       
   222 
       
   223 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-9
       
   224 
       
   225 //! @file                     
       
   226 
       
   227 //! @SYMTestCaseDesc          Get the list of user certificates filtered by label CertLabel
       
   228 
       
   229 //! @SYMREQ                   REQ0000
       
   230 
       
   231 //! @SYMTestCasePriority      High
       
   232 
       
   233 //! @SYMTestExpectedResults   KErrNone
       
   234 
       
   235 //! @SYMTestActions           1) Get the list of user certificates filtered by label CertLabel
       
   236 
       
   237 RUN_TEST_STEP                 -1    CTestHandler        listcert               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-9-001
       
   238 
       
   239 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-9
       
   240 
       
   241 
       
   242 
       
   243 
       
   244 
       
   245 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-10
       
   246 
       
   247 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-10
       
   248 
       
   249 //! @file                     
       
   250 
       
   251 //! @SYMTestCaseDesc          Retrieve SymbianTestRSACA cert
       
   252 
       
   253 //! @SYMREQ                   REQ0000
       
   254 
       
   255 //! @SYMTestCasePriority      High
       
   256 
       
   257 //! @SYMTestExpectedResults   KErrNone
       
   258 
       
   259 //! @SYMTestActions           1) Retrieve SymbianTestRSACA cert
       
   260 
       
   261 RUN_TEST_STEP                 -1    CTestHandler        retrieve               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-10-001
       
   262 
       
   263 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-10
       
   264 
       
   265 
       
   266 
       
   267 
       
   268 
       
   269 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-11
       
   270 
       
   271 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-11
       
   272 
       
   273 //! @file                     
       
   274 
       
   275 //! @SYMTestCaseDesc          Retrieve TSecuritySymbianTestTCBRSACA cert
       
   276 
       
   277 //! @SYMREQ                   REQ0000
       
   278 
       
   279 //! @SYMTestCasePriority      High
       
   280 
       
   281 //! @SYMTestExpectedResults   KErrNone
       
   282 
       
   283 //! @SYMTestActions           1) Retrieve TSecuritySymbianTestTCBRSACA cert
       
   284 
       
   285 RUN_TEST_STEP                 -1    CTestHandler        retrieve               wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-11-001
       
   286 
       
   287 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-11
       
   288 
       
   289 
       
   290 
       
   291 
       
   292 
       
   293 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-12
       
   294 
       
   295 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-12
       
   296 
       
   297 //! @file                     
       
   298 
       
   299 //! @SYMTestCaseDesc          Get applications for SymbianTestRSACA
       
   300 
       
   301 //! @SYMREQ                   REQ0000
       
   302 
       
   303 //! @SYMTestCasePriority      High
       
   304 
       
   305 //! @SYMTestExpectedResults   KErrNone
       
   306 
       
   307 //! @SYMTestActions           1) Get applications for SymbianTestRSACA
       
   308 
       
   309 RUN_TEST_STEP                 -1    CTestHandler        getapplications        wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-12-001
       
   310 
       
   311 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-12
       
   312 
       
   313 
       
   314 
       
   315 
       
   316 
       
   317 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-13
       
   318 
       
   319 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-13
       
   320 
       
   321 //! @file                     
       
   322 
       
   323 //! @SYMTestCaseDesc          Get applications for TSecuritySymbianTestTCBRSACA
       
   324 
       
   325 //! @SYMREQ                   REQ0000
       
   326 
       
   327 //! @SYMTestCasePriority      High
       
   328 
       
   329 //! @SYMTestExpectedResults   KErrNone
       
   330 
       
   331 //! @SYMTestActions           1) Get applications for TSecuritySymbianTestTCBRSACA
       
   332 
       
   333 RUN_TEST_STEP                 -1    CTestHandler        getapplications        wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-13-001
       
   334 
       
   335 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-13
       
   336 
       
   337 
       
   338 
       
   339 
       
   340 
       
   341 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-14
       
   342 
       
   343 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-14
       
   344 
       
   345 //! @file                     
       
   346 
       
   347 //! @SYMTestCaseDesc          Get the trust for SymbianTestRSACA
       
   348 
       
   349 //! @SYMREQ                   REQ0000
       
   350 
       
   351 //! @SYMTestCasePriority      High
       
   352 
       
   353 //! @SYMTestExpectedResults   KErrNone
       
   354 
       
   355 //! @SYMTestActions           1) Get the trust for SymbianTestRSACA
       
   356 
       
   357 RUN_TEST_STEP                 -1    CTestHandler        gettrusters            wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-14-001
       
   358 
       
   359 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-14
       
   360 
       
   361 
       
   362 
       
   363 
       
   364 
       
   365 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-15
       
   366 
       
   367 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-15
       
   368 
       
   369 //! @file                     
       
   370 
       
   371 //! @SYMTestCaseDesc          Get the trust for TSecuritySymbianTestTCBRSACA
       
   372 
       
   373 //! @SYMREQ                   REQ0000
       
   374 
       
   375 //! @SYMTestCasePriority      High
       
   376 
       
   377 //! @SYMTestExpectedResults   KErrNone
       
   378 
       
   379 //! @SYMTestActions           1) Get the trust for TSecuritySymbianTestTCBRSACA
       
   380 
       
   381 RUN_TEST_STEP                 -1    CTestHandler        gettrusters            wri-swicertstore3.ini   SEC-TCERTSTORE-WRI-SWICERTSTORE3-15-001
       
   382 
       
   383 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-15
       
   384 
       
   385 
       
   386 
       
   387 
       
   388 
       
   389 START_TESTCASE                SEC-TCERTSTORE-WRI-SWICERTSTORE3-16
       
   390 
       
   391 //! @SYMTestCaseID            SEC-TCERTSTORE-WRI-SWICERTSTORE3-16
       
   392 
       
   393 //! @file                     
       
   394 
       
   395 //! @SYMTestCaseDesc          Deleting the unified cert store
       
   396 
       
   397 //! @SYMREQ                   REQ0000
       
   398 
       
   399 //! @SYMTestCasePriority      High
       
   400 
       
   401 //! @SYMTestExpectedResults   KErrNone
       
   402 
       
   403 //! @SYMTestActions           1) Deleting the unified cert store
       
   404 
       
   405 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
   406 
       
   407 END_TESTCASE                  SEC-TCERTSTORE-WRI-SWICERTSTORE3-16
       
   408 
       
   409 
       
   410 
       
   411 
       
   412