tests: delete BOOST_CHECK_NO_THROW in ProtocolFactory test suites
This makes exception message appear in testing logs, which
simplifies debugging.
refs #3904
Change-Id: I7d1a36c1c66d885a03e6a6d283e2907364f7f31a
diff --git a/tests/daemon/face/unix-stream-factory.t.cpp b/tests/daemon/face/unix-stream-factory.t.cpp
index 19c7e0d..b0d48c7 100644
--- a/tests/daemon/face/unix-stream-factory.t.cpp
+++ b/tests/daemon/face/unix-stream-factory.t.cpp
@@ -57,8 +57,8 @@
}
)CONFIG";
- BOOST_CHECK_NO_THROW(parseConfig(CONFIG, true));
- BOOST_CHECK_NO_THROW(parseConfig(CONFIG, false));
+ parseConfig(CONFIG, true);
+ parseConfig(CONFIG, false);
auto& factory = this->getFactoryById<UnixStreamFactory>("unix");
BOOST_CHECK_EQUAL(factory.getChannels().size(), 1);
@@ -72,8 +72,8 @@
}
)CONFIG";
- BOOST_CHECK_NO_THROW(parseConfig(CONFIG, true));
- BOOST_CHECK_NO_THROW(parseConfig(CONFIG, false));
+ parseConfig(CONFIG, true);
+ parseConfig(CONFIG, false);
auto& factory = this->getFactoryById<UnixStreamFactory>("unix");
BOOST_CHECK_EQUAL(factory.getChannels().size(), 0);