Re: [Libreoffice] sal / unit tests ...

2012-01-24 Thread Matúš Kukan
On 24 January 2012 13:34, Michael Meeks wrote: >        Cool ! thanks for that :-) Of course, unfortunately still most of the > tests are not run because of the missing: > >    CPPUNIT_REGISTRY_ADD_TO_DEFAULT( "osl_File" ); > >        But I guess this needs doing on a branch and then testing per p

Re: [Libreoffice] sal / unit tests ...

2012-01-24 Thread Michael Meeks
Hi Matus, On Sat, 2012-01-21 at 19:39 +0100, Matúš Kukan wrote: > On 21 January 2012 14:19, Matúš Kukan wrote: > > On 21 January 2012 13:07, Michael Meeks wrote: > >>* Cppunit_ gnumakefiles can only handle a single test per file > >>+ I split up the osl_File one to make i

Re: [Libreoffice] sal / unit tests ...

2012-01-21 Thread Matúš Kukan
Hi Michael, On 21 January 2012 14:19, Matúš Kukan wrote: > On 21 January 2012 13:07, Michael Meeks wrote: >>        * Cppunit_ gnumakefiles can only handle a single test per file >>                + I split up the osl_File one to make it run: >> >>          grep gb_CppunitTest_CppunitTest sal/*.

Re: [Libreoffice] sal / unit tests ...

2012-01-21 Thread Matúš Kukan
On 21 January 2012 13:07, Michael Meeks wrote: >        * Cppunit_ gnumakefiles can only handle a single test per file >                + I split up the osl_File one to make it run: > >          grep gb_CppunitTest_CppunitTest sal/*.mk > >                shows a couple are still doubled up and nee

[Libreoffice] sal / unit tests ...

2012-01-21 Thread Michael Meeks
Hi guys, Suffering an Android problem around readLine - I thought I'd add a unit test :-) [ after all the great work done to enable them, thanks !]. It seems however that adding some CPPUNIT_ASSERT(false) lines to many of the tests in osl_File.cxx meant they still passed beautifully ;-)