Commit Graph

13 Commits

Author SHA1 Message Date
a3a37b50fc Upgrade project license to GPL-3 #101 2022-09-18 15:00:15 +02:00
11da751439 Add more unit tests for command line option parsing 2021-11-05 22:02:55 +01:00
7b828461ed Add unit tests for different input and output file situations 2021-11-05 21:48:50 +01:00
413b174d6c Add unit tests for alignment option parsing (-a) 2021-11-05 21:10:11 +01:00
fbc4678faa Add some unit tests for tab option parsing (-t) 2021-11-05 14:28:13 +01:00
f13207318a Add some unit tests for -p option parsing 2021-11-05 14:07:58 +01:00
84d051f1e5 Add unit tests for '-k' option parsing 2021-11-04 21:53:35 +01:00
0e2b57c97d Add unit tests for indentation mode cmdline parsing 2021-11-04 14:12:40 +01:00
b07af10931 Add three more unit tests for regex_replace() 2021-11-01 21:46:43 +01:00
ab28ad8c3a Add workaround for mockable fprintf on MinGW 2021-11-01 14:23:19 +01:00
4ae947ff99 Extend unit testing capabilities
- Structure unit tests into multiple modules
- Add setup/teardown of fixtures
- Add ability to capture and check stdout and stderr
- Add mock handling to Makefile
2021-10-28 09:01:14 +02:00
729c4e0692 Add two more unit tests on tools.c 2021-10-21 20:49:49 +02:00
a5dae11c4c Add the first cmocka-based unit tests 2021-10-21 20:23:52 +02:00