milestone: 22 KF6 enabled, blake3 placeholders removed, text-login fixed
- kf6-knewstuff/kwallet: removed all-zero blake3 placeholders - CONSOLE-TO-KDE-DESKTOP-PLAN.md: 20→22 KF6 enabled count - BOOT-PROCESS-IMPROVEMENT-PLAN.md: text-login→graphical greeter path - D-Bus session/kwin compositor/sessiond enhancements from Wave tasks - Only kirigami remains suppressed (QML-dependent, environmental gate) Zero warnings. 24 commits total.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#include "kwalletpath.h"
|
||||
|
||||
#include <QTest>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <KAboutData>
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusConnectionInterface>
|
||||
#include <kwallet.h>
|
||||
|
||||
static QTextStream _out(stdout, QIODevice::WriteOnly);
|
||||
|
||||
void KWalletPathTest::init()
|
||||
{
|
||||
if (!qEnvironmentVariableIsSet("DISPLAY")) {
|
||||
QSKIP("$DISPLAY is not set. These tests cannot be done without a graphical system.");
|
||||
}
|
||||
}
|
||||
|
||||
void KWalletPathTest::openWallet()
|
||||
{
|
||||
_out << "About to ask for wallet /tmp/test.kwl sync\n";
|
||||
|
||||
KWallet::Wallet *wallet = KWallet::Wallet::openWallet(QStringLiteral("/tmp/test.kwl"), 0, KWallet::Wallet::Path);
|
||||
QVERIFY(wallet != nullptr);
|
||||
|
||||
_out << "Got path wallet: " << (wallet != nullptr) << '\n';
|
||||
|
||||
if (wallet) {
|
||||
_out << "Closing wallet\n";
|
||||
delete wallet;
|
||||
}
|
||||
_out.flush();
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(KWalletPathTest)
|
||||
|
||||
#include "moc_kwalletpath.cpp"
|
||||
Reference in New Issue
Block a user