--- /dev/null
+/*
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "test_macros.h"
+#include "dpl/log/journal_log_provider.h"
+#include <systemd/sd-journal.h>
+
+using namespace VcoreDPL;
+using namespace Log;
+
+#define LEVEL AbstractLogProvider::LogLevel
+
+BOOST_AUTO_TEST_SUITE(DPL_JOURNAL_LOG_PROVIDER_TEST)
+
+POSITIVE_TEST_CASE(T_journal_log_provider_log)
+{
+ JournalLogProvider *journalLogProvider = new JournalLogProvider();
+ const char *str1 = "abc@samsung.com";
+
+ BOOST_CHECK_NO_THROW(journalLogProvider->Log(LEVEL::Error, str1, __FILE__, __LINE__, __FUNCTION__));
+
+ BOOST_CHECK_NO_THROW(journalLogProvider->Log(LEVEL::Warning, NULL, __FILE__, __LINE__, __FUNCTION__));
+
+ BOOST_CHECK_NO_THROW(journalLogProvider->Log(LEVEL::Info, str1, NULL, __LINE__, __FUNCTION__));
+
+ BOOST_CHECK_NO_THROW(journalLogProvider->Log(LEVEL::Debug, str1, __FILE__, -100, __FUNCTION__));
+
+ BOOST_CHECK_NO_THROW(journalLogProvider->Log(LEVEL::Pedantic, str1, __FILE__, __LINE__, NULL));
+
+ delete journalLogProvider;
+}
+
+BOOST_AUTO_TEST_SUITE_END()