cryptoservices/certificateandkeymgmt/tcertstore/scripts/certappmanager.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 START_TESTCASE                SEC-CERTMAN-CERTAPPMANAGER-0001
       
    18 
       
    19 //! @SYMTestCaseID            SEC-CERTMAN-CERTAPPMANAGER-0001
       
    20 
       
    21 //! @SYMTestCaseDesc          4.1 Typical usage
       
    22 
       
    23 //! @SYMTestActions           1) 4.1.1,Creating a CertificateAppInfoManager
       
    24 
       
    25 //!                           2) 4.1.2,Retrieving the clients
       
    26 
       
    27 //!                           3) 4.1.3.a,Adding client A1
       
    28 
       
    29 //!                           4) 4.1.3.b,Adding client A2
       
    30 
       
    31 //!                           5) 4.1.3.c,Adding client A3
       
    32 
       
    33 //!                           6) 4.1.3.d,Adding client A4
       
    34 
       
    35 //!                           7) 4.1.3.e,Retrieving the clients
       
    36 
       
    37 //!                           8) 4.1.4,Deleting the CertificateAppInfoManager
       
    38 
       
    39 //!                           9) 4.1.5,Creating a CertificateAppInfoManager
       
    40 
       
    41 //!                           10) 4.1.6,Retrieving the clients
       
    42 
       
    43 //!                           11) 4.1.7.a,Deleting the client A1
       
    44 
       
    45 //!                           12) 4.1.7.b,Retrieving the clients
       
    46 
       
    47 //!                           13) 4.1.8,Deleting the CertificateAppInfoManager
       
    48 
       
    49 //!                           14) 4.1.9,Creating a CertificateAppInfoManager
       
    50 
       
    51 //!                           15) 4.1.10,Retrieving the clients
       
    52 
       
    53 //!                           16) 4.1.11.a,Deleting the client A2
       
    54 
       
    55 //!                           17) 4.1.11.b,Deleting the client A3
       
    56 
       
    57 //!                           18) 4.1.11.c,Deleting the client A4
       
    58 
       
    59 //!                           19) 4.1.11.d,Retrieving the clients
       
    60 
       
    61 //!                           20) 4.1.12,Deleting the CertificateAppInfoManager
       
    62 
       
    63 //!                           21) 4.1.13,Creating a CertificateAppInfoManager
       
    64 
       
    65 //!                           22) 4.1.14,Retrieving the clients
       
    66 
       
    67 //!                           23) 4.1.15,Deleting the CertificateAppInfoManager
       
    68 
       
    69 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
    70 
       
    71 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-002
       
    72 
       
    73 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-003
       
    74 
       
    75 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-004
       
    76 
       
    77 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-005
       
    78 
       
    79 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-006
       
    80 
       
    81 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-007
       
    82 
       
    83 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
    84 
       
    85 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
    86 
       
    87 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-010
       
    88 
       
    89 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-011
       
    90 
       
    91 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-012
       
    92 
       
    93 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
    94 
       
    95 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
    96 
       
    97 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-015
       
    98 
       
    99 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-016
       
   100 
       
   101 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-017
       
   102 
       
   103 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-018
       
   104 
       
   105 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-019
       
   106 
       
   107 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   108 
       
   109 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
   110 
       
   111 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0001-022
       
   112 
       
   113 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   114 
       
   115 END_TESTCASE                  SEC-CERTMAN-CERTAPPMANAGER-0001
       
   116 
       
   117 
       
   118 
       
   119 
       
   120 
       
   121 START_TESTCASE                SEC-CERTMAN-CERTAPPMANAGER-0002
       
   122 
       
   123 //! @SYMTestCaseID            SEC-CERTMAN-CERTAPPMANAGER-0002
       
   124 
       
   125 //! @SYMTestCaseDesc          4.2 Error handling
       
   126 
       
   127 //! @SYMTestActions           1) 4.2.1,Creating a CertificateAppInfoManager
       
   128 
       
   129 //!                           2) 4.2.2.a,Adding client A1
       
   130 
       
   131 //!                           3) 4.2.2.b,Adding client A2
       
   132 
       
   133 //!                           4) 4.2.2.c,Adding client A3
       
   134 
       
   135 //!                           5) 4.2.2.d,Adding client A4
       
   136 
       
   137 //!                           6) 4.2.2.e,Retrieving the clients
       
   138 
       
   139 //!                           7) 4.2.3,Adding client A1
       
   140 
       
   141 //!                           8) 4.2.4,Deleting the CertificateAppInfoManager
       
   142 
       
   143 //!                           9) 4.2.5,Creating a CertificateAppInfoManager
       
   144 
       
   145 //!                           10) 4.2.6,Retrieving the clients
       
   146 
       
   147 //!                           11) 4.2.7.a,Deleting the client A1
       
   148 
       
   149 //!                           12) 4.2.7.b,Retrieving the clients
       
   150 
       
   151 //!                           13) 4.2.8,Deleting the CertificateAppInfoManager
       
   152 
       
   153 //!                           14) 4.2.9,Creating a CertificateAppInfoManager
       
   154 
       
   155 //!                           15) 4.2.10,Retrieving the clients
       
   156 
       
   157 //!                           16) 4.2.11.a,Deleting the client A2
       
   158 
       
   159 //!                           17) 4.2.11.b,Deleting the client A3
       
   160 
       
   161 //!                           18) 4.2.11.c,Deleting the client A4
       
   162 
       
   163 //!                           19) 4.2.11.d,Retrieving the clients
       
   164 
       
   165 //!                           20) 4.2.12,Deleting the CertificateAppInfoManager
       
   166 
       
   167 //!                           21) 4.2.13,Creating a CertificateAppInfoManager
       
   168 
       
   169 //!                           22) 4.2.14,Retrieving the clients
       
   170 
       
   171 //!                           23) 4.2.15,Deleting the CertificateAppInfoManager
       
   172 
       
   173 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
   174 
       
   175 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-002
       
   176 
       
   177 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-003
       
   178 
       
   179 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-004
       
   180 
       
   181 RUN_TEST_STEP                 -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-005
       
   182 
       
   183 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-006
       
   184 
       
   185 RUN_TEST_STEP !Error=-11      -1    CTestHandler        addclient              certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-007
       
   186 
       
   187 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   188 
       
   189 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
   190 
       
   191 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-010
       
   192 
       
   193 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-011
       
   194 
       
   195 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-012
       
   196 
       
   197 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   198 
       
   199 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
   200 
       
   201 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-015
       
   202 
       
   203 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-016
       
   204 
       
   205 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-017
       
   206 
       
   207 RUN_TEST_STEP                 -1    CTestHandler        removeclient           certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-018
       
   208 
       
   209 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-019
       
   210 
       
   211 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   212 
       
   213 RUN_TEST_STEP                 -1    CTestHandler        initappmanager      
       
   214 
       
   215 RUN_TEST_STEP                 -1    CTestHandler        getclients             certappmanager.ini   SEC-CERTMAN-CERTAPPMANAGER-0002-022
       
   216 
       
   217 RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    
       
   218 
       
   219 END_TESTCASE                  SEC-CERTMAN-CERTAPPMANAGER-0002
       
   220 
       
   221 
       
   222 
       
   223 
       
   224