qt5base-lts/tests/auto/other
João Abecasis 7c9e345551 Improve output on test failures
This adds checks to ensure Q_ALIGNOF is returning the desired alignment
for explicitly-aligned types.

The alignment check is now inlined in the test inside QCOMPARE so we get
slightly more informative errors:

FAIL!  : tst_Collections::alignment() Compared values are not the same
   Actual   (quintptr(&it.value()) % Value::PreferredAlignment): 64
   Expected (quintptr(0)): 0
   Loc: [tst_collections.cpp(3384)]

In this case, this is enough to notice "non-native" alignments are being
requested. Having test parameters otherwise hidden in template arguments
doesn't help the situation.

Change-Id: I05267fd25b71f183cfb98fb5b0a7dfd6c28da816
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-03-28 09:36:52 +02:00
..
atwrapper clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
baselineexample Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
collections Improve output on test failures 2012-03-28 09:36:52 +02:00
compiler Remove ARMFPA support and Q_DOUBLE_FORMAT detection 2012-03-01 16:26:55 +01:00
exceptionsafety Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
exceptionsafety_objects Remove QWorkspace. 2012-03-23 13:22:10 +01:00
gestures QEvent (and subclasses): make ctors explicit 2012-03-01 08:44:34 +01:00
headersclean headersclean: omit -Wcast-align also on MIPS 2012-03-15 00:50:47 +01:00
lancelot More UTF8 fix of raster autotest 2012-03-22 18:59:45 +01:00
languagechange Add further theme hints to QPlatformTheme. 2012-02-22 17:28:51 +01:00
macgui clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
macnativeevents clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
macplist clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
modeltest Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
networkselftest Skip the network SSL test on Windows. 2012-03-01 10:40:08 +01:00
qaccessibility Merge master into api_changes 2012-03-27 19:22:48 +02:00
qcomplextext Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfocusevent Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qnetworkaccessmanager_and_qprogressdialog Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobjectperformance Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobjectrace Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsharedpointer_and_qwidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtokenautomaton Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
windowsmobile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other.pro Remove unmaintained and broken VNC platform plugin 2012-03-15 02:45:31 +01:00