mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-08-16 01:38:14 +02:00
Add unit tests for indentation mode cmdline parsing
This commit is contained in:
38
utest/cmdline_test.h
Normal file
38
utest/cmdline_test.h
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* boxes - Command line filter to draw/remove ASCII boxes around text
|
||||
* Copyright (c) 1999-2021 Thomas Jensen and the boxes contributors
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License, version 2, 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, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unit tests of the 'cmdline' module
|
||||
*/
|
||||
|
||||
#ifndef CMDLINE_TEST_H
|
||||
#define CMDLINE_TEST_H
|
||||
|
||||
|
||||
void test_indentmode_none(void **state);
|
||||
void test_indentmode_invalid_long(void **state);
|
||||
void test_indentmode_invalid_short(void **state);
|
||||
void test_indentmode_box(void **state);
|
||||
void test_indentmode_text(void **state);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/*EOF*/ /* vim: set cindent sw=4: */
|
Reference in New Issue
Block a user