LCOV - code coverage report
Current view: top level - autotest/cpp - test_include_from_c_file.c (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 2 2 100.0 %
Date: 2024-11-21 22:18:42 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  * Project:  GDAL Core
       3             :  * Purpose:  Test including all public C headers from a .c file
       4             :  * Author:   Even Rouault, <even dot rouault at spatialys dot com>
       5             :  *
       6             :  ******************************************************************************
       7             :  * Copyright (c) 2017, Even Rouault <even dot rouault at spatialys dot com>
       8             :  *
       9             :  * SPDX-License-Identifier: MIT
      10             :  ****************************************************************************/
      11             : 
      12             : // PLEASE DO NOT RENAME THIS FILE AS .cpp !!!!!
      13             : // since the purpose is to check that the public headers can be included from
      14             : // C
      15             : 
      16             : #include "cpl_atomic_ops.h"
      17             : #include "cpl_conv.h"
      18             : #include "cpl_csv.h"
      19             : #include "cpl_error.h"
      20             : #include "cpl_hash_set.h"
      21             : #include "cpl_list.h"
      22             : #include "cpl_minixml.h"
      23             : #include "cpl_port.h"
      24             : #include "cpl_progress.h"
      25             : #include "cpl_quad_tree.h"
      26             : #include "cpl_vsi.h"
      27             : #include "gdal_alg.h"
      28             : #include "gdal_version.h"
      29             : #include "gdal.h"
      30             : #include "gdal_utils.h"
      31             : #include "ogr_api.h"
      32             : #include "ogr_core.h"
      33             : #include "ogr_srs_api.h"
      34             : 
      35           1 : int main()
      36             : {
      37           1 :     return 0;
      38             : }

Generated by: LCOV version 1.14