From 8ecdaecfa8f8665b0c8c9e3e909f683a6c198797 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 2 Apr 2019 08:58:25 +0200 Subject: Split large test method in two Change-Id: If1b915f721a5768b682c63dc9c08b708ba37a705 Reviewed-on: https://gerrit.libreoffice.org/70116 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- test/source/sheet/shape.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test') 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 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 xShape(init(), UNO_QUERY_THROW); + uno::Any aNewValue; sal_Int32 nHoriOrientPositionGet = 0; sal_Int32 nHoriOrientPositionSet = 0; -- cgit