Add log, assert and harness (partial) to test lib

This commit is contained in:
Andreas Schiffler 2012-11-30 23:25:34 -08:00
parent 6ac6dd737a
commit a8af7eca89
9 changed files with 621 additions and 3 deletions

View file

@ -59,8 +59,9 @@ extern "C" {
* \brief The predefined log categories
*
* By default the application category is enabled at the INFO level,
* the assert category is enabled at the WARN level, and all other
* categories are enabled at the CRITICAL level.
* the assert category is enabled at the WARN level, test is enabled
* at the VERBOSE level and all other categories are enabled at the
* CRITICAL level.
*/
enum
{
@ -72,6 +73,7 @@ enum
SDL_LOG_CATEGORY_VIDEO,
SDL_LOG_CATEGORY_RENDER,
SDL_LOG_CATEGORY_INPUT,
SDL_LOG_CATEGORY_TEST,
/* Reserved for future SDL library use */
SDL_LOG_CATEGORY_RESERVED1,