[asterisk-dev] [Code Review] 4226: Testsuite: Add tests for external interactions with ARI/Stasis
Matt Jordan
reviewboard at asterisk.org
Thu Dec 4 12:40:09 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4226/#review13886
-----------------------------------------------------------
Ship it!
asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/stasis_bridge/test-config.yaml
<https://reviewboard.asterisk.org/r/4226/#comment24398>
Blob
- Matt Jordan
On Dec. 4, 2014, 11:52 a.m., opticron wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4226/
> -----------------------------------------------------------
>
> (Updated Dec. 4, 2014, 11:52 a.m.)
>
>
> Review request for Asterisk Developers and Mark Michelson.
>
>
> Bugs: ASTERISK-24537
> https://issues.asterisk.org/jira/browse/ASTERISK-24537
>
>
> Repository: testsuite
>
>
> Description
> -------
>
> This reorganizes existing tests that affect channels in Stasis() via external mechanisms and adds new tests to cover other interactions not yet represented in the testsuite. An additional, more comprehensive test for attended transfers has been added as well as tests for bridged and unbridged channels in Stasis() being affected by AMI Bridge and Redirect actions. The bug reported in ASTERISK-24591 was found while writing these tests.
>
> This also modifies the ARI python libraries to allow parameters to have substituted variables.
>
> This covers tests 1.3, 2.1.1, 2.10.1, 3.1, and 3.2 from the StasisStart/StasisEnd test plan available here: https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=30279826
>
> The two existing attended and blind transfer tests cover tests 1.4 and 1.9.
>
>
> Diffs
> -----
>
> asterisk/trunk/tests/rest_api/tests.yaml 6018
> asterisk/trunk/tests/rest_api/external_interaction/tests.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/blind_transfer/tests.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/blind_transfer/stasis_bridge_to_same_stasis_app/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/blind_transfer/stasis_bridge_to_same_stasis_app/configs/ast1/pjsip.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/blind_transfer/stasis_bridge_to_same_stasis_app/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/blind_transfer/stasis_bridge_to_same_stasis_app/blind_transfer.py PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/tests.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_app/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_app/sipp/referer.xml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_app/sipp/referee.xml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_app/configs/ast1/pjsip.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_app/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_non_stasis_app/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_non_stasis_app/sipp/referer.xml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_non_stasis_app/sipp/referee.xml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_non_stasis_app/configs/ast1/pjsip.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_non_stasis_app/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/attended_transfer/attended_transfer.py PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_redirect/tests.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_redirect/stasis_bridge/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_redirect/stasis_bridge/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_redirect/stasis_app/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_redirect/stasis_app/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/tests.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/stasis_bridge/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/stasis_bridge/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/stasis_app/test-config.yaml PRE-CREATION
> asterisk/trunk/tests/rest_api/external_interaction/ami_bridge/stasis_app/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/rest_api/bridges/tests.yaml 6018
> asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml 6018
> asterisk/trunk/tests/rest_api/bridges/blind_transfer/configs/ast1/pjsip.conf 6018
> asterisk/trunk/tests/rest_api/bridges/blind_transfer/configs/ast1/extensions.conf 6018
> asterisk/trunk/tests/rest_api/bridges/blind_transfer/blind_transfer.py 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/test-config.yaml 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/sipp/referer.xml 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/sipp/referee.xml 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/configs/ast1/pjsip.conf 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/configs/ast1/extensions.conf 6018
> asterisk/trunk/tests/rest_api/bridges/attended_transfer/attended_transfer.py 6018
> asterisk/trunk/lib/python/asterisk/ari.py 6018
>
> Diff: https://reviewboard.asterisk.org/r/4226/diff/
>
>
> Testing
> -------
>
> Ran the tests and verified they passed with the expected events when the fix in 4213 is applied.
>
>
> Thanks,
>
> opticron
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141204/6ab2a79b/attachment.html>
More information about the asterisk-dev
mailing list