Add a test module for the event API, test_event.c.
authorRussell Bryant <russell@russellbryant.com>
Wed, 10 Feb 2010 23:19:16 +0000 (23:19 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 10 Feb 2010 23:19:16 +0000 (23:19 +0000)
commit1321748c19228e051a8db1dd497f10e1d6e55e20
tree0f27a6b8b64113640da26ab50578af9213e8b752
parentf57e5150e51331a97ef3db5da523b0adde5931ae
Add a test module for the event API, test_event.c.

This module includes a single test so far that creates events using two
different methods and does some verification on the result to make sure
the correct data can be retrieved from the event that was created.

One bug was found in the event API while developing this test, which makes
me happy.  :-)

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@246260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/event.h
main/event.c
tests/test_event.c [new file with mode: 0644]