[Asterisk-code-review] testsuite: Move 'headers' test to dialplan functions (testsuite[master])

George Joseph asteriskteam at digium.com
Thu May 11 16:58:53 CDT 2017


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/5612 )

Change subject: testsuite:  Move 'headers' test to dialplan_functions
......................................................................


testsuite:  Move 'headers' test to dialplan_functions

The 'headers' test really was a test of the PJSIP_HEADER
diaplan function.

Prep for a real 'headers' directory that has tests for proper
header creation.

Change-Id: Id4c8cad55f01d10f1e25ad6cc97f0f96cabddde7
---
R tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/extensions.conf
R tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/pjsip.conf
R tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/inbound-headers.xml
R tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-headers.xml
R tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-recv-headers.xml
R tests/channels/pjsip/dialplan_functions/pjsip_header/test-config.yaml
M tests/channels/pjsip/dialplan_functions/tests.yaml
M tests/channels/pjsip/tests.yaml
8 files changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Jenkins2: Approved for Submit
  Joshua Colp: Looks good to me, approved



diff --git a/tests/channels/pjsip/headers/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/extensions.conf
similarity index 100%
rename from tests/channels/pjsip/headers/configs/ast1/extensions.conf
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/extensions.conf
diff --git a/tests/channels/pjsip/headers/configs/ast1/pjsip.conf b/tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/pjsip.conf
similarity index 100%
rename from tests/channels/pjsip/headers/configs/ast1/pjsip.conf
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/configs/ast1/pjsip.conf
diff --git a/tests/channels/pjsip/headers/sipp/inbound-headers.xml b/tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/inbound-headers.xml
similarity index 100%
rename from tests/channels/pjsip/headers/sipp/inbound-headers.xml
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/inbound-headers.xml
diff --git a/tests/channels/pjsip/headers/sipp/outbound-headers.xml b/tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-headers.xml
similarity index 100%
rename from tests/channels/pjsip/headers/sipp/outbound-headers.xml
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-headers.xml
diff --git a/tests/channels/pjsip/headers/sipp/outbound-recv-headers.xml b/tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-recv-headers.xml
similarity index 100%
rename from tests/channels/pjsip/headers/sipp/outbound-recv-headers.xml
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/sipp/outbound-recv-headers.xml
diff --git a/tests/channels/pjsip/headers/test-config.yaml b/tests/channels/pjsip/dialplan_functions/pjsip_header/test-config.yaml
similarity index 100%
rename from tests/channels/pjsip/headers/test-config.yaml
rename to tests/channels/pjsip/dialplan_functions/pjsip_header/test-config.yaml
diff --git a/tests/channels/pjsip/dialplan_functions/tests.yaml b/tests/channels/pjsip/dialplan_functions/tests.yaml
index 1767366..86623a8 100644
--- a/tests/channels/pjsip/dialplan_functions/tests.yaml
+++ b/tests/channels/pjsip/dialplan_functions/tests.yaml
@@ -6,3 +6,4 @@
     - test: 'pjsip_contact'
     - test: 'pjsip_session_refresh'
     - test: 'chan_is_avail'
+    - test: 'pjsip_headers'
diff --git a/tests/channels/pjsip/tests.yaml b/tests/channels/pjsip/tests.yaml
index 7de1fdd..64b3ec0 100644
--- a/tests/channels/pjsip/tests.yaml
+++ b/tests/channels/pjsip/tests.yaml
@@ -33,7 +33,6 @@
     - test: 'forward_loop'
     - test: 'handle_options_request'
     - test: 'handle_options_request_drop_options'
-    - test: 'headers'
     - test: 'hold'
     - test: 'hold_ice'
     - test: 'hold_inactive'

-- 
To view, visit https://gerrit.asterisk.org/5612
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4c8cad55f01d10f1e25ad6cc97f0f96cabddde7
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list