Fixing ButtonRow's tests
authorThiago de Barros Lacerda <thiago.lacerda@openbossa.org>
Thu, 20 Jan 2011 18:52:49 +0000 (15:52 -0300)
committerThiago de Barros Lacerda <thiago.lacerda@openbossa.org>
Fri, 21 Jan 2011 20:40:09 +0000 (17:40 -0300)
commit3e663bd75267b585d8a33e655ceba92ebcf233e4
treeddc6baa4af39a48e6f0aa45ce3396ba73cccffd1
parent4f0b2f3e8f179582f73143206e43b5c1cce72eca
Fixing ButtonRow's tests

When exclusive property is true, all its children must have checkable
property set to true

Emiting clicked signal of each child and checking if the checkedButton
property has the component that emited ths signal.

Signed-off-by: Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
tests/auto/api_buttonrow/tst_quickcomponentsbuttonrow.cpp
tests/auto/api_buttonrow/tst_quickcomponentsbuttonrow.qml