A difficult one.
I don't like making things public just to support testing, because later
on, when someone wants to make changes, it is impossible to tell whether
they can or not.
In a simpler project, I might suggest doing separate builds for testing,
but I hesitate to add to the AOO build complexity.
How about a unit test stub class, clearly named as such, wrapping the
class you want to test and itself exported?
On 4/2/2016 9:44 AM, Damjan Jovanovic wrote:
Hi
I am trying to add a unit test to Calc, and the C++ class I want to
test (ScStringUtil) isn't exported from its library (with
SC_DLLPUBLIC), so my test is failing to link.
Can I export that class? What determines when we can/should?
Thank you
Damjan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org