Hi,
The setup problem on starmath import CppunitTest has been resolved finally
after a month I had been stuck for understanding why the initial patch did not
work; linking objects in the sm library to the test case by calling
gb_CppunitTest_use_library_objects caused arranging two different
addresses of duplicate entries in runtime for SmModel::getUnoTunnelId(),
which unexpectedly ended up returnig one of the two different UUIDs arbitrarily
for each time.
Thus I have tried linking the sm (and smd) shared library by
gb_CppunitTest_use_libraries instead. This however requires that some symbols
used in the test case are visible. So I have introduced the SM_DLLPUBLIC
trick in new smdllapi.h, as like in sc / sd / sw. The CppunitTest has passed now.
You can find the revised patch at <https://gerrit.libreoffice.org/13861>.
Cheers,
-- Takeshi Abe
Context
- Re: About fdo#70185 starmath: unit test writing · Takeshi Abe
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.