Write unittest for style method isInUse
Miklos Vajna
vmiklos at collabora.co.uk
Thu Jan 9 00:19:48 PST 2014
Hi Marcos,
On Wed, Jan 08, 2014 at 10:56:17PM -0200, Marcos Paulo de souza <marcos.souza.org at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140109/4195f921/attachment.pgp>
More information about the LibreOffice
mailing list