Hi Marcos, On Wed, Jan 08, 2014 at 10:56:17PM -0200, Marcos Paulo de souza <[email protected]> wrote: > There is a test can I can look to understand how to create a test with > macros? > > I want to write a unittest to > https://bugs.freedesktop.org/show_bug.cgi?id=70807, so I just need a > code pointer to write this test.
Not sure what do you mean by "test with macros", but if you want to load a document, then test some UNO calls and/or some internal Writer API, then add a new test in sw/qa/extras/uiwriter/uiwriter.cxx. For internal API, see existing tests on how to get an SwDoc, for UNO testing, mxComponent is the equivalent of ThisComponent in Basic. Miklos
signature.asc
Description: Digital signature
_______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
