--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/weakcryptospi/test/tpbe/scripts/tpbetests.script Thu Sep 10 14:01:51 2009 +0300
@@ -0,0 +1,496 @@
+//
+// 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:
+//
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0001
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0001
+
+//! @SYMTestCaseDesc Copyright (C) 2005 - 2006 Symbian Ltd. All Rights Reserved
+
+//! @SYMTestActions 1) Element test case 1 with explicit kdf, salt len and iterations, ECipherRC2_CBC_128_16
+
+//! 2) Element test case 1, ECipherRC2_CBC_128_16
+
+//! 3) Element test case 2, ECipherRC2_CBC_128_16
+
+//! 4) Element test case 3, ECipherRC2_CBC_128_16
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_128_16
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 1, explicit kdf, salt len, iter count, ECipherRC2_CBC_128_16
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_128_16
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_128_16
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_128_16
+
+//! 10) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_128_16
+
+//! 11) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_128_16
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-003
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-009
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-010
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0001-011
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0001
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0002
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0002
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherRC2_CBC_40_16
+
+//! 2) Element test case 2, ECipherRC2_CBC_40_16
+
+//! 3) Element test case 3, ECipherRC2_CBC_40_16
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_40_16
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_40_16
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_40_16
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_40_16
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_40_16
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_40_16
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0002-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0002
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0003
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0003
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherRC2_CBC_128
+
+//! 2) Element test case 2, ECipherRC2_CBC_128
+
+//! 3) Element test case 3, ECipherRC2_CBC_128
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_128
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_128
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_128
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_128
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_128
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_128
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0003-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0003
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0004
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0004
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherRC2_CBC_40
+
+//! 2) Element test case 2, ECipherRC2_CBC_40
+
+//! 3) Element test case 3, ECipherRC2_CBC_40
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_40
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_40
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_40
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_40
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_40
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_40
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0004-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0004
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0005
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0005
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipher3DES_CBC
+
+//! 2) Element test case 2, ECipher3DES_CBC
+
+//! 3) Element test case 3, ECipher3DES_CBC
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipher3DES_CBC
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipher3DES_CBC
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipher3DES_CBC
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipher3DES_CBC
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipher3DES_CBC
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipher3DES_CBC
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0005-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0005
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0006
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0006
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherAES_CBC_256
+
+//! 2) Element test case 2, ECipherAES_CBC_256
+
+//! 3) Element test case 3, ECipherAES_CBC_256
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_256
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_256
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_256
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_256
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_256
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_256
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0006-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0006
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0007
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0007
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherAES_CBC_192
+
+//! 2) Element test case 2, ECipherAES_CBC_192
+
+//! 3) Element test case 3, ECipherAES_CBC_192
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_192
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_192
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_192
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_192
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_192
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_192
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0007-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0007
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0008
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0008
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! @SYMTestActions 1) Element test case 1, ECipherAES_CBC_128
+
+//! 2) Element test case 2, ECipherAES_CBC_128
+
+//! 3) Element test case 3, ECipherAES_CBC_128
+
+//! 4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_128
+
+//! 5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_128
+
+//! 6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_128
+
+//! 7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_128
+
+//! 8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_128
+
+//! 9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_128
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-001
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-002
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-003
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-004
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-005
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-006
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-007
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-008
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0008-009
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0008
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0009
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0009
+
+//! @SYMTestCaseDesc /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//! /////////////////////////////////////////////////////////////////////////////////
+
+//!
+
+//! Start of Permanent File Store PBE testing between weak and strong crypto
+
+//! @SYMTestActions 1) Write encrypted data to a PFS named according to crypto strength
+
+//! 2) Decrypting weak crypto file
+
+//! 3) Decrypting strong crypto file
+
+RUN_TEST_STEP -1 CTestHandler WritePFS tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0009-001
+
+RUN_TEST_STEP -1 CTestHandler ReadPFS tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0009-002
+
+RUN_TEST_STEP -1 CTestHandler ReadPFS tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0009-003
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0009
+
+
+
+
+
+START_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0010
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TPBETESTS-0010
+
+//! @SYMTestCaseDesc Start of OOM testing
+
+//! @SYMTestActions 1) OOM start
+
+//! 2) Element test case 2
+
+//! 3) Test of Set encryption, password changing, exporting importing Test 1
+
+//! 4) OOM end
+
+RUN_TEST_STEP -1 CTestHandler startmemfailure
+
+RUN_TEST_STEP -1 CTestHandler Element tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0010-002
+
+RUN_TEST_STEP -1 CTestHandler Set tpbetests.ini SEC-CRYPTOSPI-TPBETESTS-0010-003
+
+RUN_TEST_STEP -1 CTestHandler stopmemfailure
+
+END_TESTCASE SEC-CRYPTOSPI-TPBETESTS-0010
+
+
+
+
+