File indexing completed on 2025-01-19 04:46:54
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "headerstylepluginmanagertest.h" 0008 #include <KActionCollection> 0009 #include <MessageViewer/HeaderStyleMenuManager> 0010 #include <QTest> 0011 0012 HeaderStylePluginManagerTest::HeaderStylePluginManagerTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 HeaderStylePluginManagerTest::~HeaderStylePluginManagerTest() = default; 0018 0019 void HeaderStylePluginManagerTest::shouldHaveDefaultValue() 0020 { 0021 MessageViewer::HeaderStyleMenuManager menu(new KActionCollection(this)); 0022 QVERIFY(menu.menu()); 0023 } 0024 0025 QTEST_MAIN(HeaderStylePluginManagerTest) 0026 0027 #include "moc_headerstylepluginmanagertest.cpp"