[asterisk-dev] [Code Review]: Add testsuite tests for custom SIP INFO message generation

opticron reviewboard at asterisk.org
Thu Apr 19 09:00:36 CDT 2012



> On April 17, 2012, 3:59 p.m., Mark Michelson wrote:
> > The actual test looks good. There's a lot of seemingly-unrelated stuff regarding skipping tests added here as well. I've just ignored it for now since I assume it has something to do with a mismatch between your working copy and what's in SVN at the moment.

Ah yes, the skipping tests stuff you mention was actually what was in review 1796 at the time and should definitely be left out of the patch.


> On April 17, 2012, 3:59 p.m., Mark Michelson wrote:
> > asterisk/trunk/tests/channels/SIP/custom_info/sipp/selected_useragent.xml, lines 63-68
> > <https://reviewboard.asterisk.org/r/1867/diff/1/?file=27266#file27266line63>
> >
> >     Okay, this is pretty awesome. I wish I had known SIPP could do this in some earlier tests I wrote :)

It is pretty powerful, but there are a few little buggy things like the strcmp there that is required because of the assign_to in the previous statement (because it complains about an unused variable if you don't) which, iirc, is required or it will ignore the regex (which may be a bug with the check_it flag).


- opticron


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


On April 13, 2012, 3:07 p.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1867/
> -----------------------------------------------------------
> 
> (Updated April 13, 2012, 3:07 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> These tests ensure that custom SIP INFO message generation is functioning properly by injecting AST_CONTROL_CUSTOM frames into the calling channel and checking whether a message with the correct data is returned.
> 
> 
> Diffs
> -----
> 
>   asterisk/trunk/lib/python/asterisk/TestConfig.py 3164 
>   asterisk/trunk/lib/python/asterisk/version.py 3164 
>   asterisk/trunk/runtests.py 3164 
>   asterisk/trunk/tests/channels/SIP/custom_info/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/run-test PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/sipp/excluded_useragent.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/sipp/selected_useragent.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/sipp/send_all.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/custom_info/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/message_auth/test-config.yaml 3164 
>   asterisk/trunk/tests/channels/SIP/tests.yaml 3164 
> 
> Diff: https://reviewboard.asterisk.org/r/1867/diff
> 
> 
> Testing
> -------
> 
> Run in conjunction with the changes in review 1866.  This also needs the changes in review 1796 to be able to deal with the version changes introduced by digiumphones branches.
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120419/299a9b58/attachment.htm>


More information about the asterisk-dev mailing list