include/SDL_test.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 23 Apr 2019 07:59:31 -0700
changeset 12714 9b7633bd0aa0
parent 12503 806492103856
permissions -rw-r--r--
Use _Exit() when available
slouken@6688
     1
/*
slouken@6688
     2
  Simple DirectMedia Layer
slouken@12503
     3
  Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
slouken@6688
     4
slouken@6688
     5
  This software is provided 'as-is', without any express or implied
slouken@6688
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@6688
     7
  arising from the use of this software.
slouken@6688
     8
slouken@6688
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@6688
    10
  including commercial applications, and to alter it and redistribute it
slouken@6688
    11
  freely, subject to the following restrictions:
slouken@6688
    12
slouken@6688
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@6688
    14
     claim that you wrote the original software. If you use this software
slouken@6688
    15
     in a product, an acknowledgment in the product documentation would be
slouken@6688
    16
     appreciated but is not required.
slouken@6688
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@6688
    18
     misrepresented as being the original software.
slouken@6688
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@6688
    20
*/
slouken@6688
    21
slouken@6688
    22
/**
aschiffler@6713
    23
 *  \file SDL_test.h
slouken@7191
    24
 *
slouken@6688
    25
 *  Include file for SDL test framework.
slouken@6688
    26
 *
slouken@6688
    27
 *  This code is a part of the SDL2_test library, not the main SDL library.
slouken@6688
    28
 */
slouken@6688
    29
slouken@10638
    30
#ifndef SDL_test_h_
slouken@10638
    31
#define SDL_test_h_
slouken@6688
    32
slouken@6688
    33
#include "SDL.h"
slouken@11610
    34
#include "SDL_test_assert.h"
aschiffler@6727
    35
#include "SDL_test_common.h"
slouken@11610
    36
#include "SDL_test_compare.h"
slouken@11610
    37
#include "SDL_test_crc32.h"
slouken@6688
    38
#include "SDL_test_font.h"
aschiffler@6711
    39
#include "SDL_test_fuzzer.h"
aschiffler@6717
    40
#include "SDL_test_harness.h"
aschiffler@6762
    41
#include "SDL_test_images.h"
slouken@11610
    42
#include "SDL_test_log.h"
slouken@11610
    43
#include "SDL_test_md5.h"
slouken@11610
    44
#include "SDL_test_memory.h"
slouken@11610
    45
#include "SDL_test_random.h"
slouken@6688
    46
slouken@6688
    47
#include "begin_code.h"
slouken@6688
    48
/* Set up for C function definitions, even when using C++ */
slouken@6688
    49
#ifdef __cplusplus
slouken@6688
    50
extern "C" {
slouken@6688
    51
#endif
slouken@6688
    52
aschiffler@6756
    53
/* Global definitions */
slouken@6688
    54
slouken@7191
    55
/*
philipp@9804
    56
 * Note: Maximum size of SDLTest log message is less than SDL's limit
slouken@7191
    57
 * to ensure we can fit additional information such as the timestamp.
aschiffler@6756
    58
 */
slouken@7191
    59
#define SDLTEST_MAX_LOGMESSAGE_LENGTH   3584
slouken@6688
    60
slouken@6688
    61
/* Ends C function definitions when using C++ */
slouken@6688
    62
#ifdef __cplusplus
slouken@6688
    63
}
slouken@6688
    64
#endif
slouken@6688
    65
#include "close_code.h"
slouken@6688
    66
slouken@10638
    67
#endif /* SDL_test_h_ */
slouken@6688
    68
slouken@6688
    69
/* vi: set ts=4 sw=4 expandtab: */