cryptoservices/certificateandkeymgmt/tcertstore/scripts/swicertstore3.script
changeset 8 35751d3474b7
child 29 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 // swicertstore3.txt
       
    18 
       
    19 // 
       
    20 
       
    21 // Test Symbian Signed certificates are present in pre-build SWI cert store
       
    22 
       
    23 
       
    24 
       
    25 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-1-0002
       
    26 
       
    27 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-1-0002
       
    28 
       
    29 //! @file                     
       
    30 
       
    31 //! @SYMTestCaseDesc          Open the SWI cert store
       
    32 
       
    33 //! @SYMREQ                   REQ0000
       
    34 
       
    35 //! @SYMTestCasePriority      High
       
    36 
       
    37 //! @SYMTestExpectedResults   KErrNone
       
    38 
       
    39 //! @SYMTestActions           1) Open the SWI cert store
       
    40 
       
    41 RUN_TEST_STEP                 -1    CTestHandler        initswicertstore    
       
    42 
       
    43 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-1-0002
       
    44 
       
    45 
       
    46 
       
    47 
       
    48 
       
    49 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-2-0002
       
    50 
       
    51 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-2-0002
       
    52 
       
    53 //! @file                     
       
    54 
       
    55 //! @SYMTestCaseDesc          Get the list of CA certificates
       
    56 
       
    57 //! @SYMREQ                   REQ0000
       
    58 
       
    59 //! @SYMTestCasePriority      High
       
    60 
       
    61 //! @SYMTestExpectedResults   KErrNone
       
    62 
       
    63 //! @SYMTestActions           1) Get the list of CA certificates
       
    64 
       
    65 RUN_TEST_STEP                 -1    CTestHandler        listcert               swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-2-001
       
    66 
       
    67 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-2-0002
       
    68 
       
    69 
       
    70 
       
    71 
       
    72 
       
    73 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-3-0002
       
    74 
       
    75 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-3-0002
       
    76 
       
    77 //! @file                     
       
    78 
       
    79 //! @SYMTestCaseDesc          Get the list of user certificates
       
    80 
       
    81 //! @SYMREQ                   REQ0000
       
    82 
       
    83 //! @SYMTestCasePriority      High
       
    84 
       
    85 //! @SYMTestExpectedResults   KErrNone
       
    86 
       
    87 //! @SYMTestActions           1) Get the list of user certificates
       
    88 
       
    89 RUN_TEST_STEP                 -1    CTestHandler        listcert               swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-3-001
       
    90 
       
    91 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-3-0002
       
    92 
       
    93 
       
    94 
       
    95 
       
    96 
       
    97 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-4-0002
       
    98 
       
    99 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-4-0002
       
   100 
       
   101 //! @file                     
       
   102 
       
   103 //! @SYMTestCaseDesc          Retrieve SymbianA cert
       
   104 
       
   105 //! @SYMREQ                   REQ0000
       
   106 
       
   107 //! @SYMTestCasePriority      High
       
   108 
       
   109 //! @SYMTestExpectedResults   KErrNone
       
   110 
       
   111 //! @SYMTestActions           1) Retrieve SymbianA cert
       
   112 
       
   113 RUN_TEST_STEP                 -1    CTestHandler        retrieve               swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-4-001
       
   114 
       
   115 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-4-0002
       
   116 
       
   117 
       
   118 
       
   119 
       
   120 
       
   121 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-5-0002
       
   122 
       
   123 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-5-0002
       
   124 
       
   125 //! @file                     
       
   126 
       
   127 //! @SYMTestCaseDesc          Retrieve SymbianB cert
       
   128 
       
   129 //! @SYMREQ                   REQ0000
       
   130 
       
   131 //! @SYMTestCasePriority      High
       
   132 
       
   133 //! @SYMTestExpectedResults   KErrNone
       
   134 
       
   135 //! @SYMTestActions           1) Retrieve SymbianB cert
       
   136 
       
   137 RUN_TEST_STEP                 -1    CTestHandler        retrieve               swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-5-001
       
   138 
       
   139 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-5-0002
       
   140 
       
   141 
       
   142 
       
   143 
       
   144 
       
   145 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-7-0002
       
   146 
       
   147 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-7-0002
       
   148 
       
   149 //! @file                     
       
   150 
       
   151 //! @SYMTestCaseDesc          Get applications for SymbianA
       
   152 
       
   153 //! @SYMREQ                   REQ0000
       
   154 
       
   155 //! @SYMTestCasePriority      High
       
   156 
       
   157 //! @SYMTestExpectedResults   KErrNone
       
   158 
       
   159 //! @SYMTestActions           1) Get applications for SymbianA
       
   160 
       
   161 RUN_TEST_STEP                 -1    CTestHandler        getapplications        swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-7-001
       
   162 
       
   163 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-7-0002
       
   164 
       
   165 
       
   166 
       
   167 
       
   168 
       
   169 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-8-0002
       
   170 
       
   171 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-8-0002
       
   172 
       
   173 //! @file                     
       
   174 
       
   175 //! @SYMTestCaseDesc          Get the trust for Root5CA
       
   176 
       
   177 //! @SYMREQ                   REQ0000
       
   178 
       
   179 //! @SYMTestCasePriority      High
       
   180 
       
   181 //! @SYMTestExpectedResults   KErrNone
       
   182 
       
   183 //! @SYMTestActions           1) Get the trust for SymbianA
       
   184 
       
   185 RUN_TEST_STEP                 -1    CTestHandler        gettrusters            swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-8-001
       
   186 
       
   187 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-8-0002
       
   188 
       
   189 
       
   190 
       
   191 
       
   192 
       
   193 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-9-0002
       
   194 
       
   195 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-9-0002
       
   196 
       
   197 //! @file                     
       
   198 
       
   199 //! @SYMTestCaseDesc          Get applications for SymbianB
       
   200 
       
   201 //! @SYMREQ                   REQ0000
       
   202 
       
   203 //! @SYMTestCasePriority      High
       
   204 
       
   205 //! @SYMTestExpectedResults   KErrNone
       
   206 
       
   207 //! @SYMTestActions           1) Get applications for SymbianB
       
   208 
       
   209 RUN_TEST_STEP                 -1    CTestHandler        getapplications        swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-9-001
       
   210 
       
   211 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-9-0002
       
   212 
       
   213 
       
   214 
       
   215 
       
   216 
       
   217 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-10-0002
       
   218 
       
   219 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-10-0002
       
   220 
       
   221 //! @file                     
       
   222 
       
   223 //! @SYMTestCaseDesc          Get the trust for SymbianB
       
   224 
       
   225 //! @SYMREQ                   REQ0000
       
   226 
       
   227 //! @SYMTestCasePriority      High
       
   228 
       
   229 //! @SYMTestExpectedResults   KErrNone
       
   230 
       
   231 //! @SYMTestActions           1) Get the trust for SymbianB
       
   232 
       
   233 RUN_TEST_STEP                 -1    CTestHandler        gettrusters            swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-10-001
       
   234 
       
   235 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-10-0002
       
   236 
       
   237 
       
   238 
       
   239 
       
   240 
       
   241 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-13-0002
       
   242 
       
   243 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-13-0002
       
   244 
       
   245 //! @file                     
       
   246 
       
   247 //! @SYMTestCaseDesc          Get the capabilities for SymbianA
       
   248 
       
   249 //! @SYMREQ                   REQ0000
       
   250 
       
   251 //! @SYMTestCasePriority      High
       
   252 
       
   253 //! @SYMTestExpectedResults   KErrNone
       
   254 
       
   255 //! @SYMTestActions           1) Get the capabilities for SymbianA
       
   256 
       
   257 RUN_TEST_STEP                 -1    CTestHandler        getcapabilities        swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-13-001
       
   258 
       
   259 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-13-0002
       
   260 
       
   261 
       
   262 
       
   263 
       
   264 
       
   265 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-14-0002
       
   266 
       
   267 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-14-0002
       
   268 
       
   269 //! @file                     
       
   270 
       
   271 //! @SYMTestCaseDesc          Get the mandatory flag for SymbianA
       
   272 
       
   273 //! @SYMREQ                   REQ0000
       
   274 
       
   275 //! @SYMTestCasePriority      High
       
   276 
       
   277 //! @SYMTestExpectedResults   KErrNone
       
   278 
       
   279 //! @SYMTestActions           1) Get the mandatory flag for SymbianA
       
   280 
       
   281 RUN_TEST_STEP                 -1    CTestHandler        getmandatory           swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-14-001
       
   282 
       
   283 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-14-0002
       
   284 
       
   285 
       
   286 
       
   287 
       
   288 
       
   289 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-15-0002
       
   290 
       
   291 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-15-0002
       
   292 
       
   293 //! @file                     
       
   294 
       
   295 //! @SYMTestCaseDesc          Get the capabilities for SymbianB
       
   296 
       
   297 //! @SYMREQ                   REQ0000
       
   298 
       
   299 //! @SYMTestCasePriority      High
       
   300 
       
   301 //! @SYMTestExpectedResults   KErrNone
       
   302 
       
   303 //! @SYMTestActions           1) Get the capabilities for SymbianB
       
   304 
       
   305 RUN_TEST_STEP                 -1    CTestHandler        getcapabilities        swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-15-001
       
   306 
       
   307 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-15-0002
       
   308 
       
   309 
       
   310 
       
   311 
       
   312 
       
   313 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-16-0002
       
   314 
       
   315 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-16-0002
       
   316 
       
   317 //! @file                     
       
   318 
       
   319 //! @SYMTestCaseDesc          Get the mandatory flag for SymbianB
       
   320 
       
   321 //! @SYMREQ                   REQ0000
       
   322 
       
   323 //! @SYMTestCasePriority      High
       
   324 
       
   325 //! @SYMTestExpectedResults   KErrNone
       
   326 
       
   327 //! @SYMTestActions           1) Get the mandatory flag for SymbianB
       
   328 
       
   329 RUN_TEST_STEP                 -1    CTestHandler        getmandatory           swicertstore3.ini   SEC-TCERTSTORE-SWICERTSTORE1-16-001
       
   330 
       
   331 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-16-0002
       
   332 
       
   333 
       
   334 
       
   335 
       
   336 
       
   337 START_TESTCASE                SEC-TCERTSTORE-SWICERTSTORE1-19-0002
       
   338 
       
   339 //! @SYMTestCaseID            SEC-TCERTSTORE-SWICERTSTORE1-19-0002
       
   340 
       
   341 //! @file                     
       
   342 
       
   343 //! @SYMTestCaseDesc          Deleting the SWI cert store
       
   344 
       
   345 //! @SYMREQ                   REQ0000
       
   346 
       
   347 //! @SYMTestCasePriority      High
       
   348 
       
   349 //! @SYMTestExpectedResults   KErrNone
       
   350 
       
   351 //! @SYMTestActions           1) Deleting the SWI cert store
       
   352 
       
   353 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
   354 
       
   355 END_TESTCASE                  SEC-TCERTSTORE-SWICERTSTORE1-19-0002
       
   356 
       
   357 
       
   358 
       
   359 
       
   360