@ -1156,7 +1156,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_remove)
{
{
const char * inbox_msg_id ;
const char * inbox_msg_id ;
const char * multi_msg_ids [ 2 ] ;
const char * multi_msg_ids [ 2 ] ;
const char * empty_msg_ids [ ] = { } ;
const char * empty_msg_ids = " " ;
switch ( cmd ) {
switch ( cmd ) {
case TEST_INIT :
case TEST_INIT :
@ -1207,7 +1207,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_remove)
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_2345 " , " default " , 2 , " INBOX " , multi_msg_ids ) ;
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_2345 " , " default " , 2 , " INBOX " , multi_msg_ids ) ;
ast_test_status_update ( test , " Test removing no messages with no message numbers \n " ) ;
ast_test_status_update ( test , " Test removing no messages with no message numbers \n " ) ;
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , 0 , " INBOX " , empty_msg_ids ) ;
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , 0 , " INBOX " , & empty_msg_ids ) ;
ast_test_status_update ( test , " Test removing multiple messages with an invalid size specifier \n " ) ;
ast_test_status_update ( test , " Test removing multiple messages with an invalid size specifier \n " ) ;
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_2345 " , " default " , - 30 , " INBOX " , multi_msg_ids ) ;
VM_API_REMOVE_MESSAGE_OFF_NOMINAL ( " test_vm_api_2345 " , " default " , - 30 , " INBOX " , multi_msg_ids ) ;
@ -1330,7 +1330,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_forward)
const char * inbox_msg_id ;
const char * inbox_msg_id ;
const char * multi_msg_ids [ 4 ] ;
const char * multi_msg_ids [ 4 ] ;
const char * empty_msg_ids [ ] = { } ;
const char * empty_msg_ids = " " ;
switch ( cmd ) {
switch ( cmd ) {
case TEST_INIT :
case TEST_INIT :
@ -1393,7 +1393,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_forward)
VM_API_FORWARD_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , " INBOX " , " test_vm_api_2345 " , " default " , NULL , 1 , & inbox_msg_id , 0 ) ;
VM_API_FORWARD_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , " INBOX " , " test_vm_api_2345 " , " default " , NULL , 1 , & inbox_msg_id , 0 ) ;
ast_test_status_update ( test , " Test forwarding when no messages are select \n " ) ;
ast_test_status_update ( test , " Test forwarding when no messages are select \n " ) ;
VM_API_FORWARD_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , " INBOX " , " test_vm_api_2345 " , " default " , " INBOX " , 0 , empty_msg_ids , 0 ) ;
VM_API_FORWARD_MESSAGE_OFF_NOMINAL ( " test_vm_api_1234 " , " default " , " INBOX " , " test_vm_api_2345 " , " default " , " INBOX " , 0 , & empty_msg_ids , 0 ) ;
ast_test_status_update ( test , " Test forwarding a message that doesn't exist \n " ) ;
ast_test_status_update ( test , " Test forwarding a message that doesn't exist \n " ) ;
inbox_msg_id = " POOPOO " ;
inbox_msg_id = " POOPOO " ;