114 Commits

Author SHA1 Message Date
Nikos Tsipinakis
f34b846041 Fix memory leaks in the unit tests
Making valgrind complain less should help finding actual memory leaks in
the long run.
2017-01-29 15:32:36 +02:00
Nikos Tsipinakis
2614b4d06e Move functional tests to a different subdirectory 2017-01-04 11:13:21 +02:00
Nikos Tsipinakis
187d3f9ab9 Invalid boolean values should fall back to the default
Previously, an invalid value was always false
2016-12-15 19:13:08 +02:00
Nikos Tsipinakis
b9619a1460 Add option parser test suite 2016-12-03 19:33:40 +02:00
Nikos Tsipinakis
9333d68656 Use the suite_ prefix for test suites 2016-12-03 19:19:10 +02:00
Nikos Tsipinakis
256440b25a Implement tests for most of the util functions
Also improved the implementation of the test_string_replace_char test.
2016-11-22 18:47:38 +02:00
Nikos Tsipinakis
d441e950d8 Implement test target and add the first test
make test will now compile the tests to test/test.
The first test, testing string_replace_char from utils.c, was added.
2016-11-19 12:26:00 +02:00
Nikos Tsipinakis
7ba0fe03ae Add 'greatest' testing framework
Never used this framework before but it seems promising.
2016-11-19 12:17:23 +02:00
Josh Brown
d3ae6c5951 Remove trailing spaces from all other files 2014-08-03 15:47:59 +00:00
Sascha Kruse
3127bb9198 test.sh: echp what test is currently run 2013-03-08 04:20:55 +01:00
Sascha Kruse
c2a5b526e2 fix expanding window across the screen
test case included
2013-03-02 17:22:12 +01:00
Sascha Kruse
de4db5e559 test.sh fix typo 2013-02-25 22:12:46 +01:00
Sascha Kruse
71d95394fd replace notify.py with dunstify 2013-02-23 04:51:37 +00:00
Sascha Kruse
23f0230baa basic testing framework 2013-02-23 00:35:02 +00:00