os/security/authorisation/userpromptservice/policies/test/tupspolicies/scripts/tpolicycacheoom.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/authorisation/userpromptservice/policies/test/tupspolicies/scripts/tpolicycacheoom.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of the License "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +
    1.20 +LOAD_SUITE tupspolicies
    1.21 +PRINT ----------------------------------------------------------
    1.22 +PRINT tupspolicies: 
    1.23 +PRINT User Prompt Service policy library OOM unit test
    1.24 +PRINT ----------------------------------------------------------
    1.25 +
    1.26 +// Clean environment. Policy directory on system drive must not exist for the first tests
    1.27 +// to allow us to check that the library works if the path doesn't exist.
    1.28 +RUN_UTILS DELETEFILE		c:\upsrefnotifier.txt
    1.29 +RUN_UTILS DELETEFILE		c:\tups\tpolicies\policies\ups_01033000_01032001.rsc
    1.30 +RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01034000_01032001.rsc
    1.31 +RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01035000_01035001.rsc
    1.32 +RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01036000_01036001.rsc
    1.33 +RUN_UTILS DELETEDIRECTORY 	c:\tups\tpolicies\policies\
    1.34 +
    1.35 +//! @SYMTestCaseID SEC-UPS-POLICIES-CACHEOOM-0001
    1.36 +//! @SYMTestCaseDesc OOM tests for policy cache
    1.37 +//! @SYMTestPriority High
    1.38 +//! @SYMTestActions Test policy cache with with OOM tests enabled.
    1.39 +//! @SYMTestExpectedResults No memory leaks.
    1.40 +//! @SYMDevelopedForRelease Oghma
    1.41 +START_TESTCASE SEC-UPS-POLICIES-CACHEOOM-0001
    1.42 +RUN_TEST_STEP_RESULT 0 100 tupspolicies TEFUnit.CTestPlugins.TestCacheL z:\tups\tpolicies\scripts\policymatchoom.ini
    1.43 +END_TESTCASE SEC-UPS-POLICIES-CACHEOOM-0001
    1.44 +
    1.45 +// Cleanup automated notifier response
    1.46 +RUN_UTILS DELETEFILE		c:\upsrefnotifier.txt