subsurface/tests
Berthold Stoeger c9a10733d3 core: turn a memblock in the parser to std::string
This avoid memory-management troubles. Had to convert a few
of the parsers (cochran, datatrak, liquivision) to C++.
Also had to convert libdivecomputer.c. This was less
painful than expected.

std::string is used because parts of the code assumes
that the data is null terminated after the last character
of the data. std::string does precisely that.

One disadvantage is that std::string clears its memory
when resizing / initializing. Thus we read the file onto
freshly cleared data, which some might thing is a
performance regression. Until someone shows me that this
matters, I don't care.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-02 22:01:23 +01:00
..
.gitignore
CMakeLists.txt Add tests for formatDiveGasString 2023-10-18 21:34:56 +13:00
testAirPressure.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testAirPressure.h
testdivesiteduplication.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testdivesiteduplication.h
testformatDiveGasString.cpp Add another test for formatDiveGasString 2023-10-18 21:34:56 +13:00
testformatDiveGasString.h Add another test for formatDiveGasString 2023-10-18 21:34:56 +13:00
testgitstorage.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testgitstorage.h
testgpscoords.cpp
testgpscoords.h
testhelper.cpp
testhelper.h
testmerge.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testmerge.h
testparse.cpp core: turn a memblock in the parser to std::string 2024-03-02 22:01:23 +01:00
testparse.h Test case for multicylinder support on CSV import 2020-05-26 11:33:10 -07:00
testparseperformance.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testparseperformance.h
testpicture.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testpicture.h
testplan.cpp planner: get rid of global displayed_dive variable 2023-04-16 20:23:59 +02:00
testplan.h Fix invalid bailout gas choice when planning a CCR dive. 2023-02-17 10:49:24 +01:00
testplannershared.cpp
testplannershared.h
testprofile.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testprofile.h cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testqml.cpp
testqml.h
testqPrefCloudStorage.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testqPrefCloudStorage.h
testqPrefDisplay.cpp
testqPrefDisplay.h
testqPrefDiveComputer.cpp
testqPrefDiveComputer.h
testqPrefDivePlanner.cpp
testqPrefDivePlanner.h
testqPrefEquipment.cpp Equipment: Include Unused Tanks in Merge if Preference is Enabled. 2023-07-25 11:19:03 +12:00
testqPrefEquipment.h
testqPrefGeneral.cpp
testqPrefGeneral.h
testqPrefGeocoding.cpp
testqPrefGeocoding.h
testqPrefLanguage.cpp
testqPrefLanguage.h
testqPrefLog.cpp
testqPrefLog.h
testqPrefMedia.cpp
testqPrefMedia.h
testqPrefPartialPressureGas.cpp
testqPrefPartialPressureGas.h
testqPrefProxy.cpp
testqPrefProxy.h
testqPrefTechnicalDetails.cpp Desktop: Add a Button to Hide the Infobox in the Dive Profile. 2023-06-25 14:40:23 +02:00
testqPrefTechnicalDetails.h
testqPrefUnits.cpp
testqPrefUnits.h
testqPrefUpdateManager.cpp preferences: remove pointless member 2021-01-06 10:18:23 -08:00
testqPrefUpdateManager.h
testrenumber.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
testrenumber.h
testtaglist.cpp
testtaglist.h
testunitconversion.cpp core: move floating point functions to own header file 2022-08-30 22:34:38 +02:00
testunitconversion.h
tst_qPrefCloudStorage.qml cloudstorage: some cleanup of cloud url handling 2021-04-19 12:51:01 -07:00
tst_qPrefDisplay.qml
tst_qPrefDiveComputer.qml
tst_qPrefDivePlanner.qml
tst_qPrefGeneral.qml
tst_qPrefGeocoding.qml
tst_qPrefLanguage.qml
tst_qPrefPartialPressureGas.qml
tst_qPrefProxy.qml
tst_qPrefTechnicalDetails.qml Equipment: Include Unused Tanks in Merge if Preference is Enabled. 2023-07-25 11:19:03 +12:00
tst_qPrefUnits.qml
tst_qPrefUpdateManager.qml