include/SDL_test.h
author Ryan C. Gordon <icculus@icculus.org>
Fri, 13 Mar 2015 00:48:30 -0400
changeset 9381 812b2dabf8a4
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
permissions -rw-r--r--
Removed an unnecessary #ifdef.
slouken@6688
     1
/*
slouken@6688
     2
  Simple DirectMedia Layer
slouken@8149
     3
  Copyright (C) 1997-2014 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
aschiffler@6713
    30
#ifndef _SDL_test_h
aschiffler@6713
    31
#define _SDL_test_h
slouken@6688
    32
slouken@6688
    33
#include "SDL.h"
aschiffler@6727
    34
#include "SDL_test_common.h"
slouken@6688
    35
#include "SDL_test_font.h"
aschiffler@6699
    36
#include "SDL_test_random.h"
aschiffler@6711
    37
#include "SDL_test_fuzzer.h"
aschiffler@6713
    38
#include "SDL_test_crc32.h"
aschiffler@6713
    39
#include "SDL_test_md5.h"
aschiffler@6717
    40
#include "SDL_test_log.h"
aschiffler@6717
    41
#include "SDL_test_assert.h"
aschiffler@6717
    42
#include "SDL_test_harness.h"
aschiffler@6762
    43
#include "SDL_test_images.h"
aschiffler@6763
    44
#include "SDL_test_compare.h"
slouken@6688
    45
slouken@6688
    46
#include "begin_code.h"
slouken@6688
    47
/* Set up for C function definitions, even when using C++ */
slouken@6688
    48
#ifdef __cplusplus
slouken@6688
    49
extern "C" {
slouken@6688
    50
#endif
slouken@6688
    51
aschiffler@6756
    52
/* Global definitions */
slouken@6688
    53
slouken@7191
    54
/*
slouken@7191
    55
 * Note: Maximum size of SDLTest log message is less than SDLs limit
slouken@7191
    56
 * to ensure we can fit additional information such as the timestamp.
aschiffler@6756
    57
 */
slouken@7191
    58
#define SDLTEST_MAX_LOGMESSAGE_LENGTH   3584
slouken@6688
    59
slouken@6688
    60
/* Ends C function definitions when using C++ */
slouken@6688
    61
#ifdef __cplusplus
slouken@6688
    62
}
slouken@6688
    63
#endif
slouken@6688
    64
#include "close_code.h"
slouken@6688
    65
aschiffler@6713
    66
#endif /* _SDL_test_h */
slouken@6688
    67
slouken@6688
    68
/* vi: set ts=4 sw=4 expandtab: */