File indexing completed on 2024-12-15 04:51:46
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "showfoldernotesattributetest.h" 0008 #include "showfoldernotesattribute.h" 0009 0010 #include <QTest> 0011 0012 ShowFolderNotesAttributeTest::ShowFolderNotesAttributeTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 ShowFolderNotesAttributeTest::~ShowFolderNotesAttributeTest() = default; 0018 0019 void ShowFolderNotesAttributeTest::shouldHaveType() 0020 { 0021 NoteShared::ShowFolderNotesAttribute attr; 0022 QCOMPARE(attr.type(), QByteArray("showfoldernotesattribute")); 0023 } 0024 0025 QTEST_GUILESS_MAIN(ShowFolderNotesAttributeTest) 0026 0027 #include "moc_showfoldernotesattributetest.cpp"