subsurface/tests
Berthold Stoeger 35b8a4f404 Core: split process_dives() in post-import and post-load versions
process_dives() is used to post-process the dive table after loading
or importing. The first parameter states whether this was after
load or import.

Especially in the light of undo, load and import are fundamentally
different things. Notably, that latter should be undo-able, whereas
the former is not. Therefore, as a first step to make import undo-able,
split the function in two versions and remove the first parameter.

It turns out the the load-version is very light. It only sets the
DC nicknames and sorts the dive-table. There seems to be no reason
to merge dives.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-09-23 11:50:53 -07:00
..
.gitignore
CMakeLists.txt
testdivesiteduplication.cpp
testdivesiteduplication.h
testgitstorage.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
testgitstorage.h
testgpscoords.cpp
testgpscoords.h
testmerge.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
testmerge.h
testparse.cpp
testparse.h
testparseperformance.cpp
testparseperformance.h
testpicture.cpp
testpicture.h
testplan.cpp
testplan.h
testprofile.cpp
testprofile.h
testqml.cpp
testqml.h
testqPrefCloudStorage.cpp
testqPrefCloudStorage.h
testqPrefDisplay.cpp
testqPrefDisplay.h
testqPrefDiveComputer.cpp
testqPrefDiveComputer.h
testqPrefDivePlanner.cpp
testqPrefDivePlanner.h
testqPrefFacebook.cpp
testqPrefFacebook.h
testqPrefGeneral.cpp
testqPrefGeneral.h
testqPrefGeocoding.cpp
testqPrefGeocoding.h
testqPrefLanguage.cpp
testqPrefLanguage.h
testqPrefLocationService.cpp
testqPrefLocationService.h
testqPrefPartialPressureGas.cpp
testqPrefPartialPressureGas.h
testqPrefProxy.cpp
testqPrefProxy.h
testqPrefTechnicalDetails.cpp
testqPrefTechnicalDetails.h
testqPrefUnits.cpp
testqPrefUnits.h
testqPrefUpdateManager.cpp
testqPrefUpdateManager.h
testrenumber.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
testrenumber.h
testtaglist.cpp
testtaglist.h
testunitconversion.cpp
testunitconversion.h
tst_qPref.qml
tst_qPrefCloudStorage.qml
tst_qPrefDisplay.qml
tst_qPrefDiveComputer.qml
tst_qPrefDivePlanner.qml
tst_qPrefFacebook.qml
tst_qPrefGeneral.qml
tst_qPrefGeocoding.qml
tst_qPrefLanguage.qml
tst_qPrefLocationService.qml
tst_qPrefPartialPressureGas.qml
tst_qPrefProxy.qml
tst_qPrefTechnicalDetails.qml
tst_qPrefUnits.qml
tst_qPrefUpdateManager.qml