Commit graph

13 commits

Author SHA1 Message Date
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
7be7e2c5d1 kdecore: adjust expected data in test case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-16 19:39:21 +03:00
Ivailo Monev
63dcefb9cd kdecore: do not rely on compiler feature to detect null output
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-10 12:17:39 +02:00
Ivailo Monev
366c36f02a kdecore: remove unused KDebug block feature
fix expected output in test while at it, test now passes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-10 12:16:48 +02:00
Ivailo Monev
459f9d1b7a kdecore: fix process output capturing in KDebugTest::testNoMainComponentData()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-02 01:25:17 +00:00
Ivailo Monev
2b452705c8 generic: adjust some tests to recent changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-15 10:45:42 +00:00
Ivailo Monev
6ad8959836 generic: fix some tests build after 1f34f5ad
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-03 01:14:03 +00:00
Ivailo Monev
cd1ca7c87e generic: replace KProcess with QProcess where feasable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-30 06:09:02 +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
5731f1690c kdecore: adjust kdebug and kdesktopfile tests 2015-10-01 06:07:16 +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
b99fa1400b more windows code remove 2014-11-19 15:19:19 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00