/* * SPDX-FileCopyrightText: 2020 Saurabh Kumar * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __STORYBOARD_TIMELINE_SYNC_TEST_H #define __STORYBOARD_TIMELINE_SYNC_TEST_H #include #include "kis_paint_layer.h" #include "kis_image.h" #include "kis_image_animation_interface.h" #include "kis_raster_keyframe_channel.h" #include "kis_undo_store.h" class StoryboardModel; class StoryboardView; class StoryboardTimelineSyncTest : public QObject { Q_OBJECT private Q_SLOTS: void initTestCase(); void cleanupTestCase(); void cleanup(); // Called between each test. vvv void testAddKeyframeExtendsDuration(); void testStoryboardTimelineTimeSynchronization(); void testDurationChange(); void testFpsChanged(); private: KisImageSP m_image; KisPaintLayerSP m_layer1; KisPaintLayerSP m_layer2; KisKeyframeChannel* m_channel1; KisKeyframeChannel* m_channel2; StoryboardModel *m_storyboardModel; StoryboardView *m_storyboardView; }; #endif