|
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 START_TESTCASE MMVIDEO-OMX-GS-009-04-HP |
|
20 //! @SYMTestCaseID MMVIDEO-OMX-GS-009-04-HP |
|
21 //! @SYMTestCaseDesc Stress test Wait for Resources to Executing using AllocateBuffer |
|
22 //! @SYMTestExpectedResults State is changed and callback is invoked |
|
23 //! @SYMTestActions Send command OMX_StateWaitForResources and Allocate required number of buffers |
|
24 //! Wait for callback to return OMX_EventCmdComplete |
|
25 //! Send command OMX_StateIdle and Allocate required number of buffers |
|
26 //! Wait for callback to return OMX_EventCmdComplete |
|
27 //! Send command OMX_StateExecuting and then send command OMX_StateIdle |
|
28 //! Send command OMX_StateLoaded and Free required number of buffer |
|
29 //! Wait for callback to return OMX_EventCmdComplete |
|
30 //! Repeat test multiple times |
|
31 //! COmxILGraphicSinkProcessingFunction::StateTransitionIndication |
|
32 //! COmxILGraphicSinkProcessingFunction::CreateBufferL |
|
33 //! COmxILGraphicSinkProcessingFunction::DestroyBuffer |
|
34 RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-009-00-HP z:\omxil\configs\tsu_omxilgraphicsink.ini AllocateBufferStateFour |
|
35 END_TESTCASE MMVIDEO-OMX-GS-009-04-HP |