[Home]

Summary:ASTERISK-23890: Testsuite: Update the pbx dialplan test to cover Exec/TryExec
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-13 13:40:15Date Closed:2014-06-27 09:00:18
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using the existing {{tests/pbx/dialplan}} test, update it to cover execution of {{Exec}} and {{TryExec}}.
# {{Exec}} should be tested by having it execute an application as a variable passed to it - such as UserEvent. The expected events should be updated to expect a UserEvent that is emitted by the Exec dialplan application.
# {{TryExec}} should be tested by testing both a valid and an invalid dialplan application. The test should be able to tell when the valid application executed, and that the invalid application did not execute.
Comments: