diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-07-16 09:58:06 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-07-16 12:48:29 +0200 |
commit | d2550cf13123702207097c2a09220a0ec8c89eda (patch) | |
tree | 1479ad1d8dc3b52d4a8b6375d8fc7e81e6ada6dd /unotest | |
parent | 5495a2ef9c5e0a457c44e2fe0f6a62effda43ebc (diff) |
Test calling directly from JS a UNO method implemented in JS
Change-Id: I46855474d2c183db9204bfea68cac94112e7766a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170543
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/embindtest/embindtest.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unotest/source/embindtest/embindtest.js b/unotest/source/embindtest/embindtest.js index 9482643ce9ec..be8fc1581066 100644 --- a/unotest/source/embindtest/embindtest.js +++ b/unotest/source/embindtest/embindtest.js @@ -676,6 +676,7 @@ Module.addOnPostRun(function() { test.passJob(css.task.XJob.query(obj)); test.passJobExecutor(css.task.XJobExecutor.query(obj)); test.passInterface(obj); + css.task.XJobExecutor.query(obj).trigger('from JS'); console.assert(test.getStringAttribute() === 'hä'); test.setStringAttribute('foo'); console.assert(test.getStringAttribute() === 'foo'); |