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++
847 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2007 Cyrille Berger <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KIS_SERIALIZABLE_CONFIGURATION_TEST_H
#define KIS_SERIALIZABLE_CONFIGURATION_TEST_H

#include <simpletest.h>

#include "kis_cubic_curve.h"
#include "kis_properties_configuration.h"

class KisPropertiesConfigurationTest : public QObject
{
    Q_OBJECT
public:
    KisPropertiesConfigurationTest();
private Q_SLOTS:
    void testSetGet();
    void testSerialization();
    void testDefaultValues();
    void testNotSavedValues();
    void testCopy();
    void testGetColor();
    void testLists();

private:
    KisPropertiesConfigurationSP createConfig();
    void testConfig(KisPropertiesConfigurationSP config);
private:
    int v1;
    QString v2;
    double v3;
    bool v4;
    KisCubicCurve v5;
};

#endif