summaryrefslogtreecommitdiff
path: root/res/res_sorcery_memory_cache.c
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-07-10 22:25:00 -0500
committerMatt Jordan <mjordan@digium.com>2015-07-10 22:25:00 -0500
commitbee41eec6291d11cb47e7cda1b5abbedb44dccfc (patch)
tree749ff53cc34e6b78ed1d20c51e3f619417c603e4 /res/res_sorcery_memory_cache.c
parent4d738e9026055665bbf7ce99dd03ace1782a674e (diff)
res/res_sorcery_memory_cache: Fix test registration issues
Again, tests now need to not end with a newline. This patch makes it so the tests can register again, unit tests will actually pass, and we can stop wasting time trying to figure out why builds are failing when they really aren't failing. Change-Id: Ide519fbeba89f413c733446c5ff7b224fc4ce840
Diffstat (limited to 'res/res_sorcery_memory_cache.c')
-rw-r--r--res/res_sorcery_memory_cache.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/res/res_sorcery_memory_cache.c b/res/res_sorcery_memory_cache.c
index f0fc05537..33e78d12e 100644
--- a/res/res_sorcery_memory_cache.c
+++ b/res/res_sorcery_memory_cache.c
@@ -1602,7 +1602,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;
@@ -1673,7 +1673,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;
@@ -1756,7 +1756,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;
@@ -1838,7 +1838,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;
@@ -1930,7 +1930,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;
@@ -2054,7 +2054,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;
@@ -2169,7 +2169,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;
@@ -2384,7 +2384,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;