cryptoservices/certificateandkeymgmt/tcertstore/multiple_certstore/scripts/tfilecertstore15.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 24 Nov 2009 09:06:03 +0200
changeset 29 ece3df019add
parent 8 35751d3474b7
permissions -rw-r--r--
Revision: 200948 Kit: 200948

//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//

// CASE15: No Duplicates present (ND), with corrupt certstore (C) of least order



// TEST-CASE:         SEC-FILECERTSTORE-0015-0001

// FILES:             cacerts2.dat, cacerts1.dat, corrupt.dat

// LABELS:            TOCSP-Signing5-RSA, Testing ACS Root, Identity ACS Root

// EXPECTED RESULTS:  TOCSP-Signing5-RSA, Testing ACS Root, Identity ACS Root

// VARIANT:           UDEB, UREL



// TEST-CASE:         SEC-FILECERTAPPSTORE-0015-0001

// FILES:             certclients2.dat, certclients1.dat, corrupt.dat

// UIDS:              268478646, 270506792, 268452523

// EXPECTED RESULTS:  268478646, 270506792, 268452523

// VARIANT:           UDEB, UREL



START_TESTCASE                SEC-FILECERTSTORE-0015-0001

//! @SYMTestCaseID            SEC-FILECERTSTORE-0015-0001

//! @file                     

//! @SYMTestCaseDesc          Aggregating and opening a filecertstore

//! @SYMREQ                   REQ9983, REQ9986, REQ10141

//! @SYMTestCasePriority      High

//! @SYMTestExpectedResults   KErrNone

//! @SYMTestActions           1) Aggregation and opening of filecertstore

//!                           2) Get the list of CA certificates

//!                           3) Delete the writable certificate store manager

RUN_TEST_STEP                 -1    CTestHandler        init                   tfilecertstore15.ini   SEC-FILECERTSTORE-0015-001

RUN_TEST_STEP                 -1    CTestHandler        listcert               tfilecertstore15.ini   SEC-FILECERTSTORE-0015-002

RUN_TEST_STEP                 -1    CTestHandler        delete              

END_TESTCASE                  SEC-FILECERTSTORE-0015-0001





START_TESTCASE                SEC-FILECERTAPPSTORE-0015-0001

//! @SYMTestCaseID            SEC-FILECERTAPPSTORE-0015-0001

//! @file                     

//! @SYMTestCaseDesc          Aggregating and opening a filecertappstore

//! @SYMREQ                   REQ9983, REQ9989

//! @SYMTestCasePriority      High

//! @SYMTestExpectedResults   KErrNone

//! @SYMTestActions           1) Creating a CertificateAppInfoManager

//!                           2) Retrieving the clients

//!                           3) Deleting the CertificateAppInfoManager

RUN_TEST_STEP                 -1    CTestHandler        initappmanager      

RUN_TEST_STEP                 -1    CTestHandler        getclients             tfilecertstore15.ini   SEC-FILECERTAPPSTORE-0015-002

RUN_TEST_STEP                 -1    CTestHandler        deleteappmanager    

END_TESTCASE                  SEC-FILECERTAPPSTORE-0015-0001