Commit graph

8 commits

Author SHA1 Message Date
Jonathan Hodgson
8912994e1d Work on requests 2022-01-17 14:03:34 +00:00
Jonathan Hodgson
0e53f180ad renames some things in config tests 2022-01-10 09:40:34 +00:00
Jonathan Hodgson
48e3092317 Split out some stuff that is shared between request and response
I now have files with the infinitely imaginative names
requestrespons.{c,h,test.c}.
2022-01-10 09:36:18 +00:00
Jonathan Hodgson
0e2b9dae2b Work on requests
This commit adds tests for a request and the implementation.

The first line of a request should now be decoded correctly
2022-01-05 21:12:11 +00:00
Jonathan Hodgson
f392af92c3 Updates how config options are set on command line 2021-12-28 10:00:41 +00:00
Jonathan Hodgson
8bed39700e Adds a test for defaults and fixes bug relating to it 2021-12-28 01:34:50 +00:00
Jonathan Hodgson
e42705280c Add tests for config
I have started writing tests for the config functions. This has resulted
in a few changes to the config code (tests working I guess)

I have also added a special "all" config file which (as the name
suggests) runs all test suites

In the makefile I have added the compiled test files to the clean target
and added targets for building and running tests
2021-12-28 00:28:56 +00:00
Jonathan Hodgson
c046ac37a9 Adds µnit submodule for tests 2021-12-27 21:46:47 +00:00