qt6-bb10/tests/auto/corelib
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
..
animation Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
codecs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
global QtGlobal: (new) qEnvironmentVariableIs{Set,Empty}() 2012-08-09 21:27:09 +02:00
io Fix decoding of QByteArray in the deprecated "encoded" setters in QUrl 2012-08-20 21:59:32 +02:00
itemmodels Emit layoutChange signals when changing QPersistentModelIndexes. 2012-08-18 08:34:53 +02:00
json Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
kernel Remove QWidgetStar. 2012-08-18 10:55:47 +02:00
mimetypes Remove more -Werror from any test other than headersclean. 2012-08-07 23:27:17 +02:00
plugin Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
statemachine statemachine: Really fix signal transition handling in multi-threaded setup 2012-08-08 14:13:53 +02:00
thread Enable QAtomicInteger for char16_t and char32_t 2012-08-18 18:35:50 +02:00
tools Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
xml Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00