• Fyodor Yemelyanenko's avatar
    tdf#84237 use XErrorHandler in CDocumentBuilder · d181d8ac
    Fyodor Yemelyanenko yazdı
    In documentbuilder.cxx added code to call XErrorHandler::warning and XErrorHandler::error functions (from DOM::warning_func and DOM::error_func)
    In domtest.cxx added try {} catch () block to BasicTest::validInputTest, BasicTest::warningInputTest and BasicTest::errorInputTest and to SerializerTest::serializerTest. Also uncommented lines CPPUNIT_TEST(warningInputTest); and CPPUNIT_TEST(errorInputTest);
    
    Unit tests are now working
    (FatalError test removed, as lib2xml doesn't distinguish between error and fatal error and counts everything as error).
    
    Change-Id: I27c5036df6a1cc5bef5dbb8171c201d81bae2ccd
    Reviewed-on: https://gerrit.libreoffice.org/41376Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
    Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
    d181d8ac
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
CppunitTest_unoxml_domtest.mk Loading commit data...
JunitTest_unordf_complex.mk Loading commit data...
JunitTest_unoxml_complex.mk Loading commit data...
Library_unordf.mk Loading commit data...
Library_unoxml.mk Loading commit data...
Makefile Loading commit data...
Module_unoxml.mk Loading commit data...
README Loading commit data...