Commit 3aac5ac2 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3427] Changes after review:

 - variables, test renamed in daemon unit-tests
 - verbose parameter documented in Daemon class
parent c2b7c2d8
......@@ -138,6 +138,8 @@ public:
/// Verbose mode (-v in command-line) triggers loggers to log everythin
/// (sets severity to DEBUG and debuglevel to 99). Values specified in the
/// config file are ignored.
/// @param verbose specifies if verbose should be set or not
void setVerbose(bool verbose) {
verbose_ = verbose;
......@@ -27,12 +27,12 @@ namespace {
// Very simple test. Checks whether Daemon can be instantiated and its
// default parameters are sane
TEST(DaemonTest, noop) {
TEST(DaemonTest, constructor) {
EXPECT_NO_THROW(Daemon instance1);
// Check that the verbose mode is not set by default.
Daemon y;
Daemon instance2;
// Checks that configureLogger method is behaving properly.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment