summaryrefslogtreecommitdiffstats
path: root/unotest
diff options
context:
space:
mode:
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/python/org/libreoffice/unotest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py
index 586248466931..3ec016adfda4 100644
--- a/unotest/source/python/org/libreoffice/unotest.py
+++ b/unotest/source/python/org/libreoffice/unotest.py
@@ -127,7 +127,7 @@ class OfficeConnection(object):
def getContext(self):
return self.xContext
-class UnoConnection:
+class UnoRemoteConnection:
def __init__(self, args):
self.args = args
self.connection = None
@@ -187,6 +187,10 @@ class UnoInProcess:
value = obj.getPropertyValue(k)
test.assertEqual(value, v)
+ def setProperties(self, obj, dict):
+ for k,v in dict.items():
+ obj.setPropertyValue(k, v)
+
def postTest(self):
assert(self.xContext)
def tearDown(self):