summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* report and continue policy for exceptions in all Qt threadsmread2009-06-181-7/+16
|
* major rewrite - make it valgrind friendlyHarald Fernengel2009-06-165-74/+4379
|
* add object exception test as wellHarald Fernengel2009-06-161-9/+53
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicHarald Fernengel2009-06-161-2/+4
|\
| * Fix Qt network autotest compilation for ARMV5.Janne Anttila2009-06-161-2/+4
| | | | | | | | | | | | The build was broken by commit: 7604f8087f88171ef933d8ae08f501467e647338
* | add an out of memory checkerHarald Fernengel2009-06-163-0/+327
|/
* fixed code formatting to Qt stylemread2009-06-151-39/+44
|
* extra autotests for exceptionsmread2009-06-121-0/+205
|
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-06-1016-31/+1058
|\
| * Fix "post linker error" with GCCE.Frans Englich2009-06-101-0/+11
| | | | | | | | Reviewed-by: Miikka Heikkinen
| * Make Qt exception safer.Robert Griebl2009-06-1015-31/+1047
| | | | | | | | | | | | | | | | Squashed commit of the branch haralds-haralds-qt-s60-topics/topic/exceptions, which also contains the full history. Rev-By: Harald Fernengel Rev-By: Ralf Engels
* | Fixed qlocalsocket autotest deploymentMiikka Heikkinen2009-06-101-3/+11
|/
* Force qRound64() to take a double on platforms where qreal is a float.makuukka2009-06-101-0/+26
| | | | | | | | | | | | In Symbian qreal is defined as float. And in qround64 the parameter was qreal. This qround64 is used (only) in qvariant::convert, when converting from double to e.g. int. This caused overflow bug for some (close to max int) values, because in convert chain double value was casted to float. Task-number: 250267 Reviewed-By: Samuel Rødal Reviewed-By: Jason Barron
* Fix to qplaintextedit::getSetCheck auto test in Symbian.Janne Anttila2009-06-081-1/+1
| | | | We cannot use INT_MAX since qreal is typedef to float in Symbian OS.
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-089-21/+145
|\
| * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-06-088-20/+94
| |\
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-088-20/+94
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/auto/qlocalsocket/tst_qlocalsocket.cpp
| | | * Autotest: Fixed a race condition in the network self test.Thiago Macieira2009-06-051-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the tests (including the httpsServer one) requested that the server close the connection (Connection: close). It could happen that, well, the server did close the connection and we noticed it while doing the waitForBytesWritten in the doSocketFlush function. Then we'd create an error in the next step because the socket wasn't connected. Reviewed-by: TrustMe
| | | * Autotest: add some tests for sending (or failing to) invalid D-Bus callsThiago Macieira2009-06-041-0/+25
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | | * BT: Fixes Crash when deleting a QProgressBar which has been styled with ↵Olivier Goffart2009-06-041-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMotifStyle Same fix as in e9a7e43031d7c1ee712e43be682c4e2c183759c4 but with motif Reported by https://bugs.kde.org/show_bug.cgi?id=193911 Task-number: 255138 Reviewed-by: jbache
| | | * Silence compile warning in the testAndy2009-06-041-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | | * Fixed raster bug causing fully clipped images to be partially blended.Samuel Rødal2009-06-031-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The blend functions assume the width / height of the images being blended to be greater than 0. A width of 0 caused the first iteration of a duff's device memcpy (QT_MEMCPY_USHORT) to be executed, thus blending 8 pixels instead of none. BT: yes Task-number: 255014 Reviewed-by: Trond
| | | * Fix BOM for UTF-32 codecMarius Storm-Olsen2009-06-031-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BOM was created correctly, but half of the BOM was then overwritten by the converted data afterwards. Also made the autotest also do reverse encoding tests where possible. Task-number: 255095 Reviewed-by: lars
| | | * centralize removeServer() invocation for some more determinismOswald Buddenhagen2009-06-031-5/+9
| | | |
| | | * _networktest compile fixJoerg Bornemann2009-06-031-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: mauricek
| | | * Correct invalid font.Norwegian Rock Cat2009-06-021-1/+1
| | | | | | | | | | | | | | | | QFont() returns the app font, not an invalid font.
| * | | Bug fix for 251870ikause2009-06-081-1/+51
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A correction to this defect: 251870 QPluginLoader will only look for stubs from single drive, though plugins themselves can be located on any drive. Now the implementation goes through all the available drives if given path does not find corresponding stub-file in QPluginLoader::setFileName(). Since this is Symbian specific functionality, all the changes are behind Q_OS_SYMBIAN-flags. Note: Updated tests now need memory card being installed to device under test. Otherwise the test will be skipped. In case needed, drive is easy to change to tests. D-drive could also be a good option. modified: src/corelib/plugin/qpluginloader.cpp modified: tests/auto/qpluginloader/tst_qpluginloader.cpp Reviewed-By: Miikka Heikkinen
* | | Fixed tst_QTemporaryFile::renameFdLeak test case for Symbian.Janne Anttila2009-06-081-1/+8
|/ / | | | | | | Test data for Symbian was not deployed correctly.
* | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-052-12/+108
|\ \
| * | Introduce Symbian CFbsBitmap <-> QPixmap conversion functions.Jason Barron2009-06-052-12/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce functions for converting to and from a CFbsBitmap on Symbian. Currently these functions unfortunately have to copy the data to the internal QImage stored in the raster pixmap data backend :( Hopefully we can improve this with a native Symbian pixmap backend in the future. The autotest generates both small and large CFbsBitmaps of different formats and then verifies that the color makes it into the QPixmap. Currently the indexed image formats don't seem to work, but this is most likely because we don't set a palette for them. The semi-trans bitmaps seem to work fine (verified visually), but the current QCOMPARE doesn't consider the fact that the color was alpha blended. Reviewed-by: Sami Merilä
* | | Fix to tst_QDateTimeEdit::mousePress test case.Janne Anttila2009-06-031-15/+10
|/ / | | | | | | | | Checked datetimedit spinbox up location from style, instead of trying to guess the difference offsets.
* | Merge branch 'imSelections'axis2009-06-031-12/+33
|\ \
| * | Fixed failing test case.axis2009-06-031-10/+12
| | | | | | | | | | | | | | | We are not guaranteed that the checked-for event is the last event, so we look for it in a list instead.
| * | Added an autotest for the new selection API in input methods.axis2009-06-031-0/+19
| | |
| * | Fixed an autotest that was left behind when API was updated.axis2009-06-031-2/+2
| | |
* | | Fixed tst_qcombobox compiler errors for Symbian WINSCW target.Janne Anttila2009-06-031-3/+3
| | |
* | | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-033-1/+173
|\ \ \
| * | | Now qs60style does not send extra resize event in orientation change.peknurmi2009-06-033-1/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QSymbianControl::HandleResourceChange contained global event handling. So Qt handled same issues unnecessarily (for each shown top level widget). Now this global event handling is encapsulated to s60ResourceChange (new method) called by s60main. In addition, qs60style generated unnecessary resize events. If widget was fullscreen or maximized, then this caused incorrect resize events (old size delivered). With these changes, qs60style just informs widgets of style change (similarly as in qstylesheetstyle). Task-number: 251085 Reviewed-by: Jason Barron <jason.barron@nokia.com> Conflicts: src/gui/kernel/qapplication.h src/gui/styles/qs60style.cpp
* | | | Added _networkselftest to QtNetwork autotest category file.Janne Anttila2009-06-031-0/+2
| | | |
* | | | Adapted _networkselftest autotest for Symbian environment.Janne Anttila2009-06-032-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | - Fixed SRCDIR thing - Added default IAP handling - Skipped NTML related test cases for now
* | | | Updated QtCore autotest category file for Symbian - qbytearraymatcher.Janne Anttila2009-06-031-0/+1
|/ / / | | | | | | | | | | | | Added qbytearraymatcher test case to test set. The test passed at least in S60 5.0 emulator.
* | | Enabled STL related test cases in QtCore autotest category file.Janne Anttila2009-06-031-3/+4
| | | | | | | | | | | | | | | STL config is now enabled by default in configure.exe, this means we can also execute the related test cases now.
* | | Updated QtSql autotest category file used in Symbian.Janne Anttila2009-06-031-0/+1
| | | | | | | | | | | | | | | Added qsqldriver test case to test set. The test passed at least in S60 5.0 emulator.
* | | Updated QtGui autotest category file used in Symbian.Janne Anttila2009-06-031-0/+1
| | | | | | | | | | | | | | | Added modeltest test case to test set. The test passed at least in S60 5.0 emulator.
* | | Updated QtCore autotest category file used in Symbian.Janne Anttila2009-06-031-0/+1
| | | | | | | | | | | | | | | Added utf8 test case to test set. The test passed at least in S60 5.0 emulator.
* | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-0214-16/+289
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe examples/itemviews/puzzle/puzzle.pro examples/qtconcurrent/imagescaling/imagescaling.pro examples/widgets/movie/movie.pro tools/configure/configureapp.cpp Will rebuild configure.exe in next commit.
| * | Fixed failure of tst_Selftests::checkXML.Rohan McGovern2009-06-013-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of 548da9a5434d615456a7a6efda3380b7138c6000 and some earlier changes predating public repo. Note that this test is not failing if using Qt 4.5 only. However, it fails if using Qt 4.5 selftests against Qt master testlib. We want to be able to use master testlib to run 4.5 testcases, and this change does no harm when using Qt 4.5 testlib, so backport it to 4.5 for convenience. Original change description follows: A few tests use printf, which means they interfere with the XML test logging. Blacklist them for the XML test. Note that these tests happened to pass under the old test logger implementation. That was because the test logger always printed XML tags on a single line, and the printf calls contained no special XML characters. The test logs generated were technically valid XML but contained extraneous text.
| * | Fix a ASSERT/Crash when adding two times the same QAction to a QGW.Alexis Menard2009-05-281-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were adding two times in the QActionPrivate list the entry for the current QGraphicsWidget if the action was existing before. Task-number:KDE Reviewed-by:bnilsen BT:yes
| * | Fix wrong sorting when using the QFileSystemModel with QTreeViewAlexis Menard2009-05-281-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An optimization was made to the sorting of QFileDialog to sort only the current root (meaning what the user see). This avoided slowness when the model was big with lots of leafs. The problem here is for the treeview, the root is always the same, we expands only nodes. In that case, a recursive sorting is needed to ensure that all expanded nodes are correctly sorted (and filtered). This will be slower that's why i use an hidden flag in the d pointer to deactivate the recursive sort for the QFileDialog. Task-number:254701 Reviewed-by:olivier BT:yes
| * | Fixed a problem with streaming QIcons containing multiple pixmaps.Trond Kjernåsen2009-05-281-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | If pixmaps were added through QIcon::addFile() with different sizes than the sizes of the pixmaps themselves, streaming the icon in didn't work properly. Task-number: 254374 Reviewed-by: Kim