SDL Visual Test
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SDL_visualtest_variator_common.h
Go to the documentation of this file.
1 /* See COPYING.txt for the full license governing this code. */
8 #include <SDL_types.h>
10 
11 #ifndef _SDL_visualtest_variator_common_h
12 #define _SDL_visualtest_variator_common_h
13 
15 #define SDL_SUT_INTEGER_OPTION_TEST_STEPS 3
16 
17 /* Set up for C function definitions, even when using C++ */
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
24 {
25  SDL_VARIATOR_NONE = 0,
26  SDL_VARIATOR_EXHAUSTIVE,
27  SDL_VARIATOR_RANDOM
29 
34 {
36  SDL_bool bool_value;
39  struct {
40  int value;
41  SDL_bool on;
42  } integer;
46  struct {
47  int index;
48  SDL_bool on;
49  } enumerated;
52  struct {
53  char* value;
54  SDL_bool on;
55  } string;
57 
64 {
68  int num_vars;
70 
87 
100  char* buffer, int size);
101 
113  SDLVisualTest_SUTConfig* config);
114 
115 /* Ends C function definitions when using C++ */
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* _SDL_visualtest_variator_common_h */