sw/qa/extras/uiwriter/uiwriter4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3ec8822b62d647379999b4c09f3e72b9474b61a3 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Thu May 25 16:57:32 2023 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu May 25 19:41:11 2023 +0200 CppunitTest_sw_uiwriter4: disable part of test on all platforms Sometimes Jenkins also fails on mac and linux Change-Id: I198a30bfbe1dd0952e69ef8066feccc78ea11d15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152278 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/uiwriter/uiwriter4.cxx b/sw/qa/extras/uiwriter/uiwriter4.cxx index 029c62191373..b19f8a9d5a0a 100644 --- a/sw/qa/extras/uiwriter/uiwriter4.cxx +++ b/sw/qa/extras/uiwriter/uiwriter4.cxx @@ -2403,13 +2403,13 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf107975) dispatchCommand(mxComponent, ".uno:GoRight", {}); dispatchCommand(mxComponent, ".uno:Paste", {}); -// Disable on Windows: fails quite a lot on multiple Jenkins slaves, but entirely reliably, +// Fails quite a lot on multiple Jenkins slaves, but entirely reliably, // with: // sw/qa/extras/uiwriter/uiwriter4.cxx(2407) : error : Assertion // - Expected: 2 // - Actual : 1 // i.e. the xIndexAccess->getCount() line. -#if !defined(_WIN32) +#if 0 // without the fix, it crashes CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xIndexAccess->getCount()); CPPUNIT_ASSERT_EQUAL(OUString("ABC"), getParagraph(1)->getString());