os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-h264-negative-automated.script
Update contrib.
2 // Copyright (c) 2009 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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
21 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0001
22 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0001
24 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
25 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
26 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
27 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
28 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
29 //!@SYMAuthor katherine xu
30 //!@SYMCreationDate 29/9/2009
31 //!@SYMTestCaseDesc NCP H.264 SQCIF Video at 30fps 64Kbps
32 //! Wrong Buffer Option
34 //! 1. Create decode test
36 //! 3. SetInputFormatCompr
37 //! 4. SetOutputFormat
38 //! 5. SetBufferOptions(minNumInputBuffers = 0)
39 //! All values greater than 0 can pass.
41 //!@SYMTestStatus Verified
42 //!@SYMTestPriority Normal
44 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h264-negative-automated.ini
45 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
46 COMMAND mmfdvplay H264CreateDecTest MULTIMEDIA-MMF-DevVideo-Playback-H264-0001-0001-CreateDecTest_command01
47 COMMAND mmfdvplay H264SetInputFormatCompr MULTIMEDIA-MMF-DevVideo-Playback-H264-0001-0001-SetInputFormatCompr_command02
48 COMMAND mmfdvplay H264SetOutputFormat MULTIMEDIA-MMF-DevVideo-Playback-H264-0001-0001-SetOutputFormat_command03
49 COMMAND !Error=-5 mmfdvplay H264SetBufferOptions MULTIMEDIA-MMF-DevVideo-Playback-H264-0001-0001-SetBufferOptions_command04
50 COMMAND mmfdvplay H264Delete
52 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0001
54 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0002
55 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0002
57 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
58 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
59 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
60 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
61 //!@SYMAuthor katherine xu
62 //!@SYMCreationDate 29/9/2009
63 //!@SYMTestCaseDesc NCP H.264 SQCIF Video at 30fps 64Kbps
64 //! Set wrong output format.
66 //! 1. Create decode test
68 //! 3. SetInputFormatCompr
69 //! 4. SetOutputFormat(dataFormat=ERgbRawData)
71 //!@SYMTestStatus Verified
72 //!@SYMTestPriority Normal
74 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h264-negative-automated.ini
75 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
76 COMMAND mmfdvplay H264CreateDecTest MULTIMEDIA-MMF-DevVideo-Playback-H264-0002-0001-CreateDecTest_command01
77 COMMAND mmfdvplay H264SetInputFormatCompr MULTIMEDIA-MMF-DevVideo-Playback-H264-0002-0001-SetInputFormatCompr_command02
78 COMMAND !Error=-5 mmfdvplay H264SetOutputFormat MULTIMEDIA-MMF-DevVideo-Playback-H264-0002-0001-SetOutputFormat_command03
79 COMMAND mmfdvplay H264Delete
81 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0002
83 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0003
84 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0003
86 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
87 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
88 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
89 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
90 //!@SYMAuthor katherine xu
91 //!@SYMCreationDate 29/9/2009
92 //!@SYMTestCaseDesc NCP H.264 SQCIF Video at 30fps 64Kbps
95 //! 1. Create decode test
97 //! 3. SetInputFormatCompr(format = {MIME, KH264MimeInvalid})
99 //!@SYMTestStatus Verified
100 //!@SYMTestPriority Normal
102 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h264-negative-automated.ini
103 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
104 COMMAND mmfdvplay H264CreateDecTest MULTIMEDIA-MMF-DevVideo-Playback-H264-0003-0001-CreateDecTest_command01
105 COMMAND !Error=-5 mmfdvplay H264SetInputFormatCompr MULTIMEDIA-MMF-DevVideo-Playback-H264-0003-0001-SetInputFormatCompr_command02
106 COMMAND mmfdvplay H264Delete
108 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.264-NEGATIVE-AUTOMATED-0003