Add tests for the VisualDataGroup onChanged signal.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 8 Nov 2011 07:29:38 +0000 (17:29 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 9 Nov 2011 07:23:57 +0000 (08:23 +0100)
commit89eea1765625c59a4362e600e4e0f99f261706bc
tree393756e52a1163f0c5c1ffb3cb7ab7e0b7554494
parentcd633df026733f420b5b63ea8b6a4ab943408db9
Add tests for the VisualDataGroup onChanged signal.

And other things.  Fixes onChanged being emitted with an empty change
list, an out of bounds array access in groups property and model parts
group filter not being correctly reset.

Change-Id: If2f27b303a141634d106b7c5164984e5817aff4e
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qquickvisualdatamodel.cpp
tests/auto/declarative/qquickvisualdatamodel/data/create.qml
tests/auto/declarative/qquickvisualdatamodel/data/groups-invalid.qml [new file with mode: 0644]
tests/auto/declarative/qquickvisualdatamodel/data/onChanged.qml [new file with mode: 0644]
tests/auto/declarative/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp