[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 Markus Mohrhard markus.mohrh...@googlemail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #9 from Markus Mohrhard markus.mohrh...@googlemail.com --- *** This bug has been marked as a duplicate of bug 45904 *** -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 Björn Michaelsen bjoern.michael...@canonical.com changed: What|Removed |Added See Also||https://bugs.freedesktop.or ||g/show_bug.cgi?id=70448 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 --- Comment #7 from Stephan Bergmann sberg...@redhat.com --- (In reply to comment #6) I would like to look into this issue. Can someone give some pointers? new to this The most obvious approach would be to translate individual so-called complex tests (see comment 1) from Java to C++. Those are largely self-contained tests that start and connect against an soffice instance (via Java org.openoffice.test.OfficeConnection; the C++ equivalent is in include/unotest/officeconnection.hxx) and then use remote UNO to trigger the code under test in the running soffice. The test code is typically located in */qa/complex/ directories (e.g., sw/qa/complex/checkColor/CheckChangeColor.java), and often makes use of helper functionality from qadevOOo/runner/util/ (for which there may or may not be C++ equivalents). Both building and running the tests is triggered by */JunitTest_*_complex.mk makefiles (e.g., sw/JunitTeste_sw_complex.mk). In a first approximation, a corresponding CppunitTest would still connect to an soffice process and access it via remote UNO, though in the long run it is of course more desirable to have the code under test small and self-contained enough so that it can run directly in the cppunit process. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 --- Comment #8 from DavidO d.ostrov...@gmx.de --- (In reply to comment #7) (In reply to comment #6) I would like to look into this issue. Can someone give some pointers? new to this The most obvious approach would be to translate individual so-called complex tests (see comment 1) from Java to C++. Those are largely self-contained tests that start and connect against an soffice instance (via Java org.openoffice.test.OfficeConnection; the C++ equivalent is in include/unotest/officeconnection.hxx) and then use remote UNO to trigger the code under test in the running soffice. The test code is typically located in */qa/complex/ directories (e.g., sw/qa/complex/checkColor/CheckChangeColor.java), and often makes use of helper functionality from qadevOOo/runner/util/ (for which there may or may not be C++ equivalents). Both building and running the tests is triggered by */JunitTest_*_complex.mk makefiles (e.g., sw/JunitTeste_sw_complex.mk). In a first approximation, a corresponding CppunitTest would still connect to an soffice process and access it via remote UNO, though in the long run it is of course more desirable to have the code under test small and self-contained enough so that it can run directly in the cppunit process. To be fair, it can be already done directly with in process python unit tests, see: https://wiki.documentfoundation.org/Development/Python_Unit_Tests -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 --- Comment #6 from Varadharajan Chandran raju_7...@yahoo.com --- I would like to look into this issue. Can someone give some pointers? new to this -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 Björn Michaelsen bjoern.michael...@canonical.com changed: What|Removed |Added CC||libreoffice@lists.freedeskt ||op.org --- Comment #5 from Björn Michaelsen bjoern.michael...@canonical.com --- adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 --- Comment #3 from Jorendc joren.libreoff...@telenet.be --- @Noel, Stephan: we can mark this enhancement request as NEW? Or isn't this an enhancement request (or is it already done)? Thanks! Joren -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 Noel Grandin noelgran...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #4 from Noel Grandin noelgran...@gmail.com --- This is still an open issue. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 48024] Convert C++ unit test from JUnit to CppUnit
https://bugs.freedesktop.org/show_bug.cgi?id=48024 Florian Reisinger reisi...@gmail.com changed: What|Removed |Added Summary|[EasyHack] Convert C++ unit |Convert C++ unit test from |test from JUnit to CppUnit |JUnit to CppUnit --- Comment #2 from Florian Reisinger reisi...@gmail.com 2012-05-18 09:36:04 PDT --- Deleted Easyhack from summary. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs