|
SDL Visual Test
|
#include <SDL_visualtest_sut_configparser.h>
Data Fields | |
| char | name [MAX_SUTOPTION_NAME_LEN] |
| char ** | categories |
| SDLVisualTest_SUTOptionType | type |
| SDL_bool | required |
| union { | |
| SDLVisualTest_SUTIntRange range | |
| char ** enum_values | |
| } | data |
Struct that defines an option to be passed to the SUT.
| char** categories |
An array of categories that the option belongs to. The last element is NULL.
| union { ... } data |
extra data that is required for certain types
| char** enum_values |
This field is valid only for enum type options; it holds the list of values
that the option can take. The last element is NULL
| char name[MAX_SUTOPTION_NAME_LEN] |
The name of the option. This is what you would pass in the command line along with two leading hyphens.
This field is valid only for integer type options; it defines the
valid range for such an option
| SDL_bool required |
Whether the option is required or not
Type of the option - integer, boolean, etc.
1.8.4