cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
21 lines
514 B
C++
21 lines
514 B
C++
// SPDX-License-Identifier: LGPL-2.0-or-later
|
|
// SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
|
|
|
|
#include "dbussanitizer_p.h"
|
|
|
|
#include <QTest>
|
|
|
|
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"
|