#define NP_PARAMETER ( nm,
vals   ) 

Value:

static char * nm ;\
    static const struct __np_param_dec *__np_parameter_##nm(void) __attribute__((unused)); \
    static const struct __np_param_dec *__np_parameter_##nm(void) \
    { \
        static const struct __np_param_dec d = { & nm , vals }; \
        return &d; \
    }
Parameters:
nm C identifier of the variable to be declared
vals string literal with the set of values to apply
Define a static char* variable called nm, and declare it as a test parameter on the testnode corresponding to the source file in which it appears, with a set of values defined by splitting up the string literal vals on whitespace and commas. For example:
 NP_PARAMETER(db_backend, "mysql,postgres");
Declares a variable called db_backend in the current file, and at runtime every test function in this file will be run twice, once with the variable db_backend set to "mysql" and once with it set to "postgres".


Generated on Wed Jan 16 01:28:40 2013 for NovaProva by  doxygen 1.5.8