Debian Codegraph @

autotests/knewpasswordwidgettest.h

raw symbols SCIP
1 /*
2 SPDX-FileCopyrightText: 2015 Elvis Angelaccio <[email protected]>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef KNEWPASSWORDWIDGETTEST_H
8 #define KNEWPASSWORDWIDGETTEST_H
9
10 #include <QObject>
11
12 class KNewPasswordWidgetTest : public QObject
13 {
14 Q_OBJECT
15
16 private Q_SLOTS:
17
18 void testEmptyPasswordAllowed();
19 void testEmptyPasswordNotAllowed();
20 void testPasswordTooShort();
21 void testPasswordMatch();
22 void testPasswordNotVerified();
23 void testWeakPassword();
24 void testStrongPassword();
25 void testReasonablePasswordLength();
26 void testPasswordStrengthWarningLevel();
27 void testNoWarningColorBeforeMismatch();
28 void testWarningColorIfMismatch();
29 void testWarningColorPostMatch();
30 void disablingWidgetShouldUseDisabledPalette();
31 void disablingParentShouldUseDisabledPalette();
32 void disablingRevealPasswordShouldHideVisibilityAction();
33 void shouldNotHideVisibilityActionInPlaintextMode();
34 void shouldHideVerificationLineEditInPlaintextMode();
35 };
36
37 #endif