[svn-commits] kmoore: testsuite/asterisk/trunk r5176 - /asterisk/trunk/tests/bridge/simple_...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 26 09:50:53 CDT 2014


Author: kmoore
Date: Thu Jun 26 09:50:47 2014
New Revision: 5176

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5176
Log:
Testsuite: Add check for bridge technology in 13+

The "bridge_technology" extra field key was addded to BRIDGE_ENTER and
BRIDGE_EXIT events for Asterisk 13. Add checks for this new field.

Modified:
    asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml

Modified: asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml?view=diff&rev=5176&r1=5175&r2=5176
==============================================================================
--- asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml Thu Jun 26 09:50:47 2014
@@ -24,6 +24,10 @@
             minversion: '12.0.0'
             config-section: 'ami-uut-v12'
             typename: 'ami.AMIEventModule'
+        -
+            minversion: '13.0.0'
+            config-section: 'cel-13-config'
+            typename: 'ami.AMIEventModule'
 
 bridge-config:
   test-runs:
@@ -366,6 +370,60 @@
             -
                 match:
                     EventName: 'CHAN_END'
+
+cel-13-config:
+    -
+        type: 'cel'
+        conditions:
+            match:
+                Channel: '.*/bob-.*'
+        requirements:
+            # First iteration
+            -
+                id: 'bob-enter-bridge-one'
+                match:
+                    EventName: 'BRIDGE_ENTER'
+            -
+                match:
+                    EventName: 'BRIDGE_EXIT'
+            # Second iteration
+            -
+                match:
+                    EventName: 'BRIDGE_ENTER'
+            -
+                match:
+                    EventName: 'BRIDGE_EXIT'
+    -
+        type: 'cel'
+        conditions:
+            match:
+                Channel: '.*/alice-.*'
+        requirements:
+            # First iteration
+            -
+                id: 'alice-enter-bridge-one'
+                match:
+                    EventName: 'BRIDGE_ENTER'
+                    extra:
+                        bridge_technology: 'simple_bridge'
+            -
+                match:
+                    EventName: 'BRIDGE_EXIT'
+                    extra:
+                        bridge_technology: 'simple_bridge'
+            # Second iteration
+            -
+                id: 'alice-bridge-enter-two'
+                match:
+                    EventName: 'BRIDGE_ENTER'
+                    extra:
+                        bridge_technology: 'simple_bridge'
+            -
+                match:
+                    EventName: 'BRIDGE_EXIT'
+                    extra:
+                        bridge_technology: 'simple_bridge'
+
 properties:
     minversion: '11.0.0'
     dependencies:




More information about the svn-commits mailing list