// SPDX-License-Identifier: LGPL-2.0-or-later // SPDX-FileCopyrightText: 2023 Harald Sitter #include "dbussanitizer_p.h" #include class DBusSanitizerTest : public QObject { Q_OBJECT private Q_SLOTS: void test() { QCOMPARE(kconfigDBusSanitizePath(QStringLiteral("/plasma_org-kde!plasma~desktop:appletsrc")), QStringLiteral("/plasma_org_kde_plasma_desktop_appletsrc")); } }; QTEST_GUILESS_MAIN(DBusSanitizerTest) #include "dbussanitizertest.moc"