Debian Codegraph @

plugins/dockers/storyboarddocker/tests/StoryboardModelTest.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2020 Saurabh Kumar <[email protected]>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7 #ifndef __STORYBOARD_MODEL_TEST_H
8 #define __STORYBOARD_MODEL_TEST_H
9
10 #include <simpletest.h>
11
12 class StoryboardCommentModel;
13 class StoryboardModel;
14
15 class StoryboardModelTest : public QObject
16 {
17 Q_OBJECT
18 private Q_SLOTS:
19 void init();
20 void cleanup();
21
22 //interaction with comment model
23 void testAddComment();
24 void testRemoveComment();
25 void testCommentNameChanged();
26
27 //"storyboard model only" tests
28 void testFrameAdded();
29 void testFrameRemoved();
30 void testFrameChanged();
31 void testDurationChanged();
32 void testCommentChanged();
33
34 private:
35 StoryboardCommentModel *m_commentModel;
36 StoryboardModel *m_storyboardModel;
37
38 };
39
40 #endif /* __STORYBOARD_MODEL_TEST_H */