[asterisk-dev] [Code Review] Update Unit Tests For Security Events Framework API - Asterisk 10

opticron reviewboard at asterisk.org
Mon Apr 30 09:42:56 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1877/#review6117
-----------------------------------------------------------

Ship it!


This looks good to me.  Functioned as expected and resolved the warnings that were displayed with the test pre-patch.  This patch will have to be updated for trunk.

- opticron


On April 20, 2012, 12:05 a.m., elguero wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1877/
> -----------------------------------------------------------
> 
> (Updated April 20, 2012, 12:05 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> The Security Events Framework API was changed in Asterisk 10 but the unit tests were not updated at that time due to an oversight on my part. 
> 
> This patch updates the tests by:
> 
> * Adding two more security events that were added to the API. 
> * The API changed to add and require the challenge, received_challenge and received_hash in the inval_password security event.  This patch adds this change to the unit test.
> 
> 
> This addresses bug ASTERISK-19760.
>     https://issues.asterisk.org/jira/browse/ASTERISK-19760
> 
> 
> Diffs
> -----
> 
>   /branches/10/tests/test_security_events.c 362814 
> 
> Diff: https://reviewboard.asterisk.org/r/1877/diff
> 
> 
> Testing
> -------
> 
> Local dev machine.  Ran unit tests and everything passed.
> 
> 
> Thanks,
> 
> elguero
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120430/3f2f4d93/attachment.htm>


More information about the asterisk-dev mailing list