diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-02-09 06:32:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-09 09:22:30 -0800 |
commit | d3cc3f371b646f6df21d9167237b73d496f11de4 (patch) | |
tree | ec89208e8aea00872d3a085e0adab0e323e6ce39 /tests | |
parent | 19a2c28b1a79237804dd7f0eb6470b0c0358e4a0 (diff) | |
download | subsurface-d3cc3f371b646f6df21d9167237b73d496f11de4.tar.gz |
Add numberField parameter for parse testing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testparse.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |