[asterisk-dev] [Code Review] 3021: Testsuite: Test that DIRECTORY_RESULT is set to the expected value under a set of test cases

Jonathan Rose reviewboard at asterisk.org
Mon Dec 2 11:21:37 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3021/
-----------------------------------------------------------

(Updated Dec. 2, 2013, 11:21 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Matt Jordan, Mark Michelson, and rmudgett.


Changes
-------

Committed in revision 4392


Repository: testsuite


Description
-------

One test for each of the DIRECTORY_RESULT values except FAILED (since failed isn't actually intended to be possible under normal running conditions... as far as I know)

Uses the app test framework.


Diffs
-----

  /asterisk/trunk/tests/apps/tests.yaml 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/test-config.yaml 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/run-test 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/configs/ast2/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/configs/ast2/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/configs/ast1/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_operator_exit/configs/ast1/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/test-config.yaml 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/run-test 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/configs/ast2/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/configs/ast2/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/configs/ast1/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_context_operator_exit/configs/ast1/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/test-config.yaml 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/run-test 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/configs/ast2/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/configs/ast2/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/configs/ast1/sip.conf 4344 
  /asterisk/trunk/tests/apps/directory_attendant_exit/configs/ast1/extensions.conf 4344 
  /asterisk/trunk/tests/apps/directory/tests.yaml PRE-CREATION 
  /asterisk/trunk/tests/apps/directory/directory_result/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/apps/directory/directory_result/configs/ast1/users.conf PRE-CREATION 
  /asterisk/trunk/tests/apps/directory/directory_result/configs/ast1/extensions.conf PRE-CREATION 

Diff: https://reviewboard.asterisk.org/r/3021/diff/


Testing
-------

Ran tests, confirmed that each event is issued and that the flow through the dialplan of the main test channel is consistent with each test case and issuing the correct user events.


Thanks,

Jonathan Rose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131202/78eaf1b6/attachment.html>


More information about the asterisk-dev mailing list