summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-10-21 12:09:56 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-10-22 15:53:21 +0200
commita21c6a3dd36aee21bf1536183dc8ccde2ff52672 (patch)
tree4362424f8ba2e52eb7c9c971d51d0ce797594cf4 /cpputools
parent71a24a911bb091885fb03d124d3936d955b13399 (diff)
revert unittests to use plain text-based LibreOfficeKitCallback
At least for now it seems that the more complex SfxLokCallbackInterface is just an unnecessary complication for unit tests. The performance doesn't matter, and handling all the specialized callbacks makes things more complicated. In the future it'd be also useful to make the tests (optionally?) use also CallbackFlushHandler as the provider of the messages, in order to test CallbackFlushHandler more thoroughly, so perhaps in the end it makes more sense to keep unit tests using the plain text interface. This reverts unittest-related parts of 3b729db05553c1a6d461fb41c89 and adds a smaller wrapper callback class that converts messages from SfxLokCallbackInterface to LibreOfficeKitCallback format. Change-Id: I6c14f0be4ed7b777444b131140be54188d309cca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124000 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'cpputools')
0 files changed, 0 insertions, 0 deletions