Skip to content

Commit

Permalink
roscore: test: Fixing unit tests for stdout_stderr mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartoonman committed May 25, 2020
1 parent 184bb15 commit 3685b79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rosmon_core/test/xml/test_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ TEST_CASE("node output attr", "[output]")
)EOF");

auto node = getNode(config.nodes(), "test_node");
CHECK(!node->isMuted());
CHECK(!node->stdoutDisplayed());
}

SECTION("obey")
Expand All @@ -280,7 +280,7 @@ TEST_CASE("node output attr", "[output]")
)EOF");

auto node = getNode(config.nodes(), "test_node");
CHECK(node->isMuted());
CHECK(!node->stdoutDisplayed());
}

SECTION("obey log")
Expand All @@ -295,7 +295,7 @@ TEST_CASE("node output attr", "[output]")
)EOF");

auto node = getNode(config.nodes(), "test_node");
CHECK(node->isMuted());
CHECK(!node->stdoutDisplayed());
}

SECTION("obey screen")
Expand All @@ -310,7 +310,7 @@ TEST_CASE("node output attr", "[output]")
)EOF");

auto node = getNode(config.nodes(), "test_node");
CHECK(!node->isMuted());
CHECK(node->stdoutDisplayed());
}
}

Expand Down

0 comments on commit 3685b79

Please sign in to comment.