LCOV - code coverage report
Current view: top level - tests - catch_main.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 3 100.0 %
Date: 2024-06-15 08:26:09 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :   Zipios -- a small C++ library that provides easy access to .zip files.
       3             : 
       4             :   Copyright (C) 2000-2007  Thomas Sondergaard
       5             :   Copyright (c) 2015-2022  Made to Order Software Corp.  All Rights Reserved
       6             : 
       7             :   This library is free software; you can redistribute it and/or
       8             :   modify it under the terms of the GNU Lesser General Public
       9             :   License as published by the Free Software Foundation; either
      10             :   version 2.1 of the License, or (at your option) any later version.
      11             : 
      12             :   This library 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 GNU
      15             :   Lesser General Public License for more details.
      16             : 
      17             :   You should have received a copy of the GNU Lesser General Public
      18             :   License along with this library; if not, write to the Free Software
      19             :   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
      20             : */
      21             : 
      22             : /** \file
      23             :  * \anchor catch_tests_anchor
      24             :  *
      25             :  * Zipios unit test suite using catch.hpp, see for details:
      26             :  *
      27             :  *   https://github.com/philsquared/Catch/blob/master/docs/tutorial.md
      28             :  */
      29             : 
      30             : // Prevent Catch from defining a default main() function in this file
      31             : // but let it know this is the file that does contain the main() function
      32             : #define CATCH_CONFIG_RUNNER
      33             : 
      34             : #include "catch_main.hpp"
      35             : 
      36             : 
      37             : 
      38           2 : int main(int argc, char *argv[])
      39             : {
      40           2 :     return SNAP_CATCH2_NAMESPACE::snap_catch2_main(
      41             :               "zipios"
      42             :             , ZIPIOS_VERSION_STRING
      43             :             , argc
      44             :             , argv
      45           2 :         );
      46             : }
      47             : 
      48             : 
      49             : 
      50             : // Local Variables:
      51             : // mode: cpp
      52             : // indent-tabs-mode: nil
      53             : // c-basic-offset: 4
      54             : // tab-width: 4
      55             : // End:
      56             : 
      57             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.14

Snap C++ | List of projects | List of versions