mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Kill some startup warnings and errors and make some messages more helpful in tracking down the source.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -59,7 +59,7 @@ AST_TEST_DEFINE(invalid_acl)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "invalid_acl";
|
||||
info->category = "main/acl/";
|
||||
info->category = "/main/acl/";
|
||||
info->summary = "Invalid ACL unit test";
|
||||
info->description =
|
||||
"Ensures that garbage ACL values are not accepted";
|
||||
@@ -129,7 +129,7 @@ AST_TEST_DEFINE(acl)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "acl";
|
||||
info->category = "main/acl/";
|
||||
info->category = "/main/acl/";
|
||||
info->summary = "ACL unit test";
|
||||
info->description =
|
||||
"Tests that hosts are properly permitted or denied";
|
||||
|
@@ -48,7 +48,7 @@ AST_TEST_DEFINE(aoc_event_generation_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "aoc_event_test";
|
||||
info->category = "main/aoc/";
|
||||
info->category = "/main/aoc/";
|
||||
info->summary = "Advice of Charge event generation test";
|
||||
info->description =
|
||||
"Creates AOC messages, verify event string matches expected results";
|
||||
@@ -315,7 +315,7 @@ AST_TEST_DEFINE(aoc_encode_decode_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "aoc_encode_decode_test";
|
||||
info->category = "main/aoc/";
|
||||
info->category = "/main/aoc/";
|
||||
info->summary = "Advice of Charge encode and decode test";
|
||||
info->description =
|
||||
"This tests the Advice of Charge encode and decode routines.";
|
||||
|
@@ -75,7 +75,7 @@ AST_TEST_DEFINE(options_parsing)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "options_parsing";
|
||||
info->category = "main/app/";
|
||||
info->category = "/main/app/";
|
||||
info->summary = "App options unit test";
|
||||
info->description =
|
||||
"This tests the options parsing code to ensure that it behaves as expected";
|
||||
@@ -161,7 +161,7 @@ AST_TEST_DEFINE(app_group)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "app_group";
|
||||
info->category = "main/app/";
|
||||
info->category = "/main/app/";
|
||||
info->summary = "App group unit test";
|
||||
info->description =
|
||||
"This tests various app group functionality";
|
||||
|
@@ -83,7 +83,7 @@ AST_TEST_DEFINE(ast_format_str_reduce_test_1)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "ast_format_str_reduce_test_1";
|
||||
info->category = "main/file/";
|
||||
info->category = "/main/file/";
|
||||
info->summary = "reduce format strings";
|
||||
info->description = "Reduce some format strings and make sure the results match what we expect.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
@@ -325,7 +325,7 @@ AST_TEST_DEFINE(astobj2_test_1)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "astobj2_test1";
|
||||
info->category = "main/astobj2/";
|
||||
info->category = "/main/astobj2/";
|
||||
info->summary = "astobj2 test using ao2 objects, containers, callbacks, and iterators";
|
||||
info->description =
|
||||
"Builds ao2_containers with various item numbers, bucket sizes, cmp and hash "
|
||||
|
@@ -220,7 +220,7 @@ AST_TEST_DEFINE(device2extenstate_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "device2extenstate_test";
|
||||
info->category = "main/devicestate/";
|
||||
info->category = "/main/devicestate/";
|
||||
info->summary = "Tests combined devstate mapping and device to extension state mapping.";
|
||||
info->description =
|
||||
"Verifies device state aggregate results match the expected combined "
|
||||
|
@@ -134,7 +134,7 @@ AST_TEST_DEFINE(event_new_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "ast_event_new_test";
|
||||
info->category = "main/event/";
|
||||
info->category = "/main/event/";
|
||||
info->summary = "Test event creation";
|
||||
info->description =
|
||||
"This test exercises the API calls that allow allocation "
|
||||
@@ -272,7 +272,7 @@ AST_TEST_DEFINE(event_sub_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "ast_event_subscribe_test";
|
||||
info->category = "main/event/";
|
||||
info->category = "/main/event/";
|
||||
info->summary = "Test event subscriptions";
|
||||
info->description =
|
||||
"This test exercises the API calls that allow subscriptions "
|
||||
|
@@ -85,7 +85,7 @@ AST_TEST_DEFINE(test_gosub)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "gosub application";
|
||||
info->category = "apps/app_gosub/";
|
||||
info->category = "/apps/app_gosub/";
|
||||
info->summary = "Verify functionality of gosub application";
|
||||
info->description =
|
||||
"Verify functionality of gosub application";
|
||||
|
@@ -68,7 +68,7 @@ AST_TEST_DEFINE(heap_test_1)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "heap_test_1";
|
||||
info->category = "main/heap/";
|
||||
info->category = "/main/heap/";
|
||||
info->summary = "push and pop elements";
|
||||
info->description = "Push a few elements onto a heap and make sure that they come back off in the right order.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
@@ -129,7 +129,7 @@ AST_TEST_DEFINE(heap_test_2)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "heap_test_2";
|
||||
info->category = "main/heap/";
|
||||
info->category = "/main/heap/";
|
||||
info->summary = "load test";
|
||||
info->description =
|
||||
"Push one hundred thousand random elements on to a heap, "
|
||||
@@ -204,7 +204,7 @@ AST_TEST_DEFINE(heap_test_3)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "heap_test_3";
|
||||
info->category = "main/heap/";
|
||||
info->category = "/main/heap/";
|
||||
info->summary = "random element removal test";
|
||||
info->description =
|
||||
"Push a hundred thousand random elements on to a heap, "
|
||||
|
@@ -242,7 +242,7 @@ AST_TEST_DEFINE(pattern_match_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "pattern_match_test";
|
||||
info->category = "main/pbx/";
|
||||
info->category = "/main/pbx/";
|
||||
info->summary = "Test pattern matching";
|
||||
info->description = "Create a context with a bunch of extensions within. Then attempt\n"
|
||||
"to match some strings to the extensions.";
|
||||
|
@@ -53,7 +53,7 @@ AST_TEST_DEFINE(sched_test_order)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "sched_test_order";
|
||||
info->category = "main/sched/";
|
||||
info->category = "/main/sched/";
|
||||
info->summary = "Test ordering of events in the scheduler API";
|
||||
info->description =
|
||||
"This test ensures that events are properly ordered by the "
|
||||
|
@@ -45,7 +45,7 @@ AST_TEST_DEFINE(sample_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "sample_test";
|
||||
info->category = "main/sample/";
|
||||
info->category = "/main/sample/";
|
||||
info->summary = "sample unit test";
|
||||
info->description =
|
||||
"This demonstrates what is required to implement "
|
||||
|
@@ -64,7 +64,7 @@ AST_TEST_DEFINE(string_field_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "string_field_test";
|
||||
info->category = "main/utils/";
|
||||
info->category = "/main/utils/";
|
||||
info->summary = "Test stringfield operations";
|
||||
info->description =
|
||||
"This tests the stringfield API";
|
||||
|
@@ -58,7 +58,7 @@ AST_TEST_DEFINE(str_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "str_test";
|
||||
info->category = "main/strings/";
|
||||
info->category = "/main/strings/";
|
||||
info->summary = "Test dynamic string operations";
|
||||
info->description = "Test setting and appending stack and heap-allocated strings";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
@@ -205,7 +205,7 @@ AST_TEST_DEFINE(test_substitution)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "test_substitution";
|
||||
info->category = "main/pbx/";
|
||||
info->category = "/main/pbx/";
|
||||
info->summary = "Test variable and function substitution";
|
||||
info->description =
|
||||
"This test executes a variety of variable and function substitutions "
|
||||
|
@@ -58,7 +58,7 @@ AST_TEST_DEFINE(test_timezone_watch)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "timezone_watch";
|
||||
info->category = "main/stdtime/";
|
||||
info->category = "/main/stdtime/";
|
||||
info->summary = "Verify deleting timezone file purges cache";
|
||||
info->description =
|
||||
"Verifies that the caching engine properly destroys a timezone entry when its file is deleted.";
|
||||
|
@@ -48,7 +48,7 @@ AST_TEST_DEFINE(uri_encode_decode_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "uri_encode_decode_test";
|
||||
info->category = "main/utils/";
|
||||
info->category = "/main/utils/";
|
||||
info->summary = "encode and decode a hex escaped string";
|
||||
info->description = "encode a string, verify encoded string matches what we expect. Decode the encoded string, verify decoded string matches the original string.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
@@ -114,7 +114,7 @@ AST_TEST_DEFINE(md5_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "md5_test";
|
||||
info->category = "main/utils/";
|
||||
info->category = "/main/utils/";
|
||||
info->summary = "MD5 test";
|
||||
info->description =
|
||||
"This test exercises MD5 calculations."
|
||||
@@ -159,7 +159,7 @@ AST_TEST_DEFINE(sha1_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "sha1_test";
|
||||
info->category = "main/utils/";
|
||||
info->category = "/main/utils/";
|
||||
info->summary = "SHA1 test";
|
||||
info->description =
|
||||
"This test exercises SHA1 calculations."
|
||||
@@ -204,7 +204,7 @@ AST_TEST_DEFINE(base64_test)
|
||||
switch (cmd) {
|
||||
case TEST_INIT:
|
||||
info->name = "base64_test";
|
||||
info->category = "main/utils/";
|
||||
info->category = "/main/utils/";
|
||||
info->summary = "base64 test";
|
||||
info->description = "This test exercises the base64 conversions.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
Reference in New Issue
Block a user