cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
27 lines
647 B
C++
27 lines
647 B
C++
/*
|
|
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
|