ACF
$AcfVersion:0$
Acf
Include
iimg
Test
CBitmapTest.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2
#pragma once
3
4
5
// Qt includes
6
#include <QtCore/QObject>
7
#include <QtTest/QtTest>
8
9
// ACF includes
10
#include <
iimg/CBitmap.h
>
11
#include <
itest/CStandardTestExecutor.h
>
12
13
class
CBitmapTest
:
public
QObject
14
{
15
Q_OBJECT
16
private
slots:
17
void
initTestCase();
18
19
void
ConstructorTest();
20
void
CopyConstructorTest();
21
void
QImageConstructorTest();
22
void
CreateBitmapTest();
23
void
CreateBitmapGrayTest();
24
void
CreateBitmapRGBTest();
25
void
CreateBitmapRGBATest();
26
void
GetPixelFormatTest();
27
void
IsFormatSupportedTest();
28
void
GetImageSizeTest();
29
void
ResetImageTest();
30
void
ClearImageTest();
31
void
GetLinesPtrTest();
32
void
GetLinesDifferenceTest();
33
void
CopyFromTest();
34
void
CloneMeTest();
35
void
GetFactoryIdTest();
36
void
CopyImageFromTest();
37
void
GetQImageTest();
38
39
void
cleanupTestCase();
40
41
private
:
42
iimg::CBitmap
* m_bitmapPtr =
nullptr
;
43
};
CBitmap.h
CStandardTestExecutor.h
CBitmapTest
Definition
CBitmapTest.h:14
iimg::CBitmap
Bitmap implementation based on Qt QImage.
Definition
CBitmap.h:29
Generated by
1.9.8