[Libreoffice] Contributing test cases

Cedric Bosdonnat cedric.bosdonnat.ooo at free.fr
Fri Dec 3 04:10:35 PST 2010


Hi Michael,

On Fri, 2010-12-03 at 11:57 +0000, Michael Meeks wrote:
> 	It failed after only a handful of documents on the attached with:
> 
> #0  0xabd83b95 in writerfilter::dmapper::DomainMapper_Impl::finishParagraph(boost::shared_ptr<writerfilter::dmapper::PropertyMap>) ()
>    from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #1  0xabd6e446 in writerfilter::dmapper::DomainMapper::utext(unsigned char const*, unsigned int) () from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #2  0xabcc17c6 in writerfilter::ooxml::OOXMLFastContextHandler::endOfParagraph() () from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #3  0xabc1fefd in writerfilter::ooxml::OOXMLFactory_wml::endAction(writerfilter::ooxml::OOXMLFastContextHandler*) ()
>    from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #4  0xabca302d in writerfilter::ooxml::OOXMLFactory::endAction(writerfilter::ooxml::OOXMLFastContextHandler*, long) ()
>    from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #5  0xabcbda5a in writerfilter::ooxml::OOXMLFastContextHandler::lcl_endFastElement(long) () from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #6  0xabcbd45f in writerfilter::ooxml::OOXMLFastContextHandler::endFastElement(long) () from /data/opt/OOInstall/program/../basis-link/program/libwriterfilterli.so
> #7  0xabf86c65 in sax_fastparser::FastSaxParser::callbackEndElement(char const*) () from /data/opt/OOInstall/program/../basis-link/program/fastsax.uno.so

Do you have any docx in particular raising this? This is clearly a docx
import problem ;)

> 	So ... I am certain, that simply building a large collection of
> documents exercising our various features, and then loading / saving /
> closing them all in a big long churning run every now and then would
> catch a ton of bugs for us :-)
> 
> 	Any volunteers to play with it ?

We already have some effort started in that direction in the build
repository. Have a look at the bin/run-tests.sh script and the test
folder... Those tests could be improved as only the ooxml tests are
automated ATM and they are not even complete.

Regards,

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



More information about the LibreOffice mailing list