summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* This test seems to be unstable on some platformsv5.4.1Lars Knoll2015-02-041-0/+2
| | | | | | | | | We've had some failures with this test in the CI system. Ignore it as we plan on deprecating qt quick1 anyway. Change-Id: If882598dfd0cdb13b588ca9ad4074d61b8574d19 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* Fix empty arrays in QML 1Robert Griebl2015-01-081-0/+6
| | | | | | | | | Commit 9cbb6fa added a regression, where empty arrays would produce errors in QML 1. Change-Id: Ie5c784d5ec921d1ca69084750ed37fc2e273bbef Task-number: QTBUG-43656 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Extend timeout in tst_qdeclarativetextedit::delegateLoadingv5.4.0-rc1v5.4.0Frederik Gladhorn2014-10-291-1/+1
| | | | | | | | | | On some CI machines (OS X 10.7) this test actually passes but takes 5100 ms to load the delegate. Task-number: QTBUG-42264 Change-Id: I008cbf0e163257c800370951920384108e5a390b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Skip failing test dataAlan Alpert2014-10-271-0/+4
| | | | | | | | | | The test is crashing on windows, skipping it will at least allow the other parts of the test to run. Task-number: QTBUG-30131 Change-Id: Iff420c71c29a482641275da938bfcb8c43a45042 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* tests: tst_qdeclarativelanguage: fix filesystem case sensitivityShawn Rutledge2014-10-222-10/+22
| | | | | | | | | | | | | | importIncorrectCase() and errors(incorrectCase) give different error messages depending on the case sensitivity of the file system on OS X. Those are in turn different than error messages on other operating systems with case-sensitive filesystems. This patch is very similar to the one that was done in qtdeclarative: 2ebf4ba4710a01a038d05cfea741e5538bb4567f for QTBUG-37622 Change-Id: Ib13d717712cf88b476ca7edd8aababd7f5456c50 Task-number: QTBUG-41961 Reviewed-by: Liang Qi <liang.qi@digia.com>
* Blacklist constantly failing test case on Mac OS Xv5.4.0-beta1Kalle Viironen2014-09-221-0/+2
| | | | | | | | tst_qdeclarativetextinput fails on Mac OS X Task-number: QTBUG-41316 Change-Id: I86724ecf0196ab4728f3bf14fcfc6cfe18bc20d1 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4Frederik Gladhorn2014-09-182-0/+119
|\
| * Merge remote-tracking branch 'origin/5.3' into 5.4Frederik Gladhorn2014-09-162-0/+119
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I842b005b9818c9e201a09d51bcf418e2dd0a1ef9
| | * Make sure that the itemview's count property is reliableNils Jeisecke2014-09-102-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a missing countChanged signal when model changes happen while the itemview component is not completely initialized. Task-number: QTBUG-37115 Change-Id: I20c749b9e521b0292186adbecd09e1d362520881 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* | | Use QSignalSpy instead of waitFor in tst_qpacketprotocolUlf Hermann2014-09-171-2/+6
|/ / | | | | | | | | | | | | | | Our CI metrics tell us that this test is in much better shape in QtQuick2 than here. So let's apply the only differing change here, too. Change-Id: I1985f20ba36b94d698699173fb911e393b31c215 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | Update license headers and add new license filesv5.4.0-alpha1Antti Kokko2014-08-25133-2526/+1462
| | | | | | | | | | | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I736aeb1a53f8aac59e8df360447864fea64d3dee Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* | Add handling of value-type lists to QDeclarativeExpression::evaluate()Robert Griebl2014-08-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | QDeclarativeExpression::evaluate() converts all arrays to QList<QObject *>, even if the items cannot be represented by a QObject *. In case of a string-list, a QList of null-pointers is returned (which isn't very helpful). This patch makes evaluate() convert arrays, which contain ONLY value-type items, into a plain QVariantList. Change-Id: Ib8452cf9dd0241f146955f5de35336f48b9007c1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | QDeclarativeError::toString: improve handling of empty urls.David Faure2014-07-2617-50/+50
| | | | | | | | | | | | | | | | | | | | | | | | "file::2:23: ..." is strange to read. Show "<Unknown File>:2:23: ..." instead, by treating empty urls (including "file:") as unknown, and by still showing line and column numbers in such a case. This change makes it possible for QUrl::fromLocalFile("") to return an empty url rather than "file:", which this module was relying upon in the tests. Change-Id: Id6d8aaa73673283cb65cbd1316dca77f859a3f8f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | Fix tst_qdeclarativeapplication on OS XSergio Ahumada2014-06-031-1/+7
| | | | | | | | | | | | | | This change is similar to qtdeclarative/a292bcb1438034a24e95ec08be04a76ba832d793 Change-Id: I2d758d6725b32a8f9779e14560b9b61271a5cb97 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* | Fix tst_qdeclarativetextinput::copyAndPaste() for asynchronous clipboard ↵Sergio Ahumada2014-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | notification. Change qtbase 6a61a00ddb21e79412e82069dfef50192bfd724d for Windows uses new clipboard notification API that results in asynchronous clipboard notifications. This change is similar to qtdeclarative/a7122f3b2832ad65cfd0ab0ce0315a7042ee9f92 Change-Id: I3bb85f7dbc258f8f93cde8af1c9b24286b99ce21 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devIikka Eklund2014-04-011-0/+13
|\| | | | | | | Change-Id: I222f518e398b90382e452921411cfe81836ce02f
| * Ensure TextEdit's text is vertically aligned after resizing its height.Mitch Curtis2014-03-241-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | The current code only updates the alignment if the width of the TextEdit changed, but we must also check if the height has changed. Task-number: QTBUG-36069 [ChangeLog][QtDeclarative][TextEdit] Fixed TextEdit not vertically aligning its text after having its height changed. Change-Id: I428a01111874c70d2151213d2b3c5553e7f21186 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2014-03-241-0/+24
|\| | | | | | | Change-Id: Ic5bcce627df03517c29597e6bb864f7b3fad2ebe
| * Correct QDeclarativeTextEdit::positionToRectangle().v5.3.0-beta1Mitch Curtis2014-03-201-0/+24
| | | | | | | | | | | | | | | | | | | | | | d->yoff is the content offset when the content is not top aligned. This means that positionToRectangle() returned incorrect values when the content was bottom or vertical center aligned. In other words, it didn't apply the offset but gave coordinates from the beginning of the content instead of from the beginning of the item. Change-Id: I044b79434b9a67b0539050e39953d5889a3ed1db Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devSergio Ahumada2014-03-113-3/+3
|\| | | | | | | Change-Id: I09ce9ad6e50bdb6034717d45ad73b4d21474a6e2
| * Fix typos in comments and documentationSergio Ahumada2014-03-053-3/+3
| | | | | | | | | | Change-Id: Ie7c4d63d632bf32ee583ddcd807252225ddde3fd Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* | Fix MSVC-warnings about double to float truncation.Friedemann Kleint2014-02-256-24/+24
| | | | | | | | | | | | | | warning C4305: 'argument' : truncation fromm 'double' to 'float' Change-Id: I7e419700b26ff66c48562b73db74b45ab1673c23 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* | whitespace fixesOswald Buddenhagen2014-02-20151-474/+474
|/ | | | | | | | remove trailing spaces & expand tabs Change-Id: Ia088c8cc8a83d068f6e2ec84903b5220cd3411f1 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix autotests expecting a trailing whitespace for qDebug streamKai Koehne2013-12-127-14/+14
| | | | | | | | The behavior of QDebug was fixed in qtbase. Update autotests accordingly. Change-Id: Ic39b7ddfc8a2fed6456ec617304aaf5035774e14 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* tests: fix tst_qdeclarativemoduleplugin::incorrectPluginCase()Liang Qi2013-11-011-3/+7
| | | | | | | | | It gives different error message based on the case sensitivity of the file system on Mac. Task-number: QTBUG-32646 Change-Id: I8b5986a4bc8886924e678692c6679e571a11dd33 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* tests: replace nokia with qtproject in tst_qdeclarativemodulepluginLiang Qi2013-10-3127-30/+30
| | | | | Change-Id: Ia531065e3069aa010f99f91a8c8228788b3f0848 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* tests: Replace Q_OS_MACX -> Q_OS_OSXv5.2.0-beta1Sergio Ahumada2013-10-211-1/+1
| | | | | | | | Use the correct identifier for the OS X operating system. Change-Id: I5f93d63fc7e3041a45485ca10ccf5a1bde04bb01 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Merge branch 'stable' into devSergio Ahumada2013-08-053-109/+108
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ic423a5bbe47dfa2b5d432e1af1032067d68b22e6
| * Fail tst_qdeclarativeborderimage::mirror() on Windows.Friedemann Kleint2013-07-291-1/+5
| | | | | | | | | | | | | | | | | | As expected. The test was using an invalid URL and thus successfully comparing 2 empty images. Task-number: QTBUG-32661 Change-Id: If6f0ad23454673b4b4fb2bc0a73da2b50663f171 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
| * Stabilize and fix tst_qdeclarativetextedit.Friedemann Kleint2013-07-251-49/+41
| | | | | | | | | | | | | | | | | | | | | | | | Introduce a scoped pointer for the views to ensure cleanup after failing tests. Fix calculation in positionAt() to use a QPaintDevice and the first line of the text. Move calls to QDeclarativeView::setFocus() below activation for it to set the "active" focus item correctly. Task-number: QTBUG-32538 Change-Id: Ibf10d00b9bddd587f5721d5b5011f6eafc617f39 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
| * Stabilize and fix tst_qdeclarativetextinput on Windows.Friedemann Kleint2013-07-251-59/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a scoped pointer for the views to ensure cleanup after failing tests. Clear text in maxLength(). Move calls to QDeclarativeView::setFocus() below activation for it to set the "active" focus item correctly. Add message to obtain more information about failing tests. Task-number: QTBUG-32538 Change-Id: Id65afbdfb0f9fd70846958fcb28fdd0fe1bd70f7 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-07-2313-40/+63
|\| | | | | | | Change-Id: I776abad2c248f697ff729057cfaff16b4a395380
| * Fix regression from Qt 4 for deep group propertiesSimon Hausmann2013-07-173-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting a property like someObject.font.family would cause an out-of-bounds assertion in QList, called from QQmlCompiler::genValueTypeProperty. This appears to be a regression from commit 5e970b84663f5398eb51d4575856d1a3c44df953, which replaced one -1 to QMetaType::QVariant too many times. It appears the use of -1 is rather deliberate here and not to indicate the use of a QVariant property. The attached test verifies this as well as the successful setting of the property at the end. Task-number: QTBUG-31576 Change-Id: I237ea08847e1db31481a311ea8ec23a5ccc702d8 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
| * Replace qt.nokia.com by www.qt-project.org in tests.Friedemann Kleint2013-07-153-10/+10
| | | | | | | | | | | | | | | | Task-number: QTBUG-32390 Change-Id: I3662046e22c014618ba07b1c8fddda13ac09690a Reviewed-by: Leonard Lee <leonard.lee@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
| * Fix organization domains.Friedemann Kleint2013-07-151-2/+2
| | | | | | | | | | | | Task-number: QTBUG-32390 Change-Id: Ibaeb0b1ad2ee7b446252fc5e5984c78dbb909a3f Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
| * Replace www.nokia.com by www.qt-project.org in tests.Friedemann Kleint2013-07-127-28/+28
| | | | | | | | | | | | Task-number: QTBUG-32390 Change-Id: Iad6471698c31ff24cc622456d5d51a23af047780 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-07-111-0/+17855
|\| | | | | | | Change-Id: Id822cb4487136926c8a3a3f54f6a978e8592c6ac
| * test: Add 5.1.0 bic data for linux-gcc-ia32Sergio Ahumada2013-07-081-0/+17855
| | | | | | | | | | Change-Id: I652230600a169be519387cfe147693efd621399c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-05-233-32/+5
|\| | | | | | | Change-Id: I03cb83e49d476283280ebb5963a513d109d224c8
| * tst_qdeclarativeimage: it's OK to receive a network image in chunksShawn Rutledge2013-05-101-2/+2
| | | | | | | | | | | | | | | | | | and if so, there can be more than 2 signals to update progress. Task-number: QTBUG-31065 Change-Id: I36294eb8a40c0e8d4beac29a8484260d5cfe6e73 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
| * Fix bic baseline dataJan Arve Saether2013-04-301-28/+3
| | | | | | | | | | | | | | | | | | | | | | Caused by https://codereview.qt-project.org/54820 I actually tried to avoid this with https://codereview.qt-project.org/54837 but my assumption was wrong. Change-Id: Ibf8ba1031a84745dfec65d300a73e10c6728393d Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
| * test: Remove CONFIG+=parallel_test from tst_examplesSergio Ahumada2013-04-111-2/+0
| | | | | | | | | | | | | | | | This fails quite often on Mac because it gets mixed with the same test in qtdeclarative.git while testing qt5.git Change-Id: I58f3f9d8e64b080a2a78fdedb409acd68324c8f8 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-04-033-2/+22
|\| | | | | | | Change-Id: Iec94e513079426e5d87bdd24753863038cee573e
| * Fix a bug where completed was emitted twice when duration was zero.v5.1.0-alpha1Thomas Kristensen2013-03-261-0/+20
| | | | | | | | | | | | | | Change-Id: I72c16f3affb297985e9e5d2e9f524537212d06ad Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
| * Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-03-262-2/+2
| | | | | | | | | | | | | | This allows us to remove hardcoded depends information. Change-Id: I55a678dce0cfe84871d3bd2de10a5df2465bf08c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Fixed some declarative auto testsBernd Weimer2013-03-273-35/+32
|/ | | | | | | | This is a backport from qt5/qtdeclarative (commit c460a83 + a fix in qdeclarativeimage) Change-Id: I90f292dea76d3da30930a663b37f8e624b210c2b Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* Merge branch 'dev' into stableSergio Ahumada2013-03-199-155/+89
|\ | | | | | | | | | | This starts Qt 5.1 release cycle Change-Id: Ic10a8c118053323004cafe1b4bffd990a16aaf7f
| * Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-03-1410-42/+597
| |\ | | | | | | | | | Change-Id: I39178ea637dc950cbbb631b725350ab99897ad45
| * | Remove qaccessible2 bic data.Frederik Gladhorn2013-03-131-151/+0
| | | | | | | | | | | | | | | Change-Id: I6fda0c0b8ce1b104b62cedf3ad71adadf6b4b3ea Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
| * | Fix qdeclarativelanguage test for installed builds.Friedemann Kleint2013-03-132-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Compile failure due to auto-test-exported symbol qmlRegisterTypeNotAvailable(). Change-Id: Ia1ae312f1d7f8d3fcd93879780d01f7a8b1e0383 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>