From d3cc3f371b646f6df21d9167237b73d496f11de4 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Thu, 9 Feb 2017 06:32:25 +0200 Subject: Add numberField parameter for parse testing --- tests/testparse.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 77788f27d..67a215dbd 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -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"); -- cgit v1.2.3-70-g09d2