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 "commandpushtest.h"
0008 #include "commands/commandpush.h"
0009 #include <QTest>
0010 QTEST_MAIN(CommandPushTest)
0011 CommandPushTest::CommandPushTest(QObject *parent)
0012     : QObject{parent}
0013 {
0014 }
0015 
0016 void CommandPushTest::shouldHaveDefaultValues()
0017 {
0018     Git::CommandPush command;
0019 
0020     QVERIFY(!command.force());
0021     QVERIFY(command.remote().isEmpty());
0022     QVERIFY(command.localBranch().isEmpty());
0023     QVERIFY(command.remoteBranch().isEmpty());
0024 }