The formula editor is rarely covered by unit tests. It would be nice if some more parts are covered by tests, eg. the import and export functions. There are at least three import filters: ODF Formula (odf), OpenOffice 1.0 Formula (sxm) and MathML 1.01 (mml) - see Tools -> Import Formula. Background is that bugs like fdo#68956 could be avoided with some test coverage. That's the idea, but I'm no expert on this ;)
Also in starmath/qa/cppunit/test_nodetotextvisitors.cxx there are currently three disabled tests (marked with FIXME).
Valid enhancement. Set status to NEW Best regards. JBF
Takeshi Abe committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ede5d170ea25c7983ed890075d9d5479aaa08d88 fdo#70185: Correct and reenable SmNodeToTextVisitor's test case It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Takeshi Abe committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9b87116fa4c5873fa719468f775589edd6c8613c fdo#70185: starmath: unit test writing It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillCpp ) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
A patch has been submitted, if more is needed the pointers need to be updated