Debian Codegraph @

utest/regulex_test.h

raw
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 'regulex' module
18 */
19
20 #ifndef REGULEX_TEST_H
21 #define REGULEX_TEST_H
22
23
24 void test_compile_pattern_empty(void **state);
25 void test_compile_pattern_error(void **state);
26
27 void test_regex_replace_invalid_utf(void **state);
28 void test_regex_replace_buffer_resize(void **state);
29 void test_regex_replace_error(void **state);
30
31
32 #endif
33
34
35 /* vim: set cindent sw=4: */