summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Skipped some tests that crashedv5.5.0-rc1v5.5.0-beta1v5.5.05.5.0Jan Arve Saether2015-04-171-0/+12
| | | | | | | | These tests crashed, and thus prevented us from getting the results from the ~19000 other test cases. Change-Id: I8fd2abcc68b545177f4baa912e9e0d5dbe931201 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Skip op-numeric-unary-minus-1 testcase because it crashes.Jan Arve Saether2015-04-151-0/+6
| | | | | | | | | It seems to require a larger refactoring in order to solve this, so we skip this for now in order for us to be able to run the remaining tests in CI. Change-Id: I2ae4860a92cdb7fb88ca89c4dd1f047bacbaaf9e Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Rename private header qdebug_p.h to qxmldebug_p.h.Friedemann Kleint2015-04-074-4/+4
| | | | | | | | | Avoid conflicts with the newly introduced qdebug_p.h of QtCore. Change-Id: I04b83e159900d9d36fa96ae5112eb4cdf75c0551 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Always summarize test results, even with unchanged baselineFrederik Gladhorn2015-03-251-0/+2
| | | | | | | | | | | | | | | | | | | | I currently have many failures (I assume through bad testsuite set up), they go by silently on the second run, instead now there will always be output: PASS : tst_XmlPatternsSchemaTS::runTestSuite() SUMMARY: Total: 39193 Failures: 39193 Passes: 0 Not tested: 0 Pass percentage(%): 0 Unexpected failures: 0 Unexpected passes: 0 Result was identical to the baseline, baseline was not updated. PASS : tst_XmlPatternsSchemaTS::checkTestSuiteResult() Change-Id: I4e11832ea711b8cb9feff088a09434122968d080 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Remove the old headersclean unit testThiago Macieira2015-03-252-4/+1
| | | | | | | We have configure -headersclean now Change-Id: Iaa084ece95cefd5264a34726d85d13ea7a65016d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Remove macro DEBUG_CODE from Test SDK.Friedemann Kleint2015-03-181-11/+5
| | | | | | | | | It was used to disable code/variables referenced in Q_ASSERT_X. Since the macro is now expanded in release mode as well, this causes compilation errors. Change-Id: I5b90515c042f9d3e76be84cd5385eae081a037c8 Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
* Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5v5.5.0-alpha1Frederik Gladhorn2015-02-247-9048/+23155
|\
| * Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-02-207-9048/+23155
| |\ | | | | | | | | | Change-Id: I1cac4b9b5fa2d07f5fc0b0336a90019844561ae0
| | * bic: Add/Replace 5.{0.1,2,3,4}.0 bic data for linux-gcc-amd64v5.4.25.4.2Sergio Ahumada2015-02-137-9048/+23155
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the ia32 data since there are no linux x86 machines in the CI system (which makes the data useless from an automated testing point of view) and most people use x64 these days anyway Change-Id: I70b1dbb239c9f4310908ede02822c6ca103ea291 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* | | Update copyright headersJani Heikkinen2015-02-17126-898/+890
|/ / | | | | | | | | | | | | | | | | 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: I1dc468d4e08c2dfdc4643410220f18bc8ec450b9 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* | Fix broken QSourceLocation autotestKai Koehne2015-02-131-2/+2
|/ | | | | | | | The test relied on operator<<(QDebug, const QUrl &) adding unnecessary spaces. This got fixed in qtbase commit 868201155. Change-Id: I75f71a82f6426da396c1634cecce3b21e3ca8580 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-08-24125-2375/+1375
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: If9208b9c90bcea35bbfe6b9c10db7803e97767e0 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Make tests compile with the QExplicitlySharedDataPointer's static_castUlf Hermann2014-07-091-1/+1
| | | | | | | | We also need the static_casts there. Change-Id: I5e04109d2465e079909138152324820e931062cd Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Compile fix for platforms without process supportMaurice Kalinowski2014-07-072-1/+21
| | | | | Change-Id: Ie150bec62827b592d4b3f2df98a51862d3cc76ae Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
* Fix typov5.3.0-rc1v5.3.0release5.3.0Sergio Ahumada2014-04-011-1/+1
| | | | | Change-Id: I4754f1bc1f9fb3e099fc7c7135ca0a933d9b7475 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Fix some typosv5.3.0-beta1Sergio Ahumada2014-03-032-2/+2
| | | | | Change-Id: Ic387dac14f664fd01700142ca303d01d2fe09168 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Merge remote-tracking branch 'origin/stable' into devv5.3.0-alpha1Sergio Ahumada2014-02-112-3/+21
|\ | | | | | | Change-Id: I60405f79dbe590e2f598d57f80794364f415c566
| * test: Don't fail *all* tests if the network test server is not set upold/5.2Sergio Ahumada2014-02-112-3/+21
| | | | | | | | | | | | | | | | | | Since not all tests for tst_qxmlquery and tst_xmlpatterns depend on the network test server being set up, now we just fail those which really depend on it allowing the rest to be normally run. Change-Id: I0588cf986ffddea117cee680e07e1a8cc4d68436 Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
* | whitespace fixesOswald Buddenhagen2014-01-227-25/+25
|/ | | | | | | | remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* make it possible to disable XML schema usagePeter Hartmann2013-11-151-4/+8
| | | | | | | | | | | | | | | | | | | | | | | Removing XML schema functionality reduces the size of libQt5XmlPatterns.so considerably: Linux desktop release mode: with XML schema: 4.3 MB without XML schema: 3.2 MB BlackBerry10 release mode: with XML schema: 2.6 MB without XML schema: 1.9 MB XML schema might not be used, especially on a mobile / embedded device, as opposed to the rest of xmlpatterns (e.g. XPath through QML XmlListModel). Task-number: QTBUG-28068 Change-Id: I5024a822179e7241e592f079efe3adef8f661c70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Revert "Handle new QtTraceMsg type, fix warnings about unhandled enumeration ↵Kai Koehne2013-11-051-1/+2
| | | | | | | | | | value." This reverts commit bf49d9f0d41c3be802dbdd2c23dfe7c5fd86f4b0. QtTraceMsg was removed from QtCore for the moment, too. Change-Id: I1d6aaacf5e363f81272da4fbb0a4ff12337dd677 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix undefined behavior validating XSD substitution groupsMark Shroyer2013-10-024-0/+33
| | | | | | | | | | | | | | | | | | | | | A bug in XSD substitution group validation would result in an invalid cast of SchemaType::Ptr to XsdComplexType::Ptr, in which case evaluating complexType->prohibitedSubstitutions() exhibited undefined behavior. In practice this caused validation against XSD schemas containing substitution groups to fail on some machines, where ORing the checkSet mask against out of bounds memory could cause the function XsdSchemaHelper::substitutionGroupOkTransitive() to return a false negative. Minus the bug fix, the regression test added in this commit failed on (at least) Linux ARM when compiled with the Linaro toolchain 2013.01 g++ 4.7, with flags -marm -mcpu=cortex-a8 -O2. However, it did not fail on a Linux amd64 machine prior to the bug fix. Change-Id: Idd060a941a3bc0620f1fcc903375e43022bdcbdc Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Handle new QtTraceMsg type, fix warnings about unhandled enumeration value.Friedemann Kleint2013-09-261-2/+1
| | | | | Change-Id: Ia908aa03e0f6a0e4f92013ae84fc68ac73919d08 Reviewed-by: hjk <hjk121@nokiamail.com>
* Update QXmlQuery test result after default date format change.Jędrzej Nowacki2013-09-231-1/+1
| | | | | | | | | QTime is not showing milliseconds by default anymore, when converted to QString. Change-Id: Iba745919ee1f034aebc75628a96efad5546f03c1 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Merge branch 'stable' into devSergio Ahumada2013-08-051-2/+0
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I8472ccedaa829436aebf4424b64a3b7dd0adc173
| * test: Remove QSKIP from tst_xmlpatternsSergio Ahumada2013-07-261-2/+0
| | | | | | | | | | | | | | | | Tests are passing nowaways on OS X. Task-number: QTBUG-22556 Change-Id: I1c2c864c6a9d9c9195012291745750b0193f4d00 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-07-232-18/+18
|\ \ | |/ | | | | Change-Id: I746d5aa3e11e8c01c370db3786788270cdd7c685
| * Replace qt.nokia.com by www.qt-project.org in tests.Friedemann Kleint2013-07-152-18/+18
| | | | | | | | | | | | | | Task-number: QTBUG-32390 Change-Id: I8e3d0df9ff929490a288dca0a9da12751af6b851 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-07-112-0/+9048
|\ \ | |/ | | | | Change-Id: Ibc00a0629361eb26d2ad3b47e64620a2ad03717b
| * test: Add 5.0.0/5.1.0 bic data for linux-gcc-ia32Sergio Ahumada2013-07-102-0/+9048
| | | | | | | | | | | | | | | | The 5.0.0 data was missing from before, so taking the opportunity to add it now. Change-Id: I8d269fa735cfea9e50eeaf70c49c56aeb173b357 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Fix tst_QXmlQuery::evaluateToReceiver failure.Mitch Curtis2013-06-051-1/+1
|/ | | | | | | | | | This patch fixes a test failure introduced by 15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c. Change the date format in allAtomics.ref file to include milliseconds. Change-Id: I8786e04976872da87cbc322d322c394cb0c62a67 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* remove pointless INCLUDEPATHv5.1.0-beta1Oswald Buddenhagen2013-04-261-1/+0
| | | | | | | QT+=xmlpatterns-private in xmlpatterns.pri already handles that. Change-Id: Id276ff89cc3b315119ce23c654be24a9503e9001 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Remove old QtXmlPatterns.4.* dataSergio Ahumada2013-04-226-17789/+0
| | | | | Change-Id: I96304652faab35bdbb71bf814aab35be7dc68151 Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Fix exit crash in xmlpatternsvalidator.Friedemann Kleint2013-04-052-2/+32
| | | | | | | Clean up QNetworkAccessManager using qAddPostRoutine(). Change-Id: I6ee8b0bcccf09abf4e4b35e063f48f6d7a631bfe Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* XmlPatterns-Testsuite: Use GLOBAL_STATIC for network access manager.Friedemann Kleint2013-04-052-4/+4
| | | | | | | | Do not use global static variable, this causes warnings and hangs on Windows. Change-Id: Ic31c347b69ae7e97699a351834d34f7eda6695e2 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-03-062-2/+2
|\ | | | | | | Change-Id: I0bb29c2a3f076341bc99aaf2b4fa0f09ddd720c7
| * Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
| | | | | | | | | | | | | | This allows us to remove hardcoded depends information. Change-Id: I5aac8d8e4fe53ad335ab4317c2bca82e9b6e4ede Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-05127-132/+132
|\ \ | |/ | | | | Change-Id: I0e2f2023d576e479246ed86c6a95eba3c8b9d93b
| * Doc: Fix module name formatSze Howe Koh2013-01-251-6/+6
| | | | | | | | | | | | | | | | Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Change-Id: I1a8b3cafa9d1b9a6fdde835ae93f5f87b4d3970c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
| * Update copyright year in Digia's license headersSergio Ahumada2013-01-10126-126/+126
| | | | | | | | | | | | Change-Id: I5b7d4c1de139bebfff1b67d216c579835431e5d6 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* | Remove QT_{BEGIN,END}_HEADER macro usageSergio Ahumada2013-01-2836-140/+0
|/ | | | | | | | | The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb and is no longer necessary or used. Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html Change-Id: I74e76ed86361fbbf8957bf7a0540f2bd3350eb0a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* make qtbase source dependency explicitv5.0.0-rc2Oswald Buddenhagen2012-12-121-2/+3
| | | | | Change-Id: I7682d9b75a41f6084834a08db3f37925d5153afe Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* make use of qt_headersclean.prfOswald Buddenhagen2012-12-112-66/+2
| | | | | Change-Id: If4dc7b40b9222113cb11d31409a39272004c38d1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* fixing linking against non-installed libsOswald Buddenhagen2012-12-041-0/+1
| | | | | | Task-number: QTBUG-27427 Change-Id: I947d67b242e5a882f08a0672eaad076f818bf29d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Always get the default flags from QAIM.Stephen Kelly2012-11-271-1/+1
| | | | | Change-Id: I89abe8fdbd836804624a669296ae673230149472 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* Doc: Modularized Qt XML Patterns documentation.Jerome Pasion2012-11-231-11/+11
| | | | | | | | | | | | | -moved snippets, images, documentation to src/xmlpatterns -fixed \snippet tag -ported module information from qtdoc repository -enabled "make docs" for the module -set up qdocconf file and .index file -updated tests/auto/patternistexamples to point to the new snippet locations Change-Id: Ifd10733c277c6dbacac42898c8e7bacd00d23f27 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* CMake: Remove obsolete test_modules testv5.0.0-beta2Stephen Kelly2012-11-013-74/+0
| | | | | | | The generated module_includes test is a super-set of this test. Change-Id: Ibd292df016adede59d0fb5d02c0ec387c8039a9b Reviewed-by: Rohan McGovern [inactive] <rohan.mcgovern@nokia.com>
* CMake: Test module includesStephen Kelly2012-10-311-0/+6
| | | | | Change-Id: I87c2686c2ac2c5f7fb93395175c780701551b9d7 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Tests: Use qInstallMessageHandler()Kai Koehne2012-10-162-7/+7
| | | | | | | qInstallMsgHandler got deprecated in Qt 5. Change-Id: I4f2b7cad5f2b6a1d1c617e41a62ee0cbf11bcd47 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix XmlListModel memory leakAri Koivisto2012-10-144-1/+9
| | | | | | | | | | | | This is a forward port of a memory leak fix committed to Qt 4.8 (QTBUG-15191). The fix includes all changes except changes to qitem_p.h which has changed in Qt 5.0. Additionally fix qxmlquery autotest failure introduced in the original Qt 4.8 patch. Task-number: QTBUG-27357 Change-Id: Ia0e916d9d6bccea014d28920cef48d6e47e8f04f Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>