[asterisk-bugs] [JIRA] (ASTERISK-23854) Tests/pbx/dialplan: Enhance test with While/ExitWhile tests

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Jun 11 09:52:56 CDT 2014


Matt Jordan created ASTERISK-23854:
--------------------------------------

             Summary: Tests/pbx/dialplan: Enhance test with While/ExitWhile tests
                 Key: ASTERISK-23854
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23854
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Tests/testsuite
            Reporter: Matt Jordan


The {{tests/pbx/dialplan}} test has place holders for additional tests. One of these place holders is for the {{While}}/{{ExitWhile}} dialplan applications.

Add a 'test' into this existing test that verifies:

* A constructed {{While}} loop will iterate for an expected number of times and exit when the condition no longer matches the expected number of times it should iterate
* A constructed {{While}} loop can use the {{ContinueWhile}} application to ignore subsequent processing and return to the top of the loop
* A constructed {{While}} loop can use the {{ExitWhile}} dialplan application to exit before the test condition evaluates to True



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list