]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Unit tests: Fix unit test description strings. 17/717/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jun 2015 19:39:01 +0000 (14:39 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jun 2015 22:13:31 +0000 (17:13 -0500)
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

tests/test_cdr.c
tests/test_cel.c
tests/test_channel_feature_hooks.c
tests/test_expr.c
tests/test_format_cap.c
tests/test_message.c
tests/test_poll.c
tests/test_sorcery_realtime.c
tests/test_stasis.c
tests/test_threadpool.c
tests/test_voicemail_api.c

index 9c982e28a061189dc6312347ff381a511b3c9001..ef9e76d0dbe0038bae21ea3be2e0e23777a98e27 100644 (file)
@@ -463,7 +463,7 @@ AST_TEST_DEFINE(test_cdr_unanswered_inbound_call)
                info->description =
                        "Test the properties of a CDR for a call that is\n"
                        "inbound to Asterisk, executes some dialplan, but\n"
-                       "is never answered.\n";
+                       "is never answered.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -513,7 +513,7 @@ AST_TEST_DEFINE(test_cdr_unanswered_outbound_call)
                info->summary = "Test outbound unanswered calls";
                info->description =
                        "Test the properties of a CDR for a call that is\n"
-                       "outbound to Asterisk but is never answered.\n";
+                       "outbound to Asterisk but is never answered.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -583,7 +583,7 @@ AST_TEST_DEFINE(test_cdr_outbound_bridged_call)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a 2-party bridge";
                info->description =
-                       "The most 'basic' of scenarios\n";
+                       "The most 'basic' of scenarios";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -662,7 +662,7 @@ AST_TEST_DEFINE(test_cdr_single_party)
                info->summary = "Test cdrs for a single party";
                info->description =
                        "Test the properties of a CDR for a call that is\n"
-                       "answered, but only involves a single channel\n";
+                       "answered, but only involves a single channel";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -713,7 +713,7 @@ AST_TEST_DEFINE(test_cdr_single_bridge)
                info->summary = "Test cdrs for a single party entering/leaving a bridge";
                info->description =
                        "Test the properties of a CDR for a call that is\n"
-                       "answered, enters a bridge, and leaves it.\n";
+                       "answered, enters a bridge, and leaves it.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -788,7 +788,7 @@ AST_TEST_DEFINE(test_cdr_single_bridge_continue)
                info->summary = "Test cdrs for a single party entering/leaving a bridge";
                info->description =
                        "Test the properties of a CDR for a call that is\n"
-                       "answered, enters a bridge, and leaves it.\n";
+                       "answered, enters a bridge, and leaves it.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -872,7 +872,7 @@ AST_TEST_DEFINE(test_cdr_single_twoparty_bridge_a)
                info->description =
                        "Test the properties of a CDR for a call that is\n"
                        "answered, enters a bridge, and leaves it. In this scenario, the\n"
-                       "Party A should answer the bridge first.\n";
+                       "Party A should answer the bridge first.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -964,7 +964,7 @@ AST_TEST_DEFINE(test_cdr_single_twoparty_bridge_b)
                info->description =
                        "Test the properties of a CDR for a call that is\n"
                        "answered, enters a bridge, and leaves it. In this scenario, the\n"
-                       "Party B should answer the bridge first.\n";
+                       "Party B should answer the bridge first.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1089,7 +1089,7 @@ AST_TEST_DEFINE(test_cdr_single_multiparty_bridge)
                info->description =
                        "Test the properties of a CDR for a call that is\n"
                        "answered, enters a bridge, and leaves it. A total of three\n"
-                       "parties perform this action.\n";
+                       "parties perform this action.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1179,7 +1179,7 @@ AST_TEST_DEFINE(test_cdr_dial_unanswered)
                info->summary = "Test CDRs for a dial that isn't answered";
                info->description =
                        "Test the properties of a CDR for a channel that\n"
-                       "performs a dial operation that isn't answered\n";
+                       "performs a dial operation that isn't answered";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1242,7 +1242,7 @@ AST_TEST_DEFINE(test_cdr_dial_busy)
                info->summary = "Test CDRs for a dial that results in a busy";
                info->description =
                        "Test the properties of a CDR for a channel that\n"
-                       "performs a dial operation to an endpoint that's busy\n";
+                       "performs a dial operation to an endpoint that's busy";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1304,7 +1304,7 @@ AST_TEST_DEFINE(test_cdr_dial_congestion)
                info->summary = "Test CDRs for a dial that results in congestion";
                info->description =
                        "Test the properties of a CDR for a channel that\n"
-                       "performs a dial operation to an endpoint that's congested\n";
+                       "performs a dial operation to an endpoint that's congested";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1366,7 +1366,7 @@ AST_TEST_DEFINE(test_cdr_dial_unavailable)
                info->summary = "Test CDRs for a dial that results in unavailable";
                info->description =
                        "Test the properties of a CDR for a channel that\n"
-                       "performs a dial operation to an endpoint that's unavailable\n";
+                       "performs a dial operation to an endpoint that's unavailable";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1429,7 +1429,7 @@ AST_TEST_DEFINE(test_cdr_dial_caller_cancel)
                info->description =
                        "Test the properties of a CDR for a channel that\n"
                        "performs a dial operation to an endpoint but then decides\n"
-                       "to hang up, cancelling the dial\n";
+                       "to hang up, cancelling the dial";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1528,7 +1528,7 @@ AST_TEST_DEFINE(test_cdr_dial_parallel_failed)
                info->description =
                        "This tests dialing three parties: Bob, Charlie, David. Charlie\n"
                        "returns BUSY; David returns CONGESTION; Bob fails to answer and\n"
-                       "Alice hangs up. Three records are created for Alice as a result.\n";
+                       "Alice hangs up. Three records are created for Alice as a result.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1650,7 +1650,7 @@ AST_TEST_DEFINE(test_cdr_dial_answer_no_bridge)
                        "when we answer, we get a CDR, it gets ended at that point, and\n"
                        "that it gets finalized appropriately. We should get three CDRs in\n"
                        "the end - one for the dial, and one for each CDR as they continued\n"
-                       "on.\n";
+                       "on.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1720,7 +1720,7 @@ AST_TEST_DEFINE(test_cdr_dial_answer_twoparty_bridge_a)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a 2-party bridge";
                info->description =
-                       "The most 'basic' of scenarios\n";
+                       "The most 'basic' of scenarios";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1797,7 +1797,7 @@ AST_TEST_DEFINE(test_cdr_dial_answer_twoparty_bridge_b)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a 2-party bridge";
                info->description =
-                       "The most 'basic' of scenarios\n";
+                       "The most 'basic' of scenarios";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1955,7 +1955,7 @@ AST_TEST_DEFINE(test_cdr_dial_answer_multiparty)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a multi-party bridge";
                info->description =
-                       "A little tricky to get to do, but possible with some redirects.\n";
+                       "A little tricky to get to do, but possible with some redirects.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -2076,7 +2076,7 @@ AST_TEST_DEFINE(test_cdr_park)
                info->summary = "Test cdrs for a single party entering Park";
                info->description =
                        "Test the properties of a CDR for calls that are\n"
-                       "answered, enters Park, and leaves it.\n";
+                       "answered, enters Park, and leaves it.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -2184,7 +2184,7 @@ AST_TEST_DEFINE(test_cdr_fields)
                info->category = TEST_CATEGORY;
                info->summary = "Test field access CDRs";
                info->description =
-                       "This tests setting/retrieving data on CDR records.\n";
+                       "This tests setting/retrieving data on CDR records.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -2351,7 +2351,7 @@ AST_TEST_DEFINE(test_cdr_no_reset_cdr)
                info->category = TEST_CATEGORY;
                info->summary = "Test field access CDRs";
                info->description =
-                       "This tests setting/retrieving data on CDR records.\n";
+                       "This tests setting/retrieving data on CDR records.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -2449,7 +2449,7 @@ AST_TEST_DEFINE(test_cdr_fork_cdr)
                info->category = TEST_CATEGORY;
                info->summary = "Test field access CDRs";
                info->description =
-                       "This tests setting/retrieving data on CDR records.\n";
+                       "This tests setting/retrieving data on CDR records.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index 71fc636fdf5fff1b6d04a710a39295815960708d..0cd8c5cfab7516045fbd297a98eda75329d71709 100644 (file)
@@ -430,7 +430,7 @@ AST_TEST_DEFINE(test_cel_unanswered_inbound_call)
                info->description =
                        "Test CEL records for a call that is\n"
                        "inbound to Asterisk, executes some dialplan, but\n"
-                       "is never answered.\n";
+                       "is never answered.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -461,7 +461,7 @@ AST_TEST_DEFINE(test_cel_unanswered_outbound_call)
                info->summary = "Test outbound unanswered calls";
                info->description =
                        "Test CEL records for a call that is\n"
-                       "outbound to Asterisk but is never answered.\n";
+                       "outbound to Asterisk but is never answered.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -490,7 +490,7 @@ AST_TEST_DEFINE(test_cel_single_party)
                info->summary = "Test CEL for a single party";
                info->description =
                        "Test CEL records for a call that is\n"
-                       "answered, but only involves a single channel\n";
+                       "answered, but only involves a single channel";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -519,7 +519,7 @@ AST_TEST_DEFINE(test_cel_single_bridge)
                info->summary = "Test CEL for a single party entering/leaving a bridge";
                info->description =
                        "Test CEL records for a call that is\n"
-                       "answered, enters a bridge, and leaves it.\n";
+                       "answered, enters a bridge, and leaves it.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -557,7 +557,7 @@ AST_TEST_DEFINE(test_cel_single_bridge_continue)
                info->summary = "Test CEL for a single party entering/leaving a bridge";
                info->description =
                        "Test CEL records for a call that is\n"
-                       "answered, enters a bridge, and leaves it.\n";
+                       "answered, enters a bridge, and leaves it.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -601,7 +601,7 @@ AST_TEST_DEFINE(test_cel_single_twoparty_bridge_a)
                info->description =
                        "Test CEL records for a call that is\n"
                        "answered, enters a bridge, and leaves it. In this scenario, the\n"
-                       "Party A should answer the bridge first.\n";
+                       "Party A should answer the bridge first.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -649,7 +649,7 @@ AST_TEST_DEFINE(test_cel_single_twoparty_bridge_b)
                info->description =
                        "Test CEL records for a call that is\n"
                        "answered, enters a bridge, and leaves it. In this scenario, the\n"
-                       "Party B should answer the bridge first.\n";
+                       "Party B should answer the bridge first.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -703,7 +703,7 @@ AST_TEST_DEFINE(test_cel_single_multiparty_bridge)
                info->description =
                        "Test CEL records for a call that is\n"
                        "answered, enters a bridge, and leaves it. A total of three\n"
-                       "parties perform this action.\n";
+                       "parties perform this action.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -780,7 +780,7 @@ AST_TEST_DEFINE(test_cel_dial_unanswered)
                info->summary = "Test CEL for a dial that isn't answered";
                info->description =
                        "Test CEL records for a channel that\n"
-                       "performs a dial operation that isn't answered\n";
+                       "performs a dial operation that isn't answered";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -814,7 +814,7 @@ AST_TEST_DEFINE(test_cel_dial_unanswered_filter)
                info->summary = "Test CEL for a dial that isn't answered";
                info->description =
                        "Test CEL records for a channel that\n"
-                       "performs a dial operation that isn't answered\n";
+                       "performs a dial operation that isn't answered";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -849,7 +849,7 @@ AST_TEST_DEFINE(test_cel_dial_busy)
                info->summary = "Test CEL for a dial that results in a busy";
                info->description =
                        "Test CEL records for a channel that\n"
-                       "performs a dial operation to an endpoint that's busy\n";
+                       "performs a dial operation to an endpoint that's busy";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -883,7 +883,7 @@ AST_TEST_DEFINE(test_cel_dial_congestion)
                info->summary = "Test CEL for a dial that results in congestion";
                info->description =
                        "Test CEL records for a channel that\n"
-                       "performs a dial operation to an endpoint that's congested\n";
+                       "performs a dial operation to an endpoint that's congested";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -917,7 +917,7 @@ AST_TEST_DEFINE(test_cel_dial_unavailable)
                info->summary = "Test CEL for a dial that results in unavailable";
                info->description =
                        "Test CEL records for a channel that\n"
-                       "performs a dial operation to an endpoint that's unavailable\n";
+                       "performs a dial operation to an endpoint that's unavailable";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -952,7 +952,7 @@ AST_TEST_DEFINE(test_cel_dial_caller_cancel)
                info->description =
                        "Test CEL records for a channel that\n"
                        "performs a dial operation to an endpoint but then decides\n"
-                       "to hang up, cancelling the dial\n";
+                       "to hang up, cancelling the dial";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -989,7 +989,7 @@ AST_TEST_DEFINE(test_cel_dial_parallel_failed)
                info->description =
                        "This tests dialing three parties: Bob, Charlie, David. Charlie\n"
                        "returns BUSY; David returns CONGESTION; Bob fails to answer and\n"
-                       "Alice hangs up. Three records are created for Alice as a result.\n";
+                       "Alice hangs up. Three records are created for Alice as a result.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1042,7 +1042,7 @@ AST_TEST_DEFINE(test_cel_dial_answer_no_bridge)
                        "a dial, then bounce both channels to different priorities and\n"
                        "never have them enter a bridge together. Ew. This makes sure that\n"
                        "when we answer, we get a CEL, it gets ended at that point, and\n"
-                       "that it gets finalized appropriately.\n";
+                       "that it gets finalized appropriately.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1083,7 +1083,7 @@ AST_TEST_DEFINE(test_cel_dial_answer_twoparty_bridge_a)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a 2-party bridge";
                info->description =
-                       "The most 'basic' of scenarios\n";
+                       "The most 'basic' of scenarios";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1130,7 +1130,7 @@ AST_TEST_DEFINE(test_cel_dial_answer_twoparty_bridge_b)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a 2-party bridge";
                info->description =
-                       "The most 'basic' of scenarios\n";
+                       "The most 'basic' of scenarios";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1180,7 +1180,7 @@ AST_TEST_DEFINE(test_cel_dial_answer_multiparty)
                info->category = TEST_CATEGORY;
                info->summary = "Test dialing, answering, and going into a multi-party bridge";
                info->description =
-                       "A little tricky to get to do, but possible with some redirects.\n";
+                       "A little tricky to get to do, but possible with some redirects.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1256,7 +1256,7 @@ AST_TEST_DEFINE(test_cel_blind_transfer)
                info->summary = "Test blind transfers to an extension";
                info->description =
                        "This test creates two channels, bridges them, and then"
-                       " blind transfers the bridge to an extension.\n";
+                       " blind transfers the bridge to an extension.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1327,7 +1327,7 @@ AST_TEST_DEFINE(test_cel_attended_transfer_bridges_swap)
                info->description =
                        "This test creates four channels, places each pair in"
                        " a bridge, and then attended transfers the bridges"
-                       " together.\n";
+                       " together.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1409,7 +1409,7 @@ AST_TEST_DEFINE(test_cel_attended_transfer_bridges_merge)
                info->description =
                        "This test creates four channels, places each pair"
                        " in a bridge, and then attended transfers the bridges"
-                       " together causing a bridge merge.\n";
+                       " together causing a bridge merge.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1497,7 +1497,7 @@ AST_TEST_DEFINE(test_cel_attended_transfer_bridges_link)
                info->description =
                        "This test creates four channels, places each pair"
                        " in a bridge, and then attended transfers the bridges"
-                       " together causing a bridge link.\n";
+                       " together causing a bridge link.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1577,7 +1577,7 @@ AST_TEST_DEFINE(test_cel_dial_pickup)
                info->description =
                        "Test CEL records for a call that is\n"
                        "inbound to Asterisk, executes some dialplan, and\n"
-                       "is picked up.\n";
+                       "is picked up.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1637,7 +1637,7 @@ AST_TEST_DEFINE(test_cel_local_optimize)
                info->description =
                        "Test CEL records for two local channels being optimized\n"
                        "out by sending a messages indicating local optimization\n"
-                       "begin and end\n";
+                       "begin and end";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index 8faaf9fb244157ceee07f99fe916a2b61a8daa77..ad7268822532ac7e3b5dcbeda16d059d67166417 100644 (file)
@@ -169,7 +169,7 @@ AST_TEST_DEFINE(test_features_channel_dtmf)
                info->description =
                        "This test creates two channels, adds a DTMF hook to one, places them into\n"
                        "a bridge, and verifies that the DTMF hook added to the channel feature\n"
-                       "hooks can be triggered once the channel is bridged.\n";
+                       "hooks can be triggered once the channel is bridged.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -261,7 +261,7 @@ AST_TEST_DEFINE(test_features_channel_interval)
                info->description =
                        "This test creates two channels, adds an interval hook to one, places them\n"
                        "into a bridge, and verifies that the interval hook added to the channel\n"
-                       "feature hooks is triggered once the channel is bridged.\n";
+                       "feature hooks is triggered once the channel is bridged.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index c215559f0d4b1297a33292497adfdceea984b2af..5ea86a34138ed9f385c55ef17ac83823323e4f4c 100644 (file)
@@ -158,7 +158,7 @@ AST_TEST_DEFINE(expr_test)
                info->category = "/main/ast_expr/";
                info->summary = "unit test for the internal expression engine";
                info->description =
-                       "Verifies behavior for the internal expression engine\n";
+                       "Verifies behavior for the internal expression engine";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index 76b15495fd0d859e3c947bdf80c209bd4806e275..4d810bf85eb5b455ad8b2dc8573cb2bd2303f86f 100644 (file)
@@ -1088,7 +1088,7 @@ AST_TEST_DEFINE(format_cap_get_names)
                info->summary = "Test getting the names of formats";
                info->description =
                        "Test that obtaining the names from a format capabilities structure\n"
-                       "produces the expected output.\n";
+                       "produces the expected output.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index 2c9334ad9c463d7a3ecf495e7d72d73dc6e3cc12..3c3b8302a949d2161fcd201779808f41d5b98b0d 100644 (file)
@@ -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;
index e71913c93b7531c3a131ca6e3ec789e813e86aeb..10b0225cc1a815e12d83946a134469f3a227f8d9 100644 (file)
@@ -88,7 +88,7 @@ AST_TEST_DEFINE(poll_test)
                info->category = "/main/poll/";
                info->summary = "unit test for the ast_poll() API";
                info->description =
-                       "Verifies behavior for the ast_poll() API call\n";
+                       "Verifies behavior for the ast_poll() API call";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index fe7ea52451e56f779f3f0159bb6d50795bba98cf..347280d897eb65498cb14b612159333f58f51e8f 100644 (file)
@@ -821,7 +821,7 @@ AST_TEST_DEFINE(object_filter)
                        "realtime backend that is unknown to sorcery. When sorcery attempts to retrieve\n"
                        "the object from the realtime backend, the data unknown to sorcery should be\n"
                        "filtered out of the returned objectset, and the object should be successfully\n"
-                       "allocated by sorcery\n";
+                       "allocated by sorcery";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index b5755c8430882854c08c21c769ad67ca001dd53c..806fbf81fcdfda0a30fc292e04e1fa9151f91412 100644 (file)
@@ -789,7 +789,7 @@ AST_TEST_DEFINE(subscription_interleaving)
                        "and publishes messages alternately between the children.\n"
                        "It verifies that the messages are received in the expected\n"
                        "order, for different subscription types: one with a dedicated\n"
-                       "thread, the other on the Stasis threadpool.\n";
+                       "thread, the other on the Stasis threadpool.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1618,7 +1618,7 @@ AST_TEST_DEFINE(router_pool)
                info->summary = "Test message routing via threadpool";
                info->description = "Test simple message routing when\n"
                        "the subscriptions dictate usage of the Stasis\n"
-                       "threadpool.\n";
+                       "threadpool.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index 79b369d941932c8feafac0e29218fcd2d71823d4..f5b1073dee5354d6db7ae05d6044d01ef05a46dd 100644 (file)
@@ -858,7 +858,7 @@ AST_TEST_DEFINE(threadpool_auto_increment)
                info->description =
                        "Create an empty threadpool and push a task to it. Once the task is\n"
                        "pushed, the threadpool should add three threads and be able to\n"
-                       "handle the task. The threads should then go idle\n";
+                       "handle the task. The threads should then go idle";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -972,7 +972,7 @@ AST_TEST_DEFINE(threadpool_max_size)
                info->description =
                        "Create an empty threadpool and push a task to it. Once the task is\n"
                        "pushed, the threadpool should attempt to grow by three threads, but the\n"
-                       "pool's restrictions should only allow two threads to be added.\n";
+                       "pool's restrictions should only allow two threads to be added.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1043,7 +1043,7 @@ AST_TEST_DEFINE(threadpool_reactivation)
                info->description =
                        "Push a task into a threadpool. Make sure the task executes and the\n"
                        "thread goes idle. Then push a second task and ensure that the thread\n"
-                       "awakens and executes the second task.\n";
+                       "awakens and executes the second task.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1250,7 +1250,7 @@ AST_TEST_DEFINE(threadpool_task_distribution)
                info->summary = "Test that tasks are evenly distributed to threads";
                info->description =
                        "Push two tasks into a threadpool. Ensure that each is handled by\n"
-                       "a separate thread\n";
+                       "a separate thread";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1346,7 +1346,7 @@ AST_TEST_DEFINE(threadpool_more_destruction)
                        "Push two tasks into a threadpool. Set the threadpool size to 4\n"
                        "Ensure that there are 2 active and 2 idle threads. Then shrink the\n"
                        "threadpool down to 1 thread. Ensure that the thread leftover is active\n"
-                       "and ensure that both tasks complete.\n";
+                       "and ensure that both tasks complete.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1456,7 +1456,7 @@ AST_TEST_DEFINE(threadpool_serializer)
                info->category = "/main/threadpool/";
                info->summary = "Test that serializers";
                info->description =
-                       "Ensures that tasks enqueued to a serialize execute in sequence.\n";
+                       "Ensures that tasks enqueued to a serialize execute in sequence.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
@@ -1570,7 +1570,7 @@ AST_TEST_DEFINE(threadpool_serializer_dupe)
                info->summary = "Test that serializers are uniquely named";
                info->description =
                        "Creating two serializers with the same name should\n"
-                       "result in error.\n";
+                       "result in error.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index e13b304d4c222adedf4c8e598b5a85cd28feb4cc..fc371bad9c8692cab40f9d8194fae67e8e8fdf02 100644 (file)
@@ -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;