Revert "CppunitTest_sw_uiwriter: fix failing unittest"

This reverts commit 80eb0eb251.  The three changes
it had made to CppunitTest_sw_uiwriter CPPUNIT_TEST_NAME=testTdf132725::TestBody
started to each fail now with b314735568
"tdf#132321 tdf#133957 sw: for at-para fly, ignore anchor SwIndex".

Change-Id: I8bb4063713a9f3705120dd39943dabe24301f345
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96386
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
This commit is contained in:
Stephan Bergmann 2020-06-15 17:57:43 +02:00
parent 1861363d62
commit 2b3b12f2d1

View file

@ -273,7 +273,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf132725)
dispatchCommand(mxComponent, ".uno:SwBackspace", {});
Scheduler::ProcessEventsToIdle();
CPPUNIT_ASSERT_EQUAL(1, getShapes());
CPPUNIT_ASSERT_EQUAL(0, getShapes());
CPPUNIT_ASSERT_EQUAL(OUString(""), getParagraph(1)->getString());
dispatchCommand(mxComponent, ".uno:Undo", {});
@ -287,7 +287,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf132725)
dispatchCommand(mxComponent, ".uno:Redo", {});
Scheduler::ProcessEventsToIdle();
CPPUNIT_ASSERT_EQUAL(1, getShapes());
CPPUNIT_ASSERT_EQUAL(0, getShapes());
CPPUNIT_ASSERT_EQUAL(OUString(""), getParagraph(1)->getString());
//Without the fix in place, it would crash here
@ -295,7 +295,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf132725)
Scheduler::ProcessEventsToIdle();
CPPUNIT_ASSERT_EQUAL(1, getShapes());
CPPUNIT_ASSERT_EQUAL(OUString("AA"), getParagraph(1)->getString());
CPPUNIT_ASSERT_EQUAL(OUString("A"), getParagraph(1)->getString());
}
CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf126340)