LCOV - code coverage report
Current view: top level - src/Tools/Exception/processing_aborted - processing_aborted.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/processing_aborted/processing_aborted.hpp"
       4             : 
       5             : using namespace spu::tools;
       6             : 
       7             : #define DEFAULT_MESSAGE "Processing aborted."
       8             : 
       9           0 : processing_aborted::processing_aborted() noexcept
      10           0 :   : exception(DEFAULT_MESSAGE)
      11             : {
      12           0 : }
      13             : 
      14           0 : processing_aborted::processing_aborted(std::string&& message) noexcept
      15           0 :   : exception(message.empty() ? DEFAULT_MESSAGE : message)
      16             : {
      17           0 : }
      18             : 
      19           5 : processing_aborted::processing_aborted(std::string&& filename,
      20             :                                        int&& line_num,
      21             :                                        std::string&& funcname,
      22           5 :                                        std::string&& message) noexcept
      23           5 :   : exception(std::move(filename),
      24           5 :               std::move(line_num),
      25           5 :               std::move(funcname),
      26          10 :               message.empty() ? DEFAULT_MESSAGE : message)
      27             : {
      28           5 : }

Generated by: LCOV version 1.14