File indexing completed on 2024-12-01 03:43:33

0001 /*
0002     SPDX-FileCopyrightText: 2014 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef KPLURALHANDLINGSPINBOXTEST_H
0008 #define KPLURALHANDLINGSPINBOXTEST_H
0009 
0010 #include <QObject>
0011 
0012 class KPluralHandlingSpinBoxTest : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     KPluralHandlingSpinBoxTest();
0017 
0018 private Q_SLOTS:
0019     void shouldHaveDefautValue();
0020     void shouldUseSingularValueWhenUseValueEqualToOne();
0021     void shouldUsePlurialValueWhenUseValueSuperiorToOne();
0022     void shouldUseSingularValueWhenWeChangeValueAndFinishWithValueEqualOne();
0023     void shouldReturnEmptySuffix();
0024 };
0025 
0026 #endif // KPLURALHANDLINGSPINBOXTEST_H