summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsanchorlayout1
diff options
context:
space:
mode:
authorJesus Sanchez-Palencia <jesus.palencia@openbossa.org>2009-09-18 13:12:43 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-25 10:49:18 (GMT)
commitce98cf421d30d09392498518731bdcc50e191583 (patch)
tree357c80f53afaff6ec2abbb6c1646c2c1f1bbb1e6 /tests/auto/qgraphicsanchorlayout1
parent06a618df93a4b99118a4718544cd82e4e6c08754 (diff)
downloadQt-ce98cf421d30d09392498518731bdcc50e191583.zip
Qt-ce98cf421d30d09392498518731bdcc50e191583.tar.gz
Qt-ce98cf421d30d09392498518731bdcc50e191583.tar.bz2
QGraphicsAnchorLayout: enabled hasConflicts() test on autotest
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout1')
-rw-r--r--tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp b/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp
index 8228ab9..a6746db 100644
--- a/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp
+++ b/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp
@@ -58,10 +58,9 @@ public:
setSpacing( 0 );
}
- // ###: Remove me when isValid() is supported
bool isValid()
{
- return true;
+ return !hasConflicts();
}
void setAnchor(
@@ -463,9 +462,6 @@ void tst_QGraphicsAnchorLayout1::testAddAndRemoveAnchor()
void tst_QGraphicsAnchorLayout1::testIsValid()
{
- // ###: REMOVE ME
- return;
-
// Empty, valid
{
QGraphicsWidget *widget = new QGraphicsWidget;