[PATCH] fdo#46757 Word/character count incorrect with record changes enabled
Michael Meeks
michael.meeks at suse.com
Fri Jun 15 12:15:42 PDT 2012
Hi there,
On Fri, 2012-06-15 at 18:55 +0200, Muhammad Haggag wrote:
> Thanks for pushing the patch. I can add the regression test myself if
> you give me a couple of pointers; e.g. where to add it, or the source
> of a similar test. If you do add it yourself, please share the commit
> so that I can learn to add tests for my changes in the future.
That'd be great; there are several ways to do it - it'd prolly be
easier to load a document with red-lining rather than construct it
yourself, but (OTOH) it'd be -really- good to have at least some more
tests that construct redlining dynamically I guess.
sw/qa/core/swdoc-test.cxx:
void SwDocTest::testUserPerceivedCharCount()
might be a good place to start (I hope) :-)
Not all tests are run with 'make' in sw/ but I believe this one is;
edit it and re-run 'make' in sw to test.
Thanks !
Michael.
--
michael.meeks at suse.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list