diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2017-06-16 17:55:23 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-06-16 20:25:23 +0100 |
commit | 7ea5f71a7bd29ab855c7b19a01e19ed9b3fd2fbf (patch) | |
tree | 1d303f2a3a510ed15756ac600f0bde3bc02d0a82 /test/UnitClient.cpp | |
parent | db13014e00358303f577518c96e29e23e544c1a8 (diff) |
Units: allow filtering of user alerts.
Catch things that kill tests like disk-full earlier.
Change-Id: Ib50b516063305f2fc93b662ec3ad9ab6c52c6c92
Diffstat (limited to 'test/UnitClient.cpp')
-rw-r--r-- | test/UnitClient.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/UnitClient.cpp b/test/UnitClient.cpp index 46aaaf34b..5d29516cc 100644 --- a/test/UnitClient.cpp +++ b/test/UnitClient.cpp @@ -35,6 +35,12 @@ public: _worker.join(); } + virtual bool filterAlertAllusers(const std::string & msg) + { + std::cout << "Alert: " << msg << "\n"; + return false; + } + void configure(Poco::Util::LayeredConfiguration& config) override { UnitWSD::configure(config); |