tests: Add TCP pipelines test
authorWilliam Manley <will@williammanley.net>
Mon, 3 Nov 2014 01:08:27 +0000 (01:08 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 7 Nov 2014 09:14:07 +0000 (10:14 +0100)
commit5b0ec93e99a091c9708df83a0f645593d3b31da8
tree0032665794d4ab3fa392c6ffedbb369a7ce2e609
parent3fde8dd746003bf2d221ebe37e0913497d342a09
tests: Add TCP pipelines test

There don't seem to be any unit tests for the socket handling elements.  As
I am about to attempt some refactorings I've added some basic tests which
exercise some of the happy-paths in tcpclientsrc, tcpserversrc,
tcpserversink and tcpclientsink.  They should let me know if I've caused
serious breakage.

They are far from exhaustive but are sufficient for me to have caught a few
memory-leaks in the existing code.

https://bugzilla.gnome.org/show_bug.cgi?id=739544
tests/check/Makefile.am
tests/check/pipelines/.gitignore
tests/check/pipelines/tcp.c [new file with mode: 0644]