<div dir="ltr"><div><div><div><div>Here you go.<br><br></div>I didn't actually fixed the testcases with those patches because I have no idea how saving / resroring works, but this makes it really easier to spot the errors, that actually where real errors.<br><br></div>The error output now are two:<br>   Actual   (readin.takeFirst()) : "  <divecomputer>"<br>   Expected (written.takeFirst()): "  <divecomputer model='csv' deviceid='ffffffff'>"<br>   Loc: [/home/tcanabrava/Projects/subsurface/tests/testparse.cpp(125)]<br><br></div>FAIL!  : TestParse::testParseCompareHUDCOutput() Compared values are not the same<br>   Actual   (readin.takeFirst()) : "</divesites>"<br>   Expected (written.takeFirst()): "<site uuid='deadbeef' name='Suomi -  - H\u00E4lv\u00E4l\u00E4'>"<br>   Loc: [/home/tcanabrava/Projects/subsurface/tests/testparse.cpp(221)]<br><br><br></div>seems that we are not saving the divecomputer for csv, and we miss some divesites.<br><br></div>