]> git.ipfire.org Git - thirdparty/asterisk.git/commit
test.c: Add unit test registration checks for summary and description. 15/715/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jun 2015 19:30:15 +0000 (14:30 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jun 2015 22:12:19 +0000 (17:12 -0500)
commit2602a7484be67353ac70691e7e75a54983d4d773
tree7b0592318b073e8081bffa4f5ab9fb4fbe11960e
parent2b0482d699e44d1f4159bd68d30b2a6a80d21ca8
test.c: Add unit test registration checks for summary and description.

Added checks when a unit test is registered to see that the summary and
description strings do not end with a new-line '\n' for consistency.

The check generates a warning message and will cause the
/main/test/registrations unit test to fail.

* Updated struct ast_test_info member doxygen comments.

Change-Id: I295909b6bc013ed9b6882e85c05287082497534d
include/asterisk/test.h
main/test.c