cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/createoldkeystore.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/createoldkeystore.script Tue Aug 31 17:00:08 2010 +0300
@@ -0,0 +1,72 @@
+//
+// 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:
+//
+//
+
+
+START_TESTCASE SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001
+
+//! @SYMTestCaseID SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001
+
+//! @SYMTestCaseDesc
+
+ ///////////////////////////////////////////////////////////////////////////////
+ // Create an old key store
+ ////////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Delete keystore data file
+
+//! 2) Opening key store in manager mode
+
+//! 3) Delete default keys
+
+//! 4) Add a DH key
+
+//! 5) Add a RSA key
+
+//! 6) Add a DSA key
+
+//! 7) List all keys
+
+//! 8) Closing key store
+
+//! 9) Sleep 5 seconds
+
+//! 10) Check for server heap error
+
+
+
+RUN_TEST_STEP -1 CTestHandler deletekeystoredata
+
+RUN_TEST_STEP -1 CTestHandler init createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-002
+
+RUN_TEST_STEP -1 CTestHandler deletekeys
+
+RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-004
+
+RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-005
+
+RUN_TEST_STEP -1 CTestHandler addkey createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-006
+
+RUN_TEST_STEP -1 CTestHandler listallkeys createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-007
+
+RUN_TEST_STEP -1 CTestHandler delete
+
+RUN_TEST_STEP -1 CTestHandler sleep createoldkeystore.ini SEC-FILETOKENS-CREATEOLDKEYSTORE-1-009
+
+RUN_TEST_STEP -1 CTestHandler checkserverheaperror
+
+END_TESTCASE SEC-FILETOKENS-CREATEOLDKEYSTORE-1-0001
+