aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testparse.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-05-05 19:21:40 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-06 08:06:42 -0700
commitb7c6998cf75aa11022596a9472f34e0c29fe49d6 (patch)
treee3f04e893e65ac86c685232fa6b64410d00ddfca /tests/testparse.cpp
parent5f3f64197771ff66976ee3acd3ba62373c0ffe47 (diff)
downloadsubsurface-b7c6998cf75aa11022596a9472f34e0c29fe49d6.tar.gz
Enable test mode in UDDF export test
Using the units parameter to indicate test mode on UDDF export. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r--tests/testparse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index 360169947..fea2f441e 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -488,12 +488,12 @@ void TestParse::exportUDDF()
{
parse_file(SUBSURFACE_TEST_DATA "/dives/test40.xml");
- export_dives_xslt("testuddfexport.uddf", 0, 0, "uddf-export.xslt");
+ export_dives_xslt("testuddfexport.uddf", 0, 1, "uddf-export.xslt");
clear_dive_file_data();
parse_file("testuddfexport.uddf");
- export_dives_xslt("testuddfexport2.uddf", 0, 0, "uddf-export.xslt");
+ export_dives_xslt("testuddfexport2.uddf", 0, 1, "uddf-export.xslt");
FILE_COMPARE("testuddfexport.uddf",
"testuddfexport2.uddf");