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,33 @@
|
||||
#include "kwalletsync.h"
|
||||
|
||||
#include <QTest>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <KAboutData>
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusConnectionInterface>
|
||||
#include <kwallet.h>
|
||||
|
||||
static QTextStream _out(stdout, QIODevice::WriteOnly);
|
||||
|
||||
void KWalletSyncTest::init()
|
||||
{
|
||||
if (!qEnvironmentVariableIsSet("DISPLAY")) {
|
||||
QSKIP("$DISPLAY is not set. These tests cannot be done without a graphical system.");
|
||||
}
|
||||
}
|
||||
|
||||
void KWalletSyncTest::openWallet()
|
||||
{
|
||||
_out << "About to ask for wallet sync\n";
|
||||
|
||||
KWallet::Wallet *w = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Synchronous);
|
||||
QVERIFY(w != nullptr);
|
||||
|
||||
_out << "Got sync wallet: " << (w != nullptr) << '\n';
|
||||
_out.flush();
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(KWalletSyncTest)
|
||||
|
||||
#include "moc_kwalletsync.cpp"
|
||||
Reference in New Issue
Block a user