aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'qtquick2'Martin Jones2011-05-311592-168426/+44407
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/flickr/common/Progress.qml demos/declarative/flickr/common/RssModel.qml demos/declarative/flickr/common/ScrollBar.qml demos/declarative/flickr/common/Slider.qml demos/declarative/flickr/mobile/Button.qml demos/declarative/flickr/mobile/GridDelegate.qml demos/declarative/flickr/mobile/ImageDetails.qml demos/declarative/flickr/mobile/ListDelegate.qml demos/declarative/flickr/mobile/TitleBar.qml demos/declarative/flickr/mobile/ToolBar.qml demos/declarative/webbrowser/content/Button.qml demos/declarative/webbrowser/content/FlickableWebView.qml demos/declarative/webbrowser/content/Header.qml demos/declarative/webbrowser/content/ScrollBar.qml demos/declarative/webbrowser/content/UrlInput.qml demos/declarative/webbrowser/webbrowser.qml doc/src/snippets/declarative/mousearea/mousearea-snippet.qml examples/declarative/modelviews/webview/newwindows/qml/alerts.html examples/declarative/modelviews/webview/newwindows/qml/content/Mapping/map.html examples/declarative/modelviews/webview/newwindows/qml/content/pics/cancel.png examples/declarative/modelviews/webview/newwindows/qml/content/pics/ok.png examples/declarative/modelviews/webview/newwindows/qml/newwindows.html src/declarative/graphicsitems/qdeclarativetextinput.cpp src/declarative/qml/qdeclarativecompiledbindings.cpp src/declarative/qml/qdeclarativecompiledbindings_p.h src/declarative/qml/qdeclarativedom.cpp src/declarative/qml/qdeclarativedom_p.h src/declarative/qml/qdeclarativedom_p_p.h src/declarative/qml/qdeclarativeengine.cpp src/declarative/qml/qdeclarativetypeloader.cpp src/imports/particles/particles.cpp tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp tests/auto/declarative/qmlvisual/qdeclarativeflickable/data/flickable-horizontal.4.png tests/auto/declarative/qmlvisual/qdeclarativepathview/data/test-pathview.6.png tests/auto/declarative/qmlvisual/qdeclarativepositioners/data/usingRepeater.0.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.0.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.1.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.2.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.3.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.4.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.5.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.6.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.7.png tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-MAC/multilineAlign.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-X11/multilineAlign.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.2.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.3.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.4.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.5.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.10.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.11.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.5.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.6.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.7.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.8.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.9.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.5.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.6.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.10.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.11.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.12.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.7.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.9.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/wrap.7.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.0.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.1.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.2.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-X11/usingLineEdit.11.png tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp Change-Id: I40df8a9403a58a6c03a0f1734f16a5cbed6c85ff
| * Update SG items with recent GV item changes.Martin Jones2011-05-308-0/+29
| | | | | | | | Change-Id: Ib9cadea91ab3717bee0caf2071102a100e81969d
| * QDeclarativeMouseArea: block context menu eventsCaio Marcelo de Oliveira Filho2011-05-302-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the MouseArea accepts the same button used to trigger a context menu event, it should not let the event to be delivered to item behind. This is important for items that do implement contextMenuEvent(), like QDeclarativeWebView. When there's a mouse area on top of this item and that accepts the right click (in Linux), the event was still being delivered and the WebView menu was incorrectly appearing. QtWebKit bug https://bugs.webkit.org/show_bug.cgi?id=56526 documents this problem. Change-Id: I386fac6c96f47b8616e2eeb7e5f97043ba418980 Merge-request: 1185 Reviewed-by: Martin Jones <martin.jones@nokia.com> (cherry picked from commit 80db0a1e59658f9e445219fc48d9236a79edca72)
| * ListViews loses items if all visible items are removed.Martin Jones2011-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Occurs when at end of list and all visible items are removed in multiple steps, without entering the event loop. We were not updating visibleIndex if there were no visible items when handling itemsRemoved(). Also avoid skipping items in refill if there are no valid visible items for reference. Change-Id: I2ff58fb191f6b053f33d5446220d597eb15b66d4 Task-number: QTBUG-19198 Reviewed-by: Bea Lam (cherry picked from commit 576d577438f1193bbc934e904b809d5b23b8d54e)
| * Views do not notify count changes properlyMartin Jones2011-05-307-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | The views don't have a valid count until both a model and a delegate are provided. But, countChanged() is not called when a delegate is set after the model, so bindings to count were not evaluated. Also test that count is updated for insertion/removal Change-Id: Ic82039a624c02f0bdb2862ac7a6e215df75bb314 Task-number: QTBUG-19037 Reviewed-by: Bea Lam (cherry picked from commit 4fbcb6a531bf424a8dbbbd0ca2947d9e15118885)
| * Clear the root index when the model is reset.Girish Ramakrishnan2011-05-301-0/+5
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-18839 Change-Id: I46608d7481d820fa74a9be60df1e018e70a761c6 Merge-request: 2598 Reviewed-by: Martin Jones <martin.jones@nokia.com> (cherry picked from commit f6b7ce204ee88be0fedb4cfcff382f208fa4ed33)
| * fix qmltest unit test failuresCharles Yin2011-05-305-2/+2
| | | | | | | | Change-Id: I489d1559411f5804f11f4601e34011bc38742b02
| * Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging ↵Martin Jones2011-05-308-2/+2
| |\ | | | | | | | | | into qtquick2
| | * fix typosCharles Yin2011-05-308-2/+2
| | | | | | | | | | | | Change-Id: Iff14f7378bf8fa063bd6096a8662d47320564af6
| * | qmlvisual is broken and unmaintained. Remove it.Martin Jones2011-05-30818-147322/+0
| |/ | | | | | | Change-Id: I9d522d3db81586da8f24be2b3becfdbf2968d933
| * Work around remaining 'make check' failures.Martin Jones2011-05-273-2/+6
| | | | | | | | Change-Id: Ie4480d4f05f5d784eb277fa2be6e502da00524f8
| * Remove webkit dependencies from qtdeclarative.Martin Jones2011-05-2791-19438/+0
| | | | | | | | | | | | | | The webkit examples and demo should be added to webkit repo. See https://bugs.webkit.org/show_bug.cgi?id=61596 Change-Id: Iffb2c5eb7f95a9bb563ad61c6002274cec54cd24
| * Skip the qdeclarativeimage and qdeclarativeborderimage mirror testMartin Jones2011-05-273-0/+4
| | | | | | | | | | | | Also mark qmlvisual tests as CONFIG+=insignificant_test Change-Id: I0febeafca4d9aa08ac17a99c97880520be78a35a
| * Make tests compile.Martin Jones2011-05-272-14/+10
| | | | | | | | Change-Id: Iecb50641f927b82533e25262ba1ab8a0a14a108c
| * Remove webkit dependency from test.Aaron Kennedy2011-05-272-1/+5
| | | | | | | | | | This wasn't a real dependency anyway, as all the code that used it is commented out.
| * Fix QSGImage autotest.Yann Bodson2011-05-251-5/+5
| |
| * Support change slots for properties starting with '_'Chris Adams2011-05-236-0/+118
| | | | | | | | | | | | | | | | | | | | | | | | According to ECMA-262r3, property names may begin with a letter, underscore ('_'), dollar sign ('$'), or unicode escape sequence. We previously supported Change slots for properties only if the property name began with a letter; this patch adds support for properties which begin with one or more underscore. Task-number: QTBUG-17950 Reviewed-by: Aaron Kennedy Change-Id: I6f28bde18a38e32c2131e0990fe0f69bda36f90e
| * Ensure that showDirs is respected in FolderListModelChris Adams2011-05-234-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | Calling index() on a QDirModel can modify the filters applied. This patch to FolderListModel ensures that filtering is reset if required, so that programmatically selecting a subfolder in a folder does not cause that subfolder to become visible if showDirs is set to false. Task-number: QTBUG-17837 Reviewed-by: Martin Jones Change-Id: I449321d5170ecedf2a0cb36483d50020305a26dd
| * Fix QDeclarativeImage testYann Bodson2011-05-231-6/+5
| | | | | | | | | | | | Use smaller images that fit in the cache. Task-number: QTBUG-19425
| * QDeclarativeDebug: Fix autotestKai Koehne2011-05-201-1/+1
| | | | | | | | Update the number of objects to be expected
| * Fix implicit qmldir imports unit testChris Adams2011-05-203-38/+36
| | | | | | | | | | | | | | | | | | Previously, the tst_qdeclarativemoduleplugin::implicitQmldir() test worked only under shadow-built Qt. Now it works under in-src build as well. Reviewed-by: Martin Jones Change-Id: Ie1395a8b93aba6e02f00bb047169d76f05ec10d9
| * Support 'mirror: true' in SG Image element.Martin Jones2011-05-202-6/+11
| | | | | | | | Change-Id: Id94e5557e8ebbed4494fb342b87b8b595e01b38b
| * Integrate QtQuickTest into QtCharles Yin2011-05-2018-0/+2645
| | | | | | | | | | Change-Id: I558821c0dec9166ea1d0d2e1e2f889553c436316 Task-number:QTBUG-16082
| * Skip test in qdeclarativeimage::noLoading (QTBUG-19425)Yann Bodson2011-05-201-0/+1
| |
| * Skip another pixmap comparison test.Martin Jones2011-05-201-0/+2
| | | | | | | | Change-Id: Ie9280cfbb74d2ffa2da1ce5b6d1e5153a9b19d0f
| * Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging ↵Alan Alpert2011-05-191-1/+1
| |\ | | | | | | | | | into qtquick2
| | * Update unit test according to intended behaviour change.Kim Motoyoshi Kalland2011-05-191-1/+1
| | | | | | | | | | | | | | | The behaviour was changed in commit 9d7eb51da37e8dffbe284fc564c9b9f08a89bea2.
| * | Normalize createQmlObject error messageAlan Alpert2011-05-191-3/+3
| |/
| * Fix unstable test.Martin Jones2011-05-191-2/+1
| | | | | | | | Change-Id: I336b6a02b763c3be9b01a074f641cb031cf18268
| * Link item focus to canvas widget focus.Martin Jones2011-05-195-0/+218
| | | | | | | | Change-Id: I7da1db30819c80b48f4c285a43274b668c686826
| * Remove QEXPECT_FAIL from QSGTextInput test.Andrew den Exter2011-05-191-1/+0
| | | | | | | | | | | | The QSGPaintedItem::setContentSize() function has now been implemented. Change-Id: I620824073143de5e50c8ce2e4f886dc60dd79e64
| * Fix test TextEdit preeditMicroFocus test failure.Andrew den Exter2011-05-181-1/+7
| | | | | | | | | | Port change from QDeclarativeTextEdit test which removed a check for an update when the cursor position had not changed.
| * Skip mirror autotests while QTBUG-19351 and QTBUG-19252 are not resolved.Yann Bodson2011-05-183-5/+4
| |
| * Make SG Text test work by disabling pixmap comparison.Martin Jones2011-05-181-0/+2
| | | | | | | | This won't work with scenegraph. Manual test needed.
| * More autotests fixes.Yann Bodson2011-05-182-27/+17
| |
| * Fix QSGBorderImage autotest.Yann Bodson2011-05-181-10/+10
| | | | | | | | QtQuick 1.0 -> QtQuick 2.0
| * Reduce usage of Q_ASSERT in autotests.Jason McDonald2011-05-184-26/+28
| | | | | | | | | | | | | | | | | | | | Using Q_ASSERT does nothing in release-mode builds, and in debug builds it causes tests to terminate prematurely. It is much better to use QVERIFY or QCOMPARE. Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 3475168550c1a804f04f2a4edfeb30c04cd36551)
| * Remove Q_ASSERT from qdeclarativexmllistmodel testJason McDonald2011-05-181-1/+4
| | | | | | | | | | | | | | | | | | | | Report a meaningful warning in all builds rather than aborting in debug builds and doing nothing in release builds. Change-Id: I14aa7bc8699f5307e1ec34b18006b9fbbd8aca8e Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 1ea84cba1f90a9c95c54480117342dba0eae3d2f)
| * Remove Q_ASSERT's from ecmascript test.Jason McDonald2011-05-181-4/+0
| | | | | | | | | | | | | | | | | | | | These Q_ASSERT's were redundant as the test functions that call these functions already verify that "value == 0". Change-Id: Ic23e539c5814153d67fea8156ade0783f91d7b83 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 6f791f8ad0b7ef023d91c1609ce076443f335c13)
| * Remove Q_ASSERT from QDeclarativeListModel autotest.Jason McDonald2011-05-181-1/+4
| | | | | | | | | | | | | | Change-Id: Ic15b747fa50bcec54df748b173b299058f69c681 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 59a6e6200984ccbb862b8758436a5e88b8c40bbc)
| * Remove redundant Q_ASSERT from qmlvisual autotest.Jason McDonald2011-05-181-2/+0
| | | | | | | | | | | | | | Change-Id: I5c413793ee6322b5be1ae52658362803dc4c2010 Task-number: QTBUG-17582 Reviewed-by: Alan Alpert (cherry picked from commit d6bd4db2db6dbefec327e226bf54a69a20690a45)
| * Remove Q_ASSERT calls that wrap side-effecting code.Jason McDonald2011-05-181-3/+9
| | | | | | | | | | | | | | | | | | | | In release mode builds, code inside Q_ASSERT macros is not executed, so putting code with side-effects inside Q_ASSERT is not a good idea. Task-number: QTBUG-17582 Change-Id: I1a5d8ccce666ee7b7f120bf9cbb49e30dac9add4 Reviewed-by: Rohan McGovern (cherry picked from commit 1750a4351a8125756bf38a53d6d8312993c7d85e)
| * Add autotests to .pro fileYann Bodson2011-05-171-0/+2
| |
| * Make QSGImage autotests compile.Yann Bodson2011-05-177-123/+68
| |
| * skip unit tests if no required OpenGL 2.0 feature on this platformCharles Yin2011-05-1712-1/+167
| | | | | | | | Change-Id: I68feb5938339f327b45cf66b7aec1c582753f18d
| * Fix QSGBorderImage and QSGAnimatedImage autotestsYann Bodson2011-05-163-36/+25
| |
| * Fix QSGBorderImage autotest.Yann Bodson2011-05-132-58/+19
| |
| * Added auto tests for properties initialized using JS statementsRoberto Raggi2011-05-122-0/+11
| |
| * Fix the QML front-end to allow side effects in the initializer.Roberto Raggi2011-05-121-0/+30
| | | | | | | | Task-number: QTBUG-15117
| * tests: mark tst_qsgitem as a private-testRohan McGovern2011-05-121-3/+1
| | | | | | | | | | | | | | This test uses private symbols. Reviewed-by: Jason McDonald Change-Id: I026f4d00be5f53203d0b155e08533474cc4d9605