aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2020-05-21 19:15:21 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-26 11:33:10 -0700
commit5a7e11b0bcb7efa7286f3194a8f3a75abcb8f5ab (patch)
tree7644f4bbe76eb878aae7844c3fc2707b485b44e2
parentcef10454aa3fdb416728d84a2747827467e2a923 (diff)
downloadsubsurface-5a7e11b0bcb7efa7286f3194a8f3a75abcb8f5ab.tar.gz
Use single cylinder dive for tests
Now that CSV export supports multiple cylinders and import doesn't, we need a test dive with single cylinder in it. (Multi-cylinder import from CSV will be supported for Subsurface style CSV export only, and not generic exports that are used here.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
-rw-r--r--tests/testparse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index 7f4a9cfd1..982a269d2 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -373,7 +373,7 @@ void TestParse::exportCSVDiveDetails()
{
int saved_sac = 0;
- parse_file(SUBSURFACE_TEST_DATA "/dives/test40.xml", &dive_table, &trip_table, &dive_site_table);
+ parse_file(SUBSURFACE_TEST_DATA "/dives/test25.xml", &dive_table, &trip_table, &dive_site_table);
export_dives_xslt("testcsvexportmanual.csv", 0, 0, "xml2manualcsv.xslt", false);
export_dives_xslt("testcsvexportmanualimperial.csv", 0, 1, "xml2manualcsv.xslt", false);