qt5base-lts/tests/auto/corelib
Jędrzej Nowacki 20cf632ad5 Reading QJsonObject property should not modify the object itself.
Before this change such code:

    QJsonObject o;
    o["blah"];

would create property "blah" and assign null value to it, while
this code:

    const QJsonObject o;
    o["blah"];

would not. The change unifies the confusing behavior. Now reading
a non-existing property, is not causing a property to be added
in any visible way.

Internally QJsonObject stores a special hash of undefined, but
referenced values. Such reference is supposed to not live long,
only to the first compacting or assignment.

Change-Id: Ib022acf74ff49bad88d45d65d7093c4281d468f1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2014-07-25 15:25:17 +02:00
..
animation Updated corelib's unit tests to use QSignalSpy's functor constructor 2014-05-08 04:22:54 +02:00
codecs Merge remote-tracking branch 'origin/release' into stable 2014-05-14 12:37:34 +02:00
global Logging: fix support for %{time format} in QT_MESSAGE_PATTERN 2014-07-13 18:20:42 +02:00
io Merge "Merge remote-tracking branch 'origin/5.3' into dev" into refs/staging/dev 2014-07-24 22:37:52 +02:00
itemmodels QAbstractProxyModel: Forward drop-related API. 2014-06-25 16:31:03 +02:00
json Reading QJsonObject property should not modify the object itself. 2014-07-25 15:25:17 +02:00
kernel Update QVariant tests 2014-07-10 13:14:40 +02:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin Don't store QLibraryPrivate with empty file names in the global store 2014-07-23 17:50:31 +02:00
statemachine Export QStateMachine running property. 2014-06-26 09:32:15 +02:00
thread Merge remote-tracking branch 'origin/5.3' into dev 2014-07-03 23:56:45 +02:00
tools Rewrite QRingBuffer 2014-07-24 17:31:20 +02:00
xml Include the duplicated attribute name in the error message 2014-05-06 01:20:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00