Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
91dcfa35
Commit
91dcfa35
authored
Dec 03, 2020
by
Laurent Montel
Browse files
Activate Autotest
parent
ece323e8
Pipeline
#42848
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/CMakeLists.txt
View file @
91dcfa35
...
@@ -5,3 +5,10 @@ find_package(Qt5Test CONFIG REQUIRED)
...
@@ -5,3 +5,10 @@ find_package(Qt5Test CONFIG REQUIRED)
if
(
Ldap_FOUND
)
if
(
Ldap_FOUND
)
ecm_add_tests
(
testkldap.cpp NAME_PREFIX
"kldap-"
LINK_LIBRARIES KF5::Ldap Qt5::Test
)
ecm_add_tests
(
testkldap.cpp NAME_PREFIX
"kldap-"
LINK_LIBRARIES KF5::Ldap Qt5::Test
)
endif
()
endif
()
set
(
ldapclientsearchconfigreadconfigjobtest_source ldapclientsearchconfigreadconfigjobtest.cpp
)
add_executable
(
ldapclientsearchconfigreadconfigjobtest
${
ldapclientsearchconfigreadconfigjobtest_source
}
)
add_test
(
NAME ldapclientsearchconfigreadconfigjobtest COMMAND ldapclientsearchconfigreadconfigjobtest
)
ecm_mark_as_test
(
ldapclientsearchconfigreadconfigjobtest
)
target_link_libraries
(
ldapclientsearchconfigreadconfigjobtest Qt5::Test KF5::Ldap
)
autotests/ldapclientsearchconfigreadconfigjobtest.cpp
View file @
91dcfa35
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
*/
*/
#include
"ldapclientsearchconfigreadconfigjobtest.h"
#include
"ldapclientsearchconfigreadconfigjobtest.h"
#include
<QTest>
QTEST_MAIN
(
LdapClientSearchConfigReadConfigJobTest
)
LdapClientSearchConfigReadConfigJobTest
::
LdapClientSearchConfigReadConfigJobTest
(
QObject
*
parent
)
LdapClientSearchConfigReadConfigJobTest
::
LdapClientSearchConfigReadConfigJobTest
(
QObject
*
parent
)
:
QObject
(
parent
)
:
QObject
(
parent
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment