https://bugs.freedesktop.org/show_bug.cgi?id=45904
--- Comment #9 from Markus Mohrhard <markus.mohrh...@googlemail.com> --- So I'll try to add a few more details but I'm currently on vacation. So please excuse if it is not in as much detail as it should be. Currently our api test code is at qadevooo/tests/java/ and there in there in the folders IFC and mod. The implementation is divided between these two folders to represent our two parts of the api implementations. The sender IFC part is for the interface definition that is represented in our api through the IDL files in offapi and can be found at api.LibreOffice.org. the mod part is for the actual implementation that implements several interfaces. We have a similar structure for the c++ tests. The test code for the interfaces can be found in test/ and the code for the implementations for calc in sc/qa/extras. Each file in sc/qa/extras represents one implementation file and is one cppunit test that is registered by a make file in sc/ and in sc/module_sc.mk. the new tests just make it explicit which interfaces are tested while it is implicitly done in the old java tests by querying for all interfaces the object provides. So we now need a two step process to convert old tests. First convert the interface test code and implement it in test/ and secondly convert or better write a clean new implementation for the api implementation. The c++ implementation should however try to make the tests better by using the assertion macros that are provided by cppunit, make explicit what was implicit in the old implementation and improve the diagnostic messages. A good start would be to look at some of Tue code that I already converted to c++. If you have more questions please ask and I'll try to answer as soon as possible. I'll return next week from my vacation so I can answer questions after that also by irc. -- 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