[Home]

Summary:ASTERISK-23854: Tests/pbx/dialplan: Enhance test with While/ExitWhile tests
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-11 09:52:23Date Closed:2014-06-27 09:00:17
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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
Comments: