omxilvideocomps/omxilgraphicsink/tsrc/scripts/tsu_omxilgraphicsink_06.script
changeset 0 5d29cba61097
equal deleted inserted replaced
-1:000000000000 0:5d29cba61097
       
     1 //
       
     2 // Copyright (c) 2009-2010 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 "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 LOAD_SUITE tsu_omxilgraphicsink
       
    18 
       
    19 
       
    20 START_TESTCASE MMVIDEO-OMX-GS-006-01-HP
       
    21 //! @SYMTestCaseID          MMVIDEO-OMX-GS-006-01-HP
       
    22 //! @SYMTestType            UT
       
    23 //! @SYMTestCaseDesc        Stress Test Set buffer count actual
       
    24 //! @SYMTestExpectedResults Buffer count changes are excepted and state is changed
       
    25 //! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
       
    26 //!                         Wait for callback to return OMX_EventCmdComplete
       
    27 //!                         Send command OMX_StateLoaded and Free required number of buffer
       
    28 //!                         Incrementally increase number of buffers and repeat test
       
    29 //!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
       
    30 //!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
       
    31 //!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
       
    32 RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-006-01-HP
       
    33 END_TESTCASE MMVIDEO-OMX-GS-006-01-HP
       
    34 
       
    35 START_TESTCASE MMVIDEO-OMX-GS-006-02-HP
       
    36 //! @SYMTestCaseID          MMVIDEO-OMX-GS-006-02-HP
       
    37 //! @SYMTestType            UT
       
    38 //! @SYMTestCaseDesc        Stress Test Set buffer count actual
       
    39 //! @SYMTestExpectedResults Buffer count changes are excepted and state is changed
       
    40 //! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
       
    41 //!                         Attempt to allocate an aditional buffer
       
    42 //!                         AllocateBuffer returned correct error: OMX_ErrorIncorrectStateOperation
       
    43 //!                         Confirm state remains OMX_StateIdle using Get State
       
    44 //!                         FreeBuffer without calling SendCommand to OMX_StateLoaded
       
    45 //!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
       
    46 //!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
       
    47 //!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
       
    48 RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-006-02-HP
       
    49 END_TESTCASE MMVIDEO-OMX-GS-006-02-HP