summaryrefslogtreecommitdiffstats
path: root/tests/auto/qaccessibility
Commit message (Collapse)AuthorAgeFilesLines
* Remove the redundant QTEST_ACCESSIBILITY define.Jason McDonald2011-05-261-13/+0
| | | | | | | | | | | | | QTEST_ACCESSIBILITY was always defined and only used in one autotest. Code that uses accessibility features should be excluded if Qt was built without accessibility rather than based on a define in the test framework. Change-Id: I3a517a579a51f536a0983b43bd99e86292026552 Reviewed-by: pending Reviewed-on: http://codereview.qt.nokia.com/129 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update licenseheader text in source files for qtbase Qt moduleJyri Tahtela2011-05-241-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Remove Qt3Support test code from accessibility autotestJason McDonald2011-05-191-1007/+0
| | | | | | Change-Id: Id31836ea52da71b40c0bcbb67d9beffc70b90400 Task-number: QTBUG-19325 Reviewed-by: Rohan McGovern
* Only ignore warning when it can actually be produced.Jason McDonald2011-05-181-1/+1
| | | | | | | | | | | Fix regression introduced in 3ca51d87296bcb3098d7de14294fef9294fd5ed4. The warning is only generated in builds where QT_NO_DEBUG is not defined *and* the target is not Mac OS X. Change-Id: I7245f2eab8ea47ab7495fef874b2f8a29186b659 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 60e5ed805af1e11aaec426b823df209b4c895c29)
* Only ignore warning when it can actually be produced.Jason McDonald2011-05-181-0/+2
| | | | | | | | | | | Fix regression introduced in 3ca51d87296bcb3098d7de14294fef9294fd5ed4. The warning is only generated in builds where QT_NO_DEBUG is not defined. Change-Id: I9aa3db369094f4046062b5dc1dc694342208ee45 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 67bc4990f7541cca089882a8c3be1b2b8d98cd4c)
* Fix remaining warnings in accessibility autotestJason McDonald2011-05-181-32/+40
| | | | | | | | | Prevent warnings about unhandled accessibility events by managing object lifetimes appropriately. Change-Id: If72a2a6a76527ff746b99634c2d0895354570724 Reviewed-by: Rohan McGovern (cherry picked from commit bf1d860143ff40330c6e8f3e2872f2ae812adaa7)
* Ignore expected warning in accessibility autotestJason McDonald2011-05-181-0/+2
| | | | | | Change-Id: I4b614766d2451dde51ab1207267301a2fe7dd0f6 Reviewed-by: Rohan McGovern (cherry picked from commit 3ca51d87296bcb3098d7de14294fef9294fd5ed4)
* If accessibility isn't built, don't try to test itRohan McGovern2011-05-182-217/+5
| | | | | | | | | | | | | Only build the autotest when the feature to be tested is in the Qt build. This is better than building and running an empty test. Change-Id: I67721f5f48296afcca64f761d12325f8e040f2d8 Reviewed-by: Rohan McGovern (cherry picked from commit cf911bc0d297ed30e615fd115b0d3ae574cb2412) Conflicts: tests/auto/qaccessibility/tst_qaccessibility.cpp
* Remove unused function.Jason McDonald2011-05-181-42/+0
| | | | | | Change-Id: I197ca88e04a68dca0ea819d6e335a02607e597aa Reviewed-by: Trust Me (cherry picked from commit 1a98c473fbcbb6a9edf1b7e42babbad7d901edb4)
* Remove Q_ASSERT from accessibility autotestJason McDonald2011-05-181-2/+3
| | | | | | | | | | | Instead of crashing when we can't get a QAccessibleInterface for a widget, output a useful warning and return a value that makes the test fail gracefully. Change-Id: I0b292cdd8f5a59e26bdc9b0b67cea2b58591df7d Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit d8dc5bfdff25d72e8276c6e80080d72315abe7e0)
* Remove unused functions.Jason McDonald2011-05-181-12/+0
| | | | | | Change-Id: I8cae0550c58238bd99bc759c21b022c54fe2de8b Reviewed-by: Trust Me (cherry picked from commit 1191dc0c278ddd22556d6c8e5ea5a898fa7b35f6)
* tests: clean up usage of QT_CONFIG to fix circular dependenciesRohan McGovern2011-05-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | With modularized Qt, using QT_CONFIG is dangerous, because the behavior changes depending on the order in which modules are qmake'd. For example, an autotest doing: contains(QT_CONFIG,svg):QT += svg ...will depend on libQtSvg if (and only if) the autotest is qmake'd _after_ qtsvg is qmake'd. This makes the tested functionality unpredictable. Also, if the above example occurs within qtbase, it causes the test to sometimes have a circular dependency: if qtsvg is qmake'd before the test is qmake'd, the test in qtbase depends on qtsvg which depends on qtbase. Tests must avoid functionality tests via QT_CONFIG except where all the tested modules are dependencies of the current module. Usage of QT_CONFIG with qt3support was entirely removed since Qt5 will not retain qt3support. Reviewed-by: Jason McDonald Change-Id: I5a5013b3ec7e1f38fb78864763c9e7586c15e70b
* Fix warning (unused variable) in QAccessibility test.Frederik Gladhorn2011-05-101-2/+2
| | | | | Reviewed-by: Morten Sorvig (cherry picked from commit c3ebd1d38826739cb989e65770d2a22b9a39dcc4)
* Skip child count test on Intel compiler.Frederik Gladhorn2011-05-101-0/+6
| | | | | | | | | | For some reason this test is sometimes giving false results with intel compilers. The child count is most likely style dependent. For now ignore it in the test. Reviewed-by: Thierry (cherry picked from commit 0ddecd383c91afb18ce2776eed5608bb1a0c2129)
* Remove Qt3ism: setToggleButton - setCheckableFrederik Gladhorn2011-05-101-8/+7
| | | | | Reviewed-by: Jan-Arve (cherry picked from commit d8941c0c0e3e3019a2048ae470e4e46111a2cfcf)
* Fix autotest.Frederik Gladhorn2011-05-101-1/+1
| | | | | I changed a string by accident. (cherry picked from commit 77cbbe9e47c62047ff88973d8158c42dc30fbd00)
* Make navigation in TabWidgets consistent.Frederik Gladhorn2011-05-101-3/+90
| | | | | | | | navigate would not return the right index in the parent if the current widget was not the visible one. Reviewed-by: Jan-Arve (cherry picked from commit fdeeaa9d61efea9cca783a1d4098ae505df24390)
* Fix text for checkable buttons, unit tests.Frederik Gladhorn2011-05-101-132/+158
| | | | | | | | Return Check/Uncheck for checkable buttons. Partially revive the buttons unit test. Reviewed-by: Jan-Arve (cherry picked from commit 6040eeebfb1ab3be3906295c373033cd5b5d9dc3)
* Window and Application fixes for accessibility.Frederik Gladhorn2011-05-101-0/+37
| | | | | | | | Return app name instead of window title for root accessibility object. Return Window as accessible type for the main window. Reviewed-by: Jan-Arve (cherry picked from commit 9a5b0d7a579572cd7e7faf869ab1a6684800f592)
* Call QAccessible::updateAccessibility when changing accessible name.Frederik Gladhorn2011-05-101-0/+5
| | | | | Reviewed-by: Jan-Arve (cherry picked from commit e783275cfb71e7325472b3aea54e109a7a854bf7)
* Unit test for characterRect in Accessible TextInterface.Frederik Gladhorn2011-05-101-0/+5
| | | | (cherry picked from commit 8888cef411ce1d1fc898970429e951f9ef623b0e)
* Initial import from the monolithic Qt.Qt by Nokia2011-04-273-0/+4125
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