2021-10-28 09:01:14 +02:00
|
|
|
/*
|
|
|
|
* boxes - Command line filter to draw/remove ASCII boxes around text
|
|
|
|
* Copyright (c) 1999-2021 Thomas Jensen and the boxes contributors
|
|
|
|
*
|
2022-09-18 14:56:30 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
|
|
|
|
* License, version 3, as published by the Free Software Foundation.
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
* details.
|
|
|
|
* You should have received a copy of the GNU General Public License along with this program.
|
|
|
|
* If not, see <https://www.gnu.org/licenses/>.
|
2021-10-28 09:01:14 +02:00
|
|
|
*
|
2022-09-18 14:56:30 +02:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2021-10-28 09:01:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Unit tests of the 'regulex' module
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef REGULEX_TEST_H
|
|
|
|
#define REGULEX_TEST_H
|
|
|
|
|
|
|
|
|
|
|
|
void test_compile_pattern_empty(void **state);
|
|
|
|
void test_compile_pattern_error(void **state);
|
|
|
|
|
2021-11-01 21:20:37 +01:00
|
|
|
void test_regex_replace_invalid_utf(void **state);
|
|
|
|
void test_regex_replace_buffer_resize(void **state);
|
|
|
|
void test_regex_replace_error(void **state);
|
|
|
|
|
2021-10-28 09:01:14 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/*EOF*/ /* vim: set cindent sw=4: */
|