[asterisk-dev] [Code Review] Use spaces to format XML and create SIPpVersion class
Paul Belanger
reviewboard at asterisk.org
Tue Dec 7 21:52:33 UTC 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1049/#review3006
-----------------------------------------------------------
asterisk/trunk/lib/python/sipp/version.py
<https://reviewboard.asterisk.org/r/1049/#comment6222>
Invert if logic
asterisk/trunk/lib/python/sipp/version.py
<https://reviewboard.asterisk.org/r/1049/#comment6223>
move to 1 statement
asterisk/trunk/runtests.py
<https://reviewboard.asterisk.org/r/1049/#comment6221>
Brain storming with Russell yesterday, it might be time to create a dependency.py file.
For a future patch :)
- Paul
On 2010-12-07 15:48:56, Paul Belanger wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1049/
> -----------------------------------------------------------
>
> (Updated 2010-12-07 15:48:56)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> After running into some issue getting the testsuite running under Ubuntu 8.04, it seemed older versions of SIPp fail to parse tabs (/t) properly. So, I replaced them with 4 spaces.
>
> I then ran into an issue of failing tests because my SIPp version did not have the appropriate compile time flags enabled, so I created a new SIPpVersion parser. I used the AsteriskVersion class as a template, also creating various unit tests to test the parser (very cool and fun BTW). I've defaulted our SIPp based tests to 'v3.0' however I know some will require TLS, PCAP or both. Will need help to confirm which will use it.
>
> Feedback is required :)
>
>
> Diffs
> -----
>
> asterisk/trunk/lib/python/sipp/version.py PRE-CREATION
> asterisk/trunk/runtests.py 1103
> asterisk/trunk/tests/cdr/app_dial_G_flag/sipp/call.xml 1103
> asterisk/trunk/tests/cdr/app_dial_G_flag/sipp/wait-for-call.xml 1103
> asterisk/trunk/tests/cdr/app_dial_G_flag/test-config.yaml 1103
> asterisk/trunk/tests/cdr/app_queue/sipp/call-then-hangup.xml 1103
> asterisk/trunk/tests/cdr/app_queue/sipp/call.xml 1103
> asterisk/trunk/tests/cdr/app_queue/sipp/wait-for-call-hangup.xml 1103
> asterisk/trunk/tests/cdr/app_queue/test-config.yaml 1103
> asterisk/trunk/tests/cdr/blind-transfer-accountcode/sipp/call-then-blind-transfer.xml 1103
> asterisk/trunk/tests/cdr/blind-transfer-accountcode/sipp/register.xml 1103
> asterisk/trunk/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml 1103
> asterisk/trunk/tests/cdr/blind-transfer-accountcode/sipp/wait-for-call.xml 1103
> asterisk/trunk/tests/cdr/blind-transfer-accountcode/test-config.yaml 1103
> asterisk/trunk/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-busy.xml 1103
> asterisk/trunk/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-congestion.xml 1103
> asterisk/trunk/tests/cdr/originate-cdr-disposition/sipp/wait-for-call-timeout.xml 1103
> asterisk/trunk/tests/cdr/originate-cdr-disposition/sipp/wait-for-call.xml 1103
> asterisk/trunk/tests/cdr/originate-cdr-disposition/test-config.yaml 1103
> asterisk/trunk/tests/queues/position_priority_maxlen/test-config.yaml 1103
> asterisk/trunk/tests/queues/ringinuse_and_pause/sipp/uas.xml 1103
> asterisk/trunk/tests/queues/ringinuse_and_pause/test-config.yaml 1103
> asterisk/trunk/tests/rfc2833_dtmf_detect/sipp/broken_dtmf.xml 1103
> asterisk/trunk/tests/rfc2833_dtmf_detect/sipp/dtmf_baseline.xml 1103
> asterisk/trunk/tests/rfc2833_dtmf_detect/sipp/dtmf_noend.xml 1103
> asterisk/trunk/tests/rfc2833_dtmf_detect/sipp/register.xml 1103
> asterisk/trunk/tests/rfc2833_dtmf_detect/test-config.yaml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-200-notify.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-202-error.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-202-notify-provisional.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-202-notify.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-400.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-500.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/sipp/wait-refer-603.xml 1103
> asterisk/trunk/tests/sip/handle_response_refer/test-config.yaml 1103
> asterisk/trunk/tests/sip/options/sipp/options.xml 1103
> asterisk/trunk/tests/sip/options/sipp/options2.xml 1103
> asterisk/trunk/tests/sip/options/test-config.yaml 1103
> asterisk/trunk/tests/sip_channel_params/sipp/call.xml 1103
> asterisk/trunk/tests/sip_channel_params/sipp/register.xml 1103
> asterisk/trunk/tests/sip_channel_params/test-config.yaml 1103
> asterisk/trunk/tests/sip_outbound_address/sipp/uas1.xml 1103
> asterisk/trunk/tests/sip_outbound_address/sipp/uas2.xml 1103
> asterisk/trunk/tests/sip_outbound_address/test-config.yaml 1103
> asterisk/trunk/tests/sip_register/sipp/registerv4.xml 1103
> asterisk/trunk/tests/sip_register/sipp/registerv6.xml 1103
> asterisk/trunk/tests/sip_register/test-config.yaml 1103
>
> Diff: https://reviewboard.asterisk.org/r/1049/diff
>
>
> Testing
> -------
>
> local Ubuntu, FreeBSD and CentOS system.
>
>
> Thanks,
>
> Paul
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101207/75189bf7/attachment-0001.htm
More information about the asterisk-dev
mailing list