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: 2019-07-21 20:54:39 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.12