[asterisk-commits] mjordan: testsuite/asterisk/trunk r2376 - in /asterisk/trunk/tests/apps/voice...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 20 08:58:10 CDT 2011


Author: mjordan
Date: Tue Sep 20 08:58:07 2011
New Revision: 2376

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2376
Log:
Initial prep of final voicemail tests for inclusion in testsuite (not enabled yet)

Added:
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/voicemail.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast2/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast2/extensions.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/voicemail.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/extensions.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/voicemail.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/extensions.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/voicemail.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/extensions.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/voicemail.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/
      - copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/extensions.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf
      - copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
      - copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/configs/ast1/extensions.conf Tue Sep 20 08:58:07 2011
@@ -8,7 +8,6 @@
 exten => 8052,1,NoOp()
 	same => n,VoiceMailMain()
 	same => n,UserEvent(TestResult,result: pass,status: successfully exited VoiceMailMain)
-	same => n,Wait(2)
 	same => n,Hangup()
 
 exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/run-test)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/run-test&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test Tue Sep 20 08:58:07 2011
@@ -132,8 +132,8 @@
             message = event['message']
 
             if message == 'instructions':
-                """ Tell it to save the message """
-                self.voiceMailTest.sendDTMF("9")
+                """ Exit voicemail """
+                self.voiceMailTest.sendDTMF("#")
             elif message == 'vm-nomore':
                 """ Exit voicemail """
                 self.voiceMailTest.sendDTMF("#")

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/test-config.yaml)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/test-config.yaml&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml Tue Sep 20 08:58:07 2011
@@ -6,6 +6,33 @@
 
 properties:
     minversion: '1.8'
+    buildoption: 'TEST_FRAMEWORK'
+    testconditions:
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPostTestCondition'
+            type: 'Post'
+            ignoredThreads:
+                - 'netconsole'
+                - 'pbx_thread'
+            relatedCondition: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPostTestCondition'
+            type: 'Post'
+            sipHistoryRequirements:
+                - 'NewChan'
+                - 'Hangup'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Post'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/extensions.conf Tue Sep 20 08:58:07 2011
@@ -8,7 +8,6 @@
 exten => 8052,1,NoOp()
 	same => n,VoiceMailMain()
 	same => n,UserEvent(TestResult,result: fail,status: in this test, the user should have hung up)
-	same => n,Wait(2)
 	same => n,Hangup()
 
 exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/run-test)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/run-test&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test Tue Sep 20 08:58:07 2011
@@ -131,8 +131,8 @@
             message = event['message']
 
             if message == 'instructions':
-                """ Tell it to save the message """
-                self.voiceMailTest.sendDTMF("9")
+                """ Exit voicemail """
+                self.voiceMailTest.sendDTMF("#")
             elif message == 'vm-nomore':
                 """ Exit voicemail """
                 self.voiceMailTest.sendDTMF("#")

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml Tue Sep 20 08:58:07 2011
@@ -7,6 +7,33 @@
 
 properties:
     minversion: '1.8'
+    buildoption: 'TEST_FRAMEWORK'
+    testconditions:
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPostTestCondition'
+            type: 'Post'
+            ignoredThreads:
+                - 'netconsole'
+                - 'pbx_thread'
+            relatedCondition: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPostTestCondition'
+            type: 'Post'
+            sipHistoryRequirements:
+                - 'NewChan'
+                - 'Hangup'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Post'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/extensions.conf Tue Sep 20 08:58:07 2011
@@ -8,7 +8,6 @@
 exten => 8052,1,NoOp()
 	same => n,VoiceMailMain()
 	same => n,UserEvent(TestResult,result: pass,status: successfully exited VoiceMailMain)
-	same => n,Wait(2)
 	same => n,Hangup()
 
 exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test Tue Sep 20 08:58:07 2011
@@ -130,8 +130,8 @@
             message = event['message']
 
             if message == 'instructions':
-                """ Tell it to save the message """
-                self.voiceMailTest.sendDTMF("9")
+                """ Exit voicemail """
+                self.voiceMailTest.sendDTMF("#")
             elif message == 'vm-nomore':
                 """ Exit voicemail """
                 self.voiceMailTest.sendDTMF("#")

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml Tue Sep 20 08:58:07 2011
@@ -6,6 +6,33 @@
 
 properties:
     minversion: '1.8'
+    buildoption: 'TEST_FRAMEWORK'
+    testconditions:
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPostTestCondition'
+            type: 'Post'
+            ignoredThreads:
+                - 'netconsole'
+                - 'pbx_thread'
+            relatedCondition: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPostTestCondition'
+            type: 'Post'
+            sipHistoryRequirements:
+                - 'NewChan'
+                - 'Hangup'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Post'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/extensions.conf Tue Sep 20 08:58:07 2011
@@ -8,7 +8,6 @@
 exten => _8XXX,1,NoOp()
 	same => n,VoiceMailMain()
 	same => n,UserEvent(TestResult,result: fail,status: in this test, the user should have hung up)
-	same => n,Wait(2)
 	same => n,Hangup()
 
 exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml Tue Sep 20 08:58:07 2011
@@ -7,6 +7,33 @@
 
 properties:
     minversion: '1.8'
+    buildoption: 'TEST_FRAMEWORK'
+    testconditions:
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPostTestCondition'
+            type: 'Post'
+            ignoredThreads:
+                - 'netconsole'
+                - 'pbx_thread'
+            relatedCondition: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPostTestCondition'
+            type: 'Post'
+            sipHistoryRequirements:
+                - 'NewChan'
+                - 'Hangup'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Post'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/extensions.conf Tue Sep 20 08:58:07 2011
@@ -21,7 +21,6 @@
 exten => 8052,1,NoOp()
 	same => n,VoiceMailMain(1234 at default)
 	same => n,UserEvent(TestResult,result: pass,status: successfully exited VoiceMailMain)
-	same => n,Wait(2)
 	same => n,Hangup()
 
 exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test Tue Sep 20 08:58:07 2011
@@ -128,8 +128,8 @@
             message = event['message']
 
             if message == 'instructions':
-                """ Tell it to save the message """
-                self.voiceMailTest.sendDTMF("7")
+                """ Exit voicemail """
+                self.voiceMailTest.sendDTMF("#")
             elif message == 'vm-nomore':
                 """ Exit voicemail """
                 self.voiceMailTest.sendDTMF("#")
@@ -155,9 +155,7 @@
     def handleStateChange(self, ami, event):
         state = event['state']
 
-        if state == 'SAVEMSG':
-            self.changeState(SaveMessageTestState(self.controller, self.voiceMailTest))
-        elif state == 'PLAYBACK':
+        if state == 'PLAYBACK':
             message = event['message']
 
             if message == 'instructions':

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml?view=diff&rev=2376&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml&r2=2376
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml Tue Sep 20 08:58:07 2011
@@ -10,6 +10,33 @@
 
 properties:
     minversion: '1.8'
+    buildoption: 'TEST_FRAMEWORK'
+    testconditions:
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.ThreadTestCondition.ThreadPostTestCondition'
+            type: 'Post'
+            ignoredThreads:
+                - 'netconsole'
+                - 'pbx_thread'
+            relatedCondition: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPreTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.SipDialogTestCondition.SipDialogPostTestCondition'
+            type: 'Post'
+            sipHistoryRequirements:
+                - 'NewChan'
+                - 'Hangup'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Pre'
+        -
+            name: 'asterisk.LockTestCondition.LockTestCondition'
+            type: 'Post'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'




More information about the asterisk-commits mailing list