summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Re-enabled CIImage based gfx video item on MacDmytro Poplavskiy2012-08-271-4/+4
| | | | | | | | | Also prefer CoreImageHandle to GLTextureHandle in QuickTime player backend, to avoid unnecessary copy via FBO. Change-Id: Id5aa039c438378b7bbf816b7845b05574683c471 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.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>
* Compile in C++11 mode: the Q_DECLARE_METATYPE must be visibleThiago Macieira2012-08-062-9/+11
| | | | | | | | | | | The error was: tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp:113:62: required from here qmetatype.h:637:5: error: static assertion failed: Type is not registered, please use Q_DECLARE_METATYPE macro to make it know to Qt's meta-object system Change-Id: Id4e29803de646cbad0d401b1fe0e0b38e458d12f Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
* Fix some failing QAudioInput integration tests on OSX.Michael Goddard2012-08-031-40/+40
| | | | | | | | | | | | This also meant implementing software volume support, and since this is the last backend to do so, make that interface pure virtual again. In some cases the test needed tweaks. Change-Id: Ie429863f187b43802cdd4f16d841929e0cb0e729 Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Added check to qsound and qsoundeffect unit tests for audio supportKurt Korbatits2012-08-032-0/+12
| | | | | | | | - 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-0156-0/+56
| | | | | | | | | | 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>
* Added data driven integration tests for qaudioinput.Mylione Anadarajah2012-07-261-369/+375
| | | | | Change-Id: I42256833173e9ca94931ff35210802457d407e39 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fix compile failure in qmediaplayer unit testKurt Korbatits2012-07-261-1/+0
| | | | | Change-Id: Ic8342f536b16c55c79e4ff792634d5d1a03e3a9a Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
* QtMultiMedia/Tests: Fix MSVC2012 warning about overload.Friedemann Kleint2012-07-251-1/+1
| | | | | | | | | | warning C4373: 'MockVideoSurface::supportedPixelFormats': virtual function overrides 'QAbstractVideoSurface::supportedPixelFormats', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers. Change-Id: I87701ce0a2db3d4a0ec0a98980ad231f352a2ab2 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* QtMultimedia: Remove usages of qWaitForWindowShown(QWidget *).Friedemann Kleint2012-07-241-49/+49
| | | | | Change-Id: I7a2869c381da133b72b1721838a458cdbf058b0d Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Replaced endpoint control with audio input and output controlsDmytro Poplavskiy2012-07-247-41/+41
| | | | | Change-Id: I981aabe39d106ced4ee1240db9e5b653c6fa5e91 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Removed QEXPECT_FAIL for non reproducible showFullScreen bug on MacDmytro Poplavskiy2012-07-241-6/+0
| | | | | | | Task-number: QTBUG-25310 Change-Id: If5786340386de5f6664ccfa45439858d209a45ba Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Test that the package configs for QtMultimedia work.Stephen Kelly2012-07-205-1/+99
| | | | | Change-Id: I17bbc52d6ab98cef4da6c56bfaa306a154a5aba2 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Added volume property to QMediaRecorderDmytro Poplavskiy2012-07-192-0/+34
| | | | | Change-Id: I19f727107651c9f640ca1c010a3764f05aef8820 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Added base and soundeffect testKurt Korbatits2012-07-193-0/+261
| | | | | | Change-Id: I50527c75e5e25d897ddf192bfdc34de62dd56127 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Added an audio recording system testdakovaci2012-07-191-0/+77
| | | | | | | Added a systemtest for audio recording Change-Id: Ie4af8145702f29b04c1e62184a9667b54123b8c6 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Added data driven integration tests for qaudiooutput.Mylione Anadarajah2012-07-171-480/+481
| | | | | | Change-Id: Ifde39817405557b073fbe60d612d01f48b9ec3ed Reviewed-by: Mithra Pattison <mithra.pattison@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Apply insignificant flag to platform that is actually unstable.Toby Tomkins2012-07-161-1/+3
| | | | | | Change-Id: Ib0acc0413f3dcc5194dc5d93b071b3bb22b9eef9 Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Camerabin camera service: configure default video settingsDmytro Poplavskiy2012-07-161-3/+1
| | | | | | | | | encodebin doesn't like the encoding profile with ANY container caps, if container and codecs are not specified try to find a commonly used supported combination Change-Id: Icbde042bd17d9682112fb8bbb8f0d506f6ddebe1 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Updated the camerabin2 based camera with QtMultimedia changesDmytro Poplavskiy2012-07-161-0/+78
| | | | | | | | | | | | | | Moved it to the separate plugin as the rest of gstreamer based services; Updated with libqgsttools_p changes; Implemented QMediaRecorder::status property; Made gst_photography dependency optional, it's not always available on desktop; Added video recording case to auto integration test; Moved backend implementation into qt namespace Task-number: QTBUG-26046 Change-Id: Iacfc1a6e263a4c0201d5eb28d04c960b87a230c0 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Updated qaudioinput and qaudiooutput tests.Kurt Korbatits2012-07-162-2/+13
| | | | | | | | | | - qaudioinput changed to checking notify signal emitted instead of range checking as on loaded system this is not valid. - Added qskip's for resume() bug. Change-Id: I8d2a52427d4263ce8b5edeaaf395c4577b7394ab Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Fixed qaudioinput and qaudiooutput tests running on loaded systemKurt Korbatits2012-07-132-10/+10
| | | | | | | | | | | | - Changed tests to handle running on loaded or very slow systems - notify signal checks that signals are emitted but not number of as these are time related and number of emitted signals could vary greatly on slow or loaded systems. - Added skip for CI system pushSuspendResume with pulseaudio backend. Change-Id: I0abf242934507454cc992fe8daec46d6acaa2836 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>
* Specify the platform on which test is insignificant.Toby Tomkins2012-07-121-1/+3
| | | | | Change-Id: I24230693f6a53ac975bfc92d82f39ce065334036 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Skip crashing tests and replace insignificant tests with QEXPECT_FAIL.Toby Tomkins2012-07-122-2/+82
| | | | | | | | | Task-number: QTBUG-25310 Task-number: QTBUG-26481 Change-Id: Ib6cbbe4f23a7ad7ea72db0f686aa5b2c96eeff76 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Clarify API/docs by introducing the audio "frame", and add helpers.Michael Goddard2012-07-112-10/+112
| | | | | | | | | | | The frame is the interleaved set of one sample for each channel. Add some docs and some methods that make working with samples a bit more convenient. Adjusted QAudioBuffer to use these helper functions and terminology. Change-Id: I96db48e659561972d6de2aa19893d29f9a828cd3 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Adding script which will run automated testcases.Mylione Anadarajah2012-07-111-0/+206
| | | | | Change-Id: I586b6a52c3c3fea508ca0d4d1d8f7eb9c3b3716f Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fixed qaudioinput unit test with pulseaudio backendKurt Korbatits2012-07-111-5/+11
| | | | | | | | - notify signal wasn't being emitted enough. - range checking on processedUSecs extended. Change-Id: Icfa1f3b364a7e0f9d3f37abd8dc5ed0c1e22f923 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Added some directories for coming systemtestsdakovaci2012-07-103-0/+755
| | | | | | | | Some directories missing needed for coming tier 1 systemtests Change-Id: Ie22e91e5011960687daed29cf6442271c97d3352 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* Delete obsolete class methods and update related codeMithra Pattison2012-07-1010-90/+82
| | | | | | | | Delete obsolete methods from QAudioFormat and QAudioDeviceInfo and update code that relied on the obsolete methods. Change-Id: I007e36375a45399b1d5a289341bc5d5a05dc68cc Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Updated QAudioOutput and QAudioInput system testsKurt Korbatits2012-07-102-16/+38
| | | | | | | | | | | - Updated tests with volume checking. - Updated reset function in QAudioInput test. (Checking bytesReady() in pull mode is not valid) (Checking state after writing one byte doesn't guarantee going to active state) - Improved stability in CI system Change-Id: I8018bfbc163971bcb3d5f7b7a1ece6306e75ed07 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Turned back on some disabled unit tests as insignificant testsKurt Korbatits2012-07-099-7/+52
| | | | | | | | | - 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>
* Moved some files to different dir'sdakovaci2012-07-033-755/+0
| | | | | | | Just some rearanging to be done. Change-Id: Ib76403c3cf41cb1d1502ed2f94bdc066321e637d Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Edited radio systemtests to support tier 1 platformsdakovaci2012-07-031-53/+3
| | | | | | | Some tests were not compatable to tier 1 platforms Change-Id: Ibf3221f638b5a52159e6f3004f1a6da7ef83785e Reviewed-by: Daron Andrew Edie <daron.edie@nokia.com>
* Removed some system tests not applicatple to tier 1 platformsdakovaci2012-07-031-209/+148
| | | | | Change-Id: I24ab04409593f4b046aec55a1e467e3bb4b08464 Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Fixed a testing bug on windows platform.bigbearzhu2012-06-291-0/+6
| | | | | Change-Id: Iaf11864e6929345b105cdd185b4bb01b24961406 Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Rename availabilityError to availability.Michael Goddard2012-06-2911-53/+53
| | | | | | | It's perhaps clearer in the usual case. Change-Id: Id3cef82ac83f8c9b538b3315281664ce1c6a2b96 Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Rename a few controls.Michael Goddard2012-06-2912-41/+41
| | | | | | | | | | The encoder controls could be confused with actual encoding, so make clear they are just settings. Also, the end point selector controls were not named very well. Change-Id: I27f8bf9c865c5f295abad97c01ef98752af42613 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Fixed timeout on waiting for positionChanged event.bigbearzhu2012-06-271-2/+2
| | | | | Change-Id: I894af066073f601e5838dbd47eb92da516c04544 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fixed plugin dir error on Windows.bigbearzhu2012-06-275-2/+30
| | | | | Change-Id: I470877d988fb70915607b65c4f17eee1adb8049d Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Remove insignificant flag from tests that are passing.Toby Tomkins2012-06-262-4/+0
| | | | | Change-Id: I246d7cfa79cbbbee3cfc4a354b38c155aa887aa2 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Add expected fail flags for consistently failing autotests.Toby Tomkins2012-06-261-0/+6
| | | | | | | Task-number: QTBUG-26320 Change-Id: I58624a8c39c0c247d9073097616a7a78e7e307da Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fixed a testing bug.bigbearzhu2012-06-261-2/+2
| | | | | Change-Id: Iff7fb6d4de2f38fde37019ea7e8b034707f8bbe1 Reviewed-by: Ling Hu <ling.hu@nokia.com>
* build system cleanupsOswald Buddenhagen2012-06-254-4/+4
| | | | | | | | | | | | | | | | | - load(qt_module) => load(qt_build_config) - remove: - CONFIG+=module (obsolete) - code relating to module version headers (automated now) - %mastercontent assignment (automated now) - QT_BUILD_*_LIB defines (automated now) - pointless QPRO_PWD assignments - pointless DEFINES+=QT_MAKEDLL - pointless and commented out include and depend paths - qmake -project boilerplate Change-Id: I8f4586403848fe8f2dff4e889b389956ffcdea59 Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Replace a writable position() property with a seek() method.Michael Goddard2012-06-141-5/+5
| | | | | | | | Seeking is sometimes asynchronous, and more importantly nearly every one using a slider for seeking ends up with a binding loop. Change-Id: I45d92e19b0276c8b97c51c073754d1c9d3dc611e Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Remove the legacy QML API.Michael Goddard2012-06-083-1318/+0
| | | | | | | | This means no version 4.0 (which was never released) and no Qt.multimediakit alternative import. Change-Id: Iaacf047b0d72381a4a8cd975e036135ed11ea383 Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Don't use QtWidgets/QApplication in autotestsKent Hansen2012-06-072-2/+2
| | | | | | | | These tests don't link against QtWidgets; including QGuiApplication is sufficient. Change-Id: I96812af7ac5ef79a9602acf4b51498350e8e50e1 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Removed encoding options from Audio/Video encoding controlsDmytro Poplavskiy2012-06-075-85/+0
| | | | | | | | | | | They are replaced with encoding options from QAudio/Video/ImageEncoderSettings. This also allows to specify options without requesting controls. Change-Id: I507e68cdb8cb46325689804d27c6d0561cada50b Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Use QPointer instead of QWeakPointer to track QObjects.Stephen Kelly2012-06-071-2/+2
| | | | | | | The latter is to be deprecated. Change-Id: I01998be880feba0819a9bc51f9bec48fd4601789 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>