LCOV - code coverage report
Current view: top level - src/Tools/Exception/waiting_canceled - waiting_canceled.cpp (source / functions) Hit Total Coverage
Test: streampu_clean.info Lines: 7 13 53.8 %
Date: 2024-06-12 12:04:18 Functions: 1 3 33.3 %

          Line data    Source code
       1             : #include <utility>
       2             : 
       3             : #include "Tools/Exception/waiting_canceled/waiting_canceled.hpp"
       4             : 
       5             : using namespace spu::tools;
       6             : 
       7             : #define DEFAULT_MESSAGE "Waiting canceled thread."
       8             : 
       9           0 : waiting_canceled::waiting_canceled() noexcept
      10           0 :   : exception(DEFAULT_MESSAGE)
      11             : {
      12           0 : }
      13             : 
      14           0 : waiting_canceled::waiting_canceled(std::string&& message) noexcept
      15           0 :   : exception(message.empty() ? DEFAULT_MESSAGE : message)
      16             : {
      17           0 : }
      18             : 
      19        2066 : waiting_canceled::waiting_canceled(std::string&& filename,
      20             :                                    int&& line_num,
      21             :                                    std::string&& funcname,
      22        2066 :                                    std::string&& message) noexcept
      23        2056 :   : exception(std::move(filename),
      24        2062 :               std::move(line_num),
      25        2070 :               std::move(funcname),
      26        4118 :               message.empty() ? DEFAULT_MESSAGE : message)
      27             : {
      28        2023 : }

Generated by: LCOV version 1.14