mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
tests: Fix for Doxygen.
ASTERISK-29741 Change-Id: I012d72b237bda2ef2d0f86307dfc6dc7add4b54b
This commit is contained in:
committed by
George Joseph
parent
09bac49a01
commit
1a9df88d98
@@ -240,7 +240,7 @@ static AST_VECTOR(, enum ast_device_state) result_states;
|
|||||||
/*! \brief The current device state for our device state provider */
|
/*! \brief The current device state for our device state provider */
|
||||||
static enum ast_device_state current_device_state;
|
static enum ast_device_state current_device_state;
|
||||||
|
|
||||||
/*! \brief Clear out all recorded device states in \ref result_states */
|
/*! \brief Clear out all recorded device states in \p result_states */
|
||||||
static void clear_result_states(void)
|
static void clear_result_states(void)
|
||||||
{
|
{
|
||||||
ast_mutex_lock(&update_lock);
|
ast_mutex_lock(&update_lock);
|
||||||
|
@@ -51,7 +51,7 @@ struct naptr_record {
|
|||||||
* the data ourselves and have sized the buffer to be way larger
|
* the data ourselves and have sized the buffer to be way larger
|
||||||
* than necessary for the tests.
|
* than necessary for the tests.
|
||||||
*
|
*
|
||||||
* \param string The NAPTR record to encode
|
* \param dns_record The NAPTR record to encode
|
||||||
* \param buf The buffer to write the record into
|
* \param buf The buffer to write the record into
|
||||||
* \return The number of bytes written to the buffer
|
* \return The number of bytes written to the buffer
|
||||||
*/
|
*/
|
||||||
|
@@ -55,7 +55,7 @@ static int received_user_events;
|
|||||||
/*! \brief The number of user events we expect for this test */
|
/*! \brief The number of user events we expect for this test */
|
||||||
static int expected_user_events;
|
static int expected_user_events;
|
||||||
|
|
||||||
/*! \brief Predicate for the \ref test_message_handler receiving a message */
|
/*! \brief Predicate for the \ref test_msg_handler receiving a message */
|
||||||
static int handler_received_message;
|
static int handler_received_message;
|
||||||
|
|
||||||
/*! \brief Condition wait variable for all dialplan user events being received */
|
/*! \brief Condition wait variable for all dialplan user events being received */
|
||||||
|
@@ -283,9 +283,9 @@
|
|||||||
} } while (0)
|
} } while (0)
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \internal .
|
* \internal
|
||||||
* \brief Playback a message on a channel or callback function .
|
* \brief Playback a message on a channel or callback function
|
||||||
* .
|
*
|
||||||
* \note The channel name must be test_channel.
|
* \note The channel name must be test_channel.
|
||||||
* \note Fail the test if the message could not be played.
|
* \note Fail the test if the message could not be played.
|
||||||
*/
|
*/
|
||||||
@@ -411,7 +411,7 @@ static void test_vm_api_destroy_mock_snapshot(struct ast_vm_msg_snapshot *snapsh
|
|||||||
* \internal
|
* \internal
|
||||||
* \brief Make a voicemail mailbox folder based on the values provided in a message snapshot
|
* \brief Make a voicemail mailbox folder based on the values provided in a message snapshot
|
||||||
*
|
*
|
||||||
* \param snapshot The snapshot containing the information to create the folder from
|
* \param folder_path The snapshot containing the information to create the folder from
|
||||||
*
|
*
|
||||||
* \returns 0 on success
|
* \returns 0 on success
|
||||||
* \returns 1 on failure
|
* \returns 1 on failure
|
||||||
@@ -615,10 +615,10 @@ static void test_vm_api_remove_all_messages(void)
|
|||||||
* This creates 4 voicemails, stores them on the file system, and creates snapshot objects
|
* This creates 4 voicemails, stores them on the file system, and creates snapshot objects
|
||||||
* representing them for expected/actual value comparisons in the array test_snapshots.
|
* representing them for expected/actual value comparisons in the array test_snapshots.
|
||||||
*
|
*
|
||||||
* test_snapshots[0] => in test_vm_1234@default, folder INBOX, message 0
|
* test_snapshots[0] => in test_vm_1234\@default, folder INBOX, message 0
|
||||||
* test_snapshots[1] => in test_vm_1234@default, folder Old, message 0
|
* test_snapshots[1] => in test_vm_1234\@default, folder Old, message 0
|
||||||
* test_snapshots[2] => in test_vm_2345@default, folder INBOX, message 0
|
* test_snapshots[2] => in test_vm_2345\@default, folder INBOX, message 0
|
||||||
* test_snapshots[3] => in test_vm_2345@default, folder Old, message 1
|
* test_snapshots[3] => in test_vm_2345\@default, folder Old, message 1
|
||||||
*
|
*
|
||||||
* \returns 0 on success
|
* \returns 0 on success
|
||||||
* \returns 1 on failure
|
* \returns 1 on failure
|
||||||
|
Reference in New Issue
Block a user