asterisk/tests
Matthew Jordan a699bb72ad Add tests for main/jitterbuf.c
This patch adds unit tests for main/jitterbuf.c.  This includes checking for
the following:
  * Nominal insertion and retrieval of frames
  * Insertion and retrieval of frames where the frames are inserted out of
    order with respect to the previous frame
  * Insertion and retrieval of frames where some number of frames that would
    occur in the expected sequence are instead dropped
  * Insertion and retrieval of frames with an arrival time that does not occur
    at the same rate as the surrounding frames
  * Resynchronization of the jitter buffer when an inserted frame breaks the
    resynchronization threshold
  * Overfilling of the jitter buffer

For each of the tests, both JB_TYPE_VOICE and JB_TYPE_CONTROL permutations
exist.

Review: https://reviewboard.asterisk.org/r/1815

(issue: ASTERISK-18964)
Reported by: Kris Shaw
Tested by: Kris Shaw, Matt Jordan



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-03-14 18:56:15 +00:00
..
Makefile Change the name of the category 'TEST' to match the name of the subdir 2010-03-23 19:19:52 +00:00
test_acl.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_amihooks.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_aoc.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_app.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_ast_format_str_reduce.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_astobj2.c Add ability to clone ao2 containers. 2012-02-28 00:42:38 +00:00
test_db.c Merged revisions 338552 via svnmerge from 2011-09-29 20:55:15 +00:00
test_devicestate.c Make hints for invalid SIP devices return Unavail, not idle 2012-03-13 20:06:57 +00:00
test_dlinklists.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_event.c Fix case-sensitivity for device-specific event subscriptions and CCSS 2012-03-02 21:06:12 +00:00
test_expr.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_format_api.c Audit of ao2_iterator_init() usage for v10. 2012-01-27 19:33:49 +00:00
test_func_file.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_gosub.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
test_heap.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_jitterbuf.c Add tests for main/jitterbuf.c 2012-03-14 18:56:15 +00:00
test_linkedlists.c Doubly linked lists unit test and update to implementation. 2011-12-06 19:09:56 +00:00
test_locale.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_logger.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_netsock2.c Add a unit test for ast_sockaddr_split_hostport 2011-11-09 19:31:27 +00:00
test_pbx.c Merged revisions 337062 via svnmerge from 2011-09-20 21:05:42 +00:00
test_poll.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_sched.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_security_events.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_skel.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_stringfields.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_strings.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_substitution.c Opaquify ast_channel structs and lists 2012-02-29 16:52:47 +00:00
test_time.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_utils.c Fix some tests that didn't get opaquification changes 2012-02-23 01:53:17 +00:00