summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-31 13:59:21 +0200
committerNoel Grandin <noel@peralex.com>2015-08-31 13:59:55 +0200
commit43691a15b332193341884e0bb40d24601fe123fe (patch)
tree3dda294162c51802ee166f858d924abc54b333cb /tools
parent489dbb311dc8645765885a432cc8bf42543a2867 (diff)
tdf#93794 - spin buttons not rendered in gtk2/gtk3
for penance, introduce a unit test Change-Id: I2c40285732be665e179c477e6e7603aa6f8be5d7
Diffstat (limited to 'tools')
-rw-r--r--tools/qa/cppunit/test_rectangle.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qa/cppunit/test_rectangle.cxx b/tools/qa/cppunit/test_rectangle.cxx
index 29d04c83b3e3..4f3fff8afa34 100644
--- a/tools/qa/cppunit/test_rectangle.cxx
+++ b/tools/qa/cppunit/test_rectangle.cxx
@@ -49,6 +49,11 @@ void Test::test_rectangle()
CPPUNIT_ASSERT_EQUAL(long(1), aRect.GetWidth());
CPPUNIT_ASSERT_EQUAL(long(1), aRect.GetHeight());
+
+ aRect.setX(12);
+ CPPUNIT_ASSERT_EQUAL(long(1), aRect.GetHeight());
+ aRect.setY(12);
+ CPPUNIT_ASSERT_EQUAL(long(1), aRect.GetWidth());
}
}