[Libreoffice-commits] core.git: libreofficekit/qa

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 4 11:11:10 UTC 2020


 libreofficekit/qa/unit/tiledrendering.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 052cf89f2fc3f32150d0f6dbcbc859a127fa595b
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Sep 4 11:30:09 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Sep 4 13:10:33 2020 +0200

    Remove an odd CPPUNIT_ASSERT(0)
    
    The unit test that code is in isn't even run currently (commented out
    in Module_libreofficekit.mk), so no harm in not making it fail
    intentionally. (The commit message of the commit that added the test
    with the intentionally always failing assertion does not tell what the
    idea was.)
    
    Change-Id: I93407723ce10c77366e6f7f96df93d86f214f497
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102030
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index d0c128fb3a34..ee935cf82cdb 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -447,7 +447,6 @@ void TiledRenderingTest::testMultiKeyInput(Office *pOffice)
     // get track changes ?
     char *values = pDocument->getCommandValues(".uno:AcceptTrackedChanges");
     std::cerr << "Values: '" << values << "'\n";
-    CPPUNIT_ASSERT(0);
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(TiledRenderingTest);


More information about the Libreoffice-commits mailing list