diff -r 675a964f4eb5 -r 35751d3474b7 cryptoservices/certificateandkeymgmt/tcertstore/multiple_certstore/scripts/tfilecertstore01.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptoservices/certificateandkeymgmt/tcertstore/multiple_certstore/scripts/tfilecertstore01.script Thu Sep 10 14:01:51 2009 +0300 @@ -0,0 +1,108 @@ +// +// 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 "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +// CASE1: Duplicates in same certstore (SD), only this file is present under ROM drive (single) + + + +// TEST-CASE: SEC-FILECERTSTORE-0001-0001 + +// FILES: cacerts5.dat + +// LABELS: Testing XXX Root, Testing XXX Root + +// EXPECTED RESULTS: Testing XXX Root + +// VARIANT: UDEB, UREL + + + +// TEST-CASE: SEC-FILECERTAPPSTORE-0001-0001 + +// FILES: certclients5.dat + +// UIDS: 270506793, 270506793 + +// EXPECTED RESULTS: 270506793 + +// VARIANT: UDEB, UREL + + + +START_TESTCASE SEC-FILECERTSTORE-0001-0001 + +//! @SYMTestCaseID SEC-FILECERTSTORE-0001-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 tfilecertstore01.ini SEC-FILECERTSTORE-0001-001 + +RUN_TEST_STEP -1 CTestHandler listcert tfilecertstore01.ini SEC-FILECERTSTORE-0001-002 + +RUN_TEST_STEP -1 CTestHandler delete + +END_TESTCASE SEC-FILECERTSTORE-0001-0001 + + + + + +START_TESTCASE SEC-FILECERTAPPSTORE-0001-0001 + +//! @SYMTestCaseID SEC-FILECERTAPPSTORE-0001-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 tfilecertstore01.ini SEC-FILECERTAPPSTORE-0001-002 + +RUN_TEST_STEP -1 CTestHandler deleteappmanager + +END_TESTCASE SEC-FILECERTAPPSTORE-0001-0001 + + + + +