Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // 3GP library parser OOM Unit Testing script
15 // testexecute.exe [path]\[this script name]. 3GP library and necessary test files should be present.
16 // It requires no exceptional network support.
21 //! @SYMTestSuiteName tsu_3gp_parse_oom
22 //! @SYMScriptTestEnvironment This test runs using Symbian test execution with the following test list entry:
23 //! @SYMScriptInfo All tests contained in this suite are duplicates of OOM-applicable test cases from test suite tsu_3gp_parse_api (tsu_3gp_parse_api_te.script). This allows the test suite tsu_3gp_parse_api to focus solely on functional testing.
26 PRINT Run all the 3GP library parser api Unit
29 LOAD_SUITE tsu_3gplibrary
33 START_TESTCASE MM-3GP-PARSE-U-0201-CP
34 //! @SYMTestCaseID MM-3GP-PARSE-U-0201-CP
36 //! @SYMTestCaseDesc Setup parser to read file by file path
37 //! Pre-Condition A valid mp4/3gp file must be present
38 //! @SYMTestPriority High
39 //! @SYMTestActions Setup parser to open file using different file modes and read file by file path
40 //! @SYMTestExpectedResults File read and complete with no error
41 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0001-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H263-ARMNB
42 END_TESTCASE MM-3GP-PARSE-U-0201-CP
44 START_TESTCASE MM-3GP-PARSE-U-0202-CP
45 //! @SYMTestCaseID MM-3GP-PARSE-U-0202-CP
47 //! @SYMTestCaseDesc Setup parser to use buffer mode
48 //! Pre-Condition A valid mp4/3gp file must be present
49 //! @SYMTestPriority High
50 //! @SYMTestActions Setup parser to open and read file by buffer mode
51 //! @SYMTestExpectedResults File read and complete with no error
52 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0002-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-MP4
53 END_TESTCASE MM-3GP-PARSE-U-0202-CP
55 START_TESTCASE MM-3GP-PARSE-U-0203-CP
56 //! @SYMTestCaseID MM-3GP-PARSE-U-0203-CP
58 //! @SYMTestCaseDesc Setup parser to read file by file handle
59 //! Pre-Condition A valid mp4/3gp file must be present
60 //! @SYMTestPriority High
61 //! @SYMTestActions Setup parser to open file using different file modes and read file by file handle
62 //! @SYMTestExpectedResults File read and complete with no error
63 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0003-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-MP4
64 END_TESTCASE MM-3GP-PARSE-U-0203-CP
66 START_TESTCASE MM-3GP-PARSE-U-0204-CP
67 //! @SYMTestCaseID MM-3GP-PARSE-U-0204-CP
69 //! @SYMTestCaseDesc Setup parser to read file by ContentAccess::CData
70 //! Pre-Condition A valid mp4/3gp file must be present
71 //! @SYMTestPriority High
72 //! @SYMTestActions Setup parser to open and read file by ContentAccess::CData
73 //! @SYMTestExpectedResults File read and complete with no error
74 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0004-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-MP4
75 END_TESTCASE MM-3GP-PARSE-U-0204-CP
77 START_TESTCASE MM-3GP-PARSE-U-0205-CP
78 //! @SYMTestCaseID MM-3GP-PARSE-U-0205-CP
80 //! @SYMTestCaseDesc Retrieve video & audio stream attributes from a mp4/3gp/3g2 file using file mode
81 //! Pre-Condition A valid mp4/3gp file containing both supported audio and video stream (not h263) must be present
82 //! @SYMTestPriority High
83 //! @SYMTestActions Retrieve video & audio stream attributes from a mp4/3gp/3g2 file using file mode
84 - file path / file handle or CAF object.
85 //! @SYMTestExpectedResults File read and complete with no error
86 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0005-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-MP4-MP4
87 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0005-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-MP4
88 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0005-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-H264-WB
89 END_TESTCASE MM-3GP-PARSE-U-0205-CP
91 START_TESTCASE MM-3GP-PARSE-U-0206-CP
92 //! @SYMTestCaseID MM-3GP-PARSE-U-0206-CP
94 //! @SYMTestCaseDesc Retrieve video & audio stream attributes from a mp4/3gp/3g2 file using buffer mode
95 //! Pre-Condition A valid mp4/3gp file containing both supported audio and video stream must be present
96 //! @SYMTestPriority High
97 //! @SYMTestActions Retrieve video & audio stream attributes from a mp4/3gp/3g2 file using buffer mode
98 //! @SYMTestExpectedResults Retrieve video & audio stream attributes with no error
99 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0006-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-MP4-MP4
100 END_TESTCASE MM-3GP-PARSE-U-0206-CP
102 START_TESTCASE MM-3GP-PARSE-U-0207-CP
103 //! @SYMTestCaseID MM-3GP-PARSE-U-0207-CP
105 //! @SYMTestCaseDesc Check if the clip is streamable in file mode
106 //! Pre-Condition A non-streamable mp4/3gp/3g2 file must be present
107 //! @SYMTestPriority High
108 //! @SYMTestActions Check if the clip is streamable in file mode
109 //! @SYMTestExpectedResults Result returned is non-streamable
110 RUN_TEST_STEP !OOM !Error=-5 -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini NON-STREAMABLE
111 END_TESTCASE MM-3GP-PARSE-U-0207-CP
113 START_TESTCASE MM-3GP-PARSE-U-0208-CP
114 //! @SYMTestCaseID MM-3GP-PARSE-U-0208-CP
116 //! @SYMTestCaseDesc Check if the clip is streamable in buffer mode
117 //! Pre-Condition A non-streamable mp4/3gp/3g2 file must be present
118 //! @SYMTestPriority High
119 //! @SYMTestActions Check if the clip is streamable in buffer mode
120 //! @SYMTestExpectedResults Result returned is non-streamable
121 RUN_TEST_STEP !OOM !Error=-5 -1 tsu_3gplibrary MM-3GP-PARSE-U-0008-CP c:\mm\tsu_3gp_parse_api_te.ini NON-STREAMABLE
122 END_TESTCASE MM-3GP-PARSE-U-0208-CP
124 START_TESTCASE MM-3GP-PARSE-U-0209-CP
125 //! @SYMTestCaseID MM-3GP-PARSE-U-0209-CP
127 //! @SYMTestCaseDesc Check if the clip is streamable in file mode
128 //! Pre-Condition A streamable mp4/3gp/3g2 file must be present
129 //! @SYMTestPriority High
130 //! @SYMTestActions Check if the clip is streamable in file mode
131 //! @SYMTestExpectedResults Result returned is streamable
132 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
133 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-AUDIO-ONLY
134 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY
135 RUN_TEST_STEP !OOM !Error=-2 -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-NO-A-V
136 RUN_TEST_STEP !OOM !Error=-20 -1 tsu_3gplibrary MM-3GP-PARSE-U-0007-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-H263+-ARMWB
137 END_TESTCASE MM-3GP-PARSE-U-0209-CP
139 START_TESTCASE MM-3GP-PARSE-U-0210-CP
140 //! @SYMTestCaseID MM-3GP-PARSE-U-0210-CP
142 //! @SYMTestCaseDesc Check if the clip is streamable in buffer mode
143 //! Pre-Condition A streamable mp4/3gp/3g2 file must be present
144 //! @SYMTestPriority High
145 //! @SYMTestActions Check if the clip is streamable in buffer mode
146 //! @SYMTestExpectedResults Result returned is streamable
147 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0008-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
148 END_TESTCASE MM-3GP-PARSE-U-0210-CP
150 START_TESTCASE MM-3GP-PARSE-U-0211-CP
151 //! @SYMTestCaseID MM-3GP-PARSE-U-0211-CP
153 //! @SYMTestCaseDesc Retrieve buffered bytes, and video & audio frames synchronously in file mode
154 //! Pre-Condition A valid mp4/3gp file containing both supported audio and video stream must be present
155 //! @SYMTestPriority High
156 //! @SYMTestActions Retrieve buffered bytes, and video & audio frames synchronously in file mode
157 //! @SYMTestExpectedResults Retrieving buffered bytes returns KErrNotSupported. Retrieving audio and video frames with no errors.
158 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0011-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-MP4-MP4
159 END_TESTCASE MM-3GP-PARSE-U-0211-CP
161 START_TESTCASE MM-3GP-PARSE-U-0214-CP
162 //! @SYMTestCaseID MM-3GP-PARSE-U-0214-CP
164 //! @SYMTestCaseDesc Parse video & audio frames from a mp4/3gp file asynchronously
165 //! Pre-Condition A valid mp4/3gp file containing both supported audio and video stream must be present
166 //! @SYMTestPriority High
167 //! @SYMTestActions Parse video & audio frames from a mp4/3gp file asynchronously thru file path, file handle and CAF object.
168 //! @SYMTestExpectedResults All frames retrieved with no error.
169 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0014-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
170 END_TESTCASE MM-3GP-PARSE-U-0214-CP
172 START_TESTCASE MM-3GP-PARSE-U-0215-CP
173 //! @SYMTestCaseID MM-3GP-PARSE-U-0215-CP
175 //! @SYMTestCaseDesc Parse video & audio frames from a mp4/3gp file synchronously
176 //! Pre-Condition A valid mp4/3gp file containing both supported audio and video stream must be present
177 //! @SYMTestPriority High
178 //! @SYMTestActions Parse video & audio frames from a mp4/3gp file synchronously in buffer mode.
179 //! @SYMTestExpectedResults All frames retrieved with no error.
180 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0015-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
181 END_TESTCASE MM-3GP-PARSE-U-0215-CP
183 START_TESTCASE MM-3GP-PARSE-U-0216-CP
184 //! @SYMTestCaseID MM-3GP-PARSE-U-0216-CP
186 //! @SYMTestCaseDesc Get frame type
187 //! Pre-Condition Different files which contain different video and different audio types must be present
188 //! @SYMTestPriority High
189 //! @SYMTestActions Get frame type in file path.
190 //! @SYMTestExpectedResults All frame types retrieved with no error.
191 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-AUDIO-ONLY
192 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY
193 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
194 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-H263-QCEL-MP4
195 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini H263-P3-L15
196 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-H264-MP4
197 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-main-NB
198 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-extended-NB
199 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
200 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-NONE-WB
201 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H263-ARMNB
202 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-H263-QCEL-MP4
203 RUN_TEST_STEP !OOM !Error=-2 -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-NO-A-V
204 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0016-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-main-ONLY
205 END_TESTCASE MM-3GP-PARSE-U-0216-CP
207 START_TESTCASE MM-3GP-PARSE-U-0217-CP
208 //! @SYMTestCaseID MM-3GP-PARSE-U-0217-CP
210 //! @SYMTestCaseDesc Get the QCELP storage mode
211 //! Pre-Condition A valid mp4/3gp file containing QCELP encoded audio stored using QCELP sample entry
213 //! @SYMTestPriority High
214 //! @SYMTestActions Get the QCELP storage mode in file path and buffer mode.
215 //! @SYMTestExpectedResults The QCELP storage mode retrieved with no error and the mode returned is QCELP sample entry
217 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0017-CP c:\mm\tsu_3gp_parse_api_te.ini H263-QCEL-QCELP
218 END_TESTCASE MM-3GP-PARSE-U-0217-CP
220 START_TESTCASE MM-3GP-PARSE-U-0218-CP
221 //! @SYMTestCaseID MM-3GP-PARSE-U-0218-CP
223 //! @SYMTestCaseDesc Get the QCELP storage mode
224 //! Pre-Condition A valid mp4/3gp file containing QCELP encoded audio stored using MPEG4 sample entry
226 //! @SYMTestPriority High
227 //! @SYMTestActions Get the QCELP storage mode in file path and buffer mode.
228 //! @SYMTestExpectedResults The QCELP storage mode retrieved with no error and the mode returned is MPEG4 sample entry
230 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0017-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-H263-QCEL-MP4
231 END_TESTCASE MM-3GP-PARSE-U-0218-CP
233 START_TESTCASE MM-3GP-PARSE-U-0221-CP
234 //! @SYMTestCaseID MM-3GP-PARSE-U-0221-CP
236 //! @SYMTestCaseDesc Get H263 video leve
237 //! Pre-Condition A valid mp4/3gp file with H263 video source of level X must be present
238 //! @SYMTestPriority High
239 //! @SYMTestActions Get H263 video level in file path and buffer mode.
240 //! @SYMTestExpectedResults test with no error
241 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0021-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-H263-QCEL-MP4
242 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0021-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H263-ARMNB
243 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0021-CP c:\mm\tsu_3gp_parse_api_te.ini H263-P3-L15
244 END_TESTCASE MM-3GP-PARSE-U-0221-CP
246 START_TESTCASE MM-3GP-PARSE-U-0223-CP
247 //! @SYMTestCaseID MM-3GP-PARSE-U-0223-CP
249 //! @SYMTestCaseDesc Read Video and audio Decoder Info size and info
250 //! Pre-Condition A valid mp4/3gp file containing video type of MPEG-4/AVC video and supported audio must be present
251 //! @SYMTestPriority High
252 //! @SYMTestActions Read Video and audio Decoder Info size and info in file path and buffer mode.
253 //! @SYMTestExpectedResults test with no error
254 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0023-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
255 END_TESTCASE MM-3GP-PARSE-U-0223-CP
257 START_TESTCASE MM-3GP-PARSE-U-0227-CP
258 //! @SYMTestCaseID MM-3GP-PARSE-U-0227-CP
260 //! @SYMTestCaseDesc Seek different position of a video/audio file
261 //! Pre-Condition A valid 3GP/3G2/MP4 file with equal length of audio and video data must be present
262 //! @SYMTestPriority High
263 //! @SYMTestActions Seek different position of a video/audio file
264 //! @SYMTestExpectedResults test with no error
265 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0027-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-SAME-LEN
266 END_TESTCASE MM-3GP-PARSE-U-0227-CP
268 START_TESTCASE MM-3GP-PARSE-U-0228-CP
269 //! @SYMTestCaseID MM-3GP-PARSE-U-0228-CP
271 //! @SYMTestCaseDesc Seek a position after audio stream has been exhausted and there's still video stream left.
272 //! Pre-Condition A valid 3GP/3G2/MP4 file with length of audio is less than length of video data must be present
273 //! @SYMTestPriority High
274 //! @SYMTestActions Seek a position after audio stream has been exhausted and there's still video stream left.
275 //! @SYMTestExpectedResults test with no error
276 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0027-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-VIDEO-MORE
277 END_TESTCASE MM-3GP-PARSE-U-0228-CP
279 START_TESTCASE MM-3GP-PARSE-U-0229-CP
280 //! @SYMTestCaseID MM-3GP-PARSE-U-0229-CP
282 //! @SYMTestCaseDesc Seek a position after video stream has been exhausted and there's still audio stream left.
283 //! Pre-Condition A valid 3GP/3G2/MP4 file with length of audio is greater than length of video data must be present
284 //! @SYMTestPriority High
285 //! @SYMTestActions Seek a position after video stream has been exhausted and there's still audio stream left.
286 //! @SYMTestExpectedResults test with no error
288 // c:\3gplibrary\h264-aac.3gp returns pos both to 0 because used keyframe True and the file without it.
289 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0027-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-AUDIO-MORE
290 END_TESTCASE MM-3GP-PARSE-U-0229-CP
292 START_TESTCASE MM-3GP-PARSE-U-0230-CP
293 //! @SYMTestCaseID MM-3GP-PARSE-U-0230-CP
295 //! @SYMTestCaseDesc Seek different position
296 //! Pre-Condition A valid mp4/3gp file containing only audio/video must be present
297 //! @SYMTestPriority High
298 //! @SYMTestActions Seek different position
299 //! @SYMTestExpectedResults test with no error
300 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0027-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-AUDIO-ONLY
301 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0027-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY
302 END_TESTCASE MM-3GP-PARSE-U-0230-CP
304 START_TESTCASE MM-3GP-PARSE-U-0231-CP
305 //! @SYMTestCaseID MM-3GP-PARSE-U-0231-CP
307 //! @SYMTestCaseDesc Seek positions after any keyframe and immediately after a non-key frame.
308 //! Pre-Condition A valid mp4/3gp file with and without the use of Key frames must be present
309 //! @SYMTestPriority High
310 //! @SYMTestActions Seek positions after any keyframe and immediately after a non-key frame.
311 //! @SYMTestExpectedResults test with no error
312 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0031-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY-KEYFRAME
313 END_TESTCASE MM-3GP-PARSE-U-0231-CP
315 START_TESTCASE MM-3GP-PARSE-U-0232-CP
316 //! @SYMTestCaseID MM-3GP-PARSE-U-0232-CP
318 //! @SYMTestCaseDesc Check frame availability
319 //! Pre-Condition Valid mp4/3gp files with no video, no audio, audio only, video only, and with audio and video must be present
320 //! @SYMTestPriority High
321 //! @SYMTestActions Check frame availability of different files.
322 //! @SYMTestExpectedResults test with no error
323 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-NO-A-V
324 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-AUDIO-ONLY
325 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY
326 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-VIDEO-MORE
327 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
328 END_TESTCASE MM-3GP-PARSE-U-0232-CP
330 START_TESTCASE MM-3GP-PARSE-U-0233-CP
331 //! @SYMTestCaseID MM-3GP-PARSE-U-0233-CP
333 //! @SYMTestCaseDesc Retrieve video frame size & start time without parsing the content file frame by frame
334 //! Pre-Condition A valid mp4/3gp file with at least video data must be present
335 //! @SYMTestPriority High
336 //! @SYMTestActions Retrieve video frame size & start time without parsing the content file frame by frame in file mode
337 //! @SYMTestExpectedResults test with no error
338 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0033-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY-KEYFRAME
339 END_TESTCASE MM-3GP-PARSE-U-0233-CP
341 START_TESTCASE MM-3GP-PARSE-U-0234-CP
342 //! @SYMTestCaseID MM-3GP-PARSE-U-0234-CP
344 //! @SYMTestCaseDesc Retrieve video frame size & start time without parsing the content file frame by frame
345 //! Pre-Condition A valid mp4/3gp file with at least video data must be present
346 //! @SYMTestPriority High
347 //! @SYMTestActions Retrieve video frame size & start time without parsing the content file frame by frame in buffer mode
348 //! @SYMTestExpectedResults test with no error
349 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0034-CP c:\mm\tsu_3gp_parse_api_te.ini MP4-VIDEO-ONLY-KEYFRAME
350 END_TESTCASE MM-3GP-PARSE-U-0234-CP
352 START_TESTCASE MM-3GP-PARSE-U-0235-CP
353 //! @SYMTestCaseID MM-3GP-PARSE-U-0235-CP
355 //! @SYMTestCaseDesc Retrieve user atoms
356 //! Pre-Condition A valid mp4/3gp file containing user atoms in all the possible locations: movie, video
357 & audio and multiple entries of the same user atom type within a user atom must be present
358 //! @SYMTestPriority High
359 //! @SYMTestActions Retrieve user atoms in all the possible locations and check the index values
360 //! @SYMTestExpectedResults test with no error
361 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0035-CP c:\mm\tsu_3gp_parse_api_te.ini USER-ATOM-ALL
362 END_TESTCASE MM-3GP-PARSE-U-0235-CP
364 START_TESTCASE MM-3GP-PARSE-U-0237-CP
365 //! @SYMTestCaseID MM-3GP-PARSE-U-0237-CP
367 //! @SYMTestCaseDesc Retrieve video frame dependencies
368 //! Pre-Condition A valid mp4/3gp file with/without AVC video stream must be present
369 //! @SYMTestPriority High
370 //! @SYMTestActions Retrieve video frame dependencies
371 //! @SYMTestExpectedResults test with no error
372 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
373 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H263-ARMNB
374 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-DEP1
375 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-DEP2
376 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-DEP3
377 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0037-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-DEP4
378 END_TESTCASE MM-3GP-PARSE-U-0237-CP
380 START_TESTCASE MM-3GP-PARSE-U-0238-CP
381 //! @SYMTestCaseID MM-3GP-PARSE-U-0238-CP
383 //! @SYMTestCaseDesc Get Video Frame Properties
384 //! Pre-Condition A valid mp4/3gp file with AVC video stream must be present
385 //! @SYMTestPriority High
386 //! @SYMTestActions Get Video Frame Properties with at least video data
387 //! @SYMTestExpectedResults test with no error
388 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0038-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
389 END_TESTCASE MM-3GP-PARSE-U-0238-CP
391 START_TESTCASE MM-3GP-PARSE-U-0239-CP
392 //! @SYMTestCaseID MM-3GP-PARSE-U-0239-CP
394 //! @SYMTestCaseDesc retrieve video / audio frame data
395 //! Pre-Condition A valid mp4/3gp file containing supported audio and video data must be present
396 //! @SYMTestPriority High
397 //! @SYMTestActions Read a audio and a video frame into a buffer of filled with junk content and
398 ensure the buffer gets properly reset when retrieve video / audio frame data.
399 //! @SYMTestExpectedResults test with no error
400 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0039-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-MP4-MP4
401 END_TESTCASE MM-3GP-PARSE-U-0239-CP
403 START_TESTCASE MM-3GP-PARSE-U-0243-CP
404 //! @SYMTestCaseID MM-3GP-PARSE-U-0243-CP
406 //! @SYMTestCaseDesc Seek position in buffer mode
407 //! Pre-Condition A valid mp4/3gp file must be present
408 //! @SYMTestPriority High
409 //! @SYMTestActions Seek position in buffer mode.
410 //! @SYMTestExpectedResults Test returns with no error.
411 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0043-CP c:\mm\tsu_3gp_parse_api_te.ini 3G2-MP4-MP4
412 END_TESTCASE MM-3GP-PARSE-U-0243-CP
414 START_TESTCASE MM-3GP-PARSE-U-0244-CP
415 //! @SYMTestCaseID MM-3GP-PARSE-U-0244-CP
417 //! @SYMTestCaseDesc Retrieval of user data atom
418 //! Pre-Condition A valid mp4/3gp file must be present
419 //! @SYMTestPriority High
420 //! @SYMTestActions 1. Retrieve user data atom with multiple entries all of the same type
421 //! 2. Retrieve user data atom with multiple entries of the same type and some other types
422 //! 3. Retrieve user data atom with no entries of the specified type but with entries of some other types
423 //! @SYMTestExpectedResults Test returns with no error.
424 RUN_TEST_STEP -1 tsu_3gplibrary UserDataAtomRetrieval c:\mm\tsu_3gp_parse_api_te.ini MM-3GP-PARSE-U-0044-CP-1
425 RUN_TEST_STEP -1 tsu_3gplibrary UserDataAtomRetrieval c:\mm\tsu_3gp_parse_api_te.ini MM-3GP-PARSE-U-0044-CP-2
426 RUN_TEST_STEP -1 tsu_3gplibrary UserDataAtomRetrieval c:\mm\tsu_3gp_parse_api_te.ini MM-3GP-PARSE-U-0044-CP-3
427 END_TESTCASE MM-3GP-PARSE-U-0244-CP
429 START_TESTCASE MM-3GP-PARSE-U-0333-CP
430 //! @SYMTestCaseID MM-3GP-PARSE-U-0333-CP
432 //! @SYMTestCaseDesc Check frame availability
433 //! Pre-Condition Valid mp4/3gp file with avc profile main/extended video must be present
434 //! @SYMTestPriority High
435 //! @SYMTestActions Check frame availability of the file.
436 //! @SYMTestExpectedResults Test returns with no error.
437 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-main-NB
438 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0032-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-extended-NB
439 END_TESTCASE MM-3GP-PARSE-U-0333-CP
441 START_TESTCASE MM-3GP-PARSE-U-0334-CP
442 //! @SYMTestCaseID MM-3GP-PARSE-U-0334-CP
444 //! @SYMTestCaseDesc Retrieve video frame size without parsing the content file frame by frame
445 //! Pre-Condition A valid mp4/3gp file with avc profile main/extended video data must be present.
446 //! @SYMTestPriority High
447 //! @SYMTestActions Retrieve video frame size without parsing the content file frame by frame in buffer mode
448 //! @SYMTestExpectedResults Test returns with no error.
449 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0034-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-main-NB
450 RUN_TEST_STEP !OOM -1 tsu_3gplibrary MM-3GP-PARSE-U-0034-CP c:\mm\tsu_3gp_parse_api_te.ini 3GP-H264-extended-NB
451 END_TESTCASE MM-3GP-PARSE-U-0334-CP