omxilvideocomps/omxilgraphicsink/tsrc/scripts/tsu_omxilgraphicsink_06.script
author hgs
Fri, 08 Oct 2010 22:09:17 +0100
changeset 0 5d29cba61097
permissions -rw-r--r--
2010wk38_02

//
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "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: 
//

LOAD_SUITE tsu_omxilgraphicsink


START_TESTCASE MMVIDEO-OMX-GS-006-01-HP
//! @SYMTestCaseID          MMVIDEO-OMX-GS-006-01-HP
//! @SYMTestType            UT
//! @SYMTestCaseDesc        Stress Test Set buffer count actual
//! @SYMTestExpectedResults Buffer count changes are excepted and state is changed
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
//!                         Wait for callback to return OMX_EventCmdComplete
//!                         Send command OMX_StateLoaded and Free required number of buffer
//!                         Incrementally increase number of buffers and repeat test
//!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-006-01-HP
END_TESTCASE MMVIDEO-OMX-GS-006-01-HP

START_TESTCASE MMVIDEO-OMX-GS-006-02-HP
//! @SYMTestCaseID          MMVIDEO-OMX-GS-006-02-HP
//! @SYMTestType            UT
//! @SYMTestCaseDesc        Stress Test Set buffer count actual
//! @SYMTestExpectedResults Buffer count changes are excepted and state is changed
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
//!                         Attempt to allocate an aditional buffer
//!                         AllocateBuffer returned correct error: OMX_ErrorIncorrectStateOperation
//!                         Confirm state remains OMX_StateIdle using Get State
//!                         FreeBuffer without calling SendCommand to OMX_StateLoaded
//!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-006-02-HP
END_TESTCASE MMVIDEO-OMX-GS-006-02-HP