Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
883 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2016 Laurent Valentin Jospin <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KISPARSESPINBOXESTEST_H
#define KISPARSESPINBOXESTEST_H

#include <QObject>
#include <QStringList>

class KisParseSpinBoxesTest : public QObject
{
    Q_OBJECT

public:
    explicit KisParseSpinBoxesTest();

private Q_SLOTS:

    void testDoubleParseNormal();
    void testDoubleParseProblem();
    void testDoubleParseWithSuffix();
    void testDoubleParseWithPrefix();
    void testIntParseNormal();
    void testIntParseProblem();
    void testIntParseWithSuffix();
    void testIntParseWithPrefix();

private:

    const static QStringList doubleExprs;
    const static QStringList doubleWrongExprs;
    const static QStringList intExprs;
    const static QStringList intWrongExprs;
};

#endif // KISPARSESPINBOXESTEST_H