tests: Split RFC 2616 date parsing code out and add tests
authorPhilip Withnall <pwithnall@endlessos.org>
Fri, 16 Oct 2020 16:05:54 +0000 (17:05 +0100)
committerPhilip Withnall <pwithnall@endlessos.org>
Thu, 22 Oct 2020 20:03:34 +0000 (21:03 +0100)
commit0974a7faf174988c93832e0b4693a11e3a42821e
tree8cdda788904c4fbcd8ab2da2befa618931ab7438
parent92215025aa0eb65f575700d0f3c286d594397e4f
tests: Split RFC 2616 date parsing code out and add tests

This makes it testable, and increases its test coverage too 100% of
lines, as measured by `make coverage`.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Makefile-libostree.am
Makefile-tests.am
src/libostree/ostree-date-utils-private.h [new file with mode: 0644]
src/libostree/ostree-date-utils.c [new file with mode: 0644]
src/libostree/ostree-fetcher-curl.c
tests/.gitignore
tests/test-rfc2616-dates.c [new file with mode: 0644]