Pencil2D
ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
Main Page
Classes
Files
File List
All
Classes
Functions
tests
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
:
14
TestViewManager
();
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
TestViewManager
Definition:
test_viewmanager.h:10
Editor
Definition:
editor.h:45
Generated on Fri Sep 1 2017 16:48:41 for Pencil2D by
1.8.6