Add numberField parameter for parse testing

This commit is contained in:
Miika Turkia 2017-02-09 06:32:25 +02:00 committed by Dirk Hohndel
parent 19a2c28b1a
commit d3cc3f371b

View file

@ -308,7 +308,7 @@ void TestParse::testParseNewFormat()
* Validate the parsing routine returns success.
*/
char *params[40];
char *params[42];
int pnr = 0;
params[pnr++] = strdup("timeField");
@ -337,6 +337,8 @@ void TestParse::testParseNewFormat()
params[pnr++] = intdup(headers.indexOf(tr("Sample pressure")));
params[pnr++] = strdup("setpointField");
params[pnr++] = intdup(-1);
params[pnr++] = strdup("numberField");
params[pnr++] = intdup(-1);
params[pnr++] = strdup("separatorIndex");
params[pnr++] = intdup(2);
params[pnr++] = strdup("units");