os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/t_handle_1.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 START_TESTCASE                SEC-CERTMAN-T_HANDLE_1-0001
    18 
    19 //! @SYMTestCaseID            SEC-CERTMAN-T_HANDLE_1-0001
    20 
    21 //! @SYMTestCaseDesc          
    22 
    23 //! @SYMTestActions           1) Opening a Unified Cert Store
    24 
    25 //!                           2) Adding a certificate
    26 
    27 //!                           3) Add the certificate caX1
    28 
    29 //!                           4) Getting the handle
    30 
    31 //!                           5) Getting the certificate by handle
    32 
    33 //!                           6) Getting the certificate by handle
    34 
    35 //!                           7) Getting the certificate by handle
    36 
    37 //!                           8) Getting the certificate by handle
    38 
    39 //!                           9) Deleting the certificate CAW2
    40 
    41 //!                           10) Getting the certificate by handle
    42 
    43 //!                           11) Adding a certificate
    44 
    45 //!                           12) Getting the certificate by handle
    46 
    47 //!                           13) Deleting the certificate CAX1
    48 
    49 //!                           14) Deleting the certificate CAW2
    50 
    51 //!                           15) Deleting the Unified Cert Store
    52 
    53 RUN_TEST_STEP                 -1    CTestHandler        init                   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-001
    54 
    55 RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-002
    56 
    57 RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-003
    58 
    59 RUN_TEST_STEP                 -1    CTestHandler        CCTCertInfo_Handle     t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-004
    60 
    61 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-005
    62 
    63 RUN_TEST_STEP !Error=-1       -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-006
    64 
    65 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-007
    66 
    67 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-008
    68 
    69 RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-009
    70 
    71 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-010
    72 
    73 RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-011
    74 
    75 RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-012
    76 
    77 RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-013
    78 
    79 RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-014
    80 
    81 RUN_TEST_STEP                 -1    CTestHandler        delete              
    82 
    83 END_TESTCASE                  SEC-CERTMAN-T_HANDLE_1-0001
    84 
    85 
    86 
    87 
    88