tests/rtprtx: refactor the tests to use gstharness
authorMikhail Fludkov <misha@pexip.com>
Thu, 7 Jul 2016 09:13:18 +0000 (11:13 +0200)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 25 Aug 2016 22:21:10 +0000 (18:21 -0400)
commit880f49405051bca70ab3807444baa47c208f1021
treedb459412d867f0c165f7035bfb8ca72125da3096
parente43dcd999644b4b536f0e43fd15d7e262d4dd2c1
tests/rtprtx: refactor the tests to use gstharness

The functionality of all the tests was kept exactly the same. Some tests
were renamed:
test_push_forward_seq -> test_rtxsend_rtxreceive
test_drop_one_sender -> test_rtxsend_rtxreceive_with_packet_loss
test_drop_multiple_sender -> test_multi_rtxsend_rtxreceive_with_packet_loss

test_rtxreceive_data_reconstruction was testing that retransmitted
buffer produced by rtxsend was correctly transformed to the original
buffer by rtxreceive. Now we are checking for this in all the tests
where both rtxsend & rtxreceive are involved. That's why the test was
removed.
tests/check/elements/rtprtx.c