Unit tests: Fix more 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: I2f4f37988ec363c8d1c5077a2fc8ca841c5cd30c
This commit is contained in:
Richard Mudgett
2015-06-24 16:39:38 -05:00
parent 9c6d72e30d
commit 71a4d1a033
4 changed files with 29 additions and 29 deletions

View File

@@ -1604,7 +1604,7 @@ AST_TEST_DEFINE(open_with_valid_options)
"\t* Creates a memory cache with default configuration\n"
"\t* Creates a memory cache with a maximum object count of 10 and verifies it\n"
"\t* Creates a memory cache with a maximum object lifetime of 60 and verifies it\n"
"\t* Creates a memory cache with a stale object lifetime of 90 and verifies it\n";
"\t* Creates a memory cache with a stale object lifetime of 90 and verifies it";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -1675,7 +1675,7 @@ AST_TEST_DEFINE(open_with_invalid_options)
"\t* Create a memory cache with a maximum object lifetime of -1\n"
"\t* Create a memory cache with a maximum object lifetime of toast\n"
"\t* Create a memory cache with a stale object lifetime of -1\n"
"\t* Create a memory cache with a stale object lifetime of toast\n";
"\t* Create a memory cache with a stale object lifetime of toast";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -1758,7 +1758,7 @@ AST_TEST_DEFINE(create_and_retrieve)
"\t* Creates a sorcery instance with a test object\n"
"\t* Creates a test object with an id of test\n"
"\t* Pushes the test object into the memory cache\n"
"\t* Confirms that the test object is in the cache\n";
"\t* Confirms that the test object is in the cache";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -1840,7 +1840,7 @@ AST_TEST_DEFINE(update)
"\t* Confirms that the test object is in the cache\n"
"\t* Creates a new test object with the same id of test\n"
"\t* Pushes the new test object into the memory cache\n"
"\t* Confirms that the new test object has replaced the old one\n";
"\t* Confirms that the new test object has replaced the old one";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -1932,7 +1932,7 @@ AST_TEST_DEFINE(delete)
"\t* Pushes the test object into the memory cache\n"
"\t* Confirms that the test object is in the cache\n"
"\t* Deletes the test object from the cache\n"
"\t* Confirms that the test object is no longer in the cache\n";
"\t* Confirms that the test object is no longer in the cache";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -2056,7 +2056,7 @@ AST_TEST_DEFINE(maximum_objects)
"\t* Deletes charlie from the memory cache\n"
"\t* Confirms that only bob is in the memory cache\n"
"\t* Pushes alice into the memory cache\n"
"\t* Confirms that bob and alice are in the memory cache\n";
"\t* Confirms that bob and alice are in the memory cache";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -2171,7 +2171,7 @@ AST_TEST_DEFINE(expiration)
"\t* Creates a memory cache with a maximum object lifetime of 5 seconds\n"
"\t* Pushes 10 objects into the memory cache\n"
"\t* Waits (up to) 10 seconds for expiration to occur\n"
"\t* Confirms that the objects have been removed from the cache\n";
"\t* Confirms that the objects have been removed from the cache";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -2386,7 +2386,7 @@ AST_TEST_DEFINE(stale)
"\t\t* Retrieve the stale cached object\n"
"\t\t* Ensure that the stale object retrieved is the same as the fresh one from earlier\n"
"\t\t* Wait for the cache to update with new data\n"
"\t\t* Ensure that new data in the cache matches backend data\n";
"\t\t* Ensure that new data in the cache matches backend data";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;