adaptivedemux: tests: use macro to define names of request and response structs
authorFlorin Apostol <florin.apostol@oregan.net>
Tue, 16 Feb 2016 14:26:55 +0000 (14:26 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 22 Apr 2016 20:33:15 +0000 (17:33 -0300)
commit00a74e98b3ed0dfd3b621049a8bdca70cc025ca2
tree2bf963e4d408856d4d2f1296295fab26ab8ec9a8
parent3224cfd0b5569d5edd2fd617210fa91b4d201fee
adaptivedemux: tests: use macro to define names of request and response structs

Following the Don't Repeat Yourself principle, define macros
for the structures that contain the request and response headers,
so that the name is not repeated in multiple places in multiple files.

https://bugzilla.gnome.org/show_bug.cgi?id=762144
tests/check/elements/test_http_src.c
tests/check/elements/test_http_src.h