summaryrefslogtreecommitdiffstats
path: root/tests/auto/integration/qsoundeffect
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.6' into devLiang Qi2016-01-261-5/+3
|\ | | | | | | Change-Id: I2e4e9cca01d63ed0d1e7f71c7a58322390696036
| * Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2016-01-191-5/+3
| |\ | | | | | | | | | Change-Id: I01940fe4f3d059fbb425492a1748e2b5d9b6804b
| | * Be more permissive in QSoundEffect integration test.Pasi Petäjäjärvi2016-01-181-1/+1
| | | | | | | | | | | | | | | Change-Id: I9f92fda79bb359f8fa53aa11b9b6889cd35fcb6e Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
| | * Remove checking exact remaining loop amount right after calling play()Pasi Petäjäjärvi2016-01-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Depending on platform it is unknown how many times it has already been actually playing the audio. Change-Id: I27b65cee8de5f9f75ceda277ee22d86f7897ce7b Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* | | 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>
* | | 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>
* | Blacklist failing test in tst_qsoundeffect on OpenSuse.Yoann Lopes2015-08-101-0/+1
| | | | | | | | | | Change-Id: Iccf3e295fb79f043b2e64cb02528ac12e15a0ab6 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Exclude failing tests on RHEL and UbuntuSimon Hausmann2015-07-231-0/+2
| | | | | | | | | | Change-Id: Ifbfb36f47da5f826c94777286fde27d5edd29d01 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | Blacklist failing part from tst_qsoundeffectJani Vähäkangas2015-07-062-2/+5
|/ | | | | | Task-number: QTBUG-46689 Change-Id: I195d5cea8a588afcdefae5a91acb511fadbb839c 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>
* 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>
* QSoundEffect: fix changing the loop count while playing.v5.3.0-alpha1Yoann Lopes2014-02-251-3/+73
| | | | | | | | | | | | The running count was not updated with the new value. Auto-test added and documentation updated to be more clear about this behavior. Task-number: QTBUG-36643 Change-Id: I29e98ca4679f950a75133b21873738bcb72d23d4 Reviewed-by: Christian Stromme <christian.stromme@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>
* test: Mark tst_QSoundEffect as insignificantSergio Ahumada2012-11-011-1/+2
| | | | | | | Task-number: QTBUG-26509 Task-number: QTBUG-26748 Change-Id: Id8952c2ed3e2a261907eed1e160fc187af6983ce Reviewed-by: Rohan McGovern <rohan@mcgovern.id.au>
* 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 check to qsound and qsoundeffect unit tests for audio supportKurt Korbatits2012-08-031-0/+5
| | | | | | | | - skip tests if QSoundEffect::supportedMimeTypes() returns empty list Change-Id: I0f8d6f854c46b74f8518c4d969bd31ea167d20b2 Reviewed-by: Ling Hu <ling.hu@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@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>
* Replace QSoundEffect backend using qmedia with qaudiooutput implementationKurt Korbatits2012-07-261-25/+4
| | | | | | | | | - Use backend built on QAudioOutput - Fixed unit test so backend will pass Change-Id: I2f2a7d8bf382127c5a5c333d6e36c79169754b4e Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
* Replace insignificant flag for mac with QEXPECT_FAIL. Keep for win32.Toby Tomkins2012-07-132-1/+24
| | | | | Change-Id: Ied8519294e34d74ef854baa5be5cba2972a7f33c Reviewed-by: Rohan McGovern <rohan.mcgovern@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>
* Extended integration test for QSoundEffectLev Zelenskiy2012-04-253-8/+132
| | | | | | | | | - setting the source while loading, and while playing; - supported mimetypes; - loading corrupt wave files; Change-Id: Iff27921aaf3a67bcf88807b2a5656deb8cf2d77e Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Add use of TESTDATA feature to integration testsKalle Juhani Lehtonen2012-03-151-0/+2
| | | | | | | | 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>
* 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>
* Set the volume for our automatic integration tests.Michael Goddard2012-01-181-0/+5
| | | | | | | | | These aren't manual test, so we don't care if you can't hear it. QSound does not have a volume property (yet). Change-Id: I6ef90262decf4630de84478215bfe8d259db4751 Reviewed-by: Ling Hu <ling.hu@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>
* QtMultimedia: Fix compiler warnings.Friedemann Kleint2012-01-051-1/+1
| | | | | | | | | | | - Fix deprecated QDeclarative includes. - Comment out unused parameter. - Remove trailing comma from enumeration value (Clang) Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Change-Id: I31d54a12505f4e3a48eb4b7736a48d5dacc2c0d9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* QSound/QSoundEffect: Use QFINDTESTDATA to locate test data.Friedemann Kleint2012-01-052-7/+5
| | | | | | | | | | Replace SRCDIR define by QFINDTESTDATA, which is the standard method of locating test data. Remove apparently unused code path within QT_QSOUNDEFFECT_USEAPPLICATIONPATH. Change-Id: Id7120e75af727839ad2d1d2b3ef25c7ef2122fa5 Reviewed-by: Mithra Pattison <mithra.pattison@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Add new implementation of QSound classMithra Pattison2011-12-301-1/+5
| | | | | | | | | | | | Added a re-implementation of QSound, using functionality derived from QSoundEffect. QSound API remains the same as the original 4.x version. It offers both a static interface (with auto resource cleanup on sound completion), as well as an object instance interface for more detailed control. Change-Id: I85c00dd88547f8dea9b1e1ef2da31d2f2e28a172 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Add testDestroyWhileRestartPlaying for qsoundeffectLing Hu2011-11-231-0/+26
| | | | | | | This covers the potential crash reported by qfeedbackmmk test. Change-Id: Ib533e80b25c4c7fb291527d62445aaa40960baa0 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Rearrange the automatic tests.Michael Goddard2011-11-043-0/+212
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>