summaryrefslogtreecommitdiffstats
path: root/tests/testparse.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-09 16:54:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-09 16:54:48 -0800
commit8f97c4a8eb2b7d70be3d323730a401d788222dcf (patch)
tree37aa17baeb901df789c4a181b5ed14feb8094fef /tests/testparse.cpp
parent0630d584f4b1da352e16362df8ea7206853b36b3 (diff)
downloadsubsurface-8f97c4a8eb2b7d70be3d323730a401d788222dcf.tar.gz
Reenable all of TestParse
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r--tests/testparse.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index c9c543c37..223b4469b 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -196,8 +196,7 @@ void TestParse::testParseHUDC()
QCOMPARE(parse_csv_file(SUBSURFACE_SOURCE "/dives/TestDiveSeabearHUDC.csv",
params, pnr - 1, "csv"), 0);
-// currently yhr CSV parse fails
-// QCOMPARE(dive_table.nr, 1);
+ QCOMPARE(dive_table.nr, 1);
/*
* CSV import uses time and date stamps relative to current
@@ -222,10 +221,9 @@ void TestParse::testParseCompareHUDCOutput()
QStringList readin = orgS.readAll().split("\n");
QStringList written = outS.readAll().split("\n");
-// currently the CSV parse fails
-// while(readin.size() && written.size()){
-// QCOMPARE(readin.takeFirst(), written.takeFirst());
-// }
+ while(readin.size() && written.size()){
+ QCOMPARE(readin.takeFirst(), written.takeFirst());
+ }
clear_dive_file_data();
}