summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow nested read only maps of QVideoFrame.Dmytro Poplavskiy2011-11-281-2/+21
| | | | | | | | It's useful when video frame is accessed from multiple places like display and encoding. Change-Id: I8af175c780783216d8b7717cdf0744ad9bc95348 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* QAudioDeviceInfo is actually an integration test.Michael Goddard2011-11-244-1/+1
| | | | | | | It should be separated at some point. Change-Id: I03adde303eed558d52e06f0afa673252e54c2182 Reviewed-by: Jonas Rabbe <jonas.rabbe@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>
* Export QMediaPluginLoader so it can be used by libqgsttools_p.Jonas Rabbe2011-11-181-4/+3
| | | | | | Change-Id: I2af6a68646cccaa92ae8b85b67e2095dcfee485e Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Remove SkipMode parameter from QSKIP.Jason McDonald2011-11-1010-30/+30
| | | | | | | | | | The SkipMode parameter has been removed from the API in qtbase, so it must be in all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: Ib6225572a46eac7881222fdce192750b8b13ee3b Reviewed-by: Steve Schilz <sschilz@pasco.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Radio systemtestsdakovaci2011-11-101-12/+43
| | | | | | | | | Added some radio functionality to match the qlm radio example Change-Id: Ie0358c3443121b638db406e095467b18b4d6b57c Reviewed-by: Daron Andrew Edie (cherry picked from commit 1e542df82fbcc4e3a8f75537af204f83827a4587) Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Rearrange the automatic tests.Michael Goddard2011-11-04190-595/+38
| | | | | | | | | | | | | | 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>
* Declare more metatypes and debug operators.Michael Goddard2011-11-0212-114/+452
| | | | | | | | | | | Nearly all of the multimedia metatypes used in the auto tests are now declared properly, and a large number of the types have debug operators as well. Removed the superfluous decls as well. Change-Id: I42cfe37562db0c71d9811b4577fc326a3326ccc9 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* QtMultimedia: Remove qpa-sections from .profiles.Friedemann Kleint2011-11-013-3/+3
| | | | | | | Prepare for removal of the -qpa configure option. Change-Id: Ibf4be58231d29cd972eb765f32b410e1eb9d7fed Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Declare these metatypes.Michael Goddard2011-10-255-5/+0
| | | | | Change-Id: I5b10669f2b17f67d95469dc28e99822d7f08280c Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* Added RDS functionality to the QRadioTuner/QDeclarativeRadioSami Nurmenniemi2011-10-2110-1/+496
| | | | | | Change-Id: I865e3caba82977002cf1f01f1d64ee0a42de77c6 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fix debug output test - type is qreal, so can be float or double.Michael Goddard2011-10-211-0/+4
| | | | | Change-Id: Ica34e3076b186c4e4af4492722c1fe00445d3184 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Added testcase to qcamerabackend test CONFIGDmytro Poplavskiy2011-10-201-0/+1
| | | | | | | To ensure the test case is installed. Change-Id: I959a1d73e3d8c913c4f15bb9e12b663ca4fb0343 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Make the C++ API of QSoundEffect public.Michael Goddard2011-10-171-1/+1
| | | | | | | | | The QML API already was. The C++ API still needs good documentation, though. Change-Id: I669f5ec7dd17d616788d71d77dc906acc0c0279f Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Ling Hu <ling.hu@nokia.com>
* Fix qwavedecoder test data deployment on deviceKalle Juhani Lehtonen2011-10-131-4/+3
| | | | | | | | | | | - Device deployment changed to use DEPLOYMENT instead of INSTALLS for test data files - Test data deployment target fixed to go under binary installation directory instead of the build directory Change-Id: I4b0007f9309767083a4a5dfa6f3dc26f3c36c330 Reviewed-on: http://codereview.qt-project.org/6573 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Fixed a couple of failing auto tests.Jonas Rabbe2011-10-123-3/+3
| | | | | | | | | | | | | | | | QDeclarativeAudio test is using a fake backend initialised to a specific volume. The test was testing against a different volume. QMediaPlayerWidgets was trying to include QApplication, but from the wrong place and was not including QtWidgets module. Change-Id: I5ca108a040a4f4bd0d7550268f3a4ef5d790e755 Reviewed-on: http://codereview.qt-project.org/6458 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Add QNAM tests to wavedecoder as well, to simulate slow sources.Michael Goddard2011-10-112-1/+71
| | | | | | | Change-Id: Ic65659bfdf72aea2cea5ae97de50a1e661db189b Reviewed-on: http://codereview.qt-project.org/6404 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* Rename the parsing error signal to parsingError.Michael Goddard2011-10-112-17/+19
| | | | | | | | | Refactor the error handling code a little. Change-Id: I717b3aaacb24660b3f26769f19ac718b73106473 Reviewed-on: http://codereview.qt-project.org/6401 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* Fix the wavedecoder a little.Michael Goddard2011-10-1116-26/+29
| | | | | | | | | | | Handle RIFX and corrupted files better. Update the autotest so that it is run properly (and copies files properly in shadow build). Fix the gendata script to properly create testdata. Change-Id: I47b705507bebaef54df2835ec767c6b220c64678 Reviewed-on: http://codereview.qt-project.org/6380 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* tests: eliminated usage of qttest_p4.prfRohan McGovern2011-10-111-4/+3
| | | | | | | Change-Id: I45f6c818c9dbdcf37c9f5f382b42da9c69618311 Reviewed-on: http://codereview.qt-project.org/6382 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* only corrupt 'data' descriptor nothing elsehawcroft2011-10-111-0/+0
| | | | | | | Change-Id: I5640d13e8c893152e449d348f8bf6c45b899b44d Reviewed-on: http://codereview.qt-project.org/6283 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* tests: eliminated usage of qttest_p4.prfRohan McGovern2011-10-1043-104/+129
| | | | | | | | | | | qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I3f49fd3b79899eff1d6ad9458143f34419026276 Reviewed-on: http://codereview.qt-project.org/6286 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Auto test for private class QWaveDecoderhawcroft2011-10-1021-0/+337
| | | | | | | Change-Id: I50ffbc3187ae7d7a7623af3ef7d3fed2975bdbbe Reviewed-on: http://codereview.qt-project.org/6270 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Sanity-Review: Michael Goddard <michael.goddard@nokia.com>
* Improve video test coverage and debugging output.Michael Goddard2011-10-074-36/+328
| | | | | | | | | | | Added a few debug operators for some useful enums, and added tests for them. One or two other features not really tested. Change-Id: Idffec6ade1d4e05dbf72f3dc47dfc0d01ddddf8b Reviewed-on: http://codereview.qt-project.org/6201 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Rename QtMultimediaKit to QtMultimedia.Michael Goddard2011-10-0773-284/+284
| | | | | | | | | | There are a few legacy bits left in place so it passes CI, and then qt5.git etc can be updated. Change-Id: I6b082e50e6958c72fdabc2974992e16d90dafa3a Reviewed-on: http://codereview.qt-project.org/5368 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Fix widget dependencies for multimediawidget tests and examples.Gunnar Sletta2011-09-229-4/+9
| | | | | | | Change-Id: I9c7600ce2cf7980f923ba038ef122b49add24c37 Reviewed-on: http://codereview.qt-project.org/5286 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* add QT+=widgets for tests to runGunnar Sletta2011-09-202-0/+2
| | | | | | | Change-Id: Idccbb5429f1f081d815b4596f0cf0f74c1160f5c Reviewed-on: http://codereview.qt-project.org/5188 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Added basic radio system testsdakovaci2011-09-171-0/+130
| | | | | | | Change-Id: I6f3ef3e3c9f1bb851c2d9f9cbad1aea1df77004f Reviewed-on: http://codereview.qt-project.org/4945 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daron Andrew Edie
* Added basic camera system testsdakovaci2011-09-171-0/+181
| | | | | | | Change-Id: I39cefa9207bf45d57cb735cb1a7335b9153d79ee Reviewed-on: http://codereview.qt-project.org/4944 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daron Andrew Edie
* added basic video system testsdakovaci2011-09-171-0/+269
| | | | | | | Change-Id: I89cadef1249296c834c4a612f5885439986ff1dc Reviewed-on: http://codereview.qt-project.org/4943 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daron Andrew Edie
* Added basic audio system testsdakovaci2011-09-171-0/+295
| | | | | | | | Change-Id: Ib3cec8adc4cba80a9e91d6fd90c607e99a197c0c Reviewed-on: http://codereview.qt-project.org/4942 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com> Reviewed-by: Daron Andrew Edie
* Compile with refactorGunnar Sletta2011-09-178-11/+9
| | | | | | | Change-Id: I248f811a13ca00ccbf5d342a556d389bca625856 Reviewed-on: http://codereview.qt-project.org/4940 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Split some of the autotests into widget and non widget parts.Michael Goddard2011-09-0930-146/+856
| | | | | | | | | Since the tests are mostly not widget based. Change-Id: Ic3fa4224b19f2a5c710fd4763b5e645252975c1c Reviewed-on: http://codereview.qt-project.org/4174 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Clean up the autotest pro files to remove warnings about private headersMichael Goddard2011-09-0540-78/+40
| | | | | | | | | Since the tests are bound to a version it's unnecessary. Change-Id: I7884615179157caa3836face22a4aa431ee5c425 Reviewed-on: http://codereview.qt.nokia.com/4155 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Mark a few tests as insignificant on QPA.Michael Goddard2011-09-023-5/+6
| | | | | | | | | | Running with QPA minimal isn't enough for a lot of the video related tests, and in some cases the backing store code crashes. Change-Id: I7a09c244fb856397a60c53388b22c3e141737a66 Reviewed-on: http://codereview.qt.nokia.com/4106 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Merge branch 'camera' of git://scm.dev.nokia.troll.no/qt/qtmultimediakitMichael Goddard2011-08-304-9/+49
|\ | | | | | | Change-Id: Iec6f96e3713257d25f7b1e06c6da9c153b23800b
| * Fixed crash when QCameraImageCapture is deleted before QMediaRecorder.Dmytro Poplavskiy2011-08-261-0/+24
| | | | | | | | | | | | | | Change-Id: I3bbb87f03f122378e9367e1f2c0cc5b61fce6ed7 Reviewed-on: http://codereview.qt.nokia.com/3550 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
| * Fixed crash when QMediaObject is deleted before QMediaRecorder.Dmytro Poplavskiy2011-08-262-0/+21
| | | | | | | | | | | | | | Change-Id: I8a1674b6f3d2b2c9ab888facff21f94af41b81de Reviewed-on: http://codereview.qt.nokia.com/3544 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
| * Dropped Incandescent white balance mode.Dmytro Poplavskiy2011-08-251-9/+4
| | | | | | | | | | | | | | | | | | It's the same as Tungsten, was inittialy added by mistake. Change-Id: Idf1d7be2f8d0969bba3480a8702034b7cabfdaef Reviewed-on: http://codereview.qt.nokia.com/3563 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* | Split the unit tests for widgets up as well.Michael Goddard2011-08-263-28/+39
| | | | | | | | | | | | | | | | | | | | Currently there seem to be some unit tests that should not depend on widgets, so they'll have to be cleaned up later. Change-Id: I30adc4accb3ecce86a6fe7a2fd69d3862f325a41 Reviewed-on: http://codereview.qt.nokia.com/3569 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
* | Try to move widget/gvitem code into new QtMultimediaKitWidgets lib.Michael Goddard2011-08-2512-12/+12
|/ | | | | | | Change-Id: I522b3e6d4465c6c5cce2483676e09320176837d6 Reviewed-on: http://codereview.qt.nokia.com/2665 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Mark a few tests as "not autotests".Michael Goddard2011-08-046-16/+17
| | | | | | | | | | So "make check" doesn't find them, since they are more system tests than automatic unit tests (since they access the real MM backends). Change-Id: I3322b4206bce16a97c28753b80c0ed5dc0bb250e Reviewed-on: http://codereview.qt.nokia.com/2599 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* API unit tests from Maemo API test team.Michael Goddard2011-07-2694-2394/+8812
| | | | | | | | | | | | | | | | | | A large number of tweaks and changes to original tests, and refactor a lot of the mock backends to reduce duplication. Changed viewfinder test case to use mock service and provider so that it matches the image capture test case. Reviewed-by: Jonas Rabbe (cherry picked from commit e40bef5508a4165cec4a46b97115aed461027fa5) Also licence header fix: (cherry picked from commit e9ee9e8c48b45b97d62ee4a82e400fa9d8ea8107) Change-Id: Ic59891d75563bb2e008a336eea859e8c44d8d831 Reviewed-on: http://codereview.qt.nokia.com/2078 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Blacklisted auto test for QSoundEffectJonas Rabbe2011-07-221-1/+2
| | | | | | | Change-Id: Ia42fc8f10530f8d9b885d2de2c927b6ea6189b57 Reviewed-on: http://codereview.qt.nokia.com/1998 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Remove most of the "mobility" references.Michael Goddard2011-07-1931-33/+34
| | | | | | | | | Docs still need some fixing, but there are some legitimate usages of it there. Change-Id: I94c7b68788ce97829711a4384884d7e52fe84162 Reviewed-on: http://codereview.qt.nokia.com/1736 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Remove a few more obsolete parts.Michael Goddard2011-07-1938-5579/+9
| | | | | | | Change-Id: I3a001f01ab7fd8cf63452126037b98c1b01df80d Reviewed-on: http://codereview.qt.nokia.com/1797 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
* Prepare for QtQuick2 based declarative elements.Michael Goddard2011-07-151-1/+3
| | | | | | | | | | | Disable the QDeclarativeItem based components until they are ported to scenegraph, and bump the revision to 4.0 (Once things are final, we can make it 5.0). Change-Id: Ib9c064722b80c38e711fbadc66966597c14a2b1a Reviewed-on: http://codereview.qt.nokia.com/1685 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* Add missing autotest.Michael Goddard2011-07-144-1/+221
| | | | | | | | | | The QSoundEffect test was missing in the initial modularization. Change-Id: I92ba5290b28a4af3a1d4bd8f8a036e14a75cf8d1 Reviewed-on: http://codereview.qt.nokia.com/1400 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Ling Hu <ling.hu@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
* Use the correct qmake variable for enabling private tests.Michael Goddard2011-07-111-2/+2
| | | | | | | Change-Id: Iaa5b3be70f3eb459c6bca2364e5c1d20f8952bb8 Reviewed-on: http://codereview.qt.nokia.com/1403 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
* QMediaPlayer autotest tests for OpenMAX AL even OpenMAX AL is not presentKalle Lehtonen2011-07-051-0/+2
| | | | | | | | | | | The test is missing #ifdef around OpenMAX AL section. Change-Id: I0d395f8cfd72cbccf7de894dd43e64e0afbeb289 Task-number: QTMOBILITY-1657 (cherry picked from commit e6b684de322c55a75aa6d46bd6db785705775a15) Reviewed-on: http://codereview.qt.nokia.com/977 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard