sl@0: // sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: sl@0: LOAD_SUITE tcaf sl@0: sl@0: START_TESTCASE SEC-CAF-OOM-0001 sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-OOM-0001 sl@0: //! @SYMTestCaseDesc Check the OOM case for reading from a CAF file sl@0: //! (Consumer_OOM) sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Check that no memory leaks occur sl@0: //! @SYMTestExpectedResults No memory leaks occur sl@0: //! @SYMTestType Unit sl@0: RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomRead sl@0: END_TESTCASE SEC-CAF-OOM-0001 sl@0: sl@0: START_TESTCASE SEC-CAF-OOM-0002 sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-OOM-0002 sl@0: //! @SYMTestCaseDesc Check the OOM case for supplying a file to CAF sl@0: //! (Supplier_OOM) sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Check that no memory leaks occur sl@0: //! @SYMTestExpectedResults No memory leaks occur sl@0: //! @SYMTestType Unit sl@0: RUN_UTILS Delete c:\supplied.drm sl@0: RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomSupply sl@0: END_TESTCASE SEC-CAF-OOM-0002