File indexing completed on 2024-06-09 04:22:19

0001 /*
0002  *  SPDX-FileCopyrightText: 2020 Saurabh Kumar <saurabhk660@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KIS_KEYFRAME_ANIMATIONINTERFACE_SIGNAL_TEST_H
0008 #define KIS_KEYFRAME_ANIMATIONINTERFACE_SIGNAL_TEST_H
0009 
0010 #include <simpletest.h>
0011 
0012 #include "kis_paint_layer.h"
0013 #include "kis_image.h"
0014 #include "kis_image_animation_interface.h"
0015 #include "kis_raster_keyframe_channel.h"
0016 #include "kis_undo_store.h"
0017 
0018 class KisKeyframeAnimationInterfaceSignalTest : public QObject
0019 {
0020     Q_OBJECT
0021 
0022 private Q_SLOTS:
0023 
0024     void initTestCase();
0025     void init();
0026 
0027     void testSignalFromKeyframeChannelToInterface();
0028     void testSignalOnImageReset();
0029 
0030 private:
0031     KisImageSP m_image1;
0032     KisImageSP m_image2;
0033     KisPaintLayerSP m_layer;
0034     KisKeyframeChannel *m_channel;
0035 };
0036 
0037 #endif