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>
This commit is contained in:
Miika Turkia 2017-05-05 19:21:40 +03:00 committed by Dirk Hohndel
parent 5f3f641977
commit b7c6998cf7

View file

@ -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");