From 4a5b40c14401b8f7d1a25b7538d6abd99f7895b7 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 7 Jan 2018 09:42:04 +0200 Subject: Update DL7 tests to current import As we now parse dives without profile, we get 2 more dives from the sample log import (3 in total). And naturally also the resulting XML to compare against needs to be updated. Signed-off-by: Miika Turkia --- dives/DL7.xml | 8 ++++++++ tests/testparse.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dives/DL7.xml b/dives/DL7.xml index e0b94b43d..4541307bc 100644 --- a/dives/DL7.xml +++ b/dives/DL7.xml @@ -9,6 +9,10 @@ + + + + @@ -18,5 +22,9 @@ + + + + diff --git a/tests/testparse.cpp b/tests/testparse.cpp index ae45bacf0..cc60052f8 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -500,7 +500,7 @@ void TestParse::parseDL7() clear_dive_file_data(); QCOMPARE(parse_csv_file(SUBSURFACE_TEST_DATA "/dives/DL7.zxu", params, pnr - 1 , "DL7"), 0); - QCOMPARE(dive_table.nr, 1); + QCOMPARE(dive_table.nr, 3); QCOMPARE(save_dives("./testdl7out.ssrf"), 0); FILE_COMPARE("./testdl7out.ssrf", -- cgit v1.2.3-70-g09d2