Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail Account Wizard
Commits
9e6096d2
Commit
9e6096d2
authored
Dec 04, 2020
by
Laurent Montel
😁
Browse files
Make it compile with last api
parent
46f7ce8f
Pipeline
#42937
passed with stage
in 13 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/autotests/ldaptest.cpp
View file @
9e6096d2
...
...
@@ -25,10 +25,10 @@ public:
mTempFile
.
open
();
mTempFile
.
close
();
mConfig
=
new
KConfig
(
mTempFile
.
fileName
(),
KConfig
::
SimpleConfig
);
m_clientSearchConfig
->
askForWallet
(
false
);
//TODO
m_clientSearchConfig->askForWallet(false);
}
virtual
~
TLdap
()
~
TLdap
()
override
{
mTempFile
.
close
();
delete
mConfig
;
...
...
@@ -50,6 +50,7 @@ class LdapTest : public QObject
private
Q_SLOTS
:
void
testDestroy
()
{
#if 0 //TODO port it
TLdap l;
QFile::remove(l.mTempFile.fileName());
QFile::copy(QStringLiteral(TEST_DATA_DIR) + QStringLiteral("/ldap.cfg"), l.mTempFile.fileName());
...
...
@@ -91,6 +92,7 @@ private Q_SLOTS:
QCOMPARE(server.host(), selHosts.at(1).host());
csc.readConfig(server, group, 1, true);
QCOMPARE(server.host(), selHosts.at(2).host());
#endif
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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