info/DEV300 CWS sb143 : gb_CppunitTest_add_other_cxxobjects

[email protected] Wed, 16 Mar 2011 13:50:38 +0100 (MET)
Newsgroups gmane.comp.openoffice.announce.interface
Message-ID <13953436.51300279838509.JavaMail.root@so-web4>
------=_Part_3115_6285672.1300279838507
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit



          Type: info
         Title: gb_CppunitTest_add_other_cxxobjects
     Posted by: [email protected]
      Affected: -
         TaskId: i117335
<http://www.openoffice.org/issues/show_bug.cgi?id=117335>
Effective from: DEV300 CWS sb143
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/sb143>
    CWS status: new


*Summary*
--------
$(eval $(call gb_CppunitTest_add_other_cxxobjects,<testing-library>,<tested-library>,<list-of-objects-from-tested-library>))

*Description*
-------------
CppUnit-based test libraries often need to access code internal to a
to-be-tested dynamic library.  The approach typically taken with the
old build system was to link the relevant objects into both the
to-be-tested dynamic library and the test code dynamic library.  This
is now also possible in the new build system; see
<http://hg.services.openoffice.org/cws/sb143/file/48a64daba1e1/binaryurp/CppunitTest_binaryurp_unmarshal.mk#l33>
for an example.


Send feedback to [email protected]

--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

------=_Part_3115_6285672.1300279838507--