os/security/authorisation/userpromptservice/policies/test/tupspolicies/scripts/tpolicycacheoom.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 //
     2 // Copyright (c) 2009 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 
    17 LOAD_SUITE tupspolicies
    18 PRINT ----------------------------------------------------------
    19 PRINT tupspolicies: 
    20 PRINT User Prompt Service policy library OOM unit test
    21 PRINT ----------------------------------------------------------
    22 
    23 // Clean environment. Policy directory on system drive must not exist for the first tests
    24 // to allow us to check that the library works if the path doesn't exist.
    25 RUN_UTILS DELETEFILE		c:\upsrefnotifier.txt
    26 RUN_UTILS DELETEFILE		c:\tups\tpolicies\policies\ups_01033000_01032001.rsc
    27 RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01034000_01032001.rsc
    28 RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01035000_01035001.rsc
    29 RUN_UTILS DELETEFILE 		c:\tups\tpolicies\policies\ups_01036000_01036001.rsc
    30 RUN_UTILS DELETEDIRECTORY 	c:\tups\tpolicies\policies\
    31 
    32 //! @SYMTestCaseID SEC-UPS-POLICIES-CACHEOOM-0001
    33 //! @SYMTestCaseDesc OOM tests for policy cache
    34 //! @SYMTestPriority High
    35 //! @SYMTestActions Test policy cache with with OOM tests enabled.
    36 //! @SYMTestExpectedResults No memory leaks.
    37 //! @SYMDevelopedForRelease Oghma
    38 START_TESTCASE SEC-UPS-POLICIES-CACHEOOM-0001
    39 RUN_TEST_STEP_RESULT 0 100 tupspolicies TEFUnit.CTestPlugins.TestCacheL z:\tups\tpolicies\scripts\policymatchoom.ini
    40 END_TESTCASE SEC-UPS-POLICIES-CACHEOOM-0001
    41 
    42 // Cleanup automated notifier response
    43 RUN_UTILS DELETEFILE		c:\upsrefnotifier.txt