[Asterisk-code-review] Add tests to verify pidf+xml & xpidf+xml NOTIFY bodies. (testsuite[master])

John Bigelow asteriskteam at digium.com
Wed Aug 12 16:55:07 CDT 2015


Hello Mark Michelson,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/1023

to look at the new patch set (#4).

Change subject: Add tests to verify pidf+xml & xpidf+xml NOTIFY bodies.
......................................................................

Add tests to verify pidf+xml & xpidf+xml NOTIFY bodies.

This adds tests to verify pidf+xml & xpidf+xml NOTIFY bodies in PJSIP. The
tests set different custom states and verifies that the NOTIFY bodies match
what is expected. The tests SHARE a test module to listen for SIP packets and
to verify bodies.

The pcap.py library has been modified so XPIDF bodies are identified.

AFS-129

Change-Id: Ib852d1d42ea391fe4e7d1abf0eb7ea6eabb62cba
---
M lib/python/asterisk/pcap.py
M tests/channels/pjsip/subscriptions/presence/tests.yaml
A tests/channels/pjsip/subscriptions/presence/verify_bodies/presence.py
A tests/channels/pjsip/subscriptions/presence/verify_bodies/tests.yaml
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/configs/ast1/extensions.conf
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/configs/ast1/pjsip.conf
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/sipp/subscribe.xml
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/configs/ast1/extensions.conf
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/configs/ast1/pjsip.conf
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/sipp/subscribe.xml
A tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
12 files changed, 1,288 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/23/1023/4
-- 
To view, visit https://gerrit.asterisk.org/1023
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib852d1d42ea391fe4e7d1abf0eb7ea6eabb62cba
Gerrit-PatchSet: 4
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: John Bigelow <jbigelow at digium.com>
Gerrit-Reviewer: John Bigelow <jbigelow at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-code-review mailing list