summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorFyodor Yemelyanenko <fyodor_e@hotmail.com>2017-08-21 16:11:14 +1000
committerMichael Stahl <mstahl@redhat.com>2017-08-25 12:44:33 +0200
commitd181d8acbf49e2fe87c8cf53a9431e503ccced55 (patch)
tree5a9049f86deed322dadb912f00113fc26f2a77e7 /editeng
parent3aab0593dd0b64849488f2186221135df9851258 (diff)
tdf#84237 use XErrorHandler in CDocumentBuilder
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/41376 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'editeng')
0 files changed, 0 insertions, 0 deletions