LCOV - code coverage report
Current view: top level - logging/tests - test_LogGuard.cpp (source / functions) Hit Total Coverage
Test: test_coverage.info.cleaned Lines: 4 4 100.0 %
Date: 2022-02-28 03:37:41 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /**
       2             :  * @file test_LogGuard.cpp
       3             :  *
       4             :  * @brief Tests for LogGuard class
       5             :  *
       6             :  * @author Maximilian Hornung
       7             :  */
       8             : 
       9             : #include "doctest/doctest.h"
      10             : #include "LogGuard.h"
      11             : 
      12             : using namespace elsa;
      13             : using namespace doctest;
      14             : 
      15             : TEST_SUITE_BEGIN("logging");
      16             : 
      17           1 : TEST_CASE("LogGuard: Testing usage")
      18             : {
      19           1 :     LogGuard("logger", "message");
      20             :     // cannot test much more than creation/destruction...
      21             : 
      22           1 :     REQUIRE_UNARY(true);
      23           1 : }
      24             : 
      25             : TEST_SUITE_END();

Generated by: LCOV version 1.15