mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
In the original version, parsing and comparing output was done in separate test methods. This was forbidding use of QTest cleanup to call clear_dive_file_data(). As a side effect a failure in one test would make other tests failing too (since call to clear_dive_file_data was skipped by QCOMPARE failure). Added a FILE_COMPARE macro to avoid code duplication. Signed-off-by: Jeremie Guichard <djebrest@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| testdivesiteduplication.cpp | ||
| testdivesiteduplication.h | ||
| testgitstorage.cpp | ||
| testgitstorage.h | ||
| testgpscoords.cpp | ||
| testgpscoords.h | ||
| testmerge.cpp | ||
| testmerge.h | ||
| testparse.cpp | ||
| testparse.h | ||
| testpicture.cpp | ||
| testpicture.h | ||
| testplan.cpp | ||
| testplan.h | ||
| testpreferences.cpp | ||
| testpreferences.h | ||
| testprofile.cpp | ||
| testprofile.h | ||
| testrenumber.cpp | ||
| testrenumber.h | ||
| testunitconversion.cpp | ||
| testunitconversion.h | ||