A. Wilcox
26e069d6cd
Tests: Fix backend loading for tests
...
Using $<TARGET_FILE> we receive the entire plugin file path, leading to
errors such as:
kf.coreaddons: no metadata found in "kpmcore//home/awilcox/Code/KDE/kpmcore/bin/kpmcore/pmdummybackendplugin.so" "The shared library was not found."
Using $<TARGET_FILE_NAME> instead we are able to have just the plugin
name, which does load properly. The tests now pass.
2022-06-12 16:14:51 -05:00
Andrius Štikonas
73de1709e2
Port to Qt6.
2022-01-16 00:17:46 +00:00
Friedrich W. H. Kossebau
2bf69932d1
testhelpers: link kpmcore to get the include directories from the interface
2020-11-16 20:56:57 +00:00
Andrius Štikonas
fc826690b9
SPDX licenses for tests and CMakeLists.txt.
2020-09-17 02:15:16 +01:00
Yuri Chornoivan
1a7b673792
Fix minor issues found by EBN
2019-11-22 15:45:12 +02:00
Andrius Štikonas
1c771436d4
Merge branch '4.0'
2019-11-07 22:13:39 +00:00
Andrius Štikonas
c9a08a593b
Remove broken smart unit test.
...
BUG: 413853
2019-11-07 22:12:00 +00:00
Shubham Jangra
7af8045f32
Add unit test for Device
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D22629
2019-07-23 11:59:40 +05:30
Andrius Štikonas
738842799a
Make kpmcore link libraries private.
2018-03-31 16:30:53 +01:00
Andrius Štikonas
00cb2c85d9
d-pointerize CoreBackendManager
2018-03-31 13:07:35 +01:00
Andrius Štikonas
bd54ba7c5d
Convert copyblocks code from KAuth to DBus calls to helper daemon.
2018-03-21 18:01:40 +01:00
Caio Carvalho
a3d43e159f
Removing LIBKPMCORE_EXPORT from SmartParser and adding SMART support dependencies to testsmart in cmake
2018-01-21 01:41:59 -03:00
Caio Carvalho
49c0c39f4b
- Including SMART support test
...
- Adding export macro to SmartParser
2018-01-20 21:56:10 -03:00
Andrius Štikonas
47429dd1bf
Proof of concept attempt to implement KAuth.
2017-12-10 17:36:39 +00:00
Andrius Štikonas
2d7a27e066
Add a test for KPMcore device scanner.
2017-10-03 20:03:35 +01:00
Adriaan de Groot
63b501f41d
Tests: simple listing of attached devices
2017-10-03 05:56:16 -04:00
Adriaan de Groot
f1dee86084
Tests: initial test in initializing lib and loading a backend
...
- The default backend test will generally fail because
the backend isn't installed
- Test known backends if they are built, by passing full path
2017-10-02 16:15:01 +02:00