sd/qa/unit/import-tests-smartart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 76ce593d2bbb1fc7e242db564f301d6721ba8e45 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon Jun 7 00:45:16 2021 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Jun 7 06:25:09 2021 +0200 Restrict test a bit to verify that there indeed is scaling ... just to make sure that changes like a1ae30166e92a0a40dff06740f0bb8e9ee63f70a don't break the test. Change-Id: I4d9f8a6a85fc155c2b67c76152b1aaa7df384a38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116701 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index 096a4516294e..17aa03e16cd7 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -1675,11 +1675,11 @@ void SdImportTestSmartArt::testAutofitSync() sal_Int16 nFirstScale = 0; CPPUNIT_ASSERT(xFirstInner->getPropertyValue("TextFitToSizeScale") >>= nFirstScale); CPPUNIT_ASSERT_GREATER(static_cast<sal_Int16>(0), nFirstScale); + CPPUNIT_ASSERT_LESS(static_cast<sal_Int16>(100), nFirstScale); uno::Reference<beans::XPropertySet> xSecondInner(getChildShape(getChildShape(xMiddle, 2), 0), uno::UNO_QUERY); sal_Int16 nSecondScale = 0; CPPUNIT_ASSERT(xSecondInner->getPropertyValue("TextFitToSizeScale") >>= nSecondScale); - CPPUNIT_ASSERT_GREATER(static_cast<sal_Int16>(0), nSecondScale); // Without the accompanying fix in place, this test would have failed with: // - Expected: 56 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits