New way to modify nested uno structs in LibreOffice BASIC

Noel Power nopower at suse.com
Thu Jul 5 04:58:10 PDT 2012


On 05/07/12 11:49, Michael Meeks wrote:
> Hi Noel,
>
> 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. 


Noel


More information about the LibreOffice mailing list