diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-04-20 16:45:21 +0200 |
---|---|---|
committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | 2020-04-20 18:22:46 +0200 |
commit | f9f556075bf8de31a3155b14b8c9beb8a8b02d0e (patch) | |
tree | 0eaf8ce1da7751fd6292b41ddd36d0e8b08d9873 | |
parent | a0665342c1a7b11a646f04fd2094f95bd154d034 (diff) |
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Ă <xiscofauli@libreoffice.org>
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter3.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
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) |