[asterisk-commits] mjordan: testsuite/asterisk/trunk r2289 - in /asterisk/trunk/tests/apps/voice...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 15 12:20:03 CDT 2011
Author: mjordan
Date: Thu Sep 15 12:20:00 2011
New Revision: 2289
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2289
Log:
Added additional tests for VMAuthenticate
These tests exercise some of the off nominal paths for VMAuthenticate,
as well as its other options (dialing out to the '*' extension)
Added:
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf
- copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/voicemail.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/voicemail.conf
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf
- copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/run-test
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/run-test
asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/test-config.yaml
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf
- copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/voicemail.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/voicemail.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/extensions.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/run-test
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/run-test
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf
- copied, changed from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/voicemail.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/voicemail.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/
- copied from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/extensions.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/extensions.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/run-test
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/run-test
asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
- copied unchanged from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
Modified:
asterisk/trunk/tests/apps/voicemail/tests.yaml
Copied: asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf?view=diff&rev=2289&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf&r2=2289
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast1/extensions.conf Thu Sep 15 12:20:00 2011
@@ -9,13 +9,11 @@
same => n,Verbose(1, Testing transfer of user to the attendant extension)
same => n,VMAuthenticate()
same => n,UserEvent(TestResult,result: fail,status: Failed to transition user to the a extension)
- same => n,Wait(5)
same => n,Hangup()
exten => a,1,NoOp()
same => n,Verbose(1, Successfully entered the attendant extension)
same => n,UserEvent(TestResult,result: pass,status: Successfully entered the a extension)
- same => n,Wait(2)
same => n,Hangup()
Copied: asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf?view=diff&rev=2289&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf&r2=2289
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_extensions/configs/ast2/extensions.conf Thu Sep 15 12:20:00 2011
@@ -12,13 +12,13 @@
same => n,Wait(1)
same => n,Verbose(1, Sending DTMF signal for transfer)
same => n,SendDTMF(*)
- same => n,Wait(5)
+ same => n,Wait(2)
same => n,Hangup()
exten => transfer,1,NoOp()
same => n,Wait(5)
same => n,Verbose(1, Sending DTMF signal for transfer)
same => n,SendDTMF(*)
- same => n,Wait(5)
+ same => n,Wait(2)
same => n,Hangup()
Copied: asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf?view=diff&rev=2289&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf&r2=2289
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/extensions.conf Thu Sep 15 12:20:00 2011
@@ -9,6 +9,5 @@
same => n,Verbose(1, Testing authentication of user failing to enter mailbox)
same => n,VMAuthenticate()
same => n,UserEvent(TestResult,result: fail,status: Authenticated invalid user)
- same => n,Wait(5)
same => n,Hangup()
Copied: asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf (from r2091, asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf)
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf?view=diff&rev=2289&p1=asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf&r1=2091&p2=asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf&r2=2289
==============================================================================
--- asterisk/team/mjordan/voicemail_tests_082811/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/extensions.conf Thu Sep 15 12:20:00 2011
@@ -9,7 +9,6 @@
same => n,Verbose(1, Testing authentication of user failing to enter a valid password after a valid mailbox)
same => n,VMAuthenticate()
same => n,UserEvent(TestResult,result: fail,status: Authenticated invalid password)
- same => n,Wait(5)
same => n,Hangup()
exten => 9001,1,NoOp()
@@ -17,5 +16,4 @@
same => n,Verbose(1, Testing authentication of user failing to enter a valid password)
same => n,VMAuthenticate(1234 at default)
same => n,UserEvent(TestResult,result: fail,status: Authenticated invalid password)
- same => n,Wait(5)
same => n,Hangup()
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=2289&r1=2288&r2=2289
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/tests.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/tests.yaml Thu Sep 15 12:20:00 2011
@@ -8,9 +8,9 @@
# - test: 'leave_voicemail_external_notification'
- test: 'func_vmcount'
- test: 'authenticate_nominal'
-# - test: 'authenticate_invalid_mailbox'
-# - test: 'authenticate_invalid_password'
-# - test: 'authenticate_extensions'
+ - test: 'authenticate_invalid_mailbox'
+ - test: 'authenticate_invalid_password'
+ - test: 'authenticate_extensions'
- test: 'check_voicemail_nominal'
# - test: 'check_voicemail_envelope'
# - test: 'check_voicemail_delete'
More information about the asterisk-commits
mailing list