Re: Re: Test case - source file correspondence?
Stephan Bergmann <[email protected]>
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On 02/08/11 11:06, Michael Stahl wrote: > if you want to write a test for some UNO component written in Java, you > can also use qadevOOo for that; qadevOOo is obsolete and only still there so that the old qa/unoapi and qa/complex tests continue to work with minimal modifications. For new tests, please use JUnit directly (together with any relevant helper code, see <http://wiki.services.openoffice.org/w/index.php?title=Test_Cleanup>). > if what you want to test is not accessible > via UNO, then you have to use JUnit directly (i can imagine that we have > some tests somewhere in OOo that do this, but don't know any particular one). See, for example, <http://hg.services.openoffice.org/DEV300/file/dae1ffc5c15d/jurt/test/com/sun/star/lib/uno/protocols/urp>. (That these tests are marked as OOO_SUBSEQUENT_TESTS is, IIRC, not because they test against a complete OOo installation, but rather because in some way they depend on modules further up in the hierarchy.) -Stephan