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 "commandcleantest.h" 0008 #include "commands/commandclean.h" 0009 0010 #include <QTest> 0011 QTEST_MAIN(CommandCleanTest) 0012 CommandCleanTest::CommandCleanTest(QObject *parent) 0013 : QObject{parent} 0014 { 0015 } 0016 0017 void CommandCleanTest::shouldHaveDefaultValues() 0018 { 0019 Git::CommandClean command; 0020 0021 QVERIFY(!command.dryRun()); 0022 QVERIFY(!command.removeUntrackedDirectories()); 0023 QCOMPARE(command.getType(), Git::CommandClean::NonIgnoredUntrackedFiles); 0024 } 0025 0026 void CommandCleanTest::shouldGenerateArguments() 0027 { 0028 // TODO 0029 }