os/security/contentmgmt/referencedrmagent/tcaf/scripts/oom.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 
    18 LOAD_SUITE tcaf
    19 
    20 START_TESTCASE 			SEC-CAF-OOM-0001
    21 //! @file
    22 //! @SYMTestCaseID 		SEC-CAF-OOM-0001
    23 //! @SYMTestCaseDesc 		Check the OOM case for reading from a CAF file
    24 //!				(Consumer_OOM)
    25 //! @SYMPREQ			PREQ1951
    26 //! @SYMTestStatus		Implemented
    27 //! @SYMTestPriority		Critical
    28 //! @SYMTestActions		Check that no memory leaks occur
    29 //! @SYMTestExpectedResults	No memory leaks occur
    30 //! @SYMTestType		Unit
    31 RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomRead
    32 END_TESTCASE 			SEC-CAF-OOM-0001
    33 
    34 START_TESTCASE 			SEC-CAF-OOM-0002
    35 //! @file
    36 //! @SYMTestCaseID 		SEC-CAF-OOM-0002
    37 //! @SYMTestCaseDesc 		Check the OOM case for supplying a file to CAF 
    38 //!				(Supplier_OOM)
    39 //! @SYMPREQ			PREQ1951
    40 //! @SYMTestStatus		Implemented
    41 //! @SYMTestPriority		Critical
    42 //! @SYMTestActions		Check that no memory leaks occur
    43 //! @SYMTestExpectedResults	No memory leaks occur
    44 //! @SYMTestType		Unit
    45 RUN_UTILS Delete c:\supplied.drm 
    46 RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomSupply
    47 END_TESTCASE 			SEC-CAF-OOM-0002