Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
test_viewmanager.h
1 #ifndef TEST_VIEWMANAGER_H
2 #define TEST_VIEWMANAGER_H
3 
4 #include <QObject>
5 #include "AutoTest.h"
6 
7 class Editor;
8 
9 
10 class TestViewManager : public QObject
11 {
12  Q_OBJECT
13 public:
15 
16 private slots: // test cases
17  void initTestCase();
18  void cleanupTestCase();
19 
20  void testTranslation10();
21  void testTranslation2Times();
22  void testTranslationQPointF();
23 
24  void testRotation90();
25  void testRotation180();
26  void testRotationTwice();
27 
28  void testScaling2();
29  void testScaling2Times();
30  void testMaxScalingValue();
31  void testMinScalingValue();
32 
33  void testTranslateAndRotate();
34 
35 private:
36  Editor* mEditor = nullptr;
37 };
38 
39 DECLARE_TEST(TestViewManager);
40 
41 #endif // TEST_VIEWMANAGER_H
Definition: editor.h:45