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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 18 21:34:16 CDT 2011


Author: mjordan
Date: Sun Sep 18 21:34:12 2011
New Revision: 2329

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2329
Log:
Add various options to check voicemail

This adds several tests to the voicemail tests that look at
some of the menu options in VoiceMailMain.

Added:
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast1/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast1/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast1/voicemail.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast2/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast2/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/run-test
      - copied, changed from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf
      - copied, changed from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/voicemail.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast2/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast2/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/run-test
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf
      - copied, changed from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/voicemail.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/run-test
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf
      - copied, changed from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/voicemail.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/run-test
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf
      - copied, changed from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/voicemail.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/voicemail.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast2/
      - copied from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast2/
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast2/extensions.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast2/extensions.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/run-test
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
      - copied unchanged from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
Modified:
    asterisk/trunk/tests/apps/voicemail/tests.yaml

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/run-test (from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/run-test)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/run-test?view=diff&rev=2329&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/run-test&r1=2328&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/run-test&r2=2329
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_callback/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/run-test Sun Sep 18 21:34:12 2011
@@ -43,7 +43,6 @@
 
         if state == 'PLAYBACK':
             message = event['message']
-
             if message == 'vm-password':
                 self.voiceMailTest.sendDTMF(self.userPassword)
         elif state == 'AUTHENTICATED':

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf (from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf?view=diff&rev=2329&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf&r1=2328&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf&r2=2329
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/configs/ast1/extensions.conf Sun Sep 18 21:34:12 2011
@@ -8,7 +8,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_dialout/configs/ast1/extensions.conf (from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf?view=diff&rev=2329&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf&r1=2328&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf&r2=2329
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/extensions.conf Sun Sep 18 21:34:12 2011
@@ -7,7 +7,6 @@
 exten => _X.,1,NoOp()
 	same => n,Verbose(1, TestResult, result: pass,status: successfully dialed out of the VoiceMailMain app,number: ${EXTEN})
 	same => n,UserEvent(TestResult, result: pass,status: successfully dialed out of the VoiceMailMain app,number: ${EXTEN})
-	same => n,Wait(2)
 	same => n,Hangup()
 
 [voicemail]

Copied: asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf (from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf?view=diff&rev=2329&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf&r1=2328&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf&r2=2329
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/extensions.conf Sun Sep 18 21:34:12 2011
@@ -8,7 +8,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_reply/configs/ast1/extensions.conf (from r2328, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf?view=diff&rev=2329&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf&r1=2328&p2=asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf&r2=2329
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/configs/ast1/extensions.conf Sun Sep 18 21:34:12 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)

Modified: asterisk/trunk/tests/apps/voicemail/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/tests.yaml?view=diff&rev=2329&r1=2328&r2=2329
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/tests.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/tests.yaml Sun Sep 18 21:34:12 2011
@@ -12,8 +12,8 @@
     - test: 'authenticate_invalid_password'
     - test: 'authenticate_extensions'
     - test: 'check_voicemail_nominal'
-#    - test: 'check_voicemail_envelope'
-#    - test: 'check_voicemail_delete'
+    - test: 'check_voicemail_envelope'
+    - test: 'check_voicemail_delete'
     - test: 'check_voicemail_new_user'
 #    - test: 'check_voicemail_new_user_hangup'
 #    - test: 'check_voicemail_options_record_busy'
@@ -24,7 +24,7 @@
 #    - test: 'check_voicemail_forward'
 #    - test: 'check_voicemail_forward_hangup'
 #    - test: 'check_voicemail_forward_with_prepend'
-#    - test: 'check_voicemail_callback'
-#    - test: 'check_voicemail_dialout'
-#    - test: 'check_voicemail_reply'
+    - test: 'check_voicemail_callback'
+    - test: 'check_voicemail_dialout'
+    - test: 'check_voicemail_reply'
 #    - test: 'check_voicemail_while_leaving_msg'




More information about the asterisk-commits mailing list