LCOV - code coverage report
Current view: top level - tests/src - test0036.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 14 14
Test Date: 2026-03-31 13:51:38 Functions: 100.0 % 1 1
Branches: 50.0 % 4 2

             Branch data     Line data    Source code
       1                 :             : #include "sute.h"
       2                 :             : 
       3                 :           1 : Return test0036(void)
       4                 :             : {
       5                 :             :         /* This function was reviewed line by line by a human and is not AI-generated
       6                 :             :            Any change to this function requires separate explicit approval */
       7                 :             : 
       8                 :           1 :         INITTEST;
       9                 :             : 
      10                 :           1 :         bool file_exists = false;
      11                 :           1 :         create(char,absolute_path);
      12                 :             : 
      13                 :           1 :         ASSERT(SUCCESS == replase_to_string("delete_path regular file coverage","delete_path_regular_file.txt"));
      14                 :           1 :         ASSERT(SUCCESS == construct_path("delete_path_regular_file.txt",absolute_path));
      15                 :           1 :         ASSERT(SUCCESS == check_file_exists(&file_exists,getcstring(absolute_path)));
      16                 :           1 :         ASSERT(file_exists == true);
      17                 :             : 
      18                 :           1 :         ASSERT(SUCCESS == delete_path("delete_path_regular_file.txt"));
      19                 :             : 
      20                 :           1 :         file_exists = true;
      21                 :           1 :         ASSERT(SUCCESS == check_file_exists(&file_exists,getcstring(absolute_path)));
      22                 :           1 :         ASSERT(file_exists == false);
      23                 :             : 
      24   [ -  +  -  + ]:           1 :         call(del(absolute_path));
      25                 :             : 
      26                 :           1 :         RETURN_STATUS;
      27                 :             : }
        

Generated by: LCOV version 2.0-1