summaryrefslogtreecommitdiffstats
path: root/tests/testparse.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-01-06 23:09:34 +0200
committerGravatar mturkia <miika.turkia@gmail.com>2018-01-08 06:06:12 +0200
commite2197a56a4600c8651a95c4ce9b4f3a0e300b125 (patch)
tree599481419f0bf73fcc4242960d54b7a7b5b43976 /tests/testparse.cpp
parent35778d9bbc41771092309641ac1fa1ec0d8e19a1 (diff)
downloadsubsurface-e2197a56a4600c8651a95c4ce9b4f3a0e300b125.tar.gz
Compare DL7 import to saved conversion
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r--tests/testparse.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index 5e6b4cd1a..ae45bacf0 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -502,8 +502,9 @@ void TestParse::parseDL7()
params, pnr - 1 , "DL7"), 0);
QCOMPARE(dive_table.nr, 1);
- FILE_COMPARE("testuddfexport.uddf",
- "testuddfexport2.uddf");
+ QCOMPARE(save_dives("./testdl7out.ssrf"), 0);
+ FILE_COMPARE("./testdl7out.ssrf",
+ SUBSURFACE_TEST_DATA "/dives/DL7.xml");
clear_dive_file_data();
}