[Asterisk-code-review] Initial commit for 14 testsuite branch (testsuite[14])
Kevin Harwell
asteriskteam at digium.com
Wed Jan 24 16:23:34 CST 2018
Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/8043
Change subject: Initial commit for 14 testsuite branch
......................................................................
Initial commit for 14 testsuite branch
This patch removes all tests that are not supported by the current Asterisk 14
branch. Subsequently, this patch removes all tests that have a minversion
greater than 14.7.6 or a maxversion less than 14.7.6.
Change-Id: I5fc45029a2a28542290f5548a84ef7f484fa6ae4
---
D tests/apps/waitdigit/test-config.yaml
D tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml
D tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml
D tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml
D tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml
D tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml
D tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml
D tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml
D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml
D tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
D tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
19 files changed, 0 insertions(+), 1,193 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/43/8043/1
diff --git a/tests/apps/waitdigit/test-config.yaml b/tests/apps/waitdigit/test-config.yaml
deleted file mode 100644
index 160c8b4..0000000
--- a/tests/apps/waitdigit/test-config.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-testinfo:
- summary: 'Test WaitDigit'
- description: |
- 'Basic testing of WaitDigit.'
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'test_case.SimpleTestCase'
- modules:
- -
- config-section: ami-config
- typename: 'ami.AMIEventModule'
-
-test-object-config:
- spawn-after-hangup: True
- expected_events: 4
- test-iterations:
- -
- channel: 'Local/test at default'
- context: 'caller'
- exten: 'test'
- priority: 1
-
-ami-config:
- -
- type: 'headermatch'
- conditions:
- match:
- Event: 'UserEvent'
- requirements:
- match:
- Result: 'pass'
- count: '4'
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - python : 'twisted'
- - python : 'starpy'
- - asterisk : 'app_userevent'
- - asterisk : 'app_senddtmf'
diff --git a/tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml b/tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml
deleted file mode 100644
index 4ed7627..0000000
--- a/tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-info:
- summary: 'Test SIPNotify AMI Action for Call-ID'
- description: |
- This Tests the AMI Action SIPNotify in order to make sure
- that Call-ID header can be specified.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: sipp.SIPpTestCase
- modules:
- -
- config-section: ami-config
- typename: 'pluggable_modules.EventActionModule'
-
-test-object-config:
- fail-on-any: True
- test-iterations:
- -
- scenarios:
- - { 'key-args': { 'scenario': 'caller.xml', '-i': '127.0.0.1', '-p': '5062', '-trace_msg': '-pause_msg_ign' } }
- - { 'key-args': { 'scenario': 'callee.xml', '-i': '127.0.0.1', '-p': '5063', '-trace_msg': '-pause_msg_ign' } }
-
-ami-config:
- -
- ami-events:
- type: 'headermatch'
- conditions:
- match:
- Event: 'VarSet'
- Channel: 'SIP/callee-.*'
- Variable: 'SIPCALLID'
- ami-actions:
- action:
- Action: 'SIPnotify'
- Channel: '{channel}'
- Variable: 'Event=talk'
- Call-ID: '{value}'
-
-properties:
- minversion: [ '13.20.0', '15.3.0' ]
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'chan_sip'
- tags:
- - SIP
-
diff --git a/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml b/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml
deleted file mode 100644
index 15bb36a..0000000
--- a/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-testinfo:
- summary: 'Test that custom SIP redirecting reasons are accessible from the dialplan'
- description: |
- 'This test performs three calls.
-
- On the first call, an INVITE with a Diversion header arrives into Asterisk. We
- ensure that from the dialplan, the redirecting reason is what we expect it to be.
-
- On the second call, we place an outgoing call to a UAS that responds with a 302. In
- that 302, there is a Diversion header with a reason parameter. We again check in the
- dialplan to ensure that the redirecting reason has been set to this value.
-
- On the third call, we place an outgoing call to a UAS that responds with a 480, and
- with custom status text. We then ensure that the custom status text appears as the
- redirecting reason in the dialplan.'
-
-test-modules:
- test-object:
- config-section: 'calls'
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: 'ami-config'
- typename: 'ami.AMIEventModule'
-
-calls:
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': { 'scenario': 'uac-diversion.xml', '-s': 'test_diversion'} }
- -
- scenarios:
- - { 'key-args': { 'scenario': 'uas-redirect.xml', '-p': '5062'},
- 'ordered-args': ['-key', 'redir_target', 'test_diversion']}
- - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-d': '2000', '-s': 'diverter', '-p': '5061'} }
- -
- scenarios:
- - { 'key-args': { 'scenario': 'uas-480.xml', '-p': '5062'}}
- - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-d': '2000', '-s': 'unavailable', '-p': '5061'} }
-
-ami-config:
- -
- type: 'headermatch'
- conditions:
- match:
- Event: 'UserEvent'
- UserEvent: 'RedirectReason'
- requirements:
- match:
- Result: 'Success'
- count: '3'
-
-properties:
- minversion: '13.0.0'
- maxversion: '13.8.0'
- dependencies:
- - python: 'twisted'
- - python: 'starpy'
- - sipp:
- version: 'v3.1'
- - asterisk: 'app_dial'
- - asterisk: 'app_userevent'
- - asterisk: 'chan_sip'
- - asterisk: 'func_callerid'
- tags:
- - SIP
diff --git a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml b/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml
deleted file mode 100644
index a7061f1..0000000
--- a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-testinfo:
- summary: 'Tests incoming calls without authentication matching only on IP address'
- description: |
- 'Run a SIPp scenario that sends various calls to res_pjsip, which should be matched only on IP address'
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- reactor-timeout: 80
- fail-on-any: False
- test-iterations:
- # IPv4 & UDP
- -
- scenarios:
- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061'} }
- # IPv6 & UDP
- -
- scenarios:
- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5061'} }
-
-properties:
- minversion: [ '13.19.0', '15.2.0' ]
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- - asterisk : 'res_pjsip_session'
- - asterisk : 'chan_pjsip'
- - asterisk : 'res_pjsip_endpoint_identifier_ip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml b/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml
deleted file mode 100644
index bc1a537..0000000
--- a/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml
+++ /dev/null
@@ -1,62 +0,0 @@
-testinfo:
- summary: 'Test PJSIP channel for CALLERID(dnid) and CHANNEL(pjsip,request_uri)'
- description: |
- 'Run a SIPp scenario that places a call from endpoint alice to check
- that the CALLERID(dnid) and CHANNEL(pjsip,request_uri) are set to
- expected values.'
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: ami-config
- typename: 'ami.AMIEventModule'
-
-test-object-config:
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'incoming.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-ami-config:
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'Newchannel'
- Channel: 'PJSIP/alice-.*'
- count: '1'
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- Channel: 'PJSIP/alice-.*'
- UserEvent: 'Failure'
- count: '0'
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- Channel: 'PJSIP/alice-.*'
- UserEvent: 'Done'
- count: '1'
-
-properties:
- minversion: ['13.19.0', '15.2.0']
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'app_dial'
- - asterisk : 'app_userevent'
- - asterisk : 'func_callerid'
- - asterisk : 'func_channel'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml b/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml
deleted file mode 100644
index 0c91298..0000000
--- a/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-testinfo:
- summary: 'Tests incoming calls identified by header and source IP'
- description: |
- This test covers sending calls to an Asterisk instance
- identifiable by a custom header and by a source IP address.
- It is expected that the requests are accepted by the correct
- endpoint determined by endpoint_identifier_order.
- This test expects the call to be accepted by the header identifier.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: ami-config
- typename: 'ami.AMIEventModule'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: True
- test-iterations:
- # IPv4 & UDP
- -
- scenarios:
- - { 'key-args': {'scenario': 'nominal.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 's'},
- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }
-
-ami-config:
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- UserEvent: 'Header'
- count: '1'
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- UserEvent: 'Ip'
- count: '0'
-
-properties:
- minversion: ['13.20.0', '15.3.0']
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'app_userevent'
- - asterisk : 'res_pjsip'
- - asterisk : 'res_pjsip_endpoint_identifier_ip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml b/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml
deleted file mode 100644
index 0dc4167..0000000
--- a/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-testinfo:
- summary: 'Tests incoming calls identified by header and source IP'
- description: |
- This test covers sending calls to an Asterisk instance
- identifiable by a custom header and by a source IP address.
- It is expected that the requests are accepted by the correct
- endpoint determined by endpoint_identifier_order.
- This test expects the call to be accepted by the ip identifier.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: ami-config
- typename: 'ami.AMIEventModule'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: True
- test-iterations:
- # IPv4 & UDP
- -
- scenarios:
- - { 'key-args': {'scenario': 'nominal.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 's'},
- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }
-
-ami-config:
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- UserEvent: 'Header'
- count: '0'
- -
- type: 'headermatch'
- id: '0'
- conditions:
- match:
- Event: 'UserEvent'
- UserEvent: 'Ip'
- count: '1'
-
-properties:
- minversion: ['13.20.0', '15.3.0']
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'app_userevent'
- - asterisk : 'res_pjsip'
- - asterisk : 'res_pjsip_endpoint_identifier_ip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml b/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml
deleted file mode 100644
index 0344df6..0000000
--- a/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-testinfo:
- summary: 'Test the send to voicemail headers in a refer.'
- description: |
- 'When using a Digium phone depending on the configuration it is
- possible for a REFER to contain a diversion and/or custom header.
- This tests that the appropriate variables are set on the channel
- before entering the dialplan when those headers are present in
- a REFER.'
-
-properties:
- minversion: '12.2.0'
- maxversion: '13.8.0'
- dependencies:
- - python: 'twisted'
- - python: 'starpy'
- - app: 'sipp'
- - asterisk: 'app_dial'
- - asterisk: 'app_userevent'
- - asterisk: 'func_callerid'
- - asterisk: 'res_pjsip'
- - asterisk: 'res_pjsip_header_funcs'
- - asterisk: 'res_pjsip_refer'
- - asterisk: 'res_pjsip_send_to_voicemail'
- tags:
- - pjsip
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: ami-config
- typename: 'ami.AMIEventModule'
-
-test-object-config:
- test-iterations:
- -
- scenarios:
- - { 'key-args': { 'scenario':'refer.xml', '-p':'5062' } }
- - { 'key-args': { 'scenario':'invite.xml', '-p':'5061' } }
-
-ami-config:
- -
- id: '0'
- type: 'headermatch'
- count: '1'
- conditions:
- match:
- Event: 'UserEvent'
- requirements:
- match:
- Status: 'passed'
-
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml
deleted file mode 100644
index 51cf1e5..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-testinfo:
- summary: 'Test offers with multiple video streams/one audio stream and bundled'
- description: |
- This tests inbound offers that contain multiple video
- media streams and a single audio stream with bundle enabled.
- Asterisk should accept all the streams in a single bundle group.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-video-with-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml
deleted file mode 100644
index bd7774d..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-testinfo:
- summary: 'Test offers with multiple audio streams/one video stream'
- description: |
- This tests inbound offers that contain multiple audio
- media streams and a single video stream. Asterisk should
- accept all the streams.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-audio-with-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml
deleted file mode 100644
index 0d4b113..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-testinfo:
- summary: 'Test offers with multiple video streams/one audio stream'
- description: |
- This tests inbound offers that contain multiple video
- media streams and a single audio stream. Asterisk should
- accept all the streams.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-video-with-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml
deleted file mode 100644
index 7301ede..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-testinfo:
- summary: 'Test offers with multiple audio streams'
- description: |
- This tests inbound offers that contain multiple audio
- media streams. Asterisk should accept all of the audio
- streams.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml
deleted file mode 100644
index 0c677a8..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-testinfo:
- summary: 'Test adding of multiple audio streams'
- description: |
- This tests the addition of multiple audio streams once
- a call has been established.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml
deleted file mode 100644
index c1703b1..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-testinfo:
- summary: 'Test removing of multiple audio streams'
- description: |
- This tests the removal of multiple audio streams once
- a call has been established.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml
deleted file mode 100644
index 8eae8ed..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-testinfo:
- summary: 'Test offers with multiple video streams'
- description: |
- This tests inbound offers that contain multiple video
- media streams. Asterisk should accept all the video
- streams.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml
deleted file mode 100644
index 0a1c1f8..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-testinfo:
- summary: 'Test adding of multiple video streams'
- description: |
- This tests the addition of multiple video streams once
- a call has been established.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml
deleted file mode 100644
index bc7c2db..0000000
--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-testinfo:
- summary: 'Test removing of multiple video streams'
- description: |
- This tests the removal of multiple video streams once
- a call has been established.
-
-test-modules:
- test-object:
- config-section: test-object-config
- typename: 'sipp.SIPpTestCase'
-
-test-object-config:
- memcheck-delay-stop: 7
- fail-on-any: False
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }
-
-properties:
- minversion: '15.0.0'
- dependencies:
- - sipp :
- version : 'v3.0'
- - asterisk : 'res_pjsip'
- tags:
- - pjsip
diff --git a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
deleted file mode 100644
index 1c81712..0000000
--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
+++ /dev/null
@@ -1,261 +0,0 @@
-testinfo:
- summary: 'Ensure NOTIFY bodies for pidf+xml subscriptions are correct.'
- description: |
- 'A SIPp instance subscribes to "bob" using pidf+xml. Upon the
- first TestEvent indicating that there is an active subscription, the
- state of "Custom:bob" is changed. Each AMI event indicating that a
- state change occurred triggers another state change until all states
- have been set. The SIPp scenario expects to receive a NOTIFY message
- for each state and simply responds to them.
-
- A test module is used to verify each NOTIFY body that it finds while
- listening for SIP packets. The module parses the body and verifies the
- tags, attributes, and text for each element using the specified
- configuration. If the body is not able to be parsed(IE. malformed XML)
- or any component of the body does not match what is expected, the test
- fails.'
-
-properties:
- minversion: ['13.19.0', '15.2.0']
- dependencies:
- - buildoption: 'TEST_FRAMEWORK'
- - sipp :
- version : 'v3.0'
- - python: 'twisted'
- - python: 'starpy'
- - python: 'yappcap'
- - asterisk: 'res_pjsip'
- - asterisk: 'res_pjsip_exten_state'
- - asterisk: 'res_pjsip_pidf_body_generator'
- tags:
- - pjsip
-
-test-modules:
- add-relative-to-search-path: ['..']
- test-object:
- config-section: sipp-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: test-config
- typename: 'presence.BodyCheck'
- -
- config-section: ami-config
- typename: 'pluggable_modules.EventActionModule'
-
-sipp-config:
- reactor-timeout: 30
- fail-on-any: True
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'subscribe.xml', '-p': '5061'},
- 'ordered-args': ['-timeout_error'] }
-
-test-config:
- # Expected number of NOTIFY messages with the expected body type.
- expected_notifies: '7'
- # Expected body type.
- expected_body_type: 'pidf'
- # Expected body.
- expected_body:
- # Expected namespaces for PIDF bodies.
- namespaces:
- default: 'urn:ietf:params:xml:ns:pidf'
- pp: 'urn:ietf:params:xml:ns:pidf:data-model'
- ep: 'urn:ietf:params:xml:ns:pidf:rpid'
- # All expected element tag names for PIDF bodies.
- tags:
- ['presence', 'note', 'tuple', 'status', 'basic', 'contact',
- 'pp:person', 'ep:activities', 'ep:on-the-phone']
- # Regex patterns for element attributes for each body in order. Some
- # attribute values of elements differ for each body depending on the
- # body type and state changes. Therefore we list them in the order that
- # matches the state changes. For this test the attribute values should
- # be the same for all bodies.
- attributes:
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- -
- presence:
- entity: '^sip:bob at 127.0.0.1(:5060)?$'
- tuple:
- id: '^bob$'
- contact:
- priority: '^1$'
- # Regex patterns for element text for each body in order. Some text
- # of elements differ for each body depending on the body type and state
- # changes. Therefore we list them in the order that matches the state
- # changes.
- text:
- -
- note: 'Ready'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'Ringing'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'On the phone'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'On hold'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'On the phone'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'Unavailable'
- basic: 'closed'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
- -
- note: 'Ready'
- basic: 'open'
- contact: '^sip:alice at 127.0.0.1(:5060)?$'
-
-ami-config:
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'TestEvent'
- State: 'SUBSCRIPTION_STATE_SET'
- StateText: 'ACTIVE'
- Endpoint: 'alice'
- count: '>1'
- trigger-on-count: True
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'RINGING'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Ringing'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'INUSE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'InUse'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'ONHOLD'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Hold'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'BUSY'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Busy'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'UNAVAILABLE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Unavailable'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'NOT_INUSE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Idle'
- count: '1'
diff --git a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
deleted file mode 100644
index a7cc47f..0000000
--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
+++ /dev/null
@@ -1,265 +0,0 @@
-testinfo:
- summary: 'Ensure NOTIFY bodies for xpidf+xml subscriptions are correct.'
- description: |
- 'A SIPp instance subscribes to "bob" using xpidf+xml. Upon the
- first TestEvent indicating that there is an active subscription, the
- state of "Custom:bob" is changed. Each AMI event indicating that a
- state change occurred triggers another state change until all states
- have been set. The SIPp scenario expects to receive a NOTIFY message
- for each state and simply responds to them.
-
- A test module is used to verify each NOTIFY body that it finds while
- listening for SIP packets. The module parses the body and verifies the
- tags, attributes, and text for each element using the specified
- configuration. If the body is not able to be parsed(IE. malformed XML)
- or any component of the body does not match what is expected, the test
- fails.'
-
-properties:
- minversion: ['13.19.0', '15.2.0']
- dependencies:
- - buildoption: 'TEST_FRAMEWORK'
- - sipp :
- version : 'v3.0'
- - python: 'twisted'
- - python: 'starpy'
- - python: 'yappcap'
- - asterisk: 'res_pjsip'
- - asterisk: 'res_pjsip_exten_state'
- - asterisk: 'res_pjsip_xpidf_body_generator'
- tags:
- - pjsip
-
-test-modules:
- add-relative-to-search-path: ['..']
- test-object:
- config-section: sipp-config
- typename: 'sipp.SIPpTestCase'
- modules:
- -
- config-section: test-config
- typename: 'presence.BodyCheck'
- -
- config-section: ami-config
- typename: 'pluggable_modules.EventActionModule'
-
-sipp-config:
- reactor-timeout: 30
- fail-on-any: True
- test-iterations:
- -
- scenarios:
- - { 'key-args': {'scenario': 'subscribe.xml', '-p': '5061'},
- 'ordered-args': ['-timeout_error'] }
-
-test-config:
- # Expected number of NOTIFY messages with the expected body type.
- expected_notifies: '7'
- # Expected body type.
- expected_body_type: 'xpidf'
- # Expected body.
- expected_body:
- # All expected element tag names for XPIDF bodies.
- tags:
- ['presence', 'presentity', 'atom', 'address', 'status',
- 'msnsubstatus']
- # Regex patterns for element attributes for each body in order. Some
- # attribute values of elements differ for each body depending on the
- # body type and state changes. Therefore we list them in the order that
- # matches the state changes. For this test some attribute values will
- # differ between all bodies.
- attributes:
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^open$'
- msnsubstatus:
- substatus: '^online$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^inuse$'
- msnsubstatus:
- substatus: '^onthephone$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^inuse$'
- msnsubstatus:
- substatus: '^onthephone$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^inuse$'
- msnsubstatus:
- substatus: '^onthephone$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^inuse$'
- msnsubstatus:
- substatus: '^onthephone$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^closed$'
- msnsubstatus:
- substatus: '^offline$'
- -
- presentity:
- uri: '^sip:bob at 127.0.0.1(:5060)?;method=SUBSCRIBE$'
- atom:
- atomid: '^[a-z0-9-]+$'
- id: '^bob$'
- address:
- uri: '^sip:alice at 127.0.0.1(:5060)?;user=ip$'
- priority: '^0\.80000$'
- status:
- status: '^open$'
- msnsubstatus:
- substatus: '^online$'
-
-ami-config:
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'TestEvent'
- State: 'SUBSCRIPTION_STATE_SET'
- StateText: 'ACTIVE'
- Endpoint: 'alice'
- count: '>1'
- trigger-on-count: True
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'RINGING'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Ringing'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'INUSE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'InUse'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'ONHOLD'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Hold'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'BUSY'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Busy'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'UNAVAILABLE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Unavailable'
- count: '1'
- ami-actions:
- action:
- action: 'SetVar'
- variable: 'DEVICE_STATE(Custom:bob)'
- value: 'NOT_INUSE'
- -
- ami-events:
- id: '0'
- conditions:
- match:
- Event: 'ExtensionStatus'
- Exten: 'bob'
- Hint: 'Custom:bob'
- StatusText: 'Idle'
- count: '1'
--
To view, visit https://gerrit.asterisk.org/8043
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: 14
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5fc45029a2a28542290f5548a84ef7f484fa6ae4
Gerrit-Change-Number: 8043
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180124/5e66f19c/attachment-0001.html>
More information about the asterisk-code-review
mailing list