test.c: Add unit test registration checks for summary and description.
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:13:31 +0000 (17:13 -0500)
commitdaaa551c92a793f95ec24198d8b62fc09618f035
tree9504cb2dfb340ffd04886cd7e04e64f0d1c80e5b
parent71a4d1a033548f0f2bdfa0f42522f2c65f84e257
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