| 1 |
/* |
| 2 |
* boxes - Command line filter to draw/remove ASCII boxes around text |
| 3 |
* Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors |
| 4 |
* |
| 5 |
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public |
| 6 |
* License, version 3, as published by the Free Software Foundation. |
| 7 |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
| 8 |
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 9 |
* details. |
| 10 |
* You should have received a copy of the GNU General Public License along with this program. |
| 11 |
* If not, see <https://www.gnu.org/licenses/>. |
| 12 |
* |
| 13 |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 14 |
*/ |
| 15 |
|
| 16 |
/* |
| 17 |
* Unit tests of the 'logging' module |
| 18 |
*/ |
| 19 |
|
| 20 |
#ifndef LOGGING_TEST_H |
| 21 |
#define LOGGING_TEST_H |
| 22 |
|
| 23 |
#include "logging.h" |
| 24 |
|
| 25 |
int logging_setup(void **state); |
| 26 |
int logging_teardown(void **state); |
| 27 |
|
| 28 |
void test_debug_shorten_nopath(void **state); |
| 29 |
void test_debug_shorten_minimal(void **state); |
| 30 |
void test_debug_shorten_null(void **state); |
| 31 |
void test_debug_shorten_backslash(void **state); |
| 32 |
void test_debug_shorten_slash(void **state); |
| 33 |
void test_debug_shorten_nosuffix(void **state); |
| 34 |
void test_debug_shorten_wrongdot(void **state); |
| 35 |
void test_debug_shorten_empty(void **state); |
| 36 |
void test_debug_inactive_area(void **state); |
| 37 |
void test_debug_continue(void **state); |
| 38 |
void test_debug_continue_inactive(void **state); |
| 39 |
void test_debug_area_too_big(void **state); |
| 40 |
void test_debug_area_reserved(void **state); |
| 41 |
void test_debug_area_all(void **state); |
| 42 |
void test_debug_deactivated(void **state); |
| 43 |
void test_debug_all_active(void **state); |
| 44 |
|
| 45 |
|
| 46 |
#endif |
| 47 |
|
| 48 |
|
| 49 |
/* vim: set cindent sw=4: */ |