LCOV - code coverage report
Current view: top level - tests - main.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 5 100.0 %
Date: 2021-08-21 10:14:39 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2006-2019  Made to Order Software Corp.  All Rights Reserved
       3             :  *
       4             :  * https://snapwebsites.org/
       5             :  * contact@m2osw.com
       6             :  *
       7             :  * This program is free software; you can redistribute it and/or modify
       8             :  * it under the terms of the GNU General Public License as published by
       9             :  * the Free Software Foundation; either version 2 of the License, or
      10             :  * (at your option) any later version.
      11             :  *
      12             :  * This program is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      15             :  * GNU General Public License for more details.
      16             :  *
      17             :  * You should have received a copy of the GNU General Public License along
      18             :  * with this program; if not, write to the Free Software Foundation, Inc.,
      19             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      20             :  */
      21             : 
      22             : /** \file
      23             :  * \brief Start the catch test for snapdev.
      24             :  *
      25             :  * This file implements the main test functions (initialization).
      26             :  */
      27             : 
      28             : // Tell catch we want it to add the runner code in this file.
      29             : #define CATCH_CONFIG_RUNNER
      30             : 
      31             : // self
      32             : //
      33             : #include "main.h"
      34             : 
      35             : // snapdev lib
      36             : //
      37             : #include "snapdev/version.h"
      38             : 
      39             : // libexcept lib
      40             : //
      41             : #include "libexcept/exception.h"
      42             : 
      43             : // C++ lib
      44             : //
      45             : #include <sstream>
      46             : 
      47             : 
      48             : namespace SNAP_CATCH2_NAMESPACE
      49             : {
      50             : 
      51             : 
      52             : 
      53             : 
      54             : }
      55             : 
      56             : 
      57           2 : int main(int argc, char * argv[])
      58             : {
      59           4 :     return SNAP_CATCH2_NAMESPACE::snap_catch2_main(
      60             :               "snapdev"
      61             :             , SNAPDEV_VERSION_STRING
      62             :             , argc
      63             :             , argv
      64           6 :             , []() { libexcept::set_collect_stack(false); }
      65           4 :         );
      66           6 : }
      67             : 
      68             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.13