cryptoservices/filebasedcertificateandkeystores/test/tcertapps/scripts/apipolicing.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 // apipolicing.txt
       
    18 
       
    19 // 
       
    20 
       
    21 // Test API policing of filetokens cert apps store
       
    22 
       
    23 
       
    24 
       
    25 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-1
       
    26 
       
    27 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-1
       
    28 
       
    29 //! @file                     
       
    30 
       
    31 //! @SYMTestCaseDesc          Initialise
       
    32 
       
    33 //! @SYMREQ                   REQ3466
       
    34 
       
    35 //! @SYMTestCasePriority      High
       
    36 
       
    37 //! @SYMTestExpectedResults   KErrNone
       
    38 
       
    39 //! @SYMTestActions           1) Initialise
       
    40 
       
    41 RUN_TEST_STEP                 -1    CTestHandler        InitManager         
       
    42 
       
    43 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-1
       
    44 
       
    45 
       
    46 
       
    47 
       
    48 
       
    49 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-2
       
    50 
       
    51 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-2
       
    52 
       
    53 //! @file                     
       
    54 
       
    55 //! @SYMTestCaseDesc          Clearing existing applications
       
    56 
       
    57 //! @SYMREQ                   REQ3466
       
    58 
       
    59 //! @SYMTestCasePriority      High
       
    60 
       
    61 //! @SYMTestExpectedResults   KErrNone
       
    62 
       
    63 //! @SYMTestActions           1) Clearing existing applications
       
    64 
       
    65 RUN_TEST_STEP                 -1    CTestHandler        ClearAllApps        
       
    66 
       
    67 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-2
       
    68 
       
    69 
       
    70 
       
    71 
       
    72 
       
    73 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-3
       
    74 
       
    75 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-3
       
    76 
       
    77 //! @file                     
       
    78 
       
    79 //! @SYMTestCaseDesc          Destroy the manager
       
    80 
       
    81 //! @SYMREQ                   REQ3466
       
    82 
       
    83 //! @SYMTestCasePriority      High
       
    84 
       
    85 //! @SYMTestExpectedResults   KErrNone
       
    86 
       
    87 //! @SYMTestActions           1) Destroy the manager
       
    88 
       
    89 RUN_TEST_STEP                 -1    CTestHandler        DestroyManager      
       
    90 
       
    91 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-3
       
    92 
       
    93 
       
    94 
       
    95 
       
    96 
       
    97 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-4
       
    98 
       
    99 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-4
       
   100 
       
   101 //! @file                     
       
   102 
       
   103 //! @SYMTestCaseDesc          Test add protected by WriteDeviceData
       
   104 
       
   105 //! @SYMREQ                   REQ3466
       
   106 
       
   107 //! @SYMTestCasePriority      High
       
   108 
       
   109 //! @SYMTestExpectedResults   KErrNone
       
   110 
       
   111 //! @SYMTestActions           1) Test add protected by WriteDeviceData
       
   112 
       
   113 RUN_TEST_STEP                 -1    CTestHandler        policytest             apipolicing.ini   SEC-TCERTAPPS-APIPOLICING-4-001
       
   114 
       
   115 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-4
       
   116 
       
   117 
       
   118 
       
   119 
       
   120 
       
   121 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-5
       
   122 
       
   123 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-5
       
   124 
       
   125 //! @file                     
       
   126 
       
   127 //! @SYMTestCaseDesc          Test list not protected
       
   128 
       
   129 //! @SYMREQ                   REQ3466
       
   130 
       
   131 //! @SYMTestCasePriority      High
       
   132 
       
   133 //! @SYMTestExpectedResults   KErrNone
       
   134 
       
   135 //! @SYMTestActions           1) Test list not protected
       
   136 
       
   137 RUN_TEST_STEP                 -1    CTestHandler        policytest             apipolicing.ini   SEC-TCERTAPPS-APIPOLICING-5-001
       
   138 
       
   139 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-5
       
   140 
       
   141 
       
   142 
       
   143 
       
   144 
       
   145 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-6
       
   146 
       
   147 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-6
       
   148 
       
   149 //! @file                     
       
   150 
       
   151 //! @SYMTestCaseDesc          Test remove protected by WriteDeviceData
       
   152 
       
   153 //! @SYMREQ                   REQ3466
       
   154 
       
   155 //! @SYMTestCasePriority      High
       
   156 
       
   157 //! @SYMTestExpectedResults   KErrNone
       
   158 
       
   159 //! @SYMTestActions           1) Test remove protected by WriteDeviceData
       
   160 
       
   161 RUN_TEST_STEP                 -1    CTestHandler        policytest             apipolicing.ini   SEC-TCERTAPPS-APIPOLICING-6-001
       
   162 
       
   163 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-6
       
   164 
       
   165 
       
   166 
       
   167 
       
   168 
       
   169 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-7
       
   170 
       
   171 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-7
       
   172 
       
   173 //! @file                     
       
   174 
       
   175 //! @SYMTestCaseDesc          Initialise
       
   176 
       
   177 //! @SYMREQ                   REQ3466
       
   178 
       
   179 //! @SYMTestCasePriority      High
       
   180 
       
   181 //! @SYMTestExpectedResults   KErrNone
       
   182 
       
   183 //! @SYMTestActions           1) Initialise
       
   184 
       
   185 RUN_TEST_STEP                 -1    CTestHandler        InitManager         
       
   186 
       
   187 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-7
       
   188 
       
   189 
       
   190 
       
   191 
       
   192 
       
   193 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-8
       
   194 
       
   195 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-8
       
   196 
       
   197 //! @file                     
       
   198 
       
   199 //! @SYMTestCaseDesc          Clearing existing applications
       
   200 
       
   201 //! @SYMREQ                   REQ3466
       
   202 
       
   203 //! @SYMTestCasePriority      High
       
   204 
       
   205 //! @SYMTestExpectedResults   KErrNone
       
   206 
       
   207 //! @SYMTestActions           1) Clearing existing applications
       
   208 
       
   209 RUN_TEST_STEP                 -1    CTestHandler        ClearAllApps        
       
   210 
       
   211 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-8
       
   212 
       
   213 
       
   214 
       
   215 
       
   216 
       
   217 START_TESTCASE                SEC-TCERTAPPS-APIPOLICING-9
       
   218 
       
   219 //! @SYMTestCaseID            SEC-TCERTAPPS-APIPOLICING-9
       
   220 
       
   221 //! @file                     
       
   222 
       
   223 //! @SYMTestCaseDesc          Destroy the manager
       
   224 
       
   225 //! @SYMREQ                   REQ3466
       
   226 
       
   227 //! @SYMTestCasePriority      High
       
   228 
       
   229 //! @SYMTestExpectedResults   KErrNone
       
   230 
       
   231 //! @SYMTestActions           1) Destroy the manager
       
   232 
       
   233 RUN_TEST_STEP                 -1    CTestHandler        DestroyManager      
       
   234 
       
   235 END_TESTCASE                  SEC-TCERTAPPS-APIPOLICING-9
       
   236 
       
   237 
       
   238 
       
   239 
       
   240