103 <Wait delaytime="3000000" /> |
103 <Wait delaytime="3000000" /> |
104 <AllTransition state="idle" order="auto"/> |
104 <AllTransition state="idle" order="auto"/> |
105 <AllTransition state="loaded" order="auto"/> |
105 <AllTransition state="loaded" order="auto"/> |
106 </Test> |
106 </Test> |
107 |
107 |
108 |
108 |
|
109 <Test name="CTC_coverage_filesink"> |
|
110 <!-- Simple file read\write testcase: all comps. to IDLE then to EXECUTING then 3 secs later to IDLE |
|
111 --> |
|
112 <LoadComponent comp="filesink" name="OMX.NOKIA.VIDEO.FILESINK" /> |
|
113 <LoadComponent comp="filesource" name="OMX.NOKIA.VIDEO.FILESOURCE" /> |
|
114 |
|
115 <SetupTunnel output="filesource:0" input="filesink:0" /> |
|
116 <BufferSupplierOverride output="filesource:0" input="filesink:0" supplier="output" /> |
|
117 |
|
118 <SetFilename comp="filesink" filename="C:\omxil\data\aac_same_video.stream" /> |
|
119 |
|
120 <SetFilename comp="filesource" filename="C:\omxil\data\aac.stream" /> |
|
121 <GetFilename comp="filesink" filename="C:\omxil\data\aab_same_video.stream"/> |
|
122 |
|
123 <IgnoreEvent comp="filesink" event="PortSettingsChanged" nData1="0x02000001" nData2="0" nData3="0"/> |
|
124 <IgnoreEvent comp="filesource" event="PortSettingsChanged" nData1="0x02000001" nData2="0" nData3="0"/> |
|
125 |
|
126 <IgnoreEvent comp="filesink" event="OMX_EventBufferFlag" nData1="0x00000000 " nData2="0x00000001" nData3="0"/> |
|
127 <IgnoreEvent comp="filesource" event="OMX_EventBufferFlag" nData1="0x00000000 " nData2="0x00000001" nData3="0"/> |
|
128 <AllTransition state="idle" order="auto"/> |
|
129 <FlushBuffer port="filesink:0" expectedomxerr="OMX_ErrorNone" /> |
|
130 <ExpectEvent comp="filesink" event="CmdComplete" nData1="0x00000001" nData2="0" /> |
|
131 <AllTransition state="executing" order="auto" /> |
|
132 <AllTransition state="pause" order="auto"/> |
|
133 <SetVideoPortDef port="filesink:0" codingType="mpeg4" expectedomxerr="OMX_ErrorIncorrectStateOperation"/> |
|
134 <EnablePort port="filesink:0" /> |
|
135 <ExpectEvent comp="filesink" event="CmdComplete" nData1="0x00000003" nData2="0" /> |
|
136 <Wait delaytime="3000000" /> |
|
137 <SetupTunnel output="filesource:0" input="filesink:0" expectedomxerr="OMX_ErrorIncorrectStateOperation"/> |
|
138 <AllTransition state="idle" order="auto"/> |
|
139 <SetupTunnel output="filesource:0" input="filesink:0" expectedomxerr="OMX_ErrorIncorrectStateOperation"/> |
|
140 <AllTransition state="loaded" order="auto"/> |
|
141 <AllTransition state="WaitForResources" /> |
|
142 <SetFilename comp="filesink" filename="C:\omxil\data\aac_same_video.stream" /> |
|
143 <SetupTunnel output="filesource:0" input="filesink:0" expectedomxerr="OMX_ErrorIncorrectStateOperation"/> |
|
144 <EnablePort port="filesink:0" /> |
|
145 <ExpectEvent comp="filesink" event="CmdComplete" nData1="0x00000003" nData2="0" /> |
|
146 <IgnoreEvent comp="filesink" event="Error" nData1="0x8000100A" nData2="0" nData3="0"/> |
|
147 <IgnoreEvent comp="filesource" event="Error" nData1="0x8000100A" nData2="0" nData3="0"/> |
|
148 <AllTransition state="Invalid" /> |
|
149 <SetupTunnel output="filesource:0" input="filesink:0" expectedomxerr="OMX_ErrorInvalidState"/> |
|
150 </Test> |
|
151 |
109 </TestSet> |
152 </TestSet> |
110 |
153 |
111 |
154 |
112 |
155 |