Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi Marcos,

On Wed, Jan 08, 2014 at 10:56:17PM -0200, Marcos Paulo de souza <marcos.souza.org@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

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.