From ce98cf421d30d09392498518731bdcc50e191583 Mon Sep 17 00:00:00 2001 From: Jesus Sanchez-Palencia Date: Fri, 18 Sep 2009 10:12:43 -0300 Subject: QGraphicsAnchorLayout: enabled hasConflicts() test on autotest Signed-off-by: Jesus Sanchez-Palencia Reviewed-by: Eduardo M. Fleury --- tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp | 6 +----- 1 file changed, 1 insertion(+), 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; -- cgit v0.12