File indexing completed on 2024-05-26 04:27:49

0001 /*
0002  *  SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <joupent@gmail.com>
0003  *  SPDX-FileCopyrightText: 2020 Emmet O 'Neill <emmetoneill.pdx@gmail.com>
0004  *  SPDX-FileCopyrightText: 2020 Eoin O 'Neill <eoinoneill1991@gmail.com>
0005  *
0006  *  SPDX-License-Identifier: GPL-2.0-or-later
0007  */
0008 
0009 #ifndef KIS_KEYFRAMING_TEST_H
0010 #define KIS_KEYFRAMING_TEST_H
0011 
0012 #include <simpletest.h>
0013 #include "KoColor.h"
0014 
0015 
0016 class KisKeyframingTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 private Q_SLOTS:
0021     void initTestCase();
0022     void cleanupTestCase();
0023 
0024     void testChannelSignals();
0025 
0026     void testRasterChannel();
0027     void testRasterFrameFetching();
0028     void testRasterUndoRedo();
0029     void testFirstFrameOperations();
0030     void testInterChannelMovement();
0031 
0032     void testScalarChannel();
0033     void testScalarValueInterpolation();
0034     void testScalarChannelUndoRedo();
0035     void testScalarAffectedFrames();
0036     void testChangeOfScalarLimits();
0037 
0038     void testAutoKeyframing_data();
0039     void testAutoKeyframing();
0040 
0041 private:
0042     const KoColorSpace *cs;
0043 
0044     quint8* red;
0045     quint8* green;
0046     quint8* blue;
0047 };
0048 
0049 #endif
0050