summaryrefslogtreecommitdiffstats
path: root/tests/auto/integration/qmediaplayerbackend
Commit message (Collapse)AuthorAgeFilesLines
* Updated license headersAntti Kokko2016-01-201-17/+12
| | | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I96559337481456cce6ea909fb7e53877acd352bd Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into devChristian Strømme2016-01-152-5/+10
|\ | | | | | | | | | | | | | | Conflicts: src/plugins/android/src/mediacapture/qandroidcamerasession.cpp src/plugins/wmf/mftvideo.cpp Change-Id: I78868b416ea4baec89ca3e2dc9eb4712db16d5fc
| * Blacklist tst_qmediaplayerbackend::seekInStoppedState() on RHEL.Yoann Lopes2016-01-061-0/+3
| | | | | | | | | | Change-Id: I150be89f71684890d65fd157a5b1782468636751 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Favor more commonly supported formats in qmediaplayerbackend test.Yoann Lopes2016-01-061-2/+2
| | | | | | | | | | | | | | Prefer mp4 and mp3 over ogv and mkv. Change-Id: Id24d475207ccf76e113557f9ad14775477f414aa Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Make qmediaplayerbackend::processEOS test less flaky.Yoann Lopes2016-01-061-1/+1
| | | | | | | | | | Change-Id: Ib961f3d4e238a156dc2e1ade1828ae8f1bf5b755 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Make qmediaplayerbackend::seekPauseSeek test less flaky.Yoann Lopes2015-12-181-2/+3
| | | | | | | | | | Change-Id: I05e4b9d392359bd84f9e932864a2e14275ef625f Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Blacklist qmediaplayerbackend tests in OSX 10.11Tony Sarajärvi2015-12-111-0/+1
| | | | | | | | | | | | | | | | These were found to also fail in OSX 10.11 Task-number: QTBUG-46368 Change-Id: Ifac6fd0540ff63f3eb5198b5ac76c65ee893f005 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devYoann Lopes2015-11-231-8/+12
|\| | | | | | | Change-Id: I0bee3f4e8721b9d2067495dde17be87a4b906245
| * Remove RHEL blacklisting for tests that passFrederik Gladhorn2015-11-071-8/+0
| | | | | | | | | | | | | | | | After installing the gstreamer plugins, these tests that used to be blacklisted pass now. Change-Id: I9be38ceb45f007930257d72d6b22a44ae661ad07 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
| * Blacklist a few test functions for RHELFrederik Gladhorn2015-11-071-0/+12
| | | | | | | | | | | | | | | | After installing the gstreamer-plugins, these tests still fail. Blacklist them until they get fixed. Change-Id: I5acbd5a4911253e96e40e30a2faf161bfa387989 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-11-051-0/+1
|\| | | | | | | Change-Id: I64a2e98adeb387e532f0b22129ade7ca7e8dc22a
| * Blacklist qmediaplayerbackend test on Windows 64-bits.Yoann Lopes2015-10-301-0/+1
| | | | | | | | | | Change-Id: I3cdb89a0189c5089a4e65218db9604010da97a2c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests.Friedemann Kleint2015-08-241-1/+0
|/ | | | | | | | | There was only one test actually using the deprecated WaitForWindowShown(). Replace by qWaitForWindowExposed() and remove define. Change-Id: I2e71edca8f8be26c9a63b6a9d1fa30b31979c1fe Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* Exclude failing tests on RHEL and UbuntuSimon Hausmann2015-07-231-0/+4
| | | | | Change-Id: Ifbfb36f47da5f826c94777286fde27d5edd29d01 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Extend test exclusion for this test on OS XSimon Hausmann2015-07-231-0/+1
| | | | | | | | | | The test doesn't work on OS X 10.9 and 10.10. It also doesn't work on OS X 10.8, but the current CI system doesn't actually run tests on 10.8. In the (future) event of us running tests on 10.8, this change is required. Change-Id: I6cbe6249aee2460353322d6f1254858238af3711 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* Blacklist cases from qaudiodecoderbackend and qmediaplayerbackendJani Vähäkangas2015-06-302-1/+49
| | | | | | Change-Id: I73156f18f79afbdb26ba31462162dde9c1d0094b Task-number: QTBUG-46368 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
* Update copyright headersAntti Kokko2015-02-121-7/+7
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I1c6faa4f59f8eca54f01ef20941fa60161dd7872 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* GStreamer: port to 1.0.Yoann Lopes2014-11-271-2/+2
| | | | | | | | | | | | | | | 0.10 is still used by default. To enable GStreamer 1.0, pass GST_VERSION=1.0 to qmake for qtmultimedia.pro. Contributions from: Andrew den Exter <andrew.den.exter@qinetic.com.au> Ilya Smelykh <ilya@videoexpertsgroup.com> Jim Hodapp <jim.hodapp@canonical.com> Sergio Schvezov <sergio.schvezov@canonical.com> Change-Id: I72a46d1170a8794a149bdb5e20767afcc5b7587c Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Add metadata test for qmediaplayerbackend auto-test.Yoann Lopes2014-09-262-0/+38
| | | | | Change-Id: I419496293b11b6a941af08e9709595458b7ca423 Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Android: fix some problems with the media player.Yoann Lopes2014-09-261-21/+225
| | | | | | | | | | | | | - Correctly emit positionChanged signal. One of the problems with this was that QMediaPlayer automatically sends periodic position updates while playing a media. There's no need to have the same logic in the backend. - Seeking after reaching the end of the media now correctly works Auto tests included. Change-Id: I6d5ecbae6e05f94a8aac1a0834cf57427adf219b Reviewed-by: Christian Stromme <christian.stromme@digia.com>
* winrt: Add media playback serviceAndrew Knight2014-08-251-0/+4
| | | | | | | | | | | | This introduces a MediaPlayer service based on the MFEngineEx API. Only scene graph video rendering is supported at this time. The video renderer control is abstracted in order to provide a base for future video nodes which do not source their content from the MF engine. [ChangeLog] Media player support was added to the winrt backend. Change-Id: I8155a1030466ea352fad0a87d1ae97a88983760c Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-241-19/+11
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: Ied06887225df341064c12bcc14c259ae74116f2e Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Prefer to use normalised signal/slot signaturesSergio Ahumada2014-03-031-4/+4
| | | | | Change-Id: I48ae4b46f7a0342a1436ba78958b057e919e3a8a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Use QVERIFY2 for elapsed time in tst_QMediaPlayerBackend::seekPauseSeek().Friedemann Kleint2014-02-171-6/+10
| | | | | | | The test has been observed to fail sometimes, try to obtain values. Change-Id: Id0374b7ad3d593c099500e771bc4d8cc50f26651 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: Ia8c1c38aba1544603fada8c414cc856f365fd15b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* remove some unnecessary CONFIG additionsOswald Buddenhagen2012-12-161-1/+0
| | | | | | | | qt is already added by spec_pre.prf, warn_on by default_pre.prf, and no_private_qt_headers_warning by qt_build_config.prf. Change-Id: Ia5cee420d577dd0ae0120cb2dd430d4ddd29ebcf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Id77334cfb15de096941c88e32d04ca07b4eb4709 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Added skips to reported bugs in qmediaplayerbackend testKurt Korbatits2012-08-071-11/+19
| | | | | | | - Changed some checks to QTRY's to avoid using qWait's Change-Id: Ib7fb6fd25170c40969389c9c1b16f4a4e0e7a5e7 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-011-0/+1
| | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I9589f57998af237f2e89c7799789dae5a13ef634 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Turned back on some disabled unit tests as insignificant testsKurt Korbatits2012-07-091-1/+1
| | | | | | | | | - qaudiodecoderbackend, qaudiodeviceinfo, qaudiooutput, qaudioinput, qmediaplayerbackend, qsound, qsoundeffect enabled as insignificant tests. - skip iteration over all formats if QT_TEST_CI environement set (CI system) Change-Id: I6692dcb817445870784193c0f78c0d5f7a201063 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Added integration test for video surface backend.Lev Zelenskiy2012-04-201-7/+69
| | | | | | | | Make sure pipeline doesn't stall in RGB and YUV modes. Change-Id: I9fa253ecb6952e3e0138180c52fa945a13f7cf50 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Added integration test for subsequent playback to media player backend.Lev Zelenskiy2012-04-113-18/+96
| | | | | | Change-Id: If060dd78e595b52bbb1c0fb65ede7c84ced873b0 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Updated integration test to check initial volume.Lev Zelenskiy2012-04-051-0/+23
| | | | | | Change-Id: Ida1eb24a6e09d31048722299104616fbaa26dffa Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fix tst_qmediaplayerbackend construction test.Ling Hu2012-03-301-1/+1
| | | | | | | | | Availibility test should use QTRY_VERIFY instead of VERIFY, should not assume available immediately after constructing. Change-Id: Ic267ac9718aeecfe186d593af5439c1ffcf48e94 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Add deleteLater() test to tst_qmediaplayerbackendSami Rosendahl2012-03-271-0/+52
| | | | | | | Task-number: QTBUG-24927 Change-Id: Ic58a33aad9038af0325d20bed16d3e70d7e15b5a Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fixes to qmediaplayerbackend integration test: use ogg video on Linux.Lev Zelenskiy2012-03-232-9/+38
| | | | | | | | | | Attempt to find supported video format before running tests. Tests are skipped if no video format is supported by the system. Change-Id: Iad5b26438b6407f0808e288c5e6184f220f30e36 Reviewed-by: Ling Hu <ling.hu@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Added integration test for new playlist functionality.Lev Zelenskiy2012-03-219-0/+167
| | | | | Change-Id: I9cc4a3d140003de737b81b4dcfa1e4a94d4a2ba4 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Add use of TESTDATA feature to integration testsKalle Juhani Lehtonen2012-03-152-10/+8
| | | | | | | | Use TESTDATA and QFINDTESTDATA in integration tests. Also remove unused path defines from unit test .pro files. Change-Id: I46dc6a96b918e989acf79eb3bd23c53125c7c3d6 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* GStreamer backend changes for media probing API.Lev Zelenskiy2012-02-161-10/+82
| | | | | | | | QGstreamerPlayerSession: Using GStreamer buffer probes to access media data. Change-Id: Ibc056283fdedaebba90456cc4e86ab63eae5f5f7 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* tst_qmediaplayerbackend: try to load test file from the current dir.Dmytro Poplavskiy2012-02-071-0/+3
| | | | | | | This makes testing easier on other system than test was build. Change-Id: I75c4d620c8132a7fd298fe735dfdc1bf6f775e08 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Changes to QMediaPlayer GStreamer backend to allow setPosition before pauseLev Zelenskiy2012-02-062-0/+125
| | | | | | | | | | Do not display prerolled frames in stopped state. Instead store prerolled frame and display it only after switching to pause or playback state. Added new unit test with a sample video file to check this functionality. Change-Id: I3fd159a199b65ca10fdf9843af5675c5ae9dad05 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-301-1/+1
| | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I20e5215108c6ebd5f8474fed5c3665118e4791e6 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-231-1/+1
| | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ie8cd560b6d9a2c6e552b6be1ad8bc96c80a6535c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update year in Nokia copyright headers.Jason McDonald2012-01-121-1/+1
| | | | | | | Update headers from before 2011 that were missed in the previous commit. Change-Id: Ib0fd91a39ffc57117fe01280e34519c3f914fac0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove unused QTRY_WAIT macros.Jason McDonald2011-12-061-14/+0
| | | | | Change-Id: I8484c19d0458d9ec9a3a621fa0b866258e8212c3 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove duplicates of QTRY_VERIFY and QTRY_COMPARE.Jason McDonald2011-12-061-33/+0
| | | | | | | These macros are now provided by testlib via the QtTest/QtTest header. Change-Id: I6b499395888268aab315d63404e2b0eed8688615 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Rearrange the automatic tests.Michael Goddard2011-11-043-0/+474
Split them into unit and integration tests. Integration tests really need to be run on the real platform (not in a VM etc) since they are somewhat unstable or nonfunctional otherwise. A few tests were previously broken by QUrl changes and they were repaired. Removed one test since it was not providing a lot of value. There are still a number of tests that rely on Q_AUTOTEST_EXPORT symbols. Change-Id: Ic402abf0af946baa5945075d975b3f584f9ef280 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>