No subject


Fri Sep 2 03:59:05 CDT 2011


tests and clean up the BridgeTestCase code because it seems pretty
awful at the moment.


Added:
    asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf   (with props)
    asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml   (with props)
Modified:
    asterisk/team/mmichelson/bridge-tests/lib/python/asterisk/BridgeTestCase.py

Modified: asterisk/team/mmichelson/bridge-tests/lib/python/asterisk/BridgeTestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/lib/python/asterisk/BridgeTestCase.py?view=diff&rev=3369&r1=3368&r2=3369
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/lib/python/asterisk/BridgeTestCase.py (original)
+++ asterisk/team/mmichelson/bridge-tests/lib/python/asterisk/BridgeTestCase.py Thu Jul 26 15:11:26 2012
@@ -95,6 +95,7 @@
 
     def run_tests(self):
         if self.current_run < len(self.test_runs):
+            self.reset_timeout()
             self.start_test(self.test_runs[self.current_run])
         else:
             LOGGER.info("All calls executed, stopping")

Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf?view=auto&rev=3369
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf Thu Jul 26 15:11:26 2012
@@ -1,0 +1,11 @@
+[default]
+
+exten => alice_atxfer,1,Dial(SIP/test_call at bob,,Th)
+same => n,Hangup()
+
+exten => alice_atxfer2,1,Set(BRIDGE_FEATURES=T)
+same => n,Dial(SIP/test_call at bob,,h)
+same => n,Hangup()
+
+exten => bob_atxfer,1,Dial(SIP/test_call at bob,,tH)
+same => n,Hangup()

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml?view=auto&rev=3369
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml Thu Jul 26 15:11:26 2012
@@ -1,0 +1,57 @@
+testinfo:
+    summary: 'Test the attended transfer feature'
+    description: |
+        'Set up a bridge between two endpoints and check that the DTMF attended transfer
+        feature is detected properly. This test does not actually attempt to complete the
+        transfer. It just checks feature detection'
+
+test-modules:
+    test-object:
+        config-section: bridge-config
+        typename: 'BridgeTestCase.BridgeTestCase'
+
+bridge-config:
+    -
+        extension: 'alice_atxfer'
+        hangup: 'alice'
+        features:
+            -
+                who: 'bob'
+                what: 'atxfer'
+                success: 'false'
+            -
+                who: 'alice'
+                what: 'atxfer'
+                success: 'true'
+    -
+        extension: 'alice_atxfer2'
+        hangup: 'alice'
+        features:
+            -
+                who: 'bob'
+                what: 'atxfer'
+                success: 'false'
+            -
+                who: 'alice'
+                what: 'atxfer'
+                success: 'true'
+    -
+        extension: 'bob_atxfer'
+        hangup: 'alice'
+        features:
+            -
+                who: 'alice'
+                what: 'atxfer'
+                success: 'false'
+            -
+                who: 'bob'
+                what: 'atxfer'
+                success: 'true'
+
+properties:
+    minversion: '11.0.0'
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'
+    tags:
+        - bridge

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list