sd/qa/unit/import-tests-smartart.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 0d0716411e3d66e8beb9093ebe94fb5545106fbf Author: ekuiitr <jhaekans...@gmail.com> Date: Wed May 30 19:04:03 2018 +0530 Unit test for Line algorithm TestMaxDepth test checks the linear (lin) algorithm such that it arranges child layout nodes along a linear path. Change-Id: Ibf6f654d2f68f31a1c1a0f57044b411add954fa0 Reviewed-on: https://gerrit.libreoffice.org/55080 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index e86dab7f4745..27d81f99b7ee 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -165,6 +165,10 @@ void SdImportTestSmartArt::testMaxDepth() uno::Reference<text::XText> xText1(xShapeGroup->getByIndex(1), uno::UNO_QUERY_THROW); CPPUNIT_ASSERT_EQUAL(OUString("second"), xText1->getString()); + uno::Reference<drawing::XShape> xShape0(xShapeGroup->getByIndex(0), uno::UNO_QUERY_THROW); + uno::Reference<drawing::XShape> xShape1(xShapeGroup->getByIndex(1), uno::UNO_QUERY_THROW); + CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y , xShape1->getPosition().Y); // Confirms shapes are in same Y axis-level. + xDocShRef->DoClose(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits