]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1450] Added LOG_CHECK_VERBOSE flag for review
authorFrancis Dupont <fdupont@isc.org>
Thu, 15 Oct 2020 08:06:45 +0000 (10:06 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 16 Oct 2020 10:58:37 +0000 (12:58 +0200)
src/lib/http/tests/response_creator_unittests.cc

index 1b2f9fdfb87f4be85cabf3001022f61f0265b52d..39b226e310b77f2cf2005f263120b910eeab28df 100644 (file)
@@ -135,7 +135,17 @@ TEST(HttpResponseCreatorTest, goodRequest) {
 }
 
 /// @brief Test fixture for HTTP response creator authentication.
-class HttpResponseCreatorAuthTest : public LogContentTest { };
+class HttpResponseCreatorAuthTest : public LogContentTest {
+public:
+    /// @brief Constructor.
+    ///
+    /// Set the logCheckVerbose flag
+    HttpResponseCreatorAuthTest() {
+#ifdef LOG_CHECK_VERBOSE
+        logCheckVerbose(true);
+#endif
+    }
+};
 
 // This test verifies that missing required authentication header gives
 // unauthorized error.