installationservices/swinstallationfw/test/securitytests/scripts/usifsecuritytests.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:33:35 +0200
changeset 24 84a16765cd86
child 25 98b66e4fb0be
permissions -rw-r--r--
Revision: 201007 Kit: 201011

//
// 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