qt5base-lts/tests/auto
João Abecasis fe778b94bd Enable endianness conversions on q(u)int8
Lack of support for these types is not a real issue as endian
conversions on byte-sized types are no-ops. Still, the conversions are
useful as they facilitate writing of generic code. They can also be used
explicitly as a way to document in code an endian-specific binary
format:

     uchar *data;
     quint8 tag = qFromLittleEndian<quint8>(data++);
     quint32 size = qFromLittleEndian<quint32>(data);

This commit also adds a test for functions documented in the QtEndian
header.

Change-Id: I2f6c876ce89d2adb8c03a1c8a25921d225bf6f92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-03-25 13:12:24 +02:00
..
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove commented code from qtconcurrentmap autotest. 2012-03-14 07:51:45 +01:00
corelib Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00
dbus QtDBus: make some constructors explicit 2012-03-12 15:22:30 +01:00
gui Merge master into api_changes 2012-03-23 14:10:58 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Merge master into api_changes 2012-03-23 14:10:58 +01:00
opengl EGLFS: Integrate building into configure. 2012-03-21 03:03:29 +01:00
other Merge "Merge master into api_changes" into refs/staging/api_changes 2012-03-23 14:31:28 +01:00
printsupport Fix QPrinter test in Windows 2012-03-23 00:41:34 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql QSqlTableModel::removeRows() enforce edit strategy 2012-03-15 15:35:43 +01:00
testlib testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
tools Bootstrap qdbuscpp2xml. 2012-03-18 14:14:42 +01:00
widgets Merge "Merge master into api_changes" into refs/staging/api_changes 2012-03-23 14:31:28 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Disable some tests and examples when --no-widgets is specified 2012-03-19 20:16:04 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00