Reenable all of TestParse

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-02-09 16:54:48 -08:00
parent 0630d584f4
commit 8f97c4a8eb

View file

@ -196,8 +196,7 @@ void TestParse::testParseHUDC()
QCOMPARE(parse_csv_file(SUBSURFACE_SOURCE "/dives/TestDiveSeabearHUDC.csv", QCOMPARE(parse_csv_file(SUBSURFACE_SOURCE "/dives/TestDiveSeabearHUDC.csv",
params, pnr - 1, "csv"), 0); 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 * CSV import uses time and date stamps relative to current
@ -222,10 +221,9 @@ void TestParse::testParseCompareHUDCOutput()
QStringList readin = orgS.readAll().split("\n"); QStringList readin = orgS.readAll().split("\n");
QStringList written = outS.readAll().split("\n"); QStringList written = outS.readAll().split("\n");
// currently the CSV parse fails while(readin.size() && written.size()){
// while(readin.size() && written.size()){ QCOMPARE(readin.takeFirst(), written.takeFirst());
// QCOMPARE(readin.takeFirst(), written.takeFirst()); }
// }
clear_dive_file_data(); clear_dive_file_data();
} }