diff options
author | Richard Mudgett <rmudgett@digium.com> | 2015-06-24 14:39:01 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2015-06-24 17:13:31 -0500 |
commit | 9c6d72e30dcdee0322a1b4bff5bde387507693c5 (patch) | |
tree | f910fb5c7bc0c216d1b62eaf7c71ae8ea2ef13e8 /tests/test_voicemail_api.c | |
parent | a0c2d2089d25cf3102ccd363e230b8a3085f00ae (diff) |
Unit tests: Fix unit test description strings.
Analyzing the code shows that the unit test summary and description
strings should not end with a new-line character. Where these strings are
used in the code a new-line is provided for output.
Change-Id: I129284f5e7ca93d82532334076da4c462d3d9fba
Diffstat (limited to 'tests/test_voicemail_api.c')
-rw-r--r-- | tests/test_voicemail_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_voicemail_api.c b/tests/test_voicemail_api.c index e13b304d4..fc371bad9 100644 --- a/tests/test_voicemail_api.c +++ b/tests/test_voicemail_api.c @@ -940,7 +940,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_snapshot) " * Access to non-existent context\n" " * Access to non-existent folder\n" " * Access to NULL folder\n" - " * Invalid sort identifier\n"; + " * Invalid sort identifier"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; @@ -1054,7 +1054,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_move) " * Moving to a non-existent context\n" " * Moving to/from non-existent folder\n" " * Moving to/from NULL folder\n" - " * Invalid message identifier(s)\n"; + " * Invalid message identifier(s)"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; @@ -1173,7 +1173,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_remove) " * Removing messages from an invalid context\n" " * Removing messages from an invalid folder\n" " * Removing messages from a NULL folder\n" - " * Removing messages with bad identifiers\n"; + " * Removing messages with bad identifiers"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; @@ -1348,7 +1348,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_forward) " * Invalid to context\n" " * Invalid/NULL to folder\n" " * Invalid message numbers\n" - " * Invalid number of messages\n"; + " * Invalid number of messages"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; @@ -1426,7 +1426,7 @@ AST_TEST_DEFINE(voicemail_api_nominal_msg_playback) info->summary = "Nominal message playback"; info->description = "Tests playing back a message on a provided" - " channel or callback function\n"; + " channel or callback function"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; @@ -1488,7 +1488,7 @@ AST_TEST_DEFINE(voicemail_api_off_nominal_msg_playback) " * Invalid/NULL mailbox\n" " * Invalid context\n" " * Invalid/NULL folder\n" - " * Invalid message identifiers\n"; + " * Invalid message identifiers"; return AST_TEST_NOT_RUN; case TEST_EXECUTE: break; |