omxilvideocomps/omxilgraphicsink/tsrc/scripts/tsu_omxilgraphicsink_07.script
author hgs
Fri, 08 Oct 2010 22:09:17 +0100
changeset 0 5d29cba61097
permissions -rw-r--r--
2010wk38_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     1
//
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     2
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     3
// All rights reserved.
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     4
// This component and the accompanying materials are made available
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     5
// under the terms of "Eclipse Public License v1.0"
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     6
// which accompanies this distribution, and is available
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     8
//
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     9
// Initial Contributors:
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    10
// Nokia Corporation - initial contribution.
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    11
//
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    12
// Contributors:
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    13
//
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    14
// Description: 
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    15
//
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    16
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    17
LOAD_SUITE tsu_omxilgraphicsink
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    18
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    19
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    20
START_TESTCASE MMVIDEO-OMX-GS-007-01-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    21
//! @SYMTestCaseID          MMVIDEO-OMX-GS-007-01-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    22
//! @SYMTestType            UT
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    23
//! @SYMTestCaseDesc        Pause test
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    24
//! @SYMTestExpectedResults State is changed and callbacks are invoked
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    25
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    26
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    27
//!                         Send command OMX_StateExecuting and wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    28
//!                         Fill Allocated buffer with colour using filled CCameraBuffer*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    29
//!                         Call Empty this buffer and wait for DoEmptyBufferDone callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    30
//!                         Call Empty this buffer for next buffer and repeat multiple times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    31
//!                         Send command OMX_StatePause and wait for callback to return OMX_EventCmdComplete after a certain amount buffers emptied
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    32
//!                         Send command OMX_StateExecuting and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    33
//!                         Repeat this loop five times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    34
//!                         Send command OMX_StateIdle and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    35
//!                         Send command OMX_StateLoaded and Free required number of buffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    36
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    37
//!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    38
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    39
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    40
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-007-01-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    41
END_TESTCASE MMVIDEO-OMX-GS-007-01-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    42
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    43
START_TESTCASE MMVIDEO-OMX-GS-007-02-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    44
//! @SYMTestCaseID          MMVIDEO-OMX-GS-007-02-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    45
//! @SYMTestType            UT
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    46
//! @SYMTestCaseDesc        Pause test
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    47
//! @SYMTestExpectedResults State is changed and callbacks are invoked
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    48
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    49
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    50
//!                         Send command OMX_StateExecuting and wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    51
//!                         Fill Allocated buffer with colour using filled CCameraBuffer*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    52
//!                         Call Empty this buffer and wait for DoEmptyBufferDone callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    53
//!                         Call Empty this buffer for next buffer and repeat multiple times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    54
//!                         Send command OMX_StatePause and wait for callback to return OMX_EventCmdComplete after a certain amount buffers emptied
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    55
//!                         Send command OMX_StateIdle and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    56
//!                         Send command OMX_StateExecuting and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    57
//!                         Repeat this loop five times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    58
//!                         Send command OMX_StateIdle and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    59
//!                         Send command OMX_StateLoaded and Free required number of buffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    60
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    61
//!                         COmxILGraphicSinkProcessingFunction::StateTransitionIndication
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    62
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    63
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    64
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-007-02-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    65
END_TESTCASE MMVIDEO-OMX-GS-007-02-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    66
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    67
START_TESTCASE MMVIDEO-OMX-GS-007-03-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    68
//! @SYMTestCaseID          MMVIDEO-OMX-GS-007-03-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    69
//! @SYMTestType            UT
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    70
//! @SYMTestCaseDesc        Pause test
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    71
//! @SYMTestExpectedResults State is changed and callbacks are invoked
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    72
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    73
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    74
//!                         Send command OMX_StateExecuting and wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    75
//!                         Fill Allocated buffer with colour using filled CCameraBuffer*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    76
//!                         Call Empty this buffer and wait for DoEmptyBufferDone callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    77
//!                         Call Empty this buffer for next buffer and repeat multiple times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    78
//!                         Send command OMX_StateIdle and wait for callback to return OMX_EventCmdComplete after a certain amount buffers emptied
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    79
//!                         Send command OMX_StatePause and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    80
//!                         Send command OMX_StateExecuting and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    81
//!                         Repeat this loop five times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    82
//!                         Send command OMX_StateIdle and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    83
//!                         Send command OMX_StateLoaded and Free required number of buffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    84
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    85
//!							COmxILGraphicSinkProcessingFunction::StateTransitionIndication
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    86
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    87
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    88
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-007-03-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    89
END_TESTCASE MMVIDEO-OMX-GS-007-03-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    90
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    91
START_TESTCASE MMVIDEO-OMX-GS-007-04-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    92
//! @SYMTestCaseID          MMVIDEO-OMX-GS-007-04-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    93
//! @SYMTestType            UT
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    94
//! @SYMTestCaseDesc        Pause test
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    95
//! @SYMTestExpectedResults State is changed and callbacks are invoked
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    96
//! @SYMTestActions         Send command OMX_StateIdle and Allocate required number of buffers
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    97
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    98
//!                         Send command OMX_StateExecuting and wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    99
//!                         Fill Allocated buffer with colour using filled CCameraBuffer*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   100
//!                         Call Empty this buffer and wait for DoEmptyBufferDone callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   101
//!                         Call Empty this buffer for next buffer and repeat multiple times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   102
//!                         Send command OMX_StatePause and wait for callback to return OMX_EventCmdComplete after a certain amount buffers emptied
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   103
//!                         Send command OMX_StateIdle and wait for callback 
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   104
//!                         Send command OMX_StatePause and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   105
//!                         Send command OMX_StateExecuting and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   106
//!                         Repeat this loop five times
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   107
//!                         Send command OMX_StateIdle and wait for callback
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   108
//!                         Send command OMX_StateLoaded and Free required number of buffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   109
//!                         Wait for callback to return OMX_EventCmdComplete
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   110
//!							COmxILGraphicSinkProcessingFunction::StateTransitionIndication
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   111
//!                         COmxILGraphicSinkProcessingFunction::CreateBufferL
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   112
//!                         COmxILGraphicSinkProcessingFunction::DestroyBuffer
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   113
RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-007-04-HP
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   114
END_TESTCASE MMVIDEO-OMX-GS-007-04-HP