hlsdemux: tests: add unit tests for hlsdemux
authorAlex Ashley <bugzilla@ashley-family.net>
Tue, 10 Nov 2015 16:41:02 +0000 (16:41 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 22 Dec 2015 14:15:32 +0000 (11:15 -0300)
commiteafdf5673a38537fc41cfdc08c29321810387a39
treebbe0c0cc9bef1bcda2527da991478cbc23ab0117
parentae3ed25025e34ea9b09df59d22d7ebd7294560bc
hlsdemux: tests: add unit tests for hlsdemux

Using the new GstAdaptiveDemux test framework, add tests that
exercise hlsdemux. The following tests are added:

simpleTest
A simple playlist that contains some media URLs

testMediaPlaylist
A master playlist with a variant playlist that contains media URLs

testMediaPlaylistNotFound
A master playlist that points to a missing variant playlist

testFragmentNotFound
A master playlist with a variant playlist that contains media URLs
There is a missing media file referenced from the variant playlist.

testFragmentDownloadError
A master playlist with a variant playlist that contains media URLs
During the download of one media file, the test simulates the network
connection being dropped.

testSeek
A simple test of trying to perform a seek on an HLS stream.
tests/check/Makefile.am
tests/check/elements/.gitignore
tests/check/elements/hls_demux.c [new file with mode: 0644]