sw/qa/extras/uiwriter/uiwriter3.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
New commits: commit f9f556075bf8de31a3155b14b8c9beb8a8b02d0e Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Apr 20 16:45:21 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Mon Apr 20 18:22:46 2020 +0200 tdf#128209: sw: uncomment commented asserts Fixed in 66b39ca79b36da8d5e151deab17a0fb7690eebe6 Change-Id: I2d805061ffd3efa455b0b4eecc02a77fb197ba68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92580 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/uiwriter/uiwriter3.cxx b/sw/qa/extras/uiwriter/uiwriter3.cxx index 4f03eaa33895..4b11d29637d3 100644 --- a/sw/qa/extras/uiwriter/uiwriter3.cxx +++ b/sw/qa/extras/uiwriter/uiwriter3.cxx @@ -360,9 +360,8 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf130685) dispatchCommand(mxComponent, ".uno:Undo", {}); CPPUNIT_ASSERT_EQUAL(1, getPages()); - //FIXME: See tdf#131147 - //dispatchCommand(mxComponent, ".uno:Undo", {}); - //CPPUNIT_ASSERT_EQUAL(2, getPages()); + dispatchCommand(mxComponent, ".uno:Undo", {}); + CPPUNIT_ASSERT_EQUAL(2, getPages()); } CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf130680) @@ -384,11 +383,10 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf130680) CPPUNIT_ASSERT_EQUAL(sal_Int32(0), xIndexAccess->getCount()); dispatchCommand(mxComponent, ".uno:Paste", {}); CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xIndexAccess->getCount()); - //FIXME: See tdf#131147 - //dispatchCommand(mxComponent, ".uno:Undo", {}); - //CPPUNIT_ASSERT_EQUAL(sal_Int32(0), xIndexAccess->getCount()); - //dispatchCommand(mxComponent, ".uno:Undo", {}); - //CPPUNIT_ASSERT_EQUAL(sal_Int32(23), xIndexAccess->getCount()); + dispatchCommand(mxComponent, ".uno:Undo", {}); + CPPUNIT_ASSERT_EQUAL(sal_Int32(0), xIndexAccess->getCount()); + dispatchCommand(mxComponent, ".uno:Undo", {}); + CPPUNIT_ASSERT_EQUAL(sal_Int32(23), xIndexAccess->getCount()); } CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf131684) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits