Extend VisualDataModel tests to cover Package delegates.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 8 Nov 2011 03:00:02 +0000 (13:00 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 9 Nov 2011 07:23:57 +0000 (08:23 +0100)
commit2b5432bd63483998da39aa4eadfb10d0e43ba0b6
treebbaba0f46e97304cc79933a73a2ba8789aef02d7
parent6a01c81dffe3122138bb9708166c1701059f01fa
Extend VisualDataModel tests to cover Package delegates.

Verify the existing tests also pass if a package delegate is used.
Fixes incorrect changes being emitted when the group a part model is
filtered on changes and package items not being un-parented when
destroyed.

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