crypto/weakcryptospi/test/tcryptospi/scripts/te_randomtestcases.script
changeset 8 35751d3474b7
child 19 ece3df019add
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/weakcryptospi/test/tcryptospi/scripts/te_randomtestcases.script	Thu Sep 10 14:01:51 2009 +0300
@@ -0,0 +1,50 @@
+//
+// 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: 
+//
+//
+// 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:
+//
+
+PRINT Run all te_RandomTestCases Tests
+//
+
+//
+LOAD_SUITE Te_CryptoSpi
+//
+
+//! @SYMTestCaseID          SEC-CRYPTOSPI-RAND-0001
+//! @SYMTestCaseDesc        RandomGeneralUsage
+
+START_TESTCASE SEC-CRYPTOSPI-RAND-0001
+
+RUN_TEST_STEP 100 Te_CryptoSpi RandomNumberGeneratorGeneralUsageStep c:\testdata\tcryptospi\configs\RandomNumberGeneratorGeneralUsage.ini ValidRandom
+RUN_TEST_STEP !Result=-5 100 Te_CryptoSpi RandomNumberGeneratorGeneralUsageStep c:\testdata\tcryptospi\configs\RandomNumberGeneratorGeneralUsage.ini InvalidRandom
+
+END_TESTCASE SEC-CRYPTOSPI-RAND-0001
+
+
+PRINT Complate_te_RandomTestCases_Tests
\ No newline at end of file