qt5base-lts/tests/auto/corelib/tools
Mitch Curtis 3a7b6a74a8 Disregard milliseconds in QTime::secsTo().
"The documentation states that "secsTo() does not take into account any
milliseconds", however, this is not the case. Given times 12:30:01.500
and 12:30:02.400 secsTo returns 0. If milliseconds are not taken into
account, I would expect this to return 1 (i.e. interprets the times as
12:30:01 and 12:30:02 thus truncating the milliseconds)."

Note that tests were also written for QDateTime::secsTo(), as it uses
QTime::secsTo internally. This addresses Javier's issue in the
comments of QTBUG-9304.

Task-number: QTBUG-9304
Change-Id: I9efe0c8f710db859c1d086d67ba3e5b349a56c4e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-08-21 11:05:20 +02:00
..
qalgorithms Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qarraydata Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbitarray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbytearray Fix tst_qbytearray on QNX 2012-08-15 15:19:55 +02:00
qbytearraymatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qchar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcontiguouscache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcryptographichash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdate Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdatetime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qeasingcurve Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qelapsedtimer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qexplicitlyshareddatapointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfreelist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qhash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlocale Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmap Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmargins Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpair Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpoint Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpointf Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qqueue Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qrect Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregexp Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregularexpression Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qringbuffer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedpointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedvaluerollback Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qset Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsharedpointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsize Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsizef Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstl Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring_no_cast_from_bytearray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringbuilder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringmatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringref Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtextboundaryfinder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qtimeline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvarlengtharray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvector Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tools.pro Improve QPoint and QPointF auto tests. 2012-07-11 14:52:17 +02:00