LCOV - code coverage report
Current view: top level - impl/test - main.cpp (source / functions) Hit Total Coverage
Test: ad_rss Lines: 5 5 100.0 %
Date: 2021-08-31 11:34:43 Functions: 1 1 100.0 %
Branches: 5 10 50.0 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * ----------------- BEGIN LICENSE BLOCK ---------------------------------
       3                 :            :  *
       4                 :            :  * Copyright (C) 2019 Intel Corporation
       5                 :            :  *
       6                 :            :  * SPDX-License-Identifier: LGPL-2.1-only
       7                 :            :  *
       8                 :            :  * ----------------- END LICENSE BLOCK -----------------------------------
       9                 :            :  */
      10                 :            : 
      11                 :            : #include "gtest/gtest.h"
      12                 :            : #include "spdlog/sinks/null_sink.h"
      13                 :            : #include "spdlog/spdlog.h"
      14                 :            : 
      15                 :          1 : int main(int argc, char **argv)
      16                 :            : {
      17   [ +  -  +  - ]:          3 :   auto logger = spdlog::create<spdlog::sinks::null_sink_st>("null_logger");
      18         [ +  - ]:          1 :   spdlog::set_default_logger(logger);
      19                 :            : 
      20         [ +  - ]:          1 :   ::testing::InitGoogleTest(&argc, argv);
      21         [ +  - ]:          1 :   return RUN_ALL_TESTS();
      22                 :            : }

Generated by: LCOV version 1.14