summaryrefslogtreecommitdiff
path: root/test/source/sheet/shape.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-04-02 08:58:25 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-04-02 15:03:53 +0200
commit8ecdaecfa8f8665b0c8c9e3e909f683a6c198797 (patch)
treeade357471641bb09008f529c64c372f6d692787d /test/source/sheet/shape.cxx
parent8603d7029b0d62032a5c9d2e039117799be9e798 (diff)
Split large test method in two
Change-Id: If1b915f721a5768b682c63dc9c08b708ba37a705 Reviewed-on: https://gerrit.libreoffice.org/70116 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'test/source/sheet/shape.cxx')
-rw-r--r--test/source/sheet/shape.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/source/sheet/shape.cxx b/test/source/sheet/shape.cxx
index ac50a1a11223..f1422f5b857a 100644
--- a/test/source/sheet/shape.cxx
+++ b/test/source/sheet/shape.cxx
@@ -25,7 +25,7 @@ using namespace com::sun::star::uno;
namespace apitest
{
-void Shape::testShapeProperties()
+void Shape::testShapePropertiesAnchor()
{
uno::Reference<beans::XPropertySet> xShape(init(), UNO_QUERY_THROW);
uno::Any aNewValue;
@@ -72,6 +72,12 @@ void Shape::testShapeProperties()
xShape->getPropertyValue("ResizeWithCell") >>= bIsResizeWithCell;
CPPUNIT_ASSERT_MESSAGE("ResizeWithCell should be unchangeable for sheet anchored shapes",
!bIsResizeWithCell);
+}
+
+void Shape::testShapePropertiesPosition()
+{
+ uno::Reference<beans::XPropertySet> xShape(init(), UNO_QUERY_THROW);
+ uno::Any aNewValue;
sal_Int32 nHoriOrientPositionGet = 0;
sal_Int32 nHoriOrientPositionSet = 0;