qt5base-lts/tests/auto
Darryl L. Miles e2d614b6a9 Json writer, only emit floating point finite numbers, ignore INF/NaN
My interpretation of RFC4627, Section 2.4 "Numbers" of:
  Numeric values that cannot be represented as sequences of digits
   (such as Infinity and NaN) are not permitted.

I have also verified this matter with NodeJS JSON.stringify() that
emitting a null is consistent behavior with a JSON implementation
written in JavaScript.

Previously Qt would emit:
{
 plusInfinity: inf,
 minusInfinity: -inf,
 notANumber: nan
}

Which maybe turned into a string values of "inf", "-inf", "nan" by
the receiving parser.  Now it returns the JSON null value just like
NodeJS JSON.stringify().

Change-Id: I9f9c17f12b2606280806c47a9d90465c4ba5f786
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-04-12 22:33:13 +02:00
..
android Fix Qt tests for Android. 2013-04-03 10:15:40 +02:00
bic/data Make qaccessible2.h internal. 2013-03-14 19:49:38 +01:00
cmake Test that the CMake files create appropriate version variables. 2013-04-05 14:20:39 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib Json writer, only emit floating point finite numbers, ignore INF/NaN 2013-04-12 22:33:13 +02:00
dbus Fix wildcard signal disconnection in QDBusAbstractInterface 2013-03-19 07:03:25 +01:00
gui QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QTcpSocket bind() auto test: return instead of QSKIP 2013-04-05 10:56:43 +02:00
opengl Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
other Make QTextCursor accessibility boundary finder available 2013-04-08 11:35:44 +02:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Fix sql tests in respect to Oracle databases 2013-04-05 11:13:28 +02:00
testlib QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
tools Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
widgets Merge branch 'stable' into dev 2013-04-10 15:42:22 +02:00
xml QtXml tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:48 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00