Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
db036cd4ee kdecore: adjust KLockFile test to KDebug changes
KDebug no longer proxies messages designated for the shell to the Katie
message handler because the Katie message handler has its own abort logic,
e.g. if QT_FATAL_WARNINGS is not empty or the message type is fatal abort()
would be called

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-23 01:28:37 +03:00
Ivailo Monev
d659ad0241 kdecore: expect KLockFile::getLockInfo() to fail if not called on the lock owner in the KLockFile test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-08 17:49:43 +03:00
Ivailo Monev
cada9f78a4 kdecore: KLockFile rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-08 03:28:20 +03:00
Ivailo Monev
20c0503ed6 kdecore: replace use of QtConcurrent::run() with std::future<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-18 23:41:17 +03:00
Ivailo Monev
f5202fac38 kdecore: fix KLockFile test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-11 15:21:11 +03:00
Ivailo Monev
94298bc02f kdecore: plug Test_KLockFile memory leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-03 21:21:27 +03:00
Ivailo Monev
6c67e5adf8 generic: make use of QHostInfo::localHostName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-21 19:56:58 +00:00
Ivailo Monev
42b418eca5 kdecore: namespaced Qt4/Katie build fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-29 11:42:39 +00:00
Ivailo Monev
eac889a328 kdecore: fix kdebug test
also define KDEBINDIR for the tests as it turns out that running
the tests from test target in directory other than the top-level
one (e.g. make -C kdecore/ test) breaks the logic/expectaions in
some tests thus using the full paths to the test tools.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-08 18:25:20 +02:00
Ivailo Monev
a4996f3d49 generic: misc cleanups 2015-10-01 07:46:47 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00