diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-05-31 19:06:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 20:00:03 +0300 |
commit | ff7e2868d61f2958ec86fbd53bb3e2957ca3da39 (patch) | |
tree | 21d7ee0371a29ecb6bf0296aad6b8cd5643aeb7a /extensions/qa | |
parent | Log the call to CoRegisterClassObject() (diff) | |
download | core-ff7e2868d61f2958ec86fbd53bb3e2957ca3da39.tar.gz core-ff7e2868d61f2958ec86fbd53bb3e2957ca3da39.zip |
Run soffice frpm instdir (but CustomTarget_automationtest still can't work)
WScript.CreateObject() takes the symbolic name of the object class
that it then looks up from the Registry to find the CLSID of the
class. I don't really know how we could make this unit test work at
build time. Keep it still commented out in the module makefile.
Change-Id: I73418754db9ccc3f5d384754d4d3be74ae1f9dca
Diffstat (limited to 'extensions/qa')
-rw-r--r-- | extensions/qa/ole/automationtest.vbs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/qa/ole/automationtest.vbs b/extensions/qa/ole/automationtest.vbs index efd4b8a60eda..9b5dff05e957 100644 --- a/extensions/qa/ole/automationtest.vbs +++ b/extensions/qa/ole/automationtest.vbs @@ -81,6 +81,11 @@ WScript.Echo "Running Automation client tests" On Error Resume Next +' FIXME: How can we ever make this work specifically with the +' LibreOffice in instdir, when WScript.CreateObject() wants the +' symbolic name that it then looks up from the Registry to find the +' CLSID of the class? + CheckErrorFatal "Set writer = WScript.CreateObject(""Writer.Application"")" CheckErrorFatal "writer.Visible = True" CheckErrorFatal "writer.Caption = ""=== This is Writer ===""" |