[asterisk-dev] [Code Review] 3118: Testsuite: Add tests for ARI control of external MWI (ARI mailboxes resource)

Jonathan Rose reviewboard at asterisk.org
Thu Jan 9 17:40:08 CST 2014


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

(Updated Jan. 9, 2014, 5:40 p.m.)


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


Changes
-------

Fix dependencies and bump the required version to 12.1 (if everything goes according to plan)


Repository: testsuite


Description
-------

Somewhat similar to kharwell's device state tests.

ARI is used to:
* create a couple mailboxes
* confirm that GET can be used to get one mailbox and that it matches expectations
* confirm that GET can be used to get all the mailboxes and that they match expectations
* modify one mailbox
* delete another mailbox
* verify that the mailbox that was deleted is no longer obtained by get
* verify that the mailbox that was modified has the modified state.

The nature of these operations is simple enough that this seemed appropriate to be a single test.


Diffs (updated)
-----

  /asterisk/trunk/tests/rest_api/tests.yaml 4545 
  /asterisk/trunk/tests/rest_api/mailbox/baseline/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/rest_api/mailbox/baseline/mailbox_baseline.py PRE-CREATION 
  /asterisk/trunk/tests/rest_api/mailbox/baseline/configs/ast1/extensions.conf PRE-CREATION 

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


Testing
-------

Ran the test. Varied the expectations from the results to cause failures for each substep.


Thanks,

Jonathan Rose

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


More information about the asterisk-dev mailing list