summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternssdk
Commit message (Collapse)AuthorAgeFilesLines
* Remove Windows CE.Friedemann Kleint2016-04-151-1/+1
| | | | | | | | Remove #ifdef sections for Q_OS_WINCE and wince .pro file clauses. Task-number: QTBUG-51673 Change-Id: Id03f665883a501105e76c2842fb7c0fbf3086687 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* xmlpatternssdk: Fix compilation with MSVC 2015.Friedemann Kleint2016-03-103-4/+12
| | | | | | | | | | | | | | | | | Change exported class ExpressionInfo to not inherit QPair<>, use normal member variables for the name/details strings instead. Exporting classes inheriting QPair<> is not possible due to a compiler bug in MSVC 2015. src/corelib/tools/qpair.h(83): error C2065: 'TT1': undeclared identifier src/corelib/tools/qpair.h(83): note: This diagnostic occurred in the compiler generated function 'QPair<QString,QString> &QPair<QString,QString>::operator =(QPair<TT1,TT2> &&) noexcept(<expr>)' src/corelib/tools/qpair.h(83): error C2923: 'std::is_nothrow_assignable': 'TT1' is not a valid template type argument for parameter '_From' Task-number: QTBUG-49658 Change-Id: Ib2c27a4c2b0aae28b4de6086c8ddc0220e205075 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Updated license headersAntti Kokko2016-01-2158-986/+696
| | | | | | | | | | | 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: I1ddbce303f8c450d5bf1b553ab53843a83046bb5 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-12-104-51/+74
|\ | | | | | | Change-Id: Iaf57c1b0beffdceb3f0533aa77ba536ec4c373a9
| * Change uses of toAscii to toLatin1v5.6.0-beta1Liang Qi2015-12-101-1/+1
| | | | | | | | | | | | | | This ammends e19bbdf8. Change-Id: Idebb29cdbb6fb30ac446701ebc415a7944f48421 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
| * Test suite: Streamline code in QPatternistSDK::DebugExpressionFactory.Friedemann Kleint2015-11-051-50/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix release mode compiler warnings: In member function 'virtual void QPatternistSDK::DebugExpressionFactory::processTemplateRule(const Ptr&, const Ptr&, const QXmlName&, QPatternist::ExpressionFactory::TemplateCompilationStage)': warning: 'title' may be used uninitialized in this function [-Wmaybe-uninitialized] In member function 'virtual void QPatternistSDK::DebugExpressionFactory::processNamedTemplate(const QXmlName&, const Ptr&, QPatternist::ExpressionFactory::TemplateCompilationStage)': warning: 'title' may be used uninitialized in this function [-Wmaybe-uninitialized] by rewriting the code to directly add to a QString. Change-Id: I23781b624e6b3fbc385d8b041a1923d49c291f51 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
| * Can now specify which tests to skip with an environment variable5.5Jan Arve Saether2015-10-263-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | e.g. export XMLPATTERNSXQTS_TESTRANGE=42,49 will execute the tests from number 42 to number 49. The tests are numbered sequentially. This will allow us to not having to run through all the tests when testing for a specific testcase. Change-Id: I4c21158a4eada1b48eb809a887216a7160d73220 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
| * Skip tests that crashes.Jan Arve Saether2015-10-231-1/+28
| | | | | | | | | | | | Change-Id: I45ad981fa4d6d7302cf2e06429ea1134957034f3 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* | Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API.Friedemann Kleint2015-08-311-1/+0
|/ | | | | Change-Id: Idf9932358a6442395dfb95655a8d46be7f57f81b Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* 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 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>
* Update copyright headersJani Heikkinen2015-02-1758-406/+406
| | | | | | | | | 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>
* Update license headers and add new license filesAntti Kokko2014-08-2458-1102/+638
| | | | | | | | | - 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>
* Fix some typosv5.3.0-beta1Sergio Ahumada2014-03-032-2/+2
| | | | | Change-Id: Ic387dac14f664fd01700142ca303d01d2fe09168 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* whitespace fixesOswald Buddenhagen2014-01-222-2/+2
| | | | | | | | remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> 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>
* 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>
* 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-02-0558-58/+58
|\ | | | | | | Change-Id: I0e2f2023d576e479246ed86c6a95eba3c8b9d93b
| * Update copyright year in Digia's license headersSergio Ahumada2013-01-1058-58/+58
| | | | | | | | | | | | 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-2829-112/+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>
* 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>
* 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>
* Build fix after QVariant change.Jędrzej Nowacki2012-10-103-10/+10
| | | | | | | | QVariant(Qt::GlobalColor) was removed in Qt5. Change-Id: I08b89fc6799e3645755dd435cc8b861fafd9fd05 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2458-1396/+1396
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I34508f293d75832657f79479e2a8c184e873e154 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* centralize load(qt_build_config)s in .qmake.confOswald Buddenhagen2012-09-111-2/+0
| | | | | Change-Id: Ide097efe50d6d1d4b42ef6980c83f3e9ad7d2ba1 Reviewed-by: Joerg Bornemann <joerg.bornemann@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: Iab3d9fa844e74b7f8a17dbe1c26f9df6fa8dfadc Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* build system cleanupsOswald Buddenhagen2012-06-271-1/+1
| | | | | | | | | | | | | | | - load(qt_module) => load(qt_build_config) - remove: - CONFIG+=module (obsolete) - setup of PKGCONFIG* variables (automated now) - code relating to module version headers (automated now) - %mastercontent assignment (automated now) - QT_BUILD_*_LIB defines (automated now) - pointless QPRO_PWD assignments Change-Id: Ie8a638b3c3a1a6a3d37fc410435bbc2b4a068ecf Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* QtXmlPatterns: Fix compiler warnings.Friedemann Kleint2012-05-252-9/+7
| | | | | | | | | | QString conversions, assigned/unused variables, braces around ambiguous else. Also fixed coding style in the affected lines to make the sanity bot happy. Change-Id: I85e440861ec9e8177a6cf9a017dc981a25212f54 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
* Fix for exceptions being turned off by default.Toby Tomkins2012-05-211-0/+2
| | | | | | | | | | The qtbase change 2b21dd69d6a4e47f0ec3d3958ab1def0983ce76c has turned off exceptions by default. This change enables them for one test that relies on them. Change-Id: Idbbfe27595f4dc8cd7118aac66203fb7c228003c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* QAbstractItemModel::reset is deprecated.Thiago Macieira2012-05-031-1/+6
| | | | | | | | Remember to properly notify that the model is resetting *before* we start to reset it. Change-Id: I88931c60ff5800b53f23a63c3766d7c705845cca Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Purge the Symbian support from this moduleHolger Hans Peter Freyther2012-01-312-7/+1
| | | | | | | | | | This continues were 70e6c71f7e8e4c12672075e7477f4f1d99f320e6 stopped and removes Symbian support from the .pro files and the examples. Change-Id: I760645d6e19cccb50d505340c3a08bacc7190105 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3158-58/+58
| | | | | | | | | | | 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: Ie14feff161cca83c53750e22a6204d34c3cba52c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2358-58/+58
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I4a78fc4951be48d46135f4a5e0072bd1a8061ea9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0958-58/+58
| | | | | | Change-Id: Iba74aff1aba680f7b56314f3acae3478be9d3e56 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Make private headers usable, and use them in the tests.Rohan McGovern2011-11-1118-91/+91
| | | | | | | | | | | | | The xmlpatterns private headers were not including each other correctly, making them unusable unless the source directory was available and in INCLUDEPATH. Fix it so that the private headers include each other by <private/...>, allowing them to work for an installed Qt. Change-Id: I9c7cbad219ed141c356d9ea097e67e0fb2fa550c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Fix test compilation on Windows.Friedemann Kleint2011-10-211-1/+1
| | | | | Change-Id: Iad81e6c7908ba1f931c8634cb1c16649999a864c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fixed compile of tests using libQtXmlPatternsSDKRohan McGovern2011-08-121-2/+2
| | | | | | | | | Using $$QT_BUILD_TREE is not allowed. Use the correct values. Change-Id: I061c2d02d2d3a1cca114e464aa2a665f1dfa7e01 Reviewed-on: http://codereview.qt.nokia.com/2898 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Update licenseheader text in source files for qtxmlpatterns Qt moduleJyri Tahtela2011-05-2458-990/+990
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Make auto test buildLiang Qi2011-04-271-3/+4
|
* Initial import from the monolithic Qt.Qt by Nokia2011-04-2761-0/+11293
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12