File: kpluralhandlingspinboxtest.h

package info (click to toggle)
kf6-ktextwidgets 6.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,984 kB
  • sloc: cpp: 5,382; sh: 18; makefile: 7
file content (26 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
    SPDX-FileCopyrightText: 2014 Laurent Montel <montel@kde.org>

    SPDX-License-Identifier: LGPL-2.1-or-later
*/

#ifndef KPLURALHANDLINGSPINBOXTEST_H
#define KPLURALHANDLINGSPINBOXTEST_H

#include <QObject>

class KPluralHandlingSpinBoxTest : public QObject
{
    Q_OBJECT
public:
    KPluralHandlingSpinBoxTest();

private Q_SLOTS:
    void shouldHaveDefautValue();
    void shouldUseSingularValueWhenUseValueEqualToOne();
    void shouldUsePlurialValueWhenUseValueSuperiorToOne();
    void shouldUseSingularValueWhenWeChangeValueAndFinishWithValueEqualOne();
    void shouldReturnEmptySuffix();
};

#endif // KPLURALHANDLINGSPINBOXTEST_H