On 04/02/2011 17:07, Michael Dewey-Vogt wrote: > Greetings, > > I have been trying to look at some test cases which test Java files using > the VCL testtool/testautomation. I have been unable to find a > correspondence between test cases and which source files they test. Is there > anywhere I can find this information?
the testautomation/QA autotests do not have a clear correspondence to some particular source functionality; they are not "unit tests". they test the complete OOo UI, and are thus more like "system tests". if such a test fails, there is lots and lots of code where the bug could be, and it can take some time to locate the bug. > When looking for this, I also found > http://qa.openoffice.org/qadevOOo_doc/index.html , but it looks like this > was last updated in 2006. Is this still used for current OOo versions, or > has VCL replaced it? I am specifically looking to test functionality of > java source files. this seems to be documentation for the "qadevOOo" module. (it seems to be really outdated; i wonder if there is newer documentation in the OOo wiki somewhere... at least that's where docs ought to be :) this is another test infrastructure, entirely distinct from VCL testtool/testautomation. with qadevOOo you can write tests that are almost "unit tests": the tests are written in java, and connect to a running OOo instance over a UNO remote bridge. with this you can write tests that test UNO services, but you cannot access the C++ implementation of these UNO services directly. if you want to write a test for some UNO component written in Java, you can also use qadevOOo for that; 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). [there is also support for writing C++ unit tests against C++ implementation with CppUnit, but i guess you don't care about that.] > Thank you, > Michael Dewey-Vogt -- PUBLIC NOTICE AS REQUIRED BY LAW: Any Use of This Product, in Any Manner Whatsoever, Will Increase the Amount of Disorder in the Universe. Although No Liability Is Implied Herein, the Consumer Is Warned That This Process Will Ultimately Lead to the Heat Death of the Universe. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
