File indexing completed on 2024-04-28 15:31:53

0001 /*
0002     SPDX-FileCopyrightText: 2017 Montel Laurent <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef PASSWORDLINEEDITTEST_H
0008 #define PASSWORDLINEEDITTEST_H
0009 
0010 #include <QObject>
0011 
0012 class PasswordLineEditTest : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit PasswordLineEditTest(QObject *parent = nullptr);
0017     ~PasswordLineEditTest() override = default;
0018 private Q_SLOTS:
0019     void shouldHaveDefaultValue();
0020     void shouldShowTogglePassword();
0021     void shouldNotShowToggleWhenSetPassword();
0022     void shouldShowRevealPassword();
0023     void shouldEmitSignalPasswordChanged();
0024 };
0025 
0026 #endif