Professional Documents
Culture Documents
Automatic Manifest
Automatic Manifest
ex
Typedef enum _Type_e {
Create manifest file from manifest structure variable STRING = 0,
Is there manifest file ? No
that has default- setting INTEGER,
BOOLEAN
Yes } Type_e
ex:
typedef struct __tc_parameter__ {
Loading to manifest structure variable Type_e eDataType;
(Overwrite default setting) char argName[64];
char szValue[256];
char szDesc[256]; // mean, param_range
} stTc_parameter_t;
Runing TC based on ex:
manifest-structure variable typedef struct __tc_item__ {
char szTcDesc[256];
int nRunCount;
int nCategoryCnt;
char szCategory[64];
int nNumbParam;
for (int i = 0; i < nNumbParam; i++)
{
stTc_parameter_t param_(#i);
}
Type_e nExpectedResult;
char szResultDesc[256];
char szResultValue[256];
} stTc_Item_t;