cryptoservices/filebasedcertificateandkeystores/test/tcertapps/scripts/apipolicing.script
DEADHEAD: Superseded by 0d3a50e36d4b.
//
// 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:
//
// apipolicing.txt
//
// Test API policing of filetokens cert apps store
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-1
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-1
//! @file
//! @SYMTestCaseDesc Initialise
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Initialise
RUN_TEST_STEP -1 CTestHandler InitManager
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-1
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-2
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-2
//! @file
//! @SYMTestCaseDesc Clearing existing applications
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Clearing existing applications
RUN_TEST_STEP -1 CTestHandler ClearAllApps
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-2
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-3
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-3
//! @file
//! @SYMTestCaseDesc Destroy the manager
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Destroy the manager
RUN_TEST_STEP -1 CTestHandler DestroyManager
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-3
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-4
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-4
//! @file
//! @SYMTestCaseDesc Test add protected by WriteDeviceData
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Test add protected by WriteDeviceData
RUN_TEST_STEP -1 CTestHandler policytest apipolicing.ini SEC-TCERTAPPS-APIPOLICING-4-001
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-4
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-5
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-5
//! @file
//! @SYMTestCaseDesc Test list not protected
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Test list not protected
RUN_TEST_STEP -1 CTestHandler policytest apipolicing.ini SEC-TCERTAPPS-APIPOLICING-5-001
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-5
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-6
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-6
//! @file
//! @SYMTestCaseDesc Test remove protected by WriteDeviceData
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Test remove protected by WriteDeviceData
RUN_TEST_STEP -1 CTestHandler policytest apipolicing.ini SEC-TCERTAPPS-APIPOLICING-6-001
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-6
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-7
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-7
//! @file
//! @SYMTestCaseDesc Initialise
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Initialise
RUN_TEST_STEP -1 CTestHandler InitManager
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-7
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-8
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-8
//! @file
//! @SYMTestCaseDesc Clearing existing applications
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Clearing existing applications
RUN_TEST_STEP -1 CTestHandler ClearAllApps
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-8
START_TESTCASE SEC-TCERTAPPS-APIPOLICING-9
//! @SYMTestCaseID SEC-TCERTAPPS-APIPOLICING-9
//! @file
//! @SYMTestCaseDesc Destroy the manager
//! @SYMREQ REQ3466
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
//! @SYMTestActions 1) Destroy the manager
RUN_TEST_STEP -1 CTestHandler DestroyManager
END_TESTCASE SEC-TCERTAPPS-APIPOLICING-9