contentmgmt/referencedrmagent/tcaf/scripts/oom.script
changeset 15 da2ae96f639b
child 29 ece3df019add
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contentmgmt/referencedrmagent/tcaf/scripts/oom.script	Mon Oct 12 10:17:04 2009 +0300
@@ -0,0 +1,61 @@
+//
+// 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
\ No newline at end of file