LibreOffice Module unotest (master) 1
|
Classes | |
class | OfficeConnection |
UNO utilities ###. More... | |
class | UnoInProcess |
class | UnoRemoteConnection |
Functions | |
def | mkPropertyValue (name, value) |
utilities ### More... | |
def | mkPropertyValues (**kwargs) |
def | fileUrlToSystemPath (url) |
def | systemPathToFileUrl (systemPath) |
def | simpleInvoke (connection, test) |
def | retryInvoke (connection, test) |
def | runConnectionTests (connection, invoker, tests) |
def | makeCopyFromTDOC (file) |
Variables | |
bool | havePonies = False |
parser = argparse.ArgumentParser("Help utilities for testing LibreOffice") | |
tests ### More... | |
group = parser.add_mutually_exclusive_group() | |
help | |
action | |
args = parser.parse_args() | |
bool | verbose = True |
con = PersistentConnection({"verbose" : args.verbose}) | |
end | |
def org.libreoffice.unotest.fileUrlToSystemPath | ( | url | ) |
Definition at line 54 of file unotest.py.
def org.libreoffice.unotest.makeCopyFromTDOC | ( | file | ) |
Definition at line 285 of file unotest.py.
Referenced by org.libreoffice.unotest.UnoInProcess.openDocFromTDOC().
def org.libreoffice.unotest.mkPropertyValue | ( | name, | |
value | |||
) |
utilities ###
Definition at line 45 of file unotest.py.
References uno.createUnoStruct().
Referenced by org.libreoffice.unotest.UnoInProcess.__openDocFromURL(), and org.libreoffice.unotest.UnoRemoteConnection.openEmptyWriterDoc().
def org.libreoffice.unotest.mkPropertyValues | ( | ** | kwargs | ) |
mkPropertyValues(Name=Value, Name=Value,...) -> (PropertyValue, PropertyValue,...) ex. : mkPropertyValues(Hidden=True, ReadOnly=False)
Definition at line 48 of file unotest.py.
References org.libreoffice.unotest.mkPropertyValues().
Referenced by org.libreoffice.unotest.mkPropertyValues().
def org.libreoffice.unotest.retryInvoke | ( | connection, | |
test | |||
) |
Definition at line 260 of file unotest.py.
def org.libreoffice.unotest.runConnectionTests | ( | connection, | |
invoker, | |||
tests | |||
) |
Definition at line 277 of file unotest.py.
def org.libreoffice.unotest.simpleInvoke | ( | connection, | |
test | |||
) |
Definition at line 253 of file unotest.py.
def org.libreoffice.unotest.systemPathToFileUrl | ( | systemPath | ) |
Definition at line 57 of file unotest.py.
org.libreoffice.unotest.action |
Definition at line 312 of file unotest.py.
org.libreoffice.unotest.args = parser.parse_args() |
Definition at line 314 of file unotest.py.
Referenced by org.openoffice.test.tools.OfficeDocument.blankDocument(), unotest::MacrosTest.loadFromDesktop(), and test::OfficeConnection.setUp().
org.libreoffice.unotest.con = PersistentConnection({"verbose" : args.verbose}) |
Definition at line 317 of file unotest.py.
org.libreoffice.unotest.end |
Definition at line 318 of file unotest.py.
org.libreoffice.unotest.group = parser.add_mutually_exclusive_group() |
Definition at line 311 of file unotest.py.
bool org.libreoffice.unotest.havePonies = False |
Definition at line 185 of file unotest.py.
org.libreoffice.unotest.help |
Definition at line 312 of file unotest.py.
org.libreoffice.unotest.parser = argparse.ArgumentParser("Help utilities for testing LibreOffice") |
tests ###
Definition at line 310 of file unotest.py.
bool org.libreoffice.unotest.verbose = True |
Definition at line 316 of file unotest.py.