diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-06-21 11:47:07 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-08-05 21:08:01 -0400 |
commit | 4a9de331ed516c3d7477d947584082df2f92bdb9 (patch) | |
tree | 795a344405325d254d32edf4b53ccf8799582293 /wsd/LOOLWSD.hpp | |
parent | fixup d3887f7a94b5931085ae27e8fb12c32dcda80717 (diff) | |
download | online-4a9de331ed516c3d7477d947584082df2f92bdb9.tar.gz online-4a9de331ed516c3d7477d947584082df2f92bdb9.zip |
Unit testing - add more hooks and helpers.
Change-Id: Ieb12699e3b012606eaa0be3cc94d6f9b58adc441
Diffstat (limited to 'wsd/LOOLWSD.hpp')
-rw-r--r-- | wsd/LOOLWSD.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp index 83f950bad5..a23a4f714a 100644 --- a/wsd/LOOLWSD.hpp +++ b/wsd/LOOLWSD.hpp @@ -76,7 +76,10 @@ public: static std::set<const Poco::Util::AbstractConfiguration*> PluginConfigurations; static std::chrono::time_point<std::chrono::system_clock> StartTime; + /// For testing only [!] static std::vector<int> getKitPids(); + /// For testing only [!] DocumentBrokers are mostly single-threaded with their own thread + static std::vector<std::shared_ptr<DocumentBroker>> getBrokersTestOnly(); static std::string GenSessionId() { |