New way to modify nested uno structs in LibreOffice BASIC

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Jul 5 05:24:41 PDT 2012


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


More information about the LibreOffice mailing list