1 // |
|
2 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //! @file |
|
17 // USIF Security tests |
|
18 PRINT Run USIF Security tests |
|
19 |
|
20 LOAD_SUITE aprcaptestframework |
|
21 LOAD_SUITE tscr -SharedData |
|
22 |
|
23 SHARED_DATA z:\tusif\tscr\tscr.ini shared_data |
|
24 |
|
25 //! @SYMTestCaseID API-SEC-USIF-SecurityTests-0001 |
|
26 //! @SYMTestCaseDesc Runs the whole suite of security test cases for USIF interfaces. |
|
27 //! @SYMTestPriority High |
|
28 //! @SYMTestActions Tests IPC calls from different SIDs and capabilities |
|
29 //! @SYMTestExpectedResults KErrPermissionDenied received on calls which should fail |
|
30 //! @SYMDevelopedForRelease Diran |
|
31 |
|
32 |
|
33 START_TESTCASE API-SEC-USIF-SecurityTests-0001 |
|
34 |
|
35 // Delete the SCR Database file |
|
36 RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file |
|
37 |
|
38 // Add a dummy component for the APIs tests |
|
39 RUN_TEST_STEP 100 tscr SCRAddComponent z:\tusif\securitytests\usifsecuritytests.ini add_test_component |
|
40 RUN_TEST_STEP 100 tscr SCRAddApplicationEntry z:\tusif\securitytests\usifsecuritytests.ini add_app_reg_info |
|
41 RUN_TEST_STEP 100 aprcaptestframework RunThoroughCapabilityChecks z:\tusif\securitytests\usifsecuritytests.ini usifsecuritytests |
|
42 RUN_TEST_STEP 100 aprcaptestframework RunThoroughCapabilityChecks z:\tusif\securitytests\usifsecuritytests.ini usifsecuritytests-tcb |
|
43 RUN_TEST_STEP 100 tscr SCRDeleteApplicationEntry z:\tusif\securitytests\usifsecuritytests.ini del_app_entry |
|
44 END_TESTCASE API-SEC-USIF-SecurityTests-0001 |
|