mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Reenable all of TestParse
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0630d584f4
								
							
						
					
					
						commit
						8f97c4a8eb
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		|  | @ -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(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue