File indexing completed on 2025-01-19 04:22:43
0001 /* 0002 SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #include "tagtest.h" 0008 #include "gittag.h" 0009 #include <QTest> 0010 QTEST_GUILESS_MAIN(TagTest) 0011 0012 TagTest::TagTest(QObject *parent) 0013 : QObject{parent} 0014 { 0015 } 0016 0017 void TagTest::shouldHaveDefaultValues() 0018 { 0019 Git::Tag w; 0020 QVERIFY(w.message().isEmpty()); 0021 QVERIFY(w.name().isEmpty()); 0022 QVERIFY(w.taggerEmail().isEmpty()); 0023 }