contentmgmt/referencedrmagent/tcaf/scripts/oom.script
changeset 15 da2ae96f639b
child 29 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     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 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
    18 // All rights reserved.
       
    19 // This component and the accompanying materials are made available
       
    20 // under the terms of the License "Symbian Foundation License v1.0"
       
    21 // which accompanies this distribution, and is available
       
    22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
    23 //
       
    24 // Initial Contributors:
       
    25 // Nokia Corporation - initial contribution.
       
    26 //
       
    27 // Contributors:
       
    28 //
       
    29 // Description:
       
    30 //
       
    31 
       
    32 LOAD_SUITE tcaf
       
    33 
       
    34 START_TESTCASE 			SEC-CAF-OOM-0001
       
    35 //! @file
       
    36 //! @SYMTestCaseID 		SEC-CAF-OOM-0001
       
    37 //! @SYMTestCaseDesc 		Check the OOM case for reading from a CAF file
       
    38 //!				(Consumer_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_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomRead
       
    46 END_TESTCASE 			SEC-CAF-OOM-0001
       
    47 
       
    48 START_TESTCASE 			SEC-CAF-OOM-0002
       
    49 //! @file
       
    50 //! @SYMTestCaseID 		SEC-CAF-OOM-0002
       
    51 //! @SYMTestCaseDesc 		Check the OOM case for supplying a file to CAF 
       
    52 //!				(Supplier_OOM)
       
    53 //! @SYMPREQ			PREQ1951
       
    54 //! @SYMTestStatus		Implemented
       
    55 //! @SYMTestPriority		Critical
       
    56 //! @SYMTestActions		Check that no memory leaks occur
       
    57 //! @SYMTestExpectedResults	No memory leaks occur
       
    58 //! @SYMTestType		Unit
       
    59 RUN_UTILS Delete c:\supplied.drm 
       
    60 RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomSupply
       
    61 END_TESTCASE 			SEC-CAF-OOM-0002