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++
1.0 KB
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <[email protected]>
 *  SPDX-FileCopyrightText: 2020 Emmet O 'Neill <[email protected]>
 *  SPDX-FileCopyrightText: 2020 Eoin O 'Neill <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KIS_KEYFRAMING_TEST_H
#define KIS_KEYFRAMING_TEST_H

#include <simpletest.h>
#include "KoColor.h"


class KisKeyframingTest : public QObject
{
    Q_OBJECT

private Q_SLOTS:
    void initTestCase();
    void cleanupTestCase();

    void testChannelSignals();

    void testRasterChannel();
    void testRasterFrameFetching();
    void testRasterUndoRedo();
    void testFirstFrameOperations();
    void testInterChannelMovement();

    void testScalarChannel();
    void testScalarValueInterpolation();
    void testScalarChannelUndoRedo();
    void testScalarAffectedFrames();
    void testChangeOfScalarLimits();

    void testAutoKeyframing_data();
    void testAutoKeyframing();

private:
    const KoColorSpace *cs;

    quint8* red;
    quint8* green;
    quint8* blue;
};

#endif