[Libreoffice] unit-test / code sharing ...

Stephan Bergmann sbergman at redhat.com
Wed Sep 28 02:44:37 PDT 2011


On 09/28/2011 11:27 AM, Caolán McNamara wrote:
> On Wed, 2011-09-28 at 09:46 +0100, Michael Meeks wrote:
>> Reading the various cppunit tests we have and the code cut/paste going
>> on gives some concern. We need a place to share most of this "really
>> bootstrap UNO" heavy lifting and the various other bits of common
>> magic that go on there, presumably a CppUnit::TestFixture sub-class -
>> where quite that belongs, I don't know - perhaps vcl would be a good
>> place.
>
> Yeah, "test" would be fine probably. The intent was to merge the common
> code back together once the various filter tests in different modules
> flushed out the required flags and magic, but I didn't get around to it.

Yes, test was intended for such stuff -- but we need to make sure not to 
introduce circular dependencies.  (The conceptual level of that module 
is still somewhat undecided.)

-Stephan


More information about the LibreOffice mailing list