installationservices/swinstallationfw/test/securitytests/scripts/usifsecuritytests.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/installationservices/swinstallationfw/test/securitytests/scripts/usifsecuritytests.script Fri Mar 19 09:33:35 2010 +0200
@@ -0,0 +1,43 @@
+//
+// 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:
+//
+//! @file
+// USIF Security tests
+PRINT Run USIF Security tests
+
+LOAD_SUITE aprcaptestframework
+LOAD_SUITE tscr -SharedData
+
+SHARED_DATA z:\tusif\tscr\tscr.ini shared_data
+
+//! @SYMTestCaseID API-SEC-USIF-SecurityTests-0001
+//! @SYMTestCaseDesc Runs the whole suite of security test cases for USIF interfaces.
+//! @SYMTestPriority High
+//! @SYMTestActions Tests IPC calls from different SIDs and capabilities
+//! @SYMTestExpectedResults KErrPermissionDenied received on calls which should fail
+//! @SYMDevelopedForRelease Diran
+
+
+START_TESTCASE API-SEC-USIF-SecurityTests-0001
+
+// Delete the SCR Database file
+RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file
+
+// Add a dummy component for the APIs tests
+RUN_TEST_STEP 100 tscr SCRAddComponent z:\tusif\securitytests\usifsecuritytests.ini add_test_component
+RUN_TEST_STEP 100 aprcaptestframework RunThoroughCapabilityChecks z:\tusif\securitytests\usifsecuritytests.ini usifsecuritytests
+RUN_TEST_STEP 100 aprcaptestframework RunThoroughCapabilityChecks z:\tusif\securitytests\usifsecuritytests.ini usifsecuritytests-tcb
+
+END_TESTCASE API-SEC-USIF-SecurityTests-0001