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_layer.h
1
2
#ifndef TEST_LAYER_H
3
#define TEST_LAYER_H
4
5
6
#include <QString>
7
#include <QtTest>
8
#include "AutoTest.h"
9
10
class
Object
;
11
12
13
class
TestLayer
:
public
QObject
14
{
15
Q_OBJECT
16
17
public
:
18
TestLayer
();
19
20
private
slots:
21
void
initTestCase();
22
void
cleanupTestCase();
23
24
void
testCase1();
25
void
testLayerType();
26
27
void
testAddNewKeyAtBitmap();
28
void
testAddNewKeyAtVector();
29
30
void
testRemoveKeyFrame();
31
void
testGetMaxFramePosition();
32
void
testGetFirstFramePosition();
33
void
testHasKeyFrameAtPosition();
34
35
void
testPreviousKeyFramePosition();
36
void
testNextKeyFramePosition();
37
38
39
private
:
40
Object
* m_pObject =
nullptr
;
41
};
42
43
DECLARE_TEST(
TestLayer
)
44
45
#endif // TEST_LAYER_H
TestLayer
Definition:
test_layer.h:13
Object
Definition:
object.h:71
Generated on Fri Sep 1 2017 16:48:41 for Pencil2D by
1.8.6