os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/t_handle_1.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/t_handle_1.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,88 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of the License "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +
    1.20 +START_TESTCASE                SEC-CERTMAN-T_HANDLE_1-0001
    1.21 +
    1.22 +//! @SYMTestCaseID            SEC-CERTMAN-T_HANDLE_1-0001
    1.23 +
    1.24 +//! @SYMTestCaseDesc          
    1.25 +
    1.26 +//! @SYMTestActions           1) Opening a Unified Cert Store
    1.27 +
    1.28 +//!                           2) Adding a certificate
    1.29 +
    1.30 +//!                           3) Add the certificate caX1
    1.31 +
    1.32 +//!                           4) Getting the handle
    1.33 +
    1.34 +//!                           5) Getting the certificate by handle
    1.35 +
    1.36 +//!                           6) Getting the certificate by handle
    1.37 +
    1.38 +//!                           7) Getting the certificate by handle
    1.39 +
    1.40 +//!                           8) Getting the certificate by handle
    1.41 +
    1.42 +//!                           9) Deleting the certificate CAW2
    1.43 +
    1.44 +//!                           10) Getting the certificate by handle
    1.45 +
    1.46 +//!                           11) Adding a certificate
    1.47 +
    1.48 +//!                           12) Getting the certificate by handle
    1.49 +
    1.50 +//!                           13) Deleting the certificate CAX1
    1.51 +
    1.52 +//!                           14) Deleting the certificate CAW2
    1.53 +
    1.54 +//!                           15) Deleting the Unified Cert Store
    1.55 +
    1.56 +RUN_TEST_STEP                 -1    CTestHandler        init                   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-001
    1.57 +
    1.58 +RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-002
    1.59 +
    1.60 +RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-003
    1.61 +
    1.62 +RUN_TEST_STEP                 -1    CTestHandler        CCTCertInfo_Handle     t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-004
    1.63 +
    1.64 +RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-005
    1.65 +
    1.66 +RUN_TEST_STEP !Error=-1       -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-006
    1.67 +
    1.68 +RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-007
    1.69 +
    1.70 +RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-008
    1.71 +
    1.72 +RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-009
    1.73 +
    1.74 +RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-010
    1.75 +
    1.76 +RUN_TEST_STEP                 -1    CTestHandler        addcert                t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-011
    1.77 +
    1.78 +RUN_TEST_STEP                 -1    CTestHandler        CUnifiedCertStore_GetCert   t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-012
    1.79 +
    1.80 +RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-013
    1.81 +
    1.82 +RUN_TEST_STEP                 -1    CTestHandler        deletecert             t_handle_1.ini   SEC-CERTMAN-T_HANDLE_1-0001-014
    1.83 +
    1.84 +RUN_TEST_STEP                 -1    CTestHandler        delete              
    1.85 +
    1.86 +END_TESTCASE                  SEC-CERTMAN-T_HANDLE_1-0001
    1.87 +
    1.88 +
    1.89 +
    1.90 +
    1.91 +