On 26/03/12 11:56, Noel Grandin wrote:
Hi
I note that some of the C++ unit tests are being run from JUnit, which
seems counter-intuitive.
writing C++ unit tests in Java would be rather impossible.
there are however various UNO API tests that are written in Java with
JUnit, i guess you're talking about those.
Is there is a good reason for this, or would it simplify matters to
convert them to CppUnit?
the tests that are implemented in the "qadevOOo" module (aka "unoapi"
tests, run via various $MODULE/qa/unoapi/$MODULE.sce files) are pretty
awful in general and replacing them with something better and reliable,
however implemented, is a good idea.
the other kind of JUnit based tests are so-called "complex" tests
(usually in $MODULE/qa/complex), and those are in general rather more
sensible (especially the ones i've written :), so i don't see a need to
do anything about those really, and replacing these with something that
rather inevitably ends up not being a real unit test either, just
implemented in C++, sounds like pointless busywork to me.
regards,
michael
Context
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.