Warning, file /network/ruqola/src/widgets/common/autotests/authenticationbuttontest.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "authenticationbuttontest.h" 0008 #include "common/authenticationbutton.h" 0009 #include <QTest> 0010 QTEST_MAIN(AuthenticationButtonTest) 0011 AuthenticationButtonTest::AuthenticationButtonTest(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void AuthenticationButtonTest::shouldHaveDefaultValues() 0017 { 0018 AuthenticationButton w; 0019 QVERIFY(w.text().isEmpty()); 0020 QVERIFY(!w.authenticationInfo().isValid()); 0021 } 0022 0023 #include "moc_authenticationbuttontest.cpp"