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:11:56 -0500
commit2b0482d699e44d1f4159bd68d30b2a6a80d21ca8 (patch)
tree05a70fcd0fab639b49aa86f70471a7d0aaef9ab0 /tests/test_message.c
parent6264dbf02d196cf3332c67a47eba11e69e359cc9 (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 285905d8c..f7ee02730 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;