diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-05-25 16:57:32 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-05-25 19:41:11 +0200 |
commit | 3ec8822b62d647379999b4c09f3e72b9474b61a3 (patch) | |
tree | a74faeb9626e0a2793415d935e2400450377ad62 /sw | |
parent | e810bd2b99777e192fb464572fa64a34bc0768fe (diff) |
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |