Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hey,


On Wed, 2012-07-04 at 20:23 +0100, Noel Power wrote:

before this change the following macro snippet would not work.

        It would be -wonderful- to start some basic / UNO unit tests right
here

I already signalled my intention in the previous mail

[*] have to admit I only tested one level of indirection. I didn't find a
suitable structure that contains a structure that contains a structure to
test, if you know of one off hand let me know Also I have yet to write some
unit tests for this ( but will do )


- are there really no unit tests for (what should be) something
eminently unit-test-able ? or am I looking in the wrong place :-)

I did some work on allowing some deeper unit tests ( compile/runtime level )
to be written,
http://opengrok.libreoffice.org/xref/core/basic/qa/cppunit/test_append.cxx.
I'll split some of the reuslable stuff into a common header for the test I
will write for this one. Also August did another for testing some scanner
related functionality
http://opengrok.libreoffice.org/xref/core/basic/qa/cppunit/test_scanner.cxx.


We also have the higher level tests in sc and sw which can execute
basic macros but I'm not sure how helpful it is. IMHO as long as we
can test the same with smaller tests we should do it.

Regards,
Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.