Gerhard Schwanzer
dcec0bf7ff
Skip actively locked autosave files
...
Check the QLockFile in staleFiles() before returning a no-KF5 recovery candidate, matching the KAutoSaveFile contract that actively owned autosave files are not stale.
Extend the no-KF5 Catch test so a child process keeps the autosave lock alive while allStaleFiles() runs, then verify recovery after the child is killed.
Assisted-by: pi coding agent / Mika (OpenAI GPT-5.5)
2026-07-05 17:39:38 +02:00
Gerhard Schwanzer
7a97e873d9
Test Qt-only autosave recovery fallback
...
Add a no-KF5 Catch regression test that leaves a KAutoSaveFile-compatible backup behind from a child process, then verifies stale-file discovery, stale-lock recovery, reading, and cleanup.
Assisted-by: pi coding agent / Mika (OpenAI GPT-5.5)
2026-07-05 15:52:25 +02:00
Andre Rummler
ea9d57cdde
Update googltest library to v1.17.0
2025-09-08 13:27:56 +02:00
Andre Rummler
bad60834cc
Update Catch2 library to v2.13.10
2025-09-08 13:26:54 +02:00
plc-user
b3ac3c82af
fixed indentations of the remaining *.cpp/*.h files
2024-05-02 08:39:27 +02:00
luz paz
2032ba76ed
Fix various typos in source documentation and comments (cont.)
...
Found via `codespell`
2022-12-06 07:56:45 +01:00
Simon De Backer
cb37c1c2fe
Add switch for KF5 (QT6) and Mod Cmake
...
if we want to test QET on QT6, KF5 must be removed from the code,
this switch is for that,
this is for testing only
2020-12-16 23:06:08 +01:00
Simon De Backer
c88d1ef6bb
Refactoring Cmake
...
cleaning up the Cmake code
2020-12-13 00:40:43 +01:00
Simon De Backer
d2fb0d8ad1
Fix stop the run autotests of kcoreaddons
...
see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
2020-12-11 23:57:17 +01:00
Simon De Backer
83d802adf7
Mod Cmake first working build
2020-12-11 14:55:11 +01:00
Simon De Backer
ed938c82cd
Mod Cmake
2020-12-10 19:03:36 +01:00
Simon De Backer
d0c129478e
Mod Cmake en preprocessor
2020-12-10 00:08:26 +01:00
Simon De Backer
4de9c1d922
Add Test google mock
...
for imitating QET on tests (a file, a netwerk link, ...)
2020-12-09 10:48:38 +01:00
Simon De Backer
d89d1088a3
Cmake for UI files auto link
...
this is one of the errors:
the ui files must be linked and changed to h files
so the h files found in the code by preprocessor
2020-12-09 10:40:12 +01:00
Simon De Backer
6556fbaf38
Add QT test to tests
2020-12-08 21:00:43 +01:00
Simon De Backer
c83388c1d5
Add Test files
2020-12-08 20:44:50 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Simon De Backer
6cd6efaca9
Add Catch2 and Google Test on Cmake
...
ToDo:
- Add compiling QElectroTech on Cmake (help needed)
- more Tests?
- Qt Test
- Boost Test
to test
run qtcreator
File > open => CMakeLists.txt
2020-12-08 12:18:20 +01:00