-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3769/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-24036
https://issues.asterisk.org/jira/browse/ASTERISK-24036
Repository: testsuite
Description
-------
This patch adds tests to the Asterisk Test Suite for copying a stored
recording. Two tests are added for the operation, nominal and off-nominal.
* nominal - makes a live recording and finishes it. When finished, it takes the
resulting stored recording and copies it. The resulting stored recording object
is checked to see if it has the expected name and format.
* off nominal - makes a live recording and finishes it. When finished, it makes
a copy in the same fashion as nominal. Two off nominal checks are then made:
- an attempt to copy the recording again to the same location. This verifies
that we get a 409.
- an attempt to copy an unknown stored recording. This verifies that we get a
404.
Diffs
-----
/asterisk/trunk/tests/rest_api/recording/tests.yaml 5242
/asterisk/trunk/tests/rest_api/recording/stored/tests.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/tests.yaml PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/off-nominal/test-config.yaml
PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/off-nominal/recording.py
PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/off-nominal/configs/ast1/extensions.conf
PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/nominal/test-config.yaml
PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/nominal/recording.py
PRE-CREATION
/asterisk/trunk/tests/rest_api/recording/stored/copy/nominal/configs/ast1/extensions.conf
PRE-CREATION
Diff: https://reviewboard.asterisk.org/r/3769/diff/
Testing
-------
Thanks,
Matt Jordan
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev