contentmgmt/referencedrmagent/tcaf/scripts/oom.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 12 Oct 2009 10:17:04 +0300
changeset 15 da2ae96f639b
child 29 ece3df019add
permissions -rw-r--r--
Revision: 200941 Kit: 200941

//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//
//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Symbian Foundation License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

LOAD_SUITE tcaf

START_TESTCASE 			SEC-CAF-OOM-0001
//! @file
//! @SYMTestCaseID 		SEC-CAF-OOM-0001
//! @SYMTestCaseDesc 		Check the OOM case for reading from a CAF file
//!				(Consumer_OOM)
//! @SYMPREQ			PREQ1951
//! @SYMTestStatus		Implemented
//! @SYMTestPriority		Critical
//! @SYMTestActions		Check that no memory leaks occur
//! @SYMTestExpectedResults	No memory leaks occur
//! @SYMTestType		Unit
RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomRead
END_TESTCASE 			SEC-CAF-OOM-0001

START_TESTCASE 			SEC-CAF-OOM-0002
//! @file
//! @SYMTestCaseID 		SEC-CAF-OOM-0002
//! @SYMTestCaseDesc 		Check the OOM case for supplying a file to CAF 
//!				(Supplier_OOM)
//! @SYMPREQ			PREQ1951
//! @SYMTestStatus		Implemented
//! @SYMTestPriority		Critical
//! @SYMTestActions		Check that no memory leaks occur
//! @SYMTestExpectedResults	No memory leaks occur
//! @SYMTestType		Unit
RUN_UTILS Delete c:\supplied.drm 
RUN_TEST_STEP 200 tcaf CAFOomStep c:\tcaf\oom.ini OomSupply
END_TESTCASE 			SEC-CAF-OOM-0002