summaryrefslogtreecommitdiff
path: root/tests/test_message.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-06-24 14:39:01 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-06-24 17:13:31 -0500
commit9c6d72e30dcdee0322a1b4bff5bde387507693c5 (patch)
treef910fb5c7bc0c216d1b62eaf7c71ae8ea2ef13e8 /tests/test_message.c
parenta0c2d2089d25cf3102ccd363e230b8a3085f00ae (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_message.c')
-rw-r--r--tests/test_message.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_message.c b/tests/test_message.c
index 2c9334ad9..3c3b8302a 100644
--- a/tests/test_message.c
+++ b/tests/test_message.c
@@ -310,7 +310,7 @@ AST_TEST_DEFINE(test_message_msg_tech_registration)
info->description =
"Test that:\n"
"\tA message technology can be registered once only\n"
- "\tA registered message technology can be unregistered once only\n";
+ "\tA registered message technology can be unregistered once only";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -343,7 +343,7 @@ AST_TEST_DEFINE(test_message_msg_handler_registration)
info->description =
"Test that:\n"
"\tA message handler can be registered once only\n"
- "\tA registered message handler can be unregistered once only\n";
+ "\tA registered message handler can be unregistered once only";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -391,7 +391,7 @@ AST_TEST_DEFINE(test_message_manipulation)
"This test covers the following:\n"
"\tSetting/getting the body\n"
"\tSetting/getting inbound/outbound variables\n"
- "\tIterating over variables\n";
+ "\tIterating over variables";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -477,7 +477,7 @@ AST_TEST_DEFINE(test_message_queue_dialplan_nominal)
info->summary = "Test enqueueing messages to the dialplan";
info->description =
"Test that a message enqueued for the dialplan is\n"
- "passed to that particular extension\n";
+ "passed to that particular extension";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -548,7 +548,7 @@ AST_TEST_DEFINE(test_message_queue_handler_nominal)
info->summary = "Test enqueueing messages to a handler";
info->description =
"Test that a message enqueued can be handled by a\n"
- "non-dialplan handler\n";
+ "non-dialplan handler";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -591,7 +591,7 @@ AST_TEST_DEFINE(test_message_queue_both_nominal)
info->description =
"Test that a message enqueued is passed to all\n"
"handlers that can process it, dialplan as well as\n"
- "a custom handler\n";
+ "a custom handler";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -662,7 +662,7 @@ AST_TEST_DEFINE(test_message_has_destination_dialplan)
info->summary = "Test checking for a dialplan destination";
info->description =
"Test that a message's destination is verified via the\n"
- "dialplan\n";
+ "dialplan";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -704,7 +704,7 @@ AST_TEST_DEFINE(test_message_has_destination_handler)
info->summary = "Test checking for a handler destination";
info->description =
"Test that a message's destination is verified via a\n"
- "handler\n";
+ "handler";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -744,7 +744,7 @@ AST_TEST_DEFINE(test_message_msg_send)
info->summary = "Test message routing";
info->description =
"Test that a message can be routed if it has\n"
- "a valid handler\n";
+ "a valid handler";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;