summaryrefslogtreecommitdiff
path: root/include/vcl/uitest
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-06 18:09:12 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-07 10:16:25 +0000
commit4c02332d3d60de7a166d10413edf6e76b85d5a91 (patch)
treee0e36b529082c1a67ba7335d7a7aadcc70026baa /include/vcl/uitest
parent90aac3a3fd42ae6e3ac76ac4a0edb3a000cc0920 (diff)
uitest: provide a way to get a json representation of the ui info
This just provides the information that is also available through the getState method in a nicer way. Change-Id: Ib64f6ecd2c4e9c0a940f3f9607c9a777233e90d2 Reviewed-on: https://gerrit.libreoffice.org/33978 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/vcl/uitest')
-rw-r--r--include/vcl/uitest/uiobject.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index f2eae6e24023..c2de7d4652b1 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -83,7 +83,7 @@ public:
* This method should not be exposed to the outside world.
*
*/
- virtual void dumpState() const;
+ virtual OUString dumpState() const;
/**
* Currently an internal method to dump the parent-child relationship starting from the current top focus window.
@@ -91,7 +91,7 @@ public:
* This method should not be exposed to the outside world.
*
*/
- virtual void dumpHierarchy() const;
+ virtual OUString dumpHierarchy() const;
};
class UITEST_DLLPUBLIC WindowUIObject : public UIObject
@@ -113,9 +113,9 @@ public:
virtual std::set<OUString> get_children() const override;
- virtual void dumpState() const override;
+ virtual OUString dumpState() const override;
- virtual void dumpHierarchy() const override;
+ virtual OUString dumpHierarchy() const override;
static std::unique_ptr<UIObject> create(vcl::Window* pWindow);