Merge "Unit tests: Use AST_TEST_DEFINE in conditional code only." into 13

This commit is contained in:
zuul
2016-07-20 11:31:50 -05:00
committed by Gerrit Code Review
5 changed files with 33 additions and 3 deletions

View File

@@ -4118,6 +4118,7 @@ long ast_sip_threadpool_queue_size(void)
return ast_threadpool_queue_size(sip_threadpool);
}
#ifdef TEST_FRAMEWORK
AST_TEST_DEFINE(xml_sanitization_end_null)
{
char sanitized[8];
@@ -4168,6 +4169,7 @@ AST_TEST_DEFINE(xml_sanitization_exceeds_buffer)
return AST_TEST_PASS;
}
#endif
/*!
* \internal